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

you cannot pass it just a file it needs a path #7

Closed
koaning opened this issue Jul 31, 2018 · 1 comment · Fixed by #13
Closed

you cannot pass it just a file it needs a path #7

koaning opened this issue Jul 31, 2018 · 1 comment · Fixed by #13
Labels
bug Something isn't working

Comments

@koaning
Copy link
Contributor

koaning commented Jul 31, 2018

(venv) ➜  01-streaming-algorithms git:(timeseries-nuon-revamp) ✗asekuro test 01-01-introduction-streaming.ipynb 
2018-07-31 13:50:02,183 [commandline.py:test_notebook:113] DEBUG - about to test 01-01-introduction-streaming.ipynb
2018-07-31 13:50:02,183 [commandline.py:_cwd:24] DEBUG - directory of script calling /Users/vincentwarmerdam/Development/accelerator/lecture09_timeseries/lecture/01-streaming-algorithms
Traceback (most recent call last):
  File "/Users/vincentwarmerdam/Development/accelerator/venv/bin/asekuro", line 11, in <module>
    sys.exit(main())
  File "/Users/vincentwarmerdam/Development/accelerator/venv/lib/python3.6/site-packages/asekuro/commandline.py", line 129, in main
    'clean': clean_notebook
  File "/Users/vincentwarmerdam/Development/accelerator/venv/lib/python3.6/site-packages/fire/core.py", line 127, in Fire
    component_trace = _Fire(component, args, context, name)
  File "/Users/vincentwarmerdam/Development/accelerator/venv/lib/python3.6/site-packages/fire/core.py", line 366, in _Fire
    component, remaining_args)
  File "/Users/vincentwarmerdam/Development/accelerator/venv/lib/python3.6/site-packages/fire/core.py", line 542, in _CallCallable
    result = fn(*varargs, **kwargs)
  File "/Users/vincentwarmerdam/Development/accelerator/venv/lib/python3.6/site-packages/asekuro/commandline.py", line 114, in test_notebook
    folder, filename = _cwd(nbpath)
  File "/Users/vincentwarmerdam/Development/accelerator/venv/lib/python3.6/site-packages/asekuro/commandline.py", line 27, in _cwd
    os.chdir(folder)
FileNotFoundError: [Errno 2] No such file or directory: ''
@koaning koaning added the bug Something isn't working label Jul 31, 2018
@koaning
Copy link
Contributor Author

koaning commented Jul 31, 2018

fixed in #13

@koaning koaning closed this as completed Jul 31, 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

Successfully merging a pull request may close this issue.

1 participant