visual-layer / fastdup

fastdup is a powerful free tool designed to rapidly extract valuable insights from your image & video datasets. Assisting you to increase your dataset images & labels quality and reduce your data operations costs at an unparalleled scale.
Other
1.56k stars 76 forks source link

Jupyter lab gets stuck with a wierd permission error #146

Open dbickson opened 1 year ago

dbickson commented 1 year ago

    Traceback (most recent call last):
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/tornado/web.py", line 1713, in _execute
        result = await result
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/jupyter_server/services/nbconvert/handlers.py", line 40, in get
        exporters = await run_sync(base.get_export_names)
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/anyio/to_thread.py", line 31, in run_sync
        return await get_asynclib().run_sync_in_worker_thread(
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
        return await future
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/anyio/_backends/_asyncio.py", line 867, in run
        result = context.run(func, *args)
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/nbconvert/exporters/base.py", line 145, in get_export_names
        e = get_exporter(exporter_name)(config=config)
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/nbconvert/exporters/base.py", line 102, in get_exporter
        if getattr(exporter(config=config), 'enabled', True):
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 331, in __init__
        super().__init__(config=config, **kw)
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/nbconvert/exporters/exporter.py", line 118, in __init__
        self._init_preprocessors()
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 498, in _init_preprocessors
        conf = self._get_conf()
      File "/Users/dannybickson/homebrew/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py", line 518, in _get_conf
        if conf_path.exists():
      File "/Users/dannybickson/homebrew/Cellar/python@3.8/3.8.16/Frameworks/Python.framework/Versions/3.8/lib/python3.8/pathlib.py", line 1407, in exists
        self.stat()
      File "/Users/dannybickson/homebrew/Cellar/python@3.8/3.8.16/Frameworks/Python.framework/Versions/3.8/lib/python3.8/pathlib.py", line 1198, in stat
        return self._accessor.stat(self)
    PermissionError: [Errno 13] Permission denied: '/Users/dannybickson/Library/Python/3.8/share/jupyter/conf.json'
[W 2023-04-12 21:23:41.248 ServerApp] wrote error: 'Unhandled error'
[E 2023-04-12 21:23:41.248 ServerApp] {
      "Host": "localhost:8892",
      "Accept": "*/*",
      "Referer": "http://localhost:8892/lab",
      "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
    }
[E 2023-04-12 21:23:41.248 ServerApp] 500 GET /api/nbconvert?1681323821039 (92c7e97e54bd46f28baa402eb0ef06e3@::1) 190.59ms referer=http://localhost:8892/lab```
On mac os 12.6.1