Opened 7 years ago
#5719 new Bug
"Error opening torrent" for torrent files that are being downloaded
Reported by: | manfreed | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Transmission | Version: | 2.82 |
Severity: | Normal | Keywords: | |
Cc: |
Description
My transmission is set up to watch my download folder for new torrents.
Every time I download a torrent file transmission shows this error message: "Error opening torrent. The torrent file "..." contains invalid data." Also I get the proper "Add torrent" dialog too.
As far as I know while a file is being downloaded in Chrome a 0 byte placeholder is created with the name of the file, and chrome puts the downloaded data to a temporary file with .crdownload extension. Then, when finished chrome replaces the placeholder with this file.
My guess is that transmission notices this 0 byte placeholder after being created, and tries to add it. Since it's empty this fails. A little later when the file is downloaded, chrome replaces the placeholder with the temporary file, transmission notices this too, and tries to add again, with success.
I suppose a quick workaround would be just simply ignore 0 byte files.