aMule Forum

English => en_Bugs => Topic started by: Lenni on January 16, 2005, 03:18:17 PM

Title: several bugs in webserver
Post by: Lenni on January 16, 2005, 03:18:17 PM
I'm using CVS20050115 and found these (minor) bugs in the GUI:

transfer-window:
- sorting doesn't work properly: items are sortet but within two blocks (#-z and then #-z again)
- categories are missing in viewing-filter-combo box

search-window:
- filehash-column is missing in the search-results
- sorting doesn't work
- adding of multiple ed2k-links doesn't work

shared files-window:
- some items are listed several times after a time

I hope I reported at least some new bugs for you to fix.
Lenni
Title: Re: several bugs in webserver
Post by: stefanero on January 16, 2005, 03:49:09 PM
adding ed2k links works for ya?
here it does not even work at all...
not even a singe link ;)
Title: Re: several bugs in webserver
Post by: Lenni on January 16, 2005, 03:56:37 PM
Yes, adding a single link works.
Title: Re: several bugs in webserver
Post by: lfroen on January 16, 2005, 04:03:49 PM
Quote
- sorting doesn't work properly: items are sortet but within two blocks (#-z and then #-z again)

Sorting works for me. Please explain, what exactly doesn't work: sorting by which column ? Wnat do you mean "two blocks" ?

Quote
- filehash-column is missing in the search-results

If I remember correctly - this column has been removed on purpose. I fail to see what why someone wants to know VALUE of hash ? It's taking considerable %% of page space, so I must be VERY usefull to justify that space, not just "nice to have for 0.001% of users"

Quote
- adding of multiple ed2k-links doesn't work

Yes, doesn't work. I will rework this + move "Add ed2k link" command to more obvious place (IMHO it have nothing to do with search)

Quote
- some items are listed several times after a time

I will check this one. Items are recognized according to their hash.
Title: Re: several bugs in webserver
Post by: Kry on January 16, 2005, 04:53:02 PM
Quote
If I remember correctly - this column has been removed on purpose. I fail to see what why someone wants to know VALUE of hash ? It's taking considerable %% of page space, so I must be VERY usefull to justify that space, not just "nice to have for 0.001% of users"


Well, lot of people might want to know if the search result is the same as some other,c omparing hashes. ed2k servers even allow us to search by filehash, and there's a reason for it :)
Title: Re: several bugs in webserver
Post by: Lenni on January 16, 2005, 04:58:36 PM
Hi!
transfer-window:
When I sort files on name (&w=transfer&sort=name&sortreverse=false) they are sorted this way:
a-file
c-file
d-file
f-file
b-file
e-file
g-file
where c-file to f-file is the first "block" and b-file to g-file is the second, wherein the files are sorted correctly.
-edit: I just saw that I have this sorting-problem in shared files-window, too.

search-window:
I don't need the filehash, too. I was just wondering that it was shown in the title of the table.

shared files-window:
These files are not shared twice or have the same name but different hashs.
The funny thing is that this bug just appears after some time.

Would be nice if adding several links at once would work.

Thanks in advance!
Lenni
Title: Re: several bugs in webserver
Post by: lfroen on January 17, 2005, 11:52:33 AM
Lenni: I think you're using wrong (outdated) web template. Pls check that you taking template from same cvs snapshot as webserver.
Title: Re: several bugs in webserver
Post by: Xaignar on January 17, 2005, 12:30:01 PM
lfroen, how about adding a version/date to the template and have it include a warning if it's too old? I wouldn't be supprised if many people copy the template once and never think about it again. =/
Title: Re: several bugs in webserver
Post by: Lenni on January 17, 2005, 02:39:45 PM
I just copied the aMule.tmpl and webserver/ from my amule-cvs/src/-directory to my ~/.aMule-directory again. Then I restarted both amuled and amuleweb but I still have those Problems.
Title: Re: several bugs in webserver
Post by: lfroen on January 17, 2005, 03:29:08 PM
Quote
search-window:
I don't need the filehash, too. I was just wondering that it was shown in the title of the table.

I should not be there. It's coming from template, not from code.  I will check what cvs contain.

Xaignar: good idea. I will think about implementation.
Title: Re: several bugs in webserver
Post by: Lenni on February 15, 2005, 10:15:17 AM
Hi!
After having very few time in the last weeks, I can now go on ''helping'' you to fix some bugs  :))
I'm currently using CVS20050210.
The sorting-bug figured out as the usual way Linux sorts: upper case first, then lower case, sorry about that I'm new to Linux  :]

But there are still these three bugs I found:
There are still files appearing multiple times in the Shared Files-view after a time.
In the Log-view it says ''WARNING: logfile is empty. Something wrong''.
And the Complete/Transferred-column and the green progress-bar do not display the correct values while the blue progress-bar (chunks) seem to display correctly, this error is appearing after some time running.
The first and the last bug are away after restarting the webserver but then appear again after some time.

Hope you can use these explanations.
The webserver is running very well here except the bugs.
Having statistics and graphs is great, too.
Many thanks for your work!!!  :baby:

Lenni
Title: Re: several bugs in webserver
Post by: alandar on February 18, 2005, 11:19:23 AM
Ok, in 20050217 cvs in Search Window i get:
Code: [Select]
File Name Size File Hash Sources Download
%s %s %s %u []
%s %s %s %u []
%s %s %s %u []
%s %s %s %u []
%s %s %s %u []
...
instead of normal results.
When I enter some random phrase, i don't get nothing, so that's ok.
But when I enter words which should be found, after refetch results I get table shown abowe.
I'm building todays snapshot, and let you know if this happens there too.
Title: Re: several bugs in webserver
Post by: lfroen on February 18, 2005, 11:35:18 AM
No, never happens to me.I did however fixed some bug today which may be related. But anyway, pls check that all your files comes from same snapshot: amule(d), amuleweb, webserver template
Title: Re: several bugs in webserver
Post by: alandar on February 18, 2005, 11:53:53 AM
Ofcourse you were right, sorry for confusion.
I placed aMule.tmpl and webserver directory in ~/.aMule/ directory and forogot to change it when I upgaded aMule package. Now I just removed it and I'm using defaults from /usr/share/amuleweb so it won't happen again :-)
Thx for reply.
Title: Re: several bugs in webserver
Post by: Lenni on February 18, 2005, 12:22:13 PM
Well, mine is the correct one. I upgraded several times since my first post and I got the new icons, I got the search working again etc, but the were always these bugs mentioned above.
Lenni
Title: Re: several bugs in webserver
Post by: rollopack on February 21, 2005, 01:53:54 PM
Hi,
I have the same problem of Lenny:

"WARNING: logfile is empty. Something wrong"

and the page of Graphs is empty.

I use the cvs of CVS20050221, same problems with CVS20050220

RolloPack
Title: Re: several bugs in webserver
Post by: Lenni on March 02, 2005, 02:26:56 PM
Hi!
I'm currently running CVS20050302 compiled with wxGTK2.5.4 and can say: All problems solved  :baby: except smaller issues (e.g. adding multiple files and maybe other thing I couldn't test yet).
Great work, thanks a lot!
Lenni
Title: Re: several bugs in webserver
Post by: phoenix on March 03, 2005, 02:05:02 AM
Lenni,

Thanks, you've been doing a great job too!

Thanks for testing!