Skip to content

PermissionError: [Errno 13] Permission denied: '/cyberdrop-dl/AppData/Cookies' #7

@nothereonlythere

Description

@nothereonlythere
│   1948 │   │   │   │   return self._handle_result_action(result)             │
│   1949 │   │   │   except KeyboardInterrupt:                                 │
│   1950 │   │   │   │   if self.suppress_keyboard_interrupt:                  │
│                                                                              │
│ /usr/local/lib/python3.13/site-packages/cyclopts/_run.py:50 in               │
│ _run_maybe_async_command                                                     │
│                                                                              │
│    47 │   │   if bound is None:                                              │
│    48 │   │   │   return command()                                           │
│    49 │   │   else:                                                          │
│ ❱  50 │   │   │   return command(*bound.args, **bound.kwargs)                │
│    51 │                                                                      │
│    52 │   if backend == "asyncio":                                           │
│    53 │   │   import asyncio                                                 │
│                                                                              │
│ /usr/local/lib/python3.13/site-packages/cyberdrop_dl/cli/download.py:120 in  │
│ download                                                                     │
│                                                                              │
│   117 │                                                                      │
│   118 │   manager = Manager(cli, appdata, config)                            │
│   119 │                                                                      │
│ ❱ 120 │   _main(manager)                                                     │
│   121                                                                        │
│                                                                              │
│ /usr/local/lib/python3.13/site-packages/cyberdrop_dl/cli/download.py:84 in   │
│ _main                                                                        │
│                                                                              │
│    81 │                                                                      │
│    82 │                                                                      │
│       set_console_level(manager.config.settings.runtime_options.effective_co │
│    83 │   try:                                                               │
│ ❱  84 │   │   with manager():                                                │
│    85 │   │   │   if not manager.cli_args.download:                          │
│    86 │   │   │   │   program_ui.run(manager)                                │
│    87 │   │   │   aio.run(_scrape(manager))                                  │
│                                                                              │
│ /usr/local/lib/python3.13/contextlib.py:141 in __enter__                     │
│                                                                              │
│   138 │   │   # they are only needed for recreation, which is not possible a │
│   139 │   │   del self.args, self.kwds, self.func                            │
│   140 │   │   try:                                                           │
│ ❱ 141 │   │   │   return next(self.gen)                                      │
│   142 │   │   except StopIteration:                                          │
│   143 │   │   │   raise RuntimeError("generator didn't yield") from None     │
│   144                                                                        │
│                                                                              │
│ /usr/local/lib/python3.13/site-packages/cyberdrop_dl/manager.py:89 in        │
│ __call__                                                                     │
│                                                                              │
│    86 │                                                                      │
│    87 │   @contextlib.contextmanager                                         │
│    88 │   def __call__(self) -> Generator[Self]:                             │
│ ❱  89 │   │   self.__resolve_paths()                                         │
│    90 │   │   self.database = Database(                                      │
│    91 │   │   │   self.appdata.db_file,                                      │
│    92 │   │   │   self.config.settings.runtime_options.ignore_history,       │
│                                                                              │
│ /usr/local/lib/python3.13/site-packages/cyberdrop_dl/manager.py:82 in        │
│ __resolve_paths                                                              │
│                                                                              │
│    79 │   │   return self._config                                            │
│    80 │                                                                      │
│    81 │   def __resolve_paths(self) -> None:                                 │
│ ❱  82 │   │   self.appdata.mkdirs()                                          │
│    83 │   │   self.config.settings.resolve_paths()                           │
│    84 │   │   self.logs = CSVLogsManager.from_manager(self)                  │
│    85 │   │   self.logs.delete_old_logs()                                    │
│                                                                              │
│ /usr/local/lib/python3.13/site-packages/cyberdrop_dl/manager.py:262 in       │
│ mkdirs                                                                       │
│                                                                              │
│   259 │                                                                      │
│   260 │   def mkdirs(self) -> None:                                          │
│   261 │   │   for folder in (self.cache, self.configs, self.cookies):        │
│ ❱ 262 │   │   │   folder.mkdir(parents=True, exist_ok=True)                  │
│   263                                                                        │
│   264                                                                        │
│   265 def _log_dependencies() -> None:                                       │
│                                                                              │
│ /usr/local/lib/python3.13/pathlib/_local.py:722 in mkdir                     │
│                                                                              │
│   719 │   │   Create a new directory at this given path.                     │
│   720 │   │   """                                                            │
│   721 │   │   try:                                                           │
│ ❱ 722 │   │   │   os.mkdir(self, mode)                                       │
│   723 │   │   except FileNotFoundError:                                      │
│   724 │   │   │   if not parents or self.parent == self:                     │
│   725 │   │   │   │   raise                                                  │
╰──────────────────────────────────────────────────────────────────────────────╯
PermissionError: [Errno 13] Permission denied: '/cyberdrop-dl/AppData/Cookies'

** Press ANY KEY to close this window ** 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions