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

vcs import error #1914

Closed
mcenerney1 opened this issue Apr 6, 2016 · 1 comment
Closed

vcs import error #1914

mcenerney1 opened this issue Apr 6, 2016 · 1 comment
Assignees
Milestone

Comments

@mcenerney1
Copy link
Contributor

The latest build of uvcdat sees an error with import vcs. It appears in
f = open(os.path.join(vcs.prefix, "share", "vcs", "wmo_symbols.json"))
the prefix is incorrect. See below.

[mcenerney1ml:~/diagout] mcenerney1% python
Python 2.7.11 (default, Apr 6 2016, 10:18:59)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

import vcs
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/uvcdat/04_06_16/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vcs-v2.5.0_267_g4bafc26-py2.7.egg/vcs/init.py", line 33, in
import Canvas # noqa
File "/usr/local/uvcdat/04_06_16/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vcs-v2.5.0_267_g4bafc26-py2.7.egg/vcs/Canvas.py", line 49, in
from VTKPlots import VTKVCSBackend
File "/usr/local/uvcdat/04_06_16/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vcs-v2.5.0_267_g4bafc26-py2.7.egg/vcs/VTKPlots.py", line 5, in
import vcs2vtk
File "/usr/local/uvcdat/04_06_16/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vcs-v2.5.0_267_g4bafc26-py2.7.egg/vcs/vcs2vtk.py", line 15, in
f = open(os.path.join(vcs.prefix, "share", "vcs", "wmo_symbols.json"))
IOError: [Errno 2] No such file or directory: '/usr/local/uvcdat/04_06_16/Library/Frameworks/Python.framework/Versions/2.7/share/vcs/wmo_symbols.json'

@doutriaux1
Copy link
Contributor

fixed by cleanup_for_conda_and_setuptools #1908

@doutriaux1 doutriaux1 self-assigned this Apr 6, 2016
@doutriaux1 doutriaux1 added this to the 2.4.1 milestone Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants