Page 1 of 2

"Invalid Argument" and then download stops

Posted: Mon Apr 19, 2010 2:16 pm
by fjjf
I have a problem, when downloading some files, transmission says in the Web GUI the error "Invalid Argument (path of the file)" and then it pauses the download.

I already checked the privileges for writing in the file and everything is OK. What would it be!? :S

As I said before, it happens with certain files not all of them...

Thanks in advance for any help

PS: Transmission manages to download 2 or 3 MB then it stops :S

Re: "Invalid Argument" and then download stops

Posted: Thu Dec 23, 2010 9:38 pm
by ash89
i also have the above problem for the first time..

can anyone shed light on how to fix?

Re: "Invalid Argument" and then download stops

Posted: Thu Dec 23, 2010 11:25 pm
by Moe
do you get the same error when not using a browser? if so what does it say?

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 24, 2010 12:54 am
by ash89
thanks for the response..

i actually get the error message from within the transmission ui.
just underneath the progress bar of the download..

i upgraded to the latest version last night. and think it may related to that?

i had an old version that it tried and it seems ok..

i haven't seen this error message before in any of the versions i've had, which over the 3 years i've used it would be a few..

we use the version for mac.

i'm using it within the osx 10.6 operating system..

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 31, 2010 8:20 am
by lakrigg
sounds like a possible permission issue, is the transmission/apache user have full access to that dir?

If it stores data to a file, then tries to overwrite some data, perhaps it cannot overwrite due to permission and fails.
or loses connection slightly then cannot overwrite, you should 'chmod 777 /path/to/dir/*' just for testing if this happens again.

Most likely tho this is to do with php and fopen or something. Upgrade PHP on your system and it should fix this issue.

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 31, 2010 10:24 am
by ash89
lakrigg wrote:Most likely tho this is to do with php and fopen or something. Upgrade PHP on your system and it should fix this issue.
thanks for the advice..

how do i upgrade the PHP? :?:

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 31, 2010 11:07 am
by lakrigg
Does the error look the same as the picture attached to this old ticket?
https://trac.transmissionbt.com/ticket/333
Image

I have not seen that one before, may have to downgrade to a version that is working until one of the devs can figure it out.

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 31, 2010 5:08 pm
by ijuxda
lakrigg wrote:you should 'chmod 777 /path/to/dir/*' just for testing if this happens again.
You should never do this, even for testing.
Most likely tho this is to do with php and fopen or something. Upgrade PHP on your system and it should fix this issue.
PHP has nothing to do with transmission. Where did you get that idea?

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 31, 2010 5:20 pm
by lakrigg
True that! it doesn't not sure what i was thinking a different issue. Drinking to much on new years perhaps

yeh 777 isnt exactly safe.

650 would be better providing the user that is launching transmission is the same user, tho i use 777 here for sharing media throughout house back and forth from various workstations.

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 31, 2010 8:22 pm
by ash89
lakrigg wrote:Does the error look the same as the picture attached to this old ticket?
https://trac.transmissionbt.com/ticket/333
Image

I have not seen that one before, may have to downgrade to a version that is working until one of the devs can figure it out.

yeah its the same as the picture.

i did downgrade to an older version that has worked since this problem appeared.

then i reinstalled 2.12, and it seems ok again..

not sure what i'll get in 2.13 tho??

Re: "Invalid Argument" and then download stops

Posted: Fri Dec 31, 2010 11:01 pm
by Rolcol
"Invalid argument" sounds like it's a tracker issue. I assume the tracker listed with that torrent is a private one. It's possible that the tracker software is custom written or can't handle an HTTP argument that Transmission is adding to the announce.

Re: "Invalid Argument" and then download stops

Posted: Sat Sep 01, 2012 1:00 pm
by andreescocard
Same error here.
Using Transmission 2.60 in Snakeos NAS.
any info about it?

Re: "Invalid Argument" and then download stops

Posted: Sun Mar 09, 2014 2:07 am
by barutaji
Not sure if it is the same problem as yours, but I'll say anyway.
I was with the same problem, but it just hapened with files bigger than 4Gb. The problem was happening because of the size limit of the file system, that was formated with FAT32. I just converted to NTFS and the problem was solved.
Is that your case too?

Re: "Invalid Argument" and then download stops

Posted: Sun Mar 09, 2014 7:50 pm
by trumanbaltar
I have a similar problem using Transmission 2.82 in Xbian (Debian based) on a Raspberry Pi.
I'm trying to download a torrent and whenever it is about to write the first .part (I assume this is the case cause it always stops around 4.3 Mb) it says invalid argument (Path of file).
I don't think it's a permissions problem because other torrents download fine.
Could it be something in the name of the files? In this particular case there are three files and one includes two exclamation points !!
I'm writing on a FAT32 partition on an external hard drive, if that helps.

Thank you so much for your help. I'm a bit desperate at this point =)

Re: "Invalid Argument" and then download stops

Posted: Sun Mar 09, 2014 8:04 pm
by rb07
trumanbaltar wrote:Could it be something in the name of the files?
Yes.
trumanbaltar wrote:In this particular case there are three files and one includes two exclamation points !!
Shouldn't be the problem. Perhaps some back-slashes?
trumanbaltar wrote:I'm writing on a FAT32 partition on an external hard drive
Even worse, but not in this case, Windows allows exclamation. See http://msdn.microsoft.com/en-us/library ... onventions