aMule Forum

English => en_Bugs => Topic started by: geophil3 on March 09, 2008, 10:33:06 PM

Title: Downloads Incoming Folders
Post by: geophil3 on March 09, 2008, 10:33:06 PM
     When I Try to browse, to set an optional incoming folder, both for temporary and finished downloads, after haivng prompted me to restart, aMule shows a message saying it was not possible open the new folder, and will continue downloading on default folders. Is this normal? And if not how can be troubleshooted? Thanks a lot in advance for your assistance. geophil3
Title: Re: Downloads Incoming Folders
Post by: wuischke on March 10, 2008, 12:12:42 AM
Shouldn't be normal.

What operating system/distribution are you using? What filesystem uses the partition where you want to put the temp/incoming folders? Is this an external hdd?
Title: Re: Downloads Incoming Folders
Post by: geophil3 on March 10, 2008, 02:05:18 AM
 Operating System XP . I wouldn't be able to answer the rest because I'm a principiant. What I can say is tha I don't have the same problem on eMule for example, or in other similar programs.
Title: Re: Downloads Incoming Folders
Post by: wuischke on March 10, 2008, 10:54:30 AM
So Windows it is...could you please try a developmental version to see if the error still exists? See http://forum.amule.org/index.php?topic=8895.0 and download the most recent monolithic version.
Title: Re: Downloads Incoming Folders
Post by: geophil3 on March 10, 2008, 05:51:34 PM
 I'll try it. Thank you very much.
Title: Re: Downloads Incoming Folders
Post by: geophil3 on March 10, 2008, 08:17:28 PM
  It has worked. Thank you so much for your advice.
  I have another problem though. I have low I.D even if I have enabled UPnP Service.
  Thanks again...
Title: Re: Downloads Incoming Folders
Post by: wuischke on March 10, 2008, 11:06:00 PM
I believe UPnP isn't working (yet - phoenix?) on Windows, please forward the ports manually in the meantime.

Edit: Argh, b/v...
Title: Re: Downloads Incoming Folders
Post by: geophil3 on March 11, 2008, 12:01:07 AM
 O.K Thank you. Your advice is precious.
Title: Re: Downloads Incoming Folders
Post by: phoenix on March 12, 2008, 03:53:30 AM
I beliebe UPnP isn't working (yet - phoenix?) on Windows, please forward the ports manually in the meantime.
Sorry, I have no idea, I have no means to test. I don't know if windows supports dlopen(), I think it doesn't.

I have plans to add UPnP as a configure time option so that it is linked in compile time, not in run time. Maybe then it will work with windows, assuming you can compile libupnp in windows.

Cheers!
Title: Re: Downloads Incoming Folders
Post by: wuischke on March 12, 2008, 10:04:28 AM
I failed to find a way to use dlopen on Windows. I think it's not possible.

Quote
I have plans to add UPnP as a configure time option so that it is linked in compile time
Nice! If you need someone to do tests, I still have a Windows partition, a mingw-cross-compiler as well as MS VS2k8 (MSDN-AA) and an upnp-compatible router.

eMule Morph uses libupnp according to the pupnp.sf.net-page, so I think it works on Windows for sure.
Title: Re: Downloads Incoming Folders
Post by: GonoszTopi on March 20, 2008, 12:22:09 PM
MinGW has lt_dlopen() in <ltdl.h> (well, actually part of msys), but I'd vote for using wxDynamicLibrary from <wx/dynlib.h>
Title: Re: Downloads Incoming Folders
Post by: Kry on March 20, 2008, 05:05:55 PM
Seconded
Title: Re: Downloads Incoming Folders
Post by: phoenix on March 21, 2008, 05:54:58 AM
IIRC, there is already an option on configure to leave UPnP out of aMule. It was meant to be linked directly, not dlopened. dlopening was just a temporary and convenient situation for me at the time. I see no reason to leave code complicated as it is now. Not to mention maintaining the crippled headers and the load of the different library versions of libupnp. Soon there will be libupnp.so.4 and more useless complicated code.

I will remove dlopen() completely from UPnP, it is just a matter of getting some free time to code again.
Title: Re: Downloads Incoming Folders
Post by: geophil3 on March 21, 2008, 01:05:50 PM
 Hi again. I'm back to say that I've downloaded a monolithic version of aMule as I had been advised, to solve the download incoming directory. It has worked very well for a some days. Now it always crashes, when i'm trying to connect after is has been connected.I don't know what causes the problem. XP again maybe?