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

Unable to see errors when run command via context menu #3

Open
Chunosov opened this issue Nov 1, 2018 · 1 comment
Open

Unable to see errors when run command via context menu #3

Chunosov opened this issue Nov 1, 2018 · 1 comment

Comments

@Chunosov
Copy link
Owner

Chunosov commented Nov 1, 2018

For example:

  • Make some intentional error in customizy.py of soft of some package.
  • Find installed env of this package
  • Select "Refresh env" from the context menu
    Nothing happens.
    But when we run ck refresh env:uid-of-this-env we can see customizy.py is called and it fails because of our error.
@Chunosov
Copy link
Owner Author

Chunosov commented Nov 1, 2018

For example

Refreshing setup ...
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/lib/python2.7/dist-packages/ck/kernel.py", line 9593, in <module>
    r=access(sys.argv[1:])
  File "/usr/local/lib/python2.7/dist-packages/ck/kernel.py", line 9549, in access
    rr=perform_action(i)
  File "/usr/local/lib/python2.7/dist-packages/ck/kernel.py", line 3449, in perform_action
    return a(i)
  File "/home/nikolay/CK/ck-env/module/env/module.py", line 1701, in refresh
    rx=ck.access(ii)
  File "/usr/local/lib/python2.7/dist-packages/ck/kernel.py", line 9549, in access
    rr=perform_action(i)
  File "/usr/local/lib/python2.7/dist-packages/ck/kernel.py", line 3449, in perform_action
    return a(i)
  File "/home/nikolay/CK/ck-env/module/soft/module.py", line 1056, in setup
    rx=cs.setup(ii)
  File "/home/nikolay/CK/ck-tensorflow/soft/model.tensorflow.object-detection/customize.py", line 61, in setup
    env[ep+'_DATASET_TYPE'] = install_env['DATASET_TYPE']
KeyError: 'DATASET_TYPE'

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

1 participant