Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Azureus died one day - Works no more
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Thu May 26, 2005 3:45 pm    Post subject: Azureus died one day - Works no more Reply with quote

I had azureus crash on me, about a week ago. I have been in windows from then on, im now back in gentoo and azureus is failing to work.


Visually the window which contains azureus comes up, but there is nothing inside it. Its just blank.

The console said :
Code:

DEBUG::Thu May 26 16:43:47 GMT 2005
  java.lang.ClassCastException
        at org.eclipse.swt.layout.FillLayout.computeChildSize(Unknown Source)
        at org.eclipse.swt.layout.FillLayout.computeSize(Unknown Source)
        at org.eclipse.swt.widgets.Composite.computeSize(Unknown Source)
        at org.eclipse.swt.custom.SashFormLayout.computeSize(Unknown Source)
        at org.eclipse.swt.widgets.Composite.computeSize(Unknown Source)
        at org.eclipse.swt.custom.CTabFolderLayout.computeSize(Unknown Source)
        at org.eclipse.swt.widgets.Composite.computeSize(Unknown Source)
        at org.eclipse.swt.layout.FormData.computeSize(Unknown Source)
        at org.eclipse.swt.layout.FormLayout.layout(Unknown Source)
        at org.eclipse.swt.layout.FormLayout.layout(Unknown Source)
        at org.eclipse.swt.widgets.Composite.updateLayout(Unknown Source)
        at org.eclipse.swt.widgets.Shell.resizeBounds(Unknown Source)
        at org.eclipse.swt.widgets.Shell.gtk_size_allocate(Unknown Source)
        at org.eclipse.swt.widgets.Widget.windowProc(Unknown Source)
        at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
        at org.eclipse.swt.internal.gtk.OS._gtk_widget_show(Native Method)
        at org.eclipse.swt.internal.gtk.OS.gtk_widget_show(Unknown Source)
        at org.eclipse.swt.widgets.Shell.setVisible(Unknown Source)
        at org.eclipse.swt.widgets.Shell.open(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.openMainWindow(MainWin
dow.java:708)
        at org.gudy.azureus2.ui.swt.mainwindow.MainWindow.access$1000(MainWindow
.java:104)
        at org.gudy.azureus2.ui.swt.mainwindow.MainWindow$22.runSupport(MainWind
ow.java:1435)
        at org.gudy.azureus2.core3.util.AERunnable.run(AERunnable.java:38)
        at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:6
5)
        at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThrea
d.java:44)
        at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.ja
va:181)
        at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:71)
        at org.gudy.azureus2.ui.swt.Main.main(Main.java:115)




I haven't really tried to debug it yet, as i am not really sure how i would go about this (im still new to linux see...) so instead i thought it would be better to ask you guys, rather than mess up my system and make it worse.

Btw i also re-emerged it (emerge azureus) and even removed it and emerged it again, but this was no help either.

Cheers in advance,
Tim
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Thu May 26, 2005 4:25 pm    Post subject: Reply with quote

Why not try the binary package (emerge -C azureus && emerge azureus-bin)?

It seems to cause far less problems, and you can get more up-to-date versions if you go with the ~arch packages.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Thu May 26, 2005 8:42 pm    Post subject: Reply with quote

Ok kool thanks, ill have to try that when im back home!


Any chance anyone can tell me how i would go about fixing this? Im simple terms, if something goes wrong, where do i start? I know that with linux, i have far more access to infomation such as this, but im not sure where i should look for it.


I can't learn to fix things if they go wrong, unless i know where to look for problems (And protential answers?)

CHeers
Back to top
View user's profile Send private message
djsmiley2k
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 79
Location: Coventry

PostPosted: Fri May 27, 2005 10:19 am    Post subject: Reply with quote

Well the bin fixed it =]


I also heard another guy on irc, who had just emerged it, had the same error :o
Back to top
View user's profile Send private message
bassvandijk
Guru
Guru


Joined: 13 Sep 2002
Posts: 306
Location: Haps, Netherlands

PostPosted: Thu Jun 02, 2005 5:23 pm    Post subject: Reply with quote

I have the exact same problem.

I also tried to re-emerge azureus and swt but that didn't help.

Does anybody have an explaination or solution? ( Could it have something todo with prelinking? )

BTW I rather wish to use azureus then azureus-bin.
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Thu Jun 02, 2005 5:51 pm    Post subject: Reply with quote

bassvandijk wrote:
BTW I rather wish to use azureus then azureus-bin.

Just out of curiosity, why? As a java program, the version you compile yourself should still be capable of running on any arch, and as a result will be no more optimised for your box than the precompiled binary,
Also, the self-compile azureus package has no use flags, which on my system meeans I must install qt in order to compile it, and the same probably goes with gtk for those anyone that doesn't have it.
The azureus-bin package, on the other hand, has kde and gtk use flags, allowing you to choose which interface/toolkit you want it to support.

I'm not criticising what you've said, I was just wondering what advantage you see in the self-compiled package?
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
FallenAngel
n00b
n00b


Joined: 29 Sep 2004
Posts: 51

PostPosted: Sun Sep 25, 2005 10:08 am    Post subject: Reply with quote

@Hopeless: For Azureus, "bin" does not refer to Azureus itself, but to its dependecies. The Azureus-Bin package seems too contain its own special version of the swt, which is linked against OpenMotiv!

Therefore I would really prefer the plain Azureus package which has the real swt as a dependency, linked against GTK.

AFAIK, Azureus is never compiled on your computer, because the project distributes Azureus as a .jar file and also does the auto-updates that way, which would overwrite your self-compiled version on the first update.

So, to renew the question: Does anybody have an idea on how to fix this SWT-Problem ?
Back to top
View user's profile Send private message
FallenAngel
n00b
n00b


Joined: 29 Sep 2004
Posts: 51

PostPosted: Sun Sep 25, 2005 10:32 am    Post subject: Reply with quote

I just found a solution for the problem myself:

After emerging "azureus" (not "azureus-bin"), just download the Azureus2.3.0.4.jar from the official homepage (azureus.sf.net), rename it to azureus.jar (all lowercase) and copy it to /var/lib/azureus thereby overwriting the original file.

@djsmiley2k: if this works for you too, could you please add "[solved]" to the thread subject?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum