question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot open directory containing certain files

See original GitHub issue

Not sure how reproducible this is. Perhaps it’s a safety feature of some kind. At any rate, for the record here’s what’s happening on my system (MacOS Big Sur, JupyterLab 3.2.4-3):

Reproduce: Attempt to navigate (from the left-hand side navigation tab in JupyterLab) to a directory containing a file named jupytext.toml with the following content:

"""
comment
"""

Expected result: Directory opens and file content can be viewed.

Actual result: JupyterLab does not open the directory whose icon becomes white instead of dark gray, and remains in an “unclickable” state from then on. Once JupyterLab refuses to open the directory, it needs to be restarted to open the directory again, even if the offending file is removed from the directory.

In an experiment I did not observe the problem when the same file was renamed test.toml, after restarting JupyterLab. Also did not observe the problem when the content between the triple quote-marks was removed, after restarting JupyterLab.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
krassowskicommented, Dec 4, 2021

That’s empty (I looked inside both the user’s library and the global library). Also there’s nothing related to JupyterLab in .config.

By “empty” do you mean that the file exist and is empty, or that the files does not exist?

I don’t see the menu

Do you mean that there is no Help menu? Please see the screenshot below for reference

Screenshot from 2021-12-04 23-10-22

1reaction
krassowskicommented, Dec 4, 2021

Hi @ptoche jupyter troubleshoot run this way does not necessarily help - it shows the local environment, which is likely different from what you use in JupyterLab Desktop.

Anyways the more important thing are the logs from main.log and the browser output logs (captured just after reproducing the error). I cannot do anything without those.

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't open subfolders of a certain folder - Stack Overflow
example: I have a folder "a" with 2 subfolders "b","c" and I write level 1, it will only count the files in "a",...
Read more >
Get list of subdirectories which contain a file whose name ...
More specifically, I am looking for directories which contain a file with the letter 'f' somewhere occurring in the file name. Ideally, the...
Read more >
Windows cannot open directory with too long name created by ...
The first thing I thought was that the folder's name was too long. So, I renamed the folder using Linux but when I...
Read more >
Find directories that DON'T contain a file - Ask Ubuntu
Use find with test -e your_file to check if a file exists. For example, you look for directories which have no cover.jpg in...
Read more >
Setting file and directory permissions - ARC NCAR
Files and directories that you create in your GLADE file spaces have certain permissions by default. To change the default settings, use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found