aMule Forum

English => en_Bugs => Topic started by: Mr Faber on March 10, 2005, 02:58:29 PM

Title: Mr Faber's Known Bugs
Post by: Mr Faber on March 10, 2005, 02:58:29 PM
After fixing of the priority bug aMule seems to be pretty stable for me but I have found still some bugs which are not so bad but bothering.
Everything listed here according to amuled/amuleweb CVS 20050310 with unicode compiled with wxGTK 2.5.4. To manage amuleweb I use Firefox 1.0.1. On every compile the webserver directory in home directory is replaced with the new one.
I used the hint of phoenix to install amule and wxWidgets in home directory.


I don't know why. In the past if I click manual connect amuled tries to connect but do nothing all the time. In log the serverip was listed with 0.0.0.0 which can't be possible. Thats why I have removed my serverlist.
After that I can't manual connect to any server and I can't remove any. The page is reloaded after clicking and nothing happens. I can't see in new version any connect to all button.

In past if I start amuled and have webserver enabled the webserver was started with it. After I try the home variant instead of amuleweb I get an second amuled which gets directly defunct. but the first amuled makes it job like expected and if I start amuleweb per command I can use both normal.
Amuled show this message while starting which is related in my oppinion to this problem.
"execlp failed with code 2"
It hink it has something to do with the variable LD_LIBRARY_PATH=/home/.../wxWidgets/lib which isn't used for starting amuleweb. (Not aMule related)
[/list]

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: phoenix on March 10, 2005, 03:08:36 PM
Quote
This seems to be a bug related to the install of aMule and especially wxWidgets in home directory without root rights.
In past if I start amuled and have webserver enabled the webserver was started with it. After I try the home variant instead of amuleweb I get an second amuled which gets directly defunct. but the first amuled makes it job like expected and if I start amuleweb per command I can use both normal.
Amuled show this message while starting which is related in my oppinion to this problem.
"execlp failed with code 2"
It hink it has something to do with the variable LD_LIBRARY_PATH=/home/.../wxWidgets/lib which isn't used for starting amuleweb.
This is because amuled is not able to find amuleweb. This is a consequence of not doing "make install" and so all the executables are no longer on the PATH. This is not an issue, because you are testing anyway, so you can manually enter the command to start amuleweb. If the executables were properly installed, this would work.

Great work, thank you for your time testing.
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on March 10, 2005, 07:42:07 PM
I have made "make install" but of course not in path environment.
Amuled and amuleweb are in the same directory so amuled shouldn't have a big problem to find it :D
But I agree that this "bug" isn't so important. I just love that trick so much and this little part is missing :D

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: GonoszTopi on March 10, 2005, 08:50:45 PM
Quote
from execlp's documentation:
       The  functions  execlp  and  execvp will duplicate the actions of the shell in searching for an executable file if the specified file name does not contain a slash (/) character.  The search path is the path specified in the environment by the PATH variable.  If this variable isn't specified, the default path ``:/bin:/usr/bin'' is used.  In addition, certain errors are treated specially.
And now, this is how amuled tries to start the webserver:
Code: [Select]
amule.cpp:831: execlp("amuleweb", "amuleweb", (const char *)unicode2char(wxT("--amule-config-file=") + aMuleConfigFile), 0);
Therefore, if amuleweb is not in the PATH, amuled won't be able to run it, even when they're in the same directory. About getting a second (defunct) amuled instead of amuleweb, read the documentation on fork(2) and exec(3).

About your bugs concerning statistics: They are definiately not related to amuleweb nor EC. The statistics tree is simply copied from the core as text -- no way to mess with it. It might be realted to amule daemon, if at all they are really bugs.

Log and debug log: aMule has only one log -- it doesn't matter how we call it. The bug is actually in the webserver template, which was originally imported from eMule. I'll remove the 'Debug Log' item.

Serverlist: it's rather an amuled issue, not amuleweb's. Anyways, I don't have it here.

Progress bar images: I have two machines, it works on one, and doesn't on the other. Funny, isn't it?

Hoping to be helpful,
GonoszTopi
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on March 10, 2005, 09:09:21 PM
Yeah, thanks. I don't say that everything is amuleweb related. It was just a list of the possible bugs I have found.
According to the progressbarimages. Maybe it has something to do with the local charset or the browser? After amuled gets relativly stable I decided to use amuled with unicode again. The first time I have had progressbar images. Next day after compile they were gone. Maybe it has something to do with the template? Is the template compiled on client?

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: GonoszTopi on March 10, 2005, 09:46:47 PM
The templat itself is not compiled, nothing is to be done with it except for installation.

It has strings like [PROGRESSBARIMAGE], which will be replaced by the webserver on run-time with the appropriate value (the tag, in this case).

I'll try to find what causes this bug, and maybe writing a replacement code for where it doesn't work.

cu
GonoszTopi
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on March 14, 2005, 02:56:34 PM
Some additional info to my problems with webinterface.
I am using the today CVS with unicode and wxWidgets 2.5.4.
After starting amuleweb with my normal script "amuleweb -q &" aMule show me a help dialog that q requires a string. How can a quiet option require a string? After removing the q I get the error message "Debug: 1 thread were not terminated by the application." and nothing happens. I haven't a second amuleweb running at this time. Amuleweb only works for me if I remove the & tag at the end of the command. But this is not so good :-). ctrl + z and bg doesn't work because it is stopped after using bg. I think it has something to do with the missing q option because I have a similar problem in the past until I read from this option. But what string is needed for q? (FIXED)

If I use manual connect and have quiet mode disabled I get the message "Request failed with the following error: server not found: [0.0.0.0:4242]". In aMule log is nothing according to this connection attemp logged. The link of manual server connect seems to be ok because the ip differs from server to server. Removing of the serverlist doesn't help too.

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: GonoszTopi on March 14, 2005, 08:09:01 PM
Sorry, my fault. It's already fixed on current CVS and will be in tomorrow's tarball.
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on March 14, 2005, 09:16:18 PM
NP. I am happy that I haven't done something wrong :)

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on March 19, 2005, 11:48:30 AM
I can't compile amule with remote gui with this additional compilation options
Code: [Select]
CFLAGS="-march=pentium4 -O2 -pipe" CXXFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu"It works only without the options or without the remote gui.

On my amd64 it works with this option without compiling error:
Code: [Select]
CFLAGS="-march=k8 -O2 -pipe" CXXFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu"
Yeah, and the remote gui doesn't crash on transfer windows without the optimizations on my p4. But I can't test it with the optimizations :D

If I connect with the remote gui to a server it works (in webinterface still not) but I get no log message.

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on March 20, 2005, 11:28:51 AM
I list her some remote gui bugs I have found:

The gui seems to have some "overflow values"?
I have 3071965344 Banned Clients :)

In upload tab the Transferred is always wrong. Sometimes 4 GB which can't be correct and sometimes always zero even thought I upload with 3 KB/S to him.

I can't see the client software in upload tab.

The optained parts are showed very rare which can't be true because most of the clients have this feature.

If I let show the client details I get an Debug Alert box but amule gui doesn't crash. The Userhash ist in most cases 000....
Quote
ClientDetailDialog.cpp(83): assert "!m_client->GetUserHash().IsEmpty()" failed.

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: lfroen on March 21, 2005, 05:39:01 AM
Quote
I can't see the client software in upload tab.

Will fix it.

Quote
The gui seems to have some "overflow values"?

Quote
The optained parts are showed very rare which can't be true because most of the clients have this feature.

This isn't implemented yet. You see garbage, sorry.

Quote
If I let show the client details I get an Debug Alert box but amule gui doesn't crash. The Userhash ist in most cases 000....

Already fixed.
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on March 31, 2005, 11:15:21 PM
Another little bug in webinterface. I can't change the priority of local files. I use as always :) the today cvs compiled with wxWidgets 2.5.4 and unicode support.
By the way the progressbar images still doesn't work. (FIXED)

If I move a file away from my share folder and reload with the amule remote gui it crashes., not amuled. If this bug isn't know I can post a backtrace. I would do this anyway but the remote gui's bts are so huge that I only want to post it if it is needed. (FIXED)

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: lfroen on April 01, 2005, 08:14:05 AM
Quote
I would do this anyway but the remote gui's bts are so huge that I only want to post it if it is needed.

Yes, please post it. At least relevant part (20 frames from the start can be enough).
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on April 02, 2005, 08:16:14 PM
I can't change priority of local files in amuleweb and amuleremote gui and I can't see files in amule remote gui, which I am downloading, in shared files (yes, I have already downloaded more than one chunk). I works in the past but not anymore.
I use CVS 20050401 and wxGTK 2.5.4.
(FIXED for amuleweb, not for the GUI)

cu
Mr Faber
Title: Re: Mr Faber's Known Bugs
Post by: Mr Faber on April 09, 2005, 02:39:17 PM
Since many bugs are fixed and the thread isn't very clearly arranged I post all known still existing bugs which are not related to the aMule remote gui because it is in an early development stage.
I use the CVS 20050408 and wxWidgets 2.5.5 with unicode support.


cu
Mr Faber