Skip to content

sources file created by ver_cli is broken #36

Description

@raulcf

To reproduce, start the ver_cli like this:
python aurum_cli -- --interactive

then, using the "ver" object:

  1. create a sources file, ver.create_sources_file("testsources")
  2. add a csv repo, ver.add_csv("testsources", "test", <PATH_TO_CSV_FILES>)
  3. double check that the sources file looks correct, ver.inspect_sources_file("testsources")

At this point, if you run ver.profile(), the profiler will fail with:

[main] INFO ddprofiler.core.Main - Using /Users/raulcf/repos/projects/ver/.dsessions/sources/testsources.yml as sources file
java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because "sources" is null

(running ddprofiler manually does not fix the problem)

I strongly suspect this is due to the format with which python is writing the YAML file to disk.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions