-
Notifications
You must be signed in to change notification settings - Fork 283
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
error on torrent names with colons #1044
Comments
Please post a example of torrent or magnet what give you this error. PD: your Transmission daemon (not TransGUI!) is running in Linux? because colons are illegal in folders/filenames in Windows.
|
@antekgla The daemon is indeed running on Linux. TransGUI is running on Windows. However, AFAIK, the name in the magnet link doesn't matter as far as OS compatibility is concerned as it isn't used in naming the folder/files. The torrent file itself has the actual file/folder names and those are used. magnet:?xt=urn:btih:ba1e75d3f1a44b41691bcdb8c897c081630ae653&dn=linuxmint%3A18.3%20mate%2064bit.iso |
@leonsoft-kras I think what this is related to the new function ExcludeInvalidChar However the error is fired for another reason related. |
I will look at the holidays )) |
I did it differently recently, but I'll try to see your version. In general there was no time. I wanted to ask a question, but for now I'll look at your option. |
Wait, A further look debugging I can say what I was wrong... I think what I know the problem, forget my previous long post, it is totally wrong. I edited that post because cause confussion. |
@ouroborus please write here the transmission daemon version (it is in the statusbar first panel) |
I have not added the torrent either. it is necessary to look. |
The problem I think (I need what @ouroborus confirm) his (and mine) Transmission Daemon is prior to 2.80 (mine is 2.61) so dont accept method:
introduced in Transmission 2.80 so when TransGUI try to rename the torrent without illegal chars, fires the error "invalid argument" I check this: If you use original TransGUI 5.01 in 2.61 no error, because the ExcludeInvalidChar function dont exist and how daemon is in Linux the colon are accepted character.
we need to check RPC-version. |
I fixed the problem 50/50 (excluded symbol ":"). The torrent was invented by a strange person. It does contain invalid characters, in particular ":". Another strange thing is that after adding a torrent in a few seconds, the name is replaced with ":" and a space for the "-" character. The original name: linuxmint:18.3 mate 64bit.iso I checked the function "torrent-rename-path" on another torrent file. It works successfully. The file is renamed without errors. My version of the transmission (on Zyxel Keenetic) 2.84 (14307) |
Thats is because the version 2.84 supports renaming a torrent/file but in versions prior to 2.80 that method not exist. |
Why do check RPC if I have the latest 2.84 and the error is with this torrent happens. |
@antekgla TransGUI says "Transmission 2.92 (14714)" though the package name on the server says it's "2.84-3ubuntu3" |
@leonsoft-kras While the name in the magnet link and the name in the torrent usually match, they aren't required to match. The name in the magnet link can be considered to be advisory while the name in the torrent can be considered to be canonical. |
Thats is strange because I have a Transmission 2.84 running in a NAS (Linux) and that magnet is added without errors. |
I'm running transmission 2.94 on my Gentoo Linux server and client is transmission-remote-gui 5.15.4 (I did encounter this error on somewhere about 5.10.* first time). |
This is a daemon threading problem that results from renaming a torrent while still in a magnet state. The rpc method when sent to the daemon has an immediate or not flag. Not immediate and the method function is threaded in a callback. Therefor, there's no guarantee that the rename will take place at any given time. The daemon's rename function can return error = EINVAL (invalid argument) in certain cases due to the non immediate flags of torrent-add and torrent-rename-path conflicting. For Transmission Remote GUI to guarantee magnet renaming always functions correctly, the data in the actual magnet text would need to be changed prior to torrent-add, not by rpc rename because of the timing problems. For Windows daemon I used a patched daemon version where
|
Also have this issue. I can't download any magnet link from site: http://rutor.is I get error: Invalid argument |
@JajaComp what version of TRGUI? |
Yes, that's right. |
When release? |
So, I'm unsure if this represents the same issue, but creating a torrent, and then seeding from my own files, caused an error not reading filenames with a |
Shows error "invalid argument" and doesn't add torrent if magnet link is for a torrent whose name includes colons.
Windows 10
transgui 5.12
The text was updated successfully, but these errors were encountered: