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

Black error when executing notebook with papermill 2.0.0 and higher #1464

Closed
VDEHans opened this issue May 27, 2020 · 2 comments
Closed

Black error when executing notebook with papermill 2.0.0 and higher #1464

VDEHans opened this issue May 27, 2020 · 2 comments
Labels
R: duplicate This issue or pull request already exists T: bug Something isn't working

Comments

@VDEHans
Copy link

VDEHans commented May 27, 2020

see nteract/papermill#498

To Reproduce Steps to reproduce the behavior:

  1. create a notebook with parameters
  2. Run notebook with papermill
  3. See error:
    Writing grammar tables to /home/AD/hvd1v2w/.cache/black/19.10b0/Grammar3.7.7.final.0.pickle
    Writing failed: [Errno 2] No such file or directory: '/home/AD/hvd1v2w/.cache/black/19.10b0/tmp6jo8l_ml'
    Generating grammar tables from /home/AD/hvd1v2w/.conda/envs/stuks-productiviteit-refactor/lib/python3.7/site-packages/blib2to3/PatternGrammar.txt
    Writing grammar tables to /home/AD/hvd1v2w/.cache/black/19.10b0/PatternGrammar3.7.7.final.0.pickle
    Writing failed: [Errno 2] No such file or directory: '/home/AD/hvd1v2w/.cache/black/19.10b0/tmpy8vr4ksk'
    image

Expected behavior
No errors when using black through papermill for formatting the parameters part of the notebook

Environment (please complete the following information):

  • Version: black version 19.10b0
  • OS and Python version: Linux/Python 3.7.7
@VDEHans VDEHans added the T: bug Something isn't working label May 27, 2020
@ichard26
Copy link
Collaborator

ichard26 commented Jul 4, 2020

This is probably caused by #1223.

@ichard26
Copy link
Collaborator

This is a duplicate of #1143.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R: duplicate This issue or pull request already exists T: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants