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: Freeze when cancelling the server.met download dialog  (Read 10711 times)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Freeze when cancelling the server.met download dialog
« on: September 14, 2007, 04:10:52 PM »

aMule seems to deadlock when I click on cancel in the server.met download dialog.

In the terminal it prints HTTP download cancelled, but the gui will freeze and I can't interact with aMule at all. (i.e. clicking one the x to close the dialog or the aMule window won't work)
Logged

Pitxyoki

  • Approved Newbie
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 40
Re: Freeze when cancelling the server.met download dialog
« Reply #1 on: June 11, 2009, 01:57:26 AM »

This is still present as of aMule 2.2.5!
Exactly the same symptoms under exactly the same circumstances.

Also, when downloading an ipfilter, the same thing happens when cancelling the download.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Freeze when cancelling the server.met download dialog
« Reply #2 on: June 11, 2009, 04:52:19 PM »

Same for me, plus: When I get asked if I want to download a server.met when starting with a deleted .aMule-dir, it's no matter if I click on yes or no, it starts on any choice. And why are yes no switched, I usually expect yes left and no right.
Logged
Homefucking is killing prostitution

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Freeze when cancelling the server.met download dialog
« Reply #3 on: June 12, 2009, 11:07:57 PM »

aMule seems to deadlock when I click on cancel in the server.met download dialog.
I wonder how you accomplish that. I can't even hit return before it finishes downloading a 7 kb file.  :D

When I get asked if I want to download a server.met when starting with a deleted .aMule-dir, it's no matter if I click on yes or no, it starts on any choice.
Look again. It's downloading the GeoIP database after you click on no.

And why are yes no switched, I usually expect yes left and no right.
They aren't switched here. It's pure wx anyway.
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

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Freeze when cancelling the server.met download dialog
« Reply #4 on: June 12, 2009, 11:25:46 PM »

It's the toolkit's order.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Freeze when cancelling the server.met download dialog
« Reply #5 on: June 17, 2009, 01:03:59 PM »

When I get asked if I want to download a server.met when starting with a deleted .aMule-dir, it's no matter if I click on yes or no, it starts on any choice.
Look again. It's downloading the GeoIP database after you click on no.
OK. Why? I have that database on my PC, and it get's used. Http-downloads don't work at all in aMule, because it's not possible to use the proxy ONLY for http. If the feature of downloading the database is usefull in any environment, it should ask before doing that.

And why are yes no switched, I usually expect yes left and no right.
They aren't switched here. It's pure wx anyway.

Jep, I just saw that DeVeDe has them the same way. If it is the toolkits order, like Kry said, Why is it ok on your system? And how can it be influenced?
Logged
Homefucking is killing prostitution

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Freeze when cancelling the server.met download dialog
« Reply #6 on: June 17, 2009, 10:12:28 PM »

Because he is a windows user.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Freeze when cancelling the server.met download dialog
« Reply #7 on: June 18, 2009, 12:54:50 PM »

k, so Windows does what I expect, and in Lunix I can't even configure it. Strange feeling.

What about the proxy problem, is it somehow possible to use a proxy for http requests like downloads and use natted direkt-access for ed2k/kad at the same time?
Logged
Homefucking is killing prostitution

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Freeze when cancelling the server.met download dialog
« Reply #8 on: June 18, 2009, 03:54:43 PM »

You can't configure it in windows, either. Each toolkit has its decisions.

I'm actually not sure you can't change it in linux, but it's definitely not programatically, but in the toolkit's configuration (in this case GTK).
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Freeze when cancelling the server.met download dialog
« Reply #9 on: June 18, 2009, 09:55:08 PM »

Why? I have that database on my PC, and it get's used.
Not everybody has, and it gets updated monthly. That's why aMule downloads it to its config dir if it doesn't exist there yet and uses it from there.
It was planned to add a config dialog option to enable/disable GeoIP and set the update intervall. I leave it to you to guess why it wasn't implemented yet.  :-X

Quote
If the feature of downloading the database is usefull in any environment, it should ask before doing that.
It will always download it if GeoIP is enabled and the database isn't there.

Quote
Http-downloads don't work at all in aMule, because it's not possible to use the proxy ONLY for http.
That request might make sense, though you're probably the only one with that problem. How did you get your system set up so Kad works and HTTP doesn't?
However, it requires a GUI change too.  :P

k, so Windows does what I expect, and in Lunix I can't even configure it. Strange feeling.
So, that happens if you start talking about two totally unrelated issues - nobody knows anymore which relates to what.
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

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: Freeze when cancelling the server.met download dialog
« Reply #10 on: June 18, 2009, 11:53:31 PM »

Why? I have that database on my PC, and it get's used.
Not everybody has, and it gets updated monthly. That's why aMule downloads it to its config dir if it doesn't exist there yet and uses it from there.
It was planned to add a config dialog option to enable/disable GeoIP and set the update intervall. I leave it to you to guess why it wasn't implemented yet.  :-X
I think I know why. Wouldn't it be better to download to config dir, if the systemwide db isn't present? Many Distros ship the db with the libs, so not everyone has a db in his $home or amule's-config dir, but much more have one in /usr/share...

Quote
If the feature of downloading the database is usefull in any environment, it should ask before doing that.
It will always download it if GeoIP is enabled and the database isn't there.
It should ask, at least one time. The user could want to stay on the systemwide one (if present) for reasons like limited home, or just because it works and they give a shit of seeing a flag of Maldives as long as the main countries with the most users work, or just because they know (like me) that the download will fail.

Quote
Http-downloads don't work at all in aMule, because it's not possible to use the proxy ONLY for http.
That request might make sense, though you're probably the only one with that problem. How did you get your system set up so Kad works and HTTP doesn't?

Gateway with caching proxy for http/ftp and so on, mail/news-server, and nat for ed2k/kad/irc/games. Not really difficult.

k, so Windows does what I expect, and in Lunix I can't even configure it. Strange feeling.
So, that happens if you start talking about two totally unrelated issues - nobody knows anymore which relates to what.

The dialog appears right before the problem of the op (and me), so not totally unrelated. More totally surprising.

See it like in Usenet. If you want to talk about redwine, ask for a camcorder.
Logged
Homefucking is killing prostitution

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
Re: Freeze when cancelling the server.met download dialog
« Reply #11 on: June 19, 2009, 03:49:30 PM »

Quote
Http-downloads don't work at all in aMule, because it's not possible to use the proxy ONLY for http.
That request might make sense, though you're probably the only one with that problem. How did you get your system set up so Kad works and HTTP doesn't?
Gateway with caching proxy for http/ftp and so on, mail/news-server, and nat for ed2k/kad/irc/games. Not really difficult.

You can configure the proxy as transparent at least for HTTP (under Linux iptables + squid at example).
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Freeze when cancelling the server.met download dialog
« Reply #12 on: June 19, 2009, 08:39:29 PM »

It should ask, at least one time.
There are like 50 more important issues which aren't asked for either. If a 1.1MB download is an issue (either in size or in bandwidth) you have no business using aMule anyway.
Quote
Gateway with caching proxy for http/ftp and so on, mail/news-server, and nat for ed2k/kad/irc/games.
Isn't NAT about incoming traffic? Why doesn't HTTP work with NAT unless you explicitly block it?
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

^marcell^

  • Developer
  • Hero Member
  • *****
  • Karma: 28
  • Offline Offline
  • Posts: 524
Re: Freeze when cancelling the server.met download dialog
« Reply #13 on: June 19, 2009, 10:07:26 PM »

NAT is not just about incoming traffic.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Freeze when cancelling the server.met download dialog
« Reply #14 on: June 19, 2009, 10:35:54 PM »

I mean you have to take special action (port forwarding) for incoming traffic only.
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
Pages: [1] 2