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

labapp.py # AttributeError: 'LabApp' object has no attribute 'quit_button' #5246

Closed
rddaz2013 opened this issue Aug 31, 2018 · 2 comments · Fixed by #5252
Closed

labapp.py # AttributeError: 'LabApp' object has no attribute 'quit_button' #5246

rddaz2013 opened this issue Aug 31, 2018 · 2 comments · Fixed by #5252

Comments

@rddaz2013
Copy link

@rddaz2013 rddaz2013 commented Aug 31, 2018

update jupyterlab with pip - after that i get this error.
After removing the line 206 - the app runs normaly

Traceback (most recent call last):
  File "/home/rened/anaconda3/bin/jupyter-lab", line 11, in <module>
    sys.exit(main())
  File "/home/rened/anaconda3/lib/python3.6/site-packages/jupyter_core/application.py", line 266, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/rened/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 657, in launch_instance
    app.initialize(argv)
  File "<decorator-gen-7>", line 2, in initialize
  File "/home/rened/anaconda3/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
    return method(app, *args, **kwargs)
  File "/home/rened/anaconda3/lib/python3.6/site-packages/notebook/notebookapp.py", line 1296, in initialize
    self.init_webapp()
  File "/home/rened/anaconda3/lib/python3.6/site-packages/jupyterlab/labapp.py", line 206, in init_webapp
    *settings['page_config_data']['quit_button'] = self.quit_button*
AttributeError: 'LabApp' object has no attribute 'quit_button'
@harpone
Copy link

@harpone harpone commented Aug 31, 2018

Having the exact same issue and same solution works.

@blink1073
Copy link
Member

@blink1073 blink1073 commented Aug 31, 2018

Ah, it looks like this property was renamed in Notebook 5.6. I'll update our minimum compatible version.

@blink1073 blink1073 added the bug label Aug 31, 2018
@blink1073 blink1073 added this to the 0.34.x milestone Aug 31, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Aug 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants