aMule Forum
English => Multiplatform => Mac OSX => Topic started by: gtoso on June 06, 2008, 05:23:36 PM
-
Hi,
I report some problems last tested on SVN20080604:
1) aMule
UPnP preferences are disabled (gray) in Preferences,
if I manually enable UPnP in amule.conf then I can enable/disable any UPnP options in Preferences.
2) aMule/aMuleGUI
Preferences windows don't fit in screen at 1024x768,
see the image and here:
http://forum.amule.org/index.php?topic=13920.msg79733#msg79733
3) aMule/aMuleGUI?
Cannot expand Volumes Folder where anything are mounted on OSX (similar to /mnt or /media in Linux):
local/external partitions, disk-images, network shares, ...
See the image.
Manually add to shareddir.dat works.
I found it in bug tracker:
http://bugs.amule.org/view.php?id=1203
And in some topics:
http://forum.amule.org/index.php?topic=13465.0
http://forum.amule.org/index.php?topic=14197.15
It seems an old problem, previously resolved:
http://forum.amule.org/index.php?topic=4200.0
super:~ gtoso$ ls -la /Volumes/
total 40
drwxrwxrwt 11 root admin 374 Jun 6 02:01 .
drwxrwxr-t 30 root admin 1122 Jun 5 00:53 ..
-rw-rw-rw- 1 administ admin 6148 Jan 27 15:18 .DS_Store
drwxrwxr-t 12 root admin 510 Mar 14 12:38 Extras
drwxrwxr-t 29 root admin 1088 Dec 10 2006 Leopard
lrwxr-xr-x 1 root admin 1 Jun 5 00:54 OSX -> /
drwxrwxr-t 34 root admin 1258 Feb 18 2007 OSXServer
drwxrwxrwx 1 gtoso gtoso 4096 May 27 11:25 SANCIODOS
drwxr-xr-x 5 gtoso gtoso 204 May 27 11:23 SancioBAR
drwxr-xr-x 8 gtoso gtoso 374 Jun 4 19:12 aMule
dr-xr-xr-x 1 gtoso gtoso 512 Jun 6 02:10 ftp.tor.it
super:~ gtoso$ mount
/dev/disk0s3 on / (local, journaled)
devfs on /dev (local)
fdesc on /dev (union)
<volfs> on /.vol
/dev/disk0s5 on /Volumes/OSXServer (local, journaled)
/dev/disk0s6 on /Volumes/Leopard (local, journaled)
/dev/disk0s8 on /Volumes/Extras (local, journaled)
automount -nsl [130] on /Network (automounted)
automount -fstab [135] on /automount/Servers (automounted)
automount -static [135] on /automount/static (automounted)
/dev/disk1s1 on /Volumes/SANCIODOS (local, nodev, nosuid)
/dev/disk1s2 on /Volumes/SancioBAR (local, nodev, nosuid)
ftp://gtoso@ftp.tor.it on /Volumes/ftp.tor.it (nodev, nosuid, read-only, mounted by gtoso)
/dev/disk2s2 on /Volumes/aMule (local, nodev, nosuid, read-only, journaled, mounted by gtoso)
super:~ gtoso$
4) aMule/aMuleGUI
Main window gets longer any time that aMule[GUI] is started
5) aMule/aMuleGUI
The Servers list/Logs division moves down any time that aMule[GUI] is started
6) amuleweb (lanched by amule[d])
it seems that amuleweb doesn't search 'locale' in aMule.app bundle:
Recently I noticed that the Statistics (these and logs were the only things localized) is no longer localized,
I add "Locale=it_IT" to remote.conf and amulecmd is localized but amuleweb/Statistics no,
I make a symlink in /usr/local/share/locale to aMule.app/Contents/SharedSupport/locale and the Statistics is localized.
PS: I read that now the templates support localization,
what must be done to have the strings to translate for built-in templates?
-
1. This should only happen when UPnP support is enabled and it fails to load the libraries. (If not, then I made a mistake and this needs to be addressed). Are there any log messages indicating that loading of libixml.2.dylib and libupnp.{2,3}.dylib failed? This should not be disabled if UPnP is not activated and loading of libraries has not been tested.
2. See http://forum.amule.org/index.php?topic=15176.0 . This is a known problem, but I know no easy fix for this, I'm sorry.
3. This still hasn't been resolved by some miracle? I'm gonna complain to the responsible deity... <insert Steve Jobs joke here> Seriuosly, I'll have a look at the differences between my test code and aMule code or hope for some of our Mac developers (I believe we got about π/2 of them now...) to jump in.
4. Could you please explicate this further? I'm not sure I understand what happens.
5. Same here, could you post a before - after screen shot?
6. This is probably an issue of lookup paths, maybe GonoszTopi will have a look at it.
gettext and amuleweb: http://forum.amule.org/index.php?topic=14381.msg79937#msg79937
-
1. Unfortunately it is disabled when UPnP is not activated and loading of libraries has not been tested.
With UPnP disabled:
UPnPEnabled=0
UPnPECEnabled=0
UPnPWebServerEnabled=0
no possibility to enable it from Preferences and no errors:
2008-06-08 17:22:49: ClientCreditsList.cpp(168): Il file dei crediti è stato caricato, 3955 client conosciuti
2008-06-08 17:22:49: IPFilter.cpp(109): Carico i filtri IP da 'ipfilter.dat' e 'ipfilter_static.dat'.
2008-06-08 17:22:59: IPFilter.cpp(333): Caricati 248523 intervalli di IP da '/Users/gtoso/Library/Application Support/aMule/ipfilter.dat'. 0 righe non valide sono state scartate.
2008-06-08 17:22:59: IPFilter.cpp(333): Caricati 0 intervalli di IP da '/Users/gtoso/Library/Application Support/aMule/ipfilter_static.dat'. 0 righe non valide sono state scartate.
2008-06-08 17:23:00: ExternalConn.cpp(160): *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-06-08 17:23:00: MuleUDPSocket.cpp(81): Created Server UDP-Socket at port 4665
2008-06-08 17:23:00: MuleUDPSocket.cpp(81): Created Client UDP-Socket at port 4672
2008-06-08 17:23:01: amuleDlg.cpp(217):
2008-06-08 17:23:01: amuleDlg.cpp(219): - Questo è aMule SVN using wxMac v2.8.7 (Snapshot: Wed Jun 4 07:01:46 CEST 2008) basato su eMule.
2008-06-08 17:23:01: amuleDlg.cpp(221): In esecuzione su MacOS (Darwin 8.11.0 Power Macintosh)
2008-06-08 17:23:01: amuleDlg.cpp(223): - Visita http://www.amule.org per sapere se è disponibile una nuova versione.
2008-06-08 17:23:01: amuleDlg.cpp(224):
2008-06-08 17:23:02: IP2Country.cpp(73): Caricati 248 flag bitmap.
2008-06-08 17:23:03: ServerList.cpp(83): Caricamento file server.met: /Users/gtoso/Library/Application Support/aMule/server.met
2008-06-08 17:23:03: ServerList.cpp(168): Trovati 12 server nel file server.met
2008-06-08 17:23:03: DownloadQueue.cpp(174): Non è stato trovato alcun file incompleto
2008-06-08 17:23:04: SharedFileList.cpp(352): Trovati 108 file condivisi conosciuti
2008-06-08 17:23:04: amule.cpp(844): Server web attivo con pid 10714
2008-06-08 17:23:05: ThreadScheduler.cpp(308): ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2008-06-08 17:23:05: ExternalConn.cpp(218): Accettata nuova connessione esterna
2008-06-08 17:23:06: ExternalConn.cpp(252): Connessione al client: aMuleweb SVN
2008-06-08 17:23:06: ExternalConn.cpp(307): Accesso consentito.
With UPnP manually enabled:
UPnPEnabled=1
Preferences allow me to change any UPnP options,
it doesn't work because UPnP in my router is disabled:
it's broken, it should be fixed in recent firmware...
Log:
2008-06-08 17:26:29: ClientCreditsList.cpp(168): Il file dei crediti è stato caricato, 3959 client conosciuti
2008-06-08 17:26:29: IPFilter.cpp(109): Carico i filtri IP da 'ipfilter.dat' e 'ipfilter_static.dat'.
2008-06-08 17:26:39: IPFilter.cpp(333): Caricati 248523 intervalli di IP da '/Users/gtoso/Library/Application Support/aMule/ipfilter.dat'. 0 righe non valide sono state scartate.
2008-06-08 17:26:39: IPFilter.cpp(333): Caricati 0 intervalli di IP da '/Users/gtoso/Library/Application Support/aMule/ipfilter_static.dat'. 0 righe non valide sono state scartate.
2008-06-08 17:26:40: ExternalConn.cpp(160): *** TCP socket (ECServer) listening on 0.0.0.0:4712
2008-06-08 17:26:40: MuleUDPSocket.cpp(81): Created Server UDP-Socket at port 4665
2008-06-08 17:26:40: MuleUDPSocket.cpp(81): Created Client UDP-Socket at port 4672
2008-06-08 17:26:40: UPnP.cpp(91): Universal Plug and Play: Successfully opened /Applications/aMule-SVN/aMule.app/Contents/Frameworks/libixml.2.dylib.
2008-06-08 17:26:40: UPnP.cpp(87): Universal Plug and Play: error(CDynamicLibHandle): Unable to dlopen /Applications/aMule-SVN/aMule.app/Contents/Frameworks/libupnp.2.dylib. Check PATH and LD_LIBRARY_PATH.
2008-06-08 17:26:40: UPnP.cpp(91): Universal Plug and Play: Successfully opened /Applications/aMule-SVN/aMule.app/Contents/Frameworks/libupnp.3.dylib.
2008-06-08 17:26:40: UPnP.cpp(1063): Universal Plug and Play: bound to 192.168.1.11:50000.
2008-06-08 17:26:41: UPnP.cpp(1134): Universal Plug and Play: UPnP Error: CUPnPControlPoint::AddPortMapping: Wan Service not detected.
2008-06-08 17:26:42: amuleDlg.cpp(217):
2008-06-08 17:26:42: amuleDlg.cpp(219): - Questo è aMule SVN using wxMac v2.8.7 (Snapshot: Wed Jun 4 07:01:46 CEST 2008) basato su eMule.
2008-06-08 17:26:42: amuleDlg.cpp(221): In esecuzione su MacOS (Darwin 8.11.0 Power Macintosh)
2008-06-08 17:26:42: amuleDlg.cpp(223): - Visita http://www.amule.org per sapere se è disponibile una nuova versione.
2008-06-08 17:26:42: amuleDlg.cpp(224):
2008-06-08 17:26:43: Logger.cpp(272): Errore: Could not unlock mutex (error 0: Unknown error: 0)
2008-06-08 17:26:43: IP2Country.cpp(73): Caricati 248 flag bitmap.
2008-06-08 17:26:45: ServerList.cpp(83): Caricamento file server.met: /Users/gtoso/Library/Application Support/aMule/server.met
2008-06-08 17:26:45: ServerList.cpp(168): Trovati 12 server nel file server.met
2008-06-08 17:26:45: DownloadQueue.cpp(174): Non è stato trovato alcun file incompleto
2008-06-08 17:26:45: SharedFileList.cpp(352): Trovati 108 file condivisi conosciuti
2008-06-08 17:26:46: amule.cpp(844): Server web attivo con pid 10734
2008-06-08 17:26:47: ThreadScheduler.cpp(308): ThreadScheduler: Completed task 'AICH Syncronizing', 0 tasks remaining.
2008-06-08 17:26:47: ExternalConn.cpp(218): Accettata nuova connessione esterna
2008-06-08 17:26:47: ExternalConn.cpp(252): Connessione al client: aMuleweb SVN
2008-06-08 17:26:47: ExternalConn.cpp(307): Accesso consentito.
2008-06-08 17:28:53: UPnP.cpp(1270): Universal Plug and Play: UPnP Error: CUPnPControlPoint::DeletePortMapping: Wan Service not detected.
2008-06-08 17:28:58: UPnP.cpp(109): Universal Plug and Play: Successfully closed /Applications/aMule-SVN/aMule.app/Contents/Frameworks/libupnp.3.dylib.
2008-06-08 17:28:58: UPnP.cpp(109): Universal Plug and Play: Successfully closed /Applications/aMule-SVN/aMule.app/Contents/Frameworks/libixml.2.dylib.
2. Ok :(
I posted some way to use Preferences here:
http://forum.amule.org/index.php?topic=13920.msg79733#msg79733
If you understand it and have time to rewrite it in a better English...
3. It's possible to view the patch (and relative code) that fixed the problem, in 2004?
Ok, the code changed, but ...
Ok, I'm getting a lot of screen shot, that explain the problem better than my English :P
-
Thank you, I've removed the code for problem 1. for now. I don't know about the 2004 code, I'll try to dig in the archives.
-
Thanks,
I made some Screen Shot,
You find them here:
http://gtoso.tor.it/pub/amule/osx/svn/aMule_ScreenShots/
In "Slide" there are some comments under the pictures.
For the 2004 code, maybe Kry remember about it:
http://forum.amule.org/index.php?topic=4200.msg22909#msg22909
-
Please test tomorrow's tarball regarding the preferences window's size, I committed some changes to make it smaller.
-
Please test tomorrow's tarball regarding the preferences window's size, I committed some changes to make it smaller.
Thanks,
I'm busy in this days but I'll try.