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

Logging message used to list sessions fails with template error #1132

Merged

Conversation

vindex10
Copy link
Contributor

@vindex10 vindex10 commented Dec 14, 2022

jupyter lab list command failed with error:

TypeError: not all arguments converted during string formatting
Call stack:
  File "/path/bin/jupyter-lab", line 8, in <module>
    sys.exit(main())
  File "/path/lib/python3.9/site-packages/jupyter_server/extension/application.py", line 611, in launch_instance
    serverapp.start()
  File "/path/lib/python3.9/site-packages/jupyter_server/serverapp.py", line 2884, in start
    self.start_app()
  File "/path/lib/python3.9/site-packages/jupyter_server/serverapp.py", line 2775, in start_app
    super().start()
  File "/path/lib/python3.9/site-packages/jupyter_core/application.py", line 265, in start
    self.subapp.start()
  File "/path/lib/python3.9/site-packages/jupyter_server/serverapp.py", line 686, in start
    info(url, "::", serverinfo["root_dir"])

@welcome
Copy link

welcome bot commented Dec 14, 2022

Thanks for submitting your first pull request! You are awesome! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@codecov
Copy link

codecov bot commented Dec 14, 2022

Codecov Report

Base: 80.10% // Head: 80.06% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (f384f97) compared to base (dd04a01).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1132      +/-   ##
==========================================
- Coverage   80.10%   80.06%   -0.04%     
==========================================
  Files          68       68              
  Lines        8053     8053              
  Branches     1591     1593       +2     
==========================================
- Hits         6451     6448       -3     
- Misses       1179     1182       +3     
  Partials      423      423              
Impacted Files Coverage Δ
jupyter_server/serverapp.py 79.91% <100.00%> (-0.27%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@blink1073 blink1073 added the bug label Dec 14, 2022
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blink1073 blink1073 changed the title logging message used to list sessions fails with template error Logging message used to list sessions fails with template error Dec 14, 2022
@blink1073 blink1073 merged commit a220430 into jupyter-server:main Dec 14, 2022
@welcome
Copy link

welcome bot commented Dec 14, 2022

Congrats on your first merged pull request in this project! 🎉
congrats
Thank you for contributing, we are very proud of you! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants