Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to find BEL documents that were renamed #5

Open
cthoyt opened this issue Dec 12, 2018 · 0 comments
Open

Fails to find BEL documents that were renamed #5

cthoyt opened this issue Dec 12, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@cthoyt
Copy link
Collaborator

cthoyt commented Dec 12, 2018

After renaming Lombardo2015.bel to lombardo2015.bel (among other changes) in this Travis CI build, the following error was raised:

  File "/home/travis/virtualenv/python3.6.3/bin/pybel-git", line 11, in <module>
    sys.exit(main())
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/pybel_git/cli.py", line 43, in ci
    graph = from_path(file_name, manager=manager)
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/site-packages/pybel/io/lines.py", line 71, in from_path
    with codecs.open(os.path.expanduser(path), encoding=encoding) as file:
  File "/home/travis/virtualenv/python3.6.3/lib/python3.6/codecs.py", line 895, in open
    file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'bel/Lombardo2015.bel'
@cthoyt cthoyt added the bug Something isn't working label Dec 12, 2018
@cthoyt cthoyt self-assigned this Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant