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

NameError: global name 'CubesError' is not defined in Slicer #312

Closed
ramilexe opened this issue Jul 7, 2015 · 0 comments
Closed

NameError: global name 'CubesError' is not defined in Slicer #312

ramilexe opened this issue Jul 7, 2015 · 0 comments
Assignees
Milestone

Comments

@ramilexe
Copy link
Contributor

ramilexe commented Jul 7, 2015

Create model with missing join. Run slicer test and you get

testing my_cube: Traceback (most recent call last):
  File "/usr/local/bin/slicer", line 9, in <module>
    load_entry_point('cubes==1.1', 'console_scripts', 'slicer')()
  File "/home/vagrant/cubes/cubes/slicer/commands.py", line 622, in main
    cli(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/vagrant/cubes/cubes/slicer/commands.py", line 282, in test
    except CubesError as e:
NameError: global name 'CubesError' is not defined
ramilexe added a commit to ramilexe/cubes that referenced this issue Jul 7, 2015
@jjmontesl jjmontesl self-assigned this May 29, 2016
@Stiivi Stiivi added this to the 1.1 milestone Jun 3, 2016
@Stiivi Stiivi closed this as completed in 7143fef Jun 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants