Skip to content

Conversation

@ctcjab
Copy link

@ctcjab ctcjab commented Dec 3, 2025

Handle PermissionError that can occur when calling Path.exists() on template paths in _get_conf(). This issue can happen sporadically on shared/distributed filesystems (e.g., CephFS, NFS) due to:

  • Transient permission errors during metadata operations
  • Metadata cache coherency operations
  • Concurrent access to shared directories

The fix mirrors the existing PermissionError handling in _template_paths() (lines 576-577 and 584-585) by wrapping the exists() check in a try/except block to gracefully skip paths that cannot be accessed.

This resolves sporadic failures when running jupyter nbconvert in environments where JUPYTER_PATH contains shared filesystem directories.

Handle PermissionError that can occur when calling Path.exists() on
template paths in _get_conf(). This issue can happen sporadically on
shared/distributed filesystems (e.g., CephFS, NFS) due to:

- Transient permission errors during metadata operations
- Metadata cache coherency operations
- Concurrent access to shared directories

The fix mirrors the existing PermissionError handling in _template_paths()
(lines 576-577 and 584-585) by wrapping the exists() check in a try/except
block to gracefully skip paths that cannot be accessed.

This resolves sporadic failures when running jupyter nbconvert in
environments where JUPYTER_PATH contains shared filesystem directories.
@ctcjab
Copy link
Author

ctcjab commented Dec 3, 2025

The sole failing check is saying Select at least one triage label, but I don't seem to have permission to do that:

Screenshot 2025-12-03 at 4 42 53 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant