aMule Forum

English => en_Bugs => Topic started by: Skuromis on March 06, 2005, 09:12:02 PM

Title: [solved] most important: XAS BUG XD
Post by: Skuromis on March 06, 2005, 09:12:02 PM
Ok, now I have two brandnew aMules running, one in /usr/local/bin/ and one in home dir, both as a different user. But if tried xas in xcaht, following messages occured:
Quote
Perl error: Illegal division by zero at (eval 2) line 78
Session up and down is not 0.
Greetz, Skuro.

EDIT: Thx Dude for reminding me, session up is nearly 1.2GB and session down 53MB.
Title: Re: [solved] most important: XAS BUG XD
Post by: Skuromis on March 11, 2005, 06:39:51 PM
Ok I solved my problem. It was, that I run Xchat from my user skuromis but the 2nd amule from another user via su 'anotheruser'.
But in the script the values are catched from $ENV{USER}, so the script came into trouble, skuromis was not running any aMule  :]
So what did I do: first I told amule to write amulesig.dat in a directory, where both user can read it and 'anotheruser' write.
Then I changed all §ENV[USER] into 'anotheruser' (in one case it was USER_HOME into /home/anotheruser) and changed the path, where to find amulesig.dat. All xas named things I renamed xasanotheruser, so I hope I'm able to use the second original script for the other aMule. And it works ;OD