JMule project forum http://forum.jmule.org/ |
|
Mac OS X Problem http://forum.jmule.org/viewtopic.php?f=7&t=688 |
Page 1 of 2 |
Author: | Sh4DoW [ Wed Jan 27, 2010 12:27 pm ] |
Post subject: | Mac OS X Problem |
System: Mac os X Snow Leopard Java: 1.6 64 bit java -XstartOnFirstThread -Xmx128m org.jmule.main.Main 2010-01-27 13:09:58.030 java[6234:e0b] [Java CocoaComponent compatibility mode]: Enabled 2010-01-27 13:09:58.033 java[6234:e0b] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000 ***WARNING: Display must be created on main thread due to Cocoa restrictions. 27-gen-2010 13.09.58 org.jmule.core.aspects.JMuleCoreLogger ajc$afterThrowing$org_jmule_core_aspects_JMuleCoreLogger$4$9a1ee6f9 AVVERTENZA: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Display.error(Unknown Source) at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source) at org.eclipse.swt.widgets.Display.create(Unknown Source) at org.eclipse.swt.graphics.Device.<init>(Unknown Source) at org.eclipse.swt.widgets.Display.<init>(Unknown Source) at org.eclipse.swt.widgets.Display.<init>(Unknown Source) at org.jmule.ui.swt.SWTThread$JMSWTThread.run(SWTThread.java:106) Exception in thread "SWT Thread" org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Display.error(Unknown Source) at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source) at org.eclipse.swt.widgets.Display.create(Unknown Source) at org.eclipse.swt.graphics.Device.<init>(Unknown Source) at org.eclipse.swt.widgets.Display.<init>(Unknown Source) at org.eclipse.swt.widgets.Display.<init>(Unknown Source) at org.jmule.ui.swt.SWTThread$JMSWTThread.run(SWTThread.java:106) Question: Why if JMule is already usable you don't create jar file with inside already the swt and swingx jar for standard platform (Leopard/Snow Leopard, Windows Vista/7)?? |
Author: | javajox [ Wed Jan 27, 2010 3:23 pm ] |
Post subject: | Re: Mac OS X Problem |
Hello, 1. JMule is not stable yet 2. We do not have resources to test/package JMule for MacOS platform 3. In future we'll build a unified installer for Linux(and other UNIX-es), Windows, not sure for MacOS - javajox, JMule developer |
Author: | Sh4DoW [ Thu Jan 28, 2010 8:05 pm ] |
Post subject: | Re: Mac OS X Problem |
I can test and package it for you on Mac Os ![]() But first you have to resolve the thread problem... ![]() |
Author: | javajox [ Fri Jan 29, 2010 9:26 am ] |
Post subject: | Re: Mac OS X Problem |
> I can test and package it for you on Mac Os I'm glad to hear this ![]() > But first you have to resolve the thread problem.. We are working now to solve this issue Is JMule running ok with Swing interface on MacOS ? Thank you |
Author: | Sh4DoW [ Sat Jan 30, 2010 12:19 pm ] |
Post subject: | Re: Mac OS X Problem |
I don't know how to start the simple Swing UI ![]() |
Author: | binary256 [ Sat Jan 30, 2010 3:53 pm ] |
Post subject: | Re: Mac OS X Problem |
2. Edit/Add following line : for SWING UI : Code: org.jmule.ui.ui_type=SWING for SWT UI : Code: org.jmule.ui.ui_type=SWT |
Author: | Sh4DoW [ Sat Jan 30, 2010 6:18 pm ] |
Post subject: | Re: Mac OS X Problem |
With the swing interface the program start, and I can use it. There are still many problems with the program, use a lots of memory, sometimes freeze and I can't click buttons, but seems to work (I download something to test). |
Author: | javajox [ Sun Jan 31, 2010 7:10 am ] |
Post subject: | Re: Mac OS X Problem |
Hi, We have made some fixes for MacOS platform, now it should work with SWT UI, please try this version : http://jmule.org/files/testing/jmule-0. ... fix.tar.gz and give us some feedback, particularly if something goes wrong. If all the things will be ok this bugfix will be available in the next version of JMule. Strange that the Swing UI has such a behaviour, it should work fine... I'll try to run it for a longer time on MacOS maybe I'm missing something Thank you for collaboration, your effort is greatly appreciated |
Author: | Sh4DoW [ Sun Jan 31, 2010 7:08 pm ] |
Post subject: | Re: Mac OS X Problem |
There are a lot of problem: with SWING: if from console you start the program with the option -XstartOnFirstThread, you can't do anything when the program start (click or do other thing), without the program start. After it connect to a Server the button Connect doesn't change in Disconnect ![]() with SWT: Now the program start, but inside the program is impossible to select a different UI, when I click on UI Chooser the program stops responding and I have to kill it from shell. When I start the program, even if I don't do nothing (I don't connect to any server) after a few minutes the CPU goes to 100% ![]() Ivan. |
Author: | javajox [ Mon Feb 01, 2010 4:44 pm ] |
Post subject: | Re: Mac OS X Problem |
The problem is not related to UIs only, we started the JMule core only (without any UI stuff), and the CPU is 100% ![]() |
Page 1 of 2 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |