amulecmd download does not work with -c

Bug #190850 reported by chackoc
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
amule (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: amule-utils

When using amulecmd I am able to successfully use "download 1" via the interactive prompt. The download starts exactly as expected. On the other hand if I try

  amulecmd -c="download 1"

I always get the following error:

:~/.aMule$ amulecmd -v -c="download 1"
This is amulecmd 2.1.3

Creating client...
Succeeded! Connection established to aMule 2.1.3

---------------------------------------
| aMule text client |
---------------------------------------

Use 'Help' for command list

Invalid argument.
Type 'help download' to get more help.

Ok, exiting aMulecmd...

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I can't get amulecmd working in Hardy for some reason... can you check if this happens in Hardy alpha 5 or newer?

Changed in amule:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
wolfger (wolfger) wrote :

No response in over 5 months. We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in amule:
status: Incomplete → Invalid
Revision history for this message
neonrush (wrtrdrctr) wrote :

I'm having this same issue in Ubuntu Intrepid:

amulecmd -P xxxxxxxx --command="Download 308"
This is amulecmd 2.2.2

Creating client...
Succeeded! Connection established to aMule 2.2.2

---------------------------------------
| aMule text client |
---------------------------------------

Use 'Help' for command list

Invalid argument.
Type 'help download' to get more help.

Ok, exiting aMulecmd...

p.s. Also have tried:

amulecmd -P xxxxxxxx --command= Download 308
amulecmd -P xxxxxxxx --command=Download 308
amulecmd -P xxxxxxxx -c "Download 308"
amulecmd -P xxxxxxxx -c Download 308

Always getting invalid argument.

Revision history for this message
neonrush (wrtrdrctr) wrote :

This hasn't even been tested I'm guessing since the issue still exists

Changed in amule (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
neonrush (wrtrdrctr) wrote :

UPDATE: I've just tried upgrading to 2.2.4 with the same results. I can pass searches and pull results, but can not tell amuled to start downloading. It would seem a little pointless to be able to do the others and not be able to do that.

Revision history for this message
chackoc (cherackal) wrote : RE: [Bug 190850] Re: amulecmd download does not work with -c

FYI,

I ended up hacking around this with the following Perl script. It uses expect to script an interactive amulecmd session. It's a hack but it should work until the package maintainers can fix the actual bug.

#!/usr/bin/perl
#
use strict;

use Expect;

# create an Expect object by spawning another process

my $cmd = "amulecmd -P=XXXXXXXXXXXXXXX";

my $exp = Expect->spawn("$cmd",())or die "Cannot spawn $cmd: $!\n";

# send some string there:
$exp->send("results\n");
$exp->send("download $ARGV[0]\n");
$exp->send("Quit\n");

$exp->soft_close();
$exp->hard_close();

exit 0;

> Date: Tue, 7 Apr 2009 04:52:14 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 190850] Re: amulecmd download does not work with -c
>
> UPDATE: I've just tried upgrading to 2.2.4 with the same results. I
> can pass searches and pull results, but can not tell amuled to start
> downloading. It would seem a little pointless to be able to do the
> others and not be able to do that.
>
> --
> amulecmd download does not work with -c
> https://bugs.launchpad.net/bugs/190850
> You received this bug notification because you are a direct subscriber
> of the bug.

_________________________________________________________________
Rediscover Hotmail®: Get quick friend updates right in your inbox.
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Updates1_042009

shankao (shankao)
Changed in amule (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.