bugmldonkey, a multi-networks file-sharing client - Bugs: bug #16615, Exception when trying to execute...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16615: Exception when trying to execute file_complete_cmd

Submitter:  Gufo <gufo>
Submitted:  Wed 17 May 2006 05:39:16 PM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Program malfunction Status:  Invalid
Assigned to:  None Open/Closed:  Closed
Release:  2.7.5 Release:  2.7.5
Operating System:  Linux Binaries Origin:  CVS / Self compiled
CPU type:  Intel x86

Wed 17 May 2006 06:13:49 PM UTC, comment #1: 

The correct syntax is:

file_completed_cmd = "/mnt/spazio/.mldonkey/completed.sh"

$3 has to be used inside your script.

spiralvoice <spiralvoice>
Group administrator
Wed 17 May 2006 05:39:16 PM UTC, original submission:  

I'm trying to execute a command when a file is downloaded.
I set the file_competed_cmd variable through sancho from a remote machine, in downloads.ini i have:

file_completed_cmd = "/mnt/spazio/.mldonkey/completed.sh $3"

Which is the command i whant to execute.
Mlnet was restarted after setting this variable.
The previous command was "chmod g+w $3" and the previous again was "chmod +g $FILENAME" but all lead to the same result in the log:

Exception execve failed on /mnt/spazio/.mldonkey/completed.sh $3: No such file or directory while starting file_completed_cmd



Is it a bug? Or do i misinterprete the meaning of file_completed_cmd?

Gufo <gufo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-05-25 spiralvoice Open/ClosedOpen Closed
2006-05-17 spiralvoice StatusNone Invalid

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code