aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: [Solved] Amulecmd SVN rev. 9969 : show dl returns an empty line  (Read 6762 times)

browny

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
[Solved] Amulecmd SVN rev. 9969 : show dl returns an empty line
« on: January 21, 2010, 11:24:18 AM »

Hello,

Just a bug report : I don't know if this is the right place to post. I compiled amulecmd, amuled , everything went ok.

But in amulecmd, when I type a 'show dl' command line, nothing hapens :

This is amulecmd SVN rev. 9969
Enter password for mule connection:

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

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

Use 'Help' for command list

aMulecmd$ show dl
aMulecmd$ status
 > eD2k: Connected to eDonkeyServer No2 [212.63.206.35:4242] with HighID
 > Kad: Connected (ok)
 > Download:    17.39 kB/s
 > Upload:      28.04 kB/s
 > Clients in queue:    102
 > Total sources:       122
aMulecmd$ show dl
aMulecmd$


show servers and show ul works good
« Last Edit: January 28, 2010, 11:01:03 AM by wuischke »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #1 on: January 21, 2010, 11:01:40 PM »

Works for me.
- What platform?
- Are you sure amuled and amulecmd are both from the same SVN version?
- Do you have "strange" characters in your download names? Does it work if at least the first download has just plain ascii chars?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

browny

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #2 on: January 22, 2010, 10:06:29 AM »

Hi Stu and thanks for your reply,

I compiled rev 9969 on a Debian lenny stable x86 ; both amule and amulecmd are from the same rev 9969.

Here's what I did to compile and install (as usual) on my P3/800Mhz (No X running, ssh access only) :

./configure --disable-debug --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-optimize
make
make install


(I switch to svn because stable amule was a CPU hog)

I checked the file names and no strange characters out there...
« Last Edit: January 22, 2010, 10:21:38 AM by browny »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #3 on: January 22, 2010, 08:29:09 PM »

With "strange" I meant "other than plain Ascii". Just to make sure. For all I know you could be from China and find Chinese chars perfectly ordinary.  :)
What's your wxWidgets version?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

browny

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #4 on: January 22, 2010, 08:41:54 PM »

I understood the first time  ;)

Actually, I'm from france and I checked if my file names contained accents (é, è, à...) and... Zip ! Only plain ascii caracters.

My wxWidgets version is 2.8.

I recompiled again with little changes on my configure line --disable-upnp --with-language=fr and I still get the same problem.
« Last Edit: January 22, 2010, 08:47:41 PM by browny »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #5 on: January 22, 2010, 08:51:30 PM »

2.8.what ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

browny

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #6 on: January 24, 2010, 04:57:21 PM »

version 2.8.10.1-1
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #7 on: January 24, 2010, 05:20:17 PM »

Edit your amule.conf and set
Code: [Select]
VerboseDebug=1
Cat_External\ Connect=1
Start amuled. Start amulecmd and type "show dl". Exit both.
Look at the logfile - there should be a full protocol of the daemon's side of the EC communication:
Code: [Select]
.2010-01-24 17:07:33: < EC_OP_AUTH_REQ 36
.2010-01-24 17:07:33:     EC_TAG_CLIENT_NAME 9 = aMulecmd
.2010-01-24 17:07:33:     EC_TAG_CLIENT_VERSION 4 = SVN
.2010-01-24 17:07:33:     EC_TAG_PROTOCOL_VERSION 2 = 515
 2010-01-24 17:07:33: ExternalConn.cpp(297): Connecting client: aMulecmd SVN
.2010-01-24 17:07:33: > EC_OP_AUTH_SALT 15
.2010-01-24 17:07:33:     EC_TAG_PASSWD_SALT 8 = 13025805467751652749
.2010-01-24 17:07:33: < EC_OP_AUTH_PASSWD 23
.2010-01-24 17:07:33:     EC_TAG_PASSWD_HASH 16 = 368D1458771A5B231A74FA7C0353B1AB
 2010-01-24 17:07:33: ExternalConn.cpp(363): Access granted.
.2010-01-24 17:07:33: > EC_OP_AUTH_OK 11
.2010-01-24 17:07:33:     EC_TAG_SERVER_VERSION 4 = SVN
.2010-01-24 17:07:38: < EC_OP_GET_DLOAD_QUEUE 0
.2010-01-24 17:07:38: > EC_OP_DLOAD_QUEUE 3060
.2010-01-24 17:07:38:     EC_TAG_PARTFILE 16 = <snip>
.2010-01-24 17:07:38:       EC_TAG_PARTFILE_STATUS 1 = 0
.2010-01-24 17:07:38:       EC_TAG_PARTFILE_STOPPED 1 = 0
...
See if you get a clue. If you don't mail it to sturedman[at]amule.org . (Don't post it here, there's detailed info about all your downloads in it.)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

browny

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #8 on: January 25, 2010, 11:28:10 AM »

Hello Stu, and thanks for your help.

After trying to debug without any success (my log doesn't give me much clues as yours about EC connections, despite The options I addeed in the amule.conf file), I got back to SVN rev 9962, which works fine (I had the same problem with rev 9970 & rev 9971). I think my problem started with 9963 or 9964 (as I upgraded from 9962 directly to 9969) :

9964 - Some EC (External Connections) cleanup.
9963 - More EC fixes.

Maybe I lack some updated library or something I missed in the docs ? Is There anything I can do to help debugging more efficiently ? Compiling option ?
« Last Edit: January 25, 2010, 11:48:18 AM by browny »
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #9 on: January 25, 2010, 07:57:18 PM »

Did you compile with debug enabled? Then the EC debugging should work. Were the options already there in your config?
There's no special dependency to any libs.
Everything is working fine here.  ???
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #10 on: January 25, 2010, 08:21:29 PM »

First try 9972 or newer, it fixes a bug (which shouldn't be that critical, but who knows?).
(Yes, it's not available as I write this. Give GonoszTopi a little time.)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

browny

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #11 on: January 26, 2010, 11:58:11 AM »

Ok I'll compile 9972 as soon as it's out with :

Code: [Select]
./configure --enable-debug --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-optimize --disable-upnp --with-language=fr
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #12 on: January 26, 2010, 10:22:21 PM »

Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

browny

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 7
Re: Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #13 on: January 28, 2010, 10:39:57 AM »

Hey Stu !

Guess what....

It works with rev 9972 !!!

My log anyway :

.2010-01-28 10:33:23: < EC_OP_AUTH_REQ 36
.2010-01-28 10:33:23:     EC_TAG_CLIENT_NAME 9 = aMulecmd
.2010-01-28 10:33:23:     EC_TAG_CLIENT_VERSION 4 = SVN
.2010-01-28 10:33:23:     EC_TAG_PROTOCOL_VERSION 2 = 515
 2010-01-28 10:33:23: ExternalConn.cpp(297): Connexion au client : aMulecmd SVN
.2010-01-28 10:33:23: > EC_OP_AUTH_SALT 15
.2010-01-28 10:33:23:     EC_TAG_PASSWD_SALT 8 = xxxxxxxxxxxxxxx
.2010-01-28 10:33:23: < EC_OP_AUTH_PASSWD 23
.2010-01-28 10:33:23:     EC_TAG_PASSWD_HASH 16 = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 2010-01-28 10:33:23: ExternalConn.cpp(363): Accès autorisé.
.2010-01-28 10:33:23: > EC_OP_AUTH_OK 11
.2010-01-28 10:33:23:     EC_TAG_SERVER_VERSION 4 = SVN
!2010-01-28 10:33:26: ServerConnect.cpp(263): Connexion établie sur : eDonkeyServer No2
!2010-01-28 10:33:26: amule.cpp(1870): Connecté à eDonkeyServer No2 avec un HighID
 2010-01-28 10:33:26: ServerSocket.cpp(417): Nouvel ID client : xxxxxxxxx
 2010-01-28 10:33:26: amule.cpp(1529): ServerMessage : server version 17.15 (lugdunum)
 2010-01-28 10:33:26: amule.cpp(1529): ServerMessage : ...
 2010-01-28 10:33:26: ServerSocket.cpp(542): Sauvegarde de la liste des serveurs terminée.
!2010-01-28 10:33:26: amule.cpp(1891): Connecté à Kad (ok)
.2010-01-28 10:33:27: < EC_OP_GET_DLOAD_QUEUE 0
.2010-01-28 10:33:27: > EC_OP_DLOAD_QUEUE 3819


No more empty lines with show dl

Thanks a lot !!!  ;D

PS : How do I add a [SOLVED] to the topic
« Last Edit: January 28, 2010, 10:42:02 AM by browny »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: [Solved] Amulecmd SVN rev. 9969 : show dl returns an empty line
« Reply #14 on: January 28, 2010, 11:01:54 AM »

Quote
PS : How do I add a [SOLVED] to the topic
You ask. ;) Editing is currently restricted due to spam problems.
Logged