aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: several bugs in webserver  (Read 5096 times)

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
several bugs in webserver
« 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
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: several bugs in webserver
« Reply #1 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 ;)
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: several bugs in webserver
« Reply #2 on: January 16, 2005, 03:56:37 PM »

Yes, adding a single link works.
Logged

lfroen

  • Guest
Re: several bugs in webserver
« Reply #3 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.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: several bugs in webserver
« Reply #4 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 :)
Logged

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: several bugs in webserver
« Reply #5 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
« Last Edit: January 16, 2005, 05:05:36 PM by Lenni »
Logged

lfroen

  • Guest
Re: several bugs in webserver
« Reply #6 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.
Logged

Xaignar

  • Admin and Code Junky
  • Hero Member
  • *****
  • Karma: 19
  • Offline Offline
  • Posts: 1103
Re: several bugs in webserver
« Reply #7 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. =/
Logged

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: several bugs in webserver
« Reply #8 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.
Logged

lfroen

  • Guest
Re: several bugs in webserver
« Reply #9 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.
Logged

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: several bugs in webserver
« Reply #10 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
Logged

alandar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: several bugs in webserver
« Reply #11 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.
Logged

lfroen

  • Guest
Re: several bugs in webserver
« Reply #12 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
Logged

alandar

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
Re: several bugs in webserver
« Reply #13 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.
Logged

Lenni

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 44
Re: several bugs in webserver
« Reply #14 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
Logged
Pages: [1] 2