8000 ERROR:root:__call__() missing 1 required positional argument: 'value' · Issue #22 · dnanhkhoa/nb_black · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ERROR:root:__call__() missing 1 required positional argument: 'value' #22
Open
@Yuan-Meng

Description

@Yuan-Meng

When I ran %reload_ext lab_black in my Jupyterlab, I got an error message:

ERROR:root:__call__() missing 1 required positional argument: 'value'
Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/site-packages/lab_black.py", line 218, in format_cell
    formatted_code = _format_code(cell)
  File "/opt/anaconda3/lib/python3.7/site-packages/lab_black.py", line 29, in _format_code
    return format
4FCD
_str(src_contents=code, mode=FileMode())
TypeError: __call__() missing 1 required positional argument: 'value'

Screen Shot 2020-04-11 at 6 15 39 PM

Here's line 29:
Screen Shot 2020-04-11 at 6 22 19 PM

Here's line 218:
Screen Shot 2020-04-11 at 6 22 28 PM

Which function misses what argument? Also, I just updated to Jupyterlab to 2.1.0 so I don't know if there are weird incompatibility issues. Did anyone encounter this? Thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0