Package: python3-nbclassic
Severity: important

Dear Maintainer,

while trying start a classic notebook from jupyterhub, I got this error message

[D 2025-05-17 08:32:43.583 oauthlib.oauth2.rfc6749.endpoints.token token:112] 
Dispatching grant_type authorization_code request to 
<oauthlib.oauth2.rfc6749.grant_types.authorization_code.AuthorizationCodeGrant 
object at 0x7f9cfee01a90>.
[D 2025-05-17 08:32:43.583 JupyterHub provider:58] authenticate_client 
<oauthlib.Request SANITIZED>
[D 2025-05-17 08:32:43.621 
oauthlib.oauth2.rfc6749.grant_types.authorization_code authorization_code:533] 
Using provided redirect_uri /user/picca/oauth_callback
[D 2025-05-17 08:32:43.621 JupyterHub provider:117] confirm_redirect_uri: 
client_id=jupyterhub-user-picca, redirect_uri=/user/picca/oauth_callback
[D 2025-05-17 08:32:43.621 
oauthlib.oauth2.rfc6749.grant_types.authorization_code authorization_code:301] 
Token request validation ok for <oauthlib.Request SANITIZED>.
[D 2025-05-17 08:32:43.622 JupyterHub provider:345] Saving bearer token 
{'access_token': 'REDACTED', 'expires_in': 1209600, 'token_type': 'Bearer', 
'scope': 'read:users:groups!user access:servers!server=picca/ 
read:users:name!user', 'refresh_token': 'REDACTED'}
[D 2025-05-17 08:32:43.635 JupyterHub provider:205] Deleting oauth code wT2... 
for jupyterhub-user-picca
[I 2025-05-17 08:32:43.650 JupyterHub log:192] 200 POST /hub/api/oauth2/token 
(picca@127.0.0.1) 71.28ms
[D 2025-05-17 08:32:43.657 JupyterHub base:366] Recording first activity for 
<APIToken('gEuc...', user='picca', client_id='jupyterhub-user-picca')>
[I 2025-05-17 08:32:43.665 JupyterHub log:192] 200 GET /hub/api/user 
(picca@127.0.0.1) 11.88ms
[I 2025-05-17 08:32:43.666 ServerApp] Logged-in user picca
[I 2025-05-17 08:32:43.667 ServerApp] Setting new xsrf cookie for 
b'e3f475fdd7ac48f99c702f8ba5d39f8b:4781760833cd6eda1d014f07eb2f352cdadc3de66e9cd241b40346af670fad8b'
 {'path': '/user/picca/'}
[I 2025-05-17 08:32:43.671 ServerApp] 302 GET 
/user/picca/oauth_callback?code=[secret]&state=[secret] -> /user/picca/tree? 
(picca@::ffff:127.0.0.1) 93.66ms
/usr/lib/python3/dist-packages/nbclassic/tree/handlers.py:51: RuntimeWarning: 
coroutine 'AsyncFileContentsManager.dir_exists' was never awaited
  if cm.dir_exists(path=path):
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3/dist-packages/nbclassic/tree/handlers.py:52: RuntimeWarning: 
coroutine 'AsyncFileContentsManager.is_hidden' was never awaited
  if cm.is_hidden(path) and not cm.allow_hidden:
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
[I 2025-05-17 08:32:43.691 NotebookApp] Refusing to serve hidden directory, via 
404 Error


I am wondering if nbclassic is compatible with all the jupyter stack currently 
available in trixie.

Cheers

Fred

-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.27-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to