Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"The filename, directory name, or volume label syntax is incorrect." #8354

Closed
teddyrogers opened this issue Dec 24, 2024 · 1 comment · Fixed by #8447
Closed

"The filename, directory name, or volume label syntax is incorrect." #8354

teddyrogers opened this issue Dec 24, 2024 · 1 comment · Fixed by #8447
Assignees
Milestone

Comments

@teddyrogers
Copy link

Tribler 8.0.7, when Windows OS reports the error (ERROR_INVALID_NAME, 123 (0x7B)) message, "The filename, directory name, or volume label syntax is incorrect.", Tribler simply... stops the download. There is no message or error reported in WebGUI.

System errors like this should be reported so it is easier to interpret why Tribler stopped.

@qstokkink qstokkink added this to the 8.1.0 milestone Jan 6, 2025
@qstokkink
Copy link
Contributor

I can create a similar type of situation in Ubuntu:

  1. Start a download, set the location to some removable medium: I used a USB stick.
  2. Exit Tribler
  3. Remove the USB stick.
  4. Restart Tribler. The download will just sit there on "Downloading 0%" and not do anything.

The logs have this message:

INFO:tribler.core.libtorrent.download_manager.download_manager:Starting download: filename: None, torrent def: <tribler.core.libtorrent.torrentdef.TorrentDef object at 0x73f5a5bd9060>
INFO:tribler.core.libtorrent.download_manager.download_manager:Destination directory does not exist. Creating it: /media/quinten/USB DISK
ERROR:tribler.core.libtorrent.download_manager.download_manager:Unable to create the download destination directory.
Traceback (most recent call last):
  File "tribler/core/libtorrent/download_manager/download_manager.py", line 713, in start_download
    os.makedirs(destination_directory)
  File "/usr/lib/python3.10/os.py", line 225, in makedirs
    mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/media/quinten/USB DISK'

We need to think of a way to communicate to the user that the download is "broken".

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

Successfully merging a pull request may close this issue.

3 participants