[natty] UnsatisfiedLinkError: no swt-pi-gtk-3555 or swt-pi-gtk

Bug #703618 reported by Marco Biscaro
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
tuxguitar (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: tuxguitar

When executing tuxguitar on Natty, I got the following exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3555 or swt-pi-gtk in swt.library.path, java.library.path or the jar file
 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
 at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)
 at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
 at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
 at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131)
 at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
 at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)

The command line executed by tuxguitar script is:

/usr/lib/jvm/java-6-openjdk/jre/bin/../..//jre/bin/java -Xms128m -Xmx128m -Djava.library.path=/usr/lib/jni -Dtuxguitar.share.path=/usr/share/tuxguitar -cp :/usr/share/tuxguitar/:/usr/share/tuxguitar//tuxguitar.jar:/usr/share/java/itext.jar:/usr/lib/java/swt-gtk-3.5.1.jar: org.herac.tuxguitar.gui.TGMain /usr/share/tuxguitar/tuxguitar.tg

And `ls /usr/lib/jni` gives me:

libjava-access-bridge-jni.so libswt-mozilla-gtk-3555.so
libjava-access-bridge-jni.so.0 libswt-pi-gtk-3555.so
libjava-access-bridge-jni.so.0.0.0 libswt-xpcominit-gtk-3555.so
libswt-atk-gtk-3555.so libswt-xulrunner-gtk-3555.so
libswt-awt-gtk-3555.so libtuxguitar-alsa-jni.so
libswt-cairo-gtk-3555.so libtuxguitar-oss-jni.so
libswt-gtk-3555.so

I don't know why this happens...

Tags: natty
tags: added: natty
Revision history for this message
billy shears (billy-shears) wrote :

I've tried to downgrade the libswt packages from 3.5.1+versionbump-5ubuntu2 to 3.5.1+versionbump-5ubuntu1 and tuxguitar is starting again, however shortly after the window shows up tuxguitar crashes with this error:

Gdk-ERROR **: The program 'TuxGuitar' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 4143 error_code 8 request_code 149 minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...

I don't know if this happens because I've downgraded the libraries or because xorg has been updated recently in natty.

Revision history for this message
Rodrigo Tobar (rtobarc) wrote :

This seems a duplication of bug #700602. Still, when trying to downgrade the libswt packages, I get the following:

root@lucas:/usr/lib/java-wrappers# apt-get install libswt-cairo-gtk-3.5-jni=3.5.1+versionbump-5ubuntu1 libswt-gnome-gtk-3.5-jni=3.5.1+versionbump-5ubuntu1 libswt-gtk-3.5-java=3.5.1+versionbump-5ubuntu1 libswt-gtk-3.5-jni=3.5.1+versionbump-5ubuntu1 libswt-mozilla-gtk-3.5-jni=3.5.1+versionbump-5ubuntu1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '3.5.1+versionbump-5ubuntu1' for 'libswt-cairo-gtk-3.5-jni' was not found
E: Version '3.5.1+versionbump-5ubuntu1' for 'libswt-gnome-gtk-3.5-jni' was not found
E: Version '3.5.1+versionbump-5ubuntu1' for 'libswt-gtk-3.5-java' was not found
E: Version '3.5.1+versionbump-5ubuntu1' for 'libswt-gtk-3.5-jni' was not found
E: Version '3.5.1+versionbump-5ubuntu1' for 'libswt-mozilla-gtk-3.5-jni' was not found

Revision history for this message
Bertrand Croq (bcroq) wrote :

it now works since I installed tuxguitar 1.2-7ubuntu2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.