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: Error Traversing Database  (Read 9336 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Error Traversing Database
« Reply #15 on: December 27, 2008, 07:12:11 PM »

Error handling improved in 9297.
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

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Error Traversing Database
« Reply #16 on: December 27, 2008, 10:23:05 PM »

ok I' ll test asap
Logged

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Error Traversing Database
« Reply #17 on: December 29, 2008, 03:03:23 AM »

Hi Stu, I'm here.
I downloaded the svn 9306, I tried to start aMule without a GeoIP.dat file, but aMule crashed. The logs and bt are attached, as well you find attached what aMule could download.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Error Traversing Database
« Reply #18 on: December 29, 2008, 01:02:29 PM »

Silly me.  :-[ (And silly not-autocasting throw/catch.)
Fixed in 9307. You can try it yourself (HTTPDownload.cpp line 230) with the wxString() around the throw argument:
Code: [Select]
if (current_read == 0) {
if (total_read != download_size) {
throw wxString(CFormat(_("Expected %d bytes, but downloaded %d bytes")) % download_size % total_read);
} else {
// Download was succesful.
m_result = 1;
}
}
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

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Error Traversing Database
« Reply #19 on: December 29, 2008, 05:00:47 PM »

Ok, I applied the patch by hand.
Then I compiled and started amule. As usual it starts and after the initial checks starts to scan the shared directories and appears aMule window on the screen, at the same time the download window appears on the screen but until now both windows are blank and stay blank until the end of the scan.
As soon as the scan ends the two windows are filled, but the download window is just like the attached photo and stay there undefinitely.
I gave a Ctrl+C and attached I report all bt and logfile. I hope they are useful.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Error Traversing Database
« Reply #20 on: December 29, 2008, 11:11:06 PM »

Until now, all changes were only meant to make the download fail-safer - not to prevent your actual problem.  ;)
I'm working on moving the update to a later stage, after the scan for shared files. But right now their site appears to have gone down, so I'm stopped until it goes up again...

Meanwhile I wonder what takes so long at your site to look up a bunch of shared files. What's the size of your known.met ?
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

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Error Traversing Database
« Reply #21 on: December 30, 2008, 03:17:04 AM »

my known.met file is 7.6 MB

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Error Traversing Database
« Reply #22 on: December 30, 2008, 01:32:09 PM »

OK, SVN 9308 should load it for you. Download now starts only after scanning shared files.
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

luquino

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 124
Re: Error Traversing Database
« Reply #23 on: December 31, 2008, 06:12:11 PM »

yeah, it works fine.
Happy new year    ;D
Logged
Pages: 1 [2]