"Invalid Argument" and then download stops

Discussion of the Web Interface for Transmission, formerly known as Clutch. This applies to all version of Transmission
fjjf
Posts: 5
Joined: Wed Mar 31, 2010 4:18 pm

"Invalid Argument" and then download stops

Post 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
ash89
Posts: 19
Joined: Mon May 12, 2008 5:42 am

Re: "Invalid Argument" and then download stops

Post by ash89 »

i also have the above problem for the first time..

can anyone shed light on how to fix?
Moe
Posts: 16
Joined: Fri Dec 17, 2010 4:38 am

Re: "Invalid Argument" and then download stops

Post by Moe »

do you get the same error when not using a browser? if so what does it say?
ash89
Posts: 19
Joined: Mon May 12, 2008 5:42 am

Re: "Invalid Argument" and then download stops

Post 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..
lakrigg
Posts: 17
Joined: Fri Dec 31, 2010 7:32 am

Re: "Invalid Argument" and then download stops

Post 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.
ash89
Posts: 19
Joined: Mon May 12, 2008 5:42 am

Re: "Invalid Argument" and then download stops

Post 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? :?:
lakrigg
Posts: 17
Joined: Fri Dec 31, 2010 7:32 am

Re: "Invalid Argument" and then download stops

Post 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.
Last edited by lakrigg on Fri Dec 31, 2010 5:38 pm, edited 1 time in total.
ijuxda

Re: "Invalid Argument" and then download stops

Post 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?
Last edited by ijuxda on Mon Feb 14, 2011 3:58 am, edited 1 time in total.
lakrigg
Posts: 17
Joined: Fri Dec 31, 2010 7:32 am

Re: "Invalid Argument" and then download stops

Post 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.
ash89
Posts: 19
Joined: Mon May 12, 2008 5:42 am

Re: "Invalid Argument" and then download stops

Post 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??
Rolcol
Posts: 337
Joined: Sun Aug 10, 2008 8:00 am

Re: "Invalid Argument" and then download stops

Post 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.
andreescocard
Posts: 1
Joined: Sat Sep 01, 2012 12:53 pm

Re: "Invalid Argument" and then download stops

Post by andreescocard »

Same error here.
Using Transmission 2.60 in Snakeos NAS.
any info about it?
barutaji
Posts: 1
Joined: Sun Mar 09, 2014 1:58 am

Re: "Invalid Argument" and then download stops

Post 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?
trumanbaltar
Posts: 5
Joined: Sun Mar 09, 2014 7:30 pm

Re: "Invalid Argument" and then download stops

Post 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 =)
rb07
Posts: 1400
Joined: Sun Aug 24, 2008 3:14 am

Re: "Invalid Argument" and then download stops

Post 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
Post Reply