Tux Guitar

Problems

Subject Unable to print with Tuxguitar



Author Message
Jean
Post: Aug 13th 2008 at 12:21 PM

Hi Tuxmen,

I try to print a partition with tuxguitar-1.0 but
nothing happened, no error message, nothing. I can
nowhere say on which printer I will print my partition.
Is there a variable to set for printing??

Thanks for any idea

Tuxguitar-1.0 + Linux RedHat


Back to Top
 
Julian
Post: Aug 13th 2008 at 12:25 PM

When you click on "print" button,
can you see the "printer dialog" ? or just nothing happen ?

How did you get tuxguitar ?
i mean, did you download a package from this web ? or do you have any kind of RPM pacakge ?
it's important, because i need to know what "SWT" version are you using.


Back to Top
 
Jean
Post: Aug 13th 2008 at 12:36 PM

Hi Julian,

I have "the printer dialog" , I click on "OK", the
printer dialog disapears and that's all.

I downloaded the version from soundforge which
installed it automatically under /opt/tuxguitar-1.0/tuxguitar

Hope this helps

Jean


Back to Top
 
jean
Post: Aug 13th 2008 at 12:40 PM

Precision,

Installation was made with tuxguitar-1.0-linux-x86-installer.bin
from http://www.tuxguitar.com.ar/download.html


Back to Top
 
Jean
Post: Aug 13th 2008 at 1:40 PM

Hi again,

I installed again tuxguitar-1.0-linux-x86-installer.bin but the printer problem is still remaining.
When I try to play a song, I get the message :
"MIDI System is unavailable"

I have also a lot of errors :

-------------------------------
javax.sound.midi.MidiUnavailableException: Audio Device Unavailable
at com.sun.media.sound.MixerSynth.implOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.doOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.open(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.getSynthesizer(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.open(UnknownSource)
at org.herac.tuxguitar.player.base.MidiPlayer.loadPort(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.openPort(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.addPortProvider(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.addPlugin(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGMidiPortProviderPlugin.setEnabled(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.base.TGPluginList.setEnabled(Unknown Source)
at org.herac.tuxguitar.gui.system.plugins.TGPluginManager.openPlugins(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
javax.sound.midi.MidiUnavailableException: Audio Device Unavailable
at com.sun.media.sound.MixerSynth.implOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.doOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.open(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.getSynthesizer(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiSynthesizer.getChannels(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiSynthesizer.sendAllNotesOff(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.sequencer.MidiSequencerImpl.reset(UnknownSource)
at org.herac.tuxguitar.player.impl.jsa.sequencer.MidiSequencerImpl.stop(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.stop(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.stop(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.play(Unknown Source)
at org.herac.tuxguitar.gui.actions.transport.TransportPlayAction.execute(UnknownSource)
at org.herac.tuxguitar.gui.actions.Action$1.run(Unknown Source)
at org.herac.tuxguitar.gui.helper.SyncThread$1.run(Unknown Source)
at org.herac.tuxguitar.util.TGSynchronizer$TGSynchronizerTask.run(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar$1$1.run(Unknown Source)
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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
javax.sound.midi.MidiUnavailableException: Audio Device Unavailable
at com.sun.media.sound.MixerSynth.implOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.doOpen(Unknown Source)
at com.sun.media.sound.AbstractMidiDevice.open(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.getSynthesizer(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiSynthesizer.getChannels(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiSynthesizer.sendAllNotesOff(Unknown Source)
at org.herac.tuxguitar.player.impl.jsa.sequencer.MidiSequencerImpl.reset(UnknownSource)
at org.herac.tuxguitar.player.impl.jsa.sequencer.MidiSequencerImpl.stop(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.stop(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.stop(Unknown Source)
at org.herac.tuxguitar.player.base.MidiPlayer.play(Unknown Source)
at org.herac.tuxguitar.gui.actions.transport.TransportPlayAction.execute(UnknownSource)
at org.herac.tuxguitar.gui.actions.Action$1.run(Unknown Source)
at org.herac.tuxguitar.gui.helper.SyncThread$1.run(Unknown Source)
at org.herac.tuxguitar.util.TGSynchronizer$TGSynchronizerTask.run(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar$1$1.run(Unknown Source)
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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
org.herac.tuxguitar.player.base.MidiPlayerException: MIDI System is unavailable
at org.herac.tuxguitar.player.base.MidiPlayer.play(Unknown Source)
at org.herac.tuxguitar.gui.actions.transport.TransportPlayAction.execute(UnknownSource)
at org.herac.tuxguitar.gui.actions.Action$1.run(Unknown Source)
at org.herac.tuxguitar.gui.helper.SyncThread$1.run(Unknown Source)
at org.herac.tuxguitar.util.TGSynchronizer$TGSynchronizerTask.run(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar$1$1.run(Unknown Source)
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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: org.herac.tuxguitar.player.base.MidiPlayerException: MIDI System is unavailable
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.check(Unknown Source)
... 12 more
org.herac.tuxguitar.gui.help.doc.DocException: org.eclipse.swt.SWTError: No more handles[MOZILLA_FIVE_HOME='/usr/lib/mozilla'] (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3448 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
at org.herac.tuxguitar.gui.help.doc.DocDialog.show(Unknown Source)
at org.herac.tuxguitar.gui.actions.help.ShowDocAction.execute(Unknown Source)
at org.herac.tuxguitar.gui.actions.Action$1.run(Unknown Source)
at org.herac.tuxguitar.gui.helper.SyncThread$1.run(Unknown Source)
at org.herac.tuxguitar.util.TGSynchronizer$TGSynchronizerTask.run(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar$1$1.run(Unknown Source)
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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: org.eclipse.swt.SWTError: No more handles [MOZILLA_FIVE_HOME='/usr/lib/mozilla'] (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3448 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
at org.eclipse.swt.browser.Browser.(Unknown Source)
... 12 more
Caused by: java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3448 or swt-mozilla-gtk inswt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
... 14 more
org.herac.tuxguitar.player.base.MidiPlayerException: MIDI System is unavailable
at org.herac.tuxguitar.player.base.MidiPlayer.play(Unknown Source)
at org.herac.tuxguitar.gui.actions.transport.TransportPlayAction.execute(UnknownSource)
at org.herac.tuxguitar.gui.actions.Action$1.run(Unknown Source)
at org.herac.tuxguitar.gui.helper.SyncThread$1.run(Unknown Source)
at org.herac.tuxguitar.util.TGSynchronizer$TGSynchronizerTask.run(Unknown Source)
at org.herac.tuxguitar.gui.TuxGuitar$1$1.run(Unknown Source)
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.herac.tuxguitar.gui.TuxGuitar.displayGUI(Unknown Source)
at org.herac.tuxguitar.gui.TGMain.main(Unknown Source)
Caused by: org.herac.tuxguitar.player.base.MidiPlayerException: MIDI System is unavailable
at org.herac.tuxguitar.player.impl.jsa.midiport.MidiPortSynthesizer.check(Unknown Source)
... 12 more

----------------------------------------------------

Have you any idea of what I have done wrong?
Should I install any other packages?

Thanks a lot

Jean


Back to Top
 
Jean
Post: Aug 13th 2008 at 1:54 PM

I found the solution for the "MIDI System is unavailable"
problem thanks http://www.tuxguitar.com.ar/tgwiki/doku.php?id=doc:error_midi_unavailable_linux

but I could not yet solve the printing problem

Any help is welcome

Jean


Back to Top
 
Julian
Post: Aug 15th 2008 at 12:17 AM

Hi,
When i asked about if you could see the printer dialog,
i forgot to tell you something.

there are 2 dialogs:
1_ tuxguitar printing settings ( you can see same dialog on Print Preview )
2_ SWT Printer dialog ( where you select a Printer, Page range, etc )

Did you see "both" dialogs ?

if not, What desktop do you use ? (gnome, kde, xfce, etc... )


Back to Top
 
jonykalavera
Post: Feb 14th 2009 at 4:32 AM

i have the same problem using Linux Mint 6 = ubuntu 8.10 Gnome desktop. installed from the repositories.

what i get is the dialog that lets you select which tracks to print and other options. when i click OK nothing happens when one would expect the standart printing dialog.

hope someone can help with this


Back to Top
 
Pascal Lemazurier
Post: Feb 14th 2009 at 2:28 PM

Hello,

yes i had the same problem on both ubuntu 8.04 and 8.10.

It comes from an obsolete version of libswt (3.2 instead of 3.4 installed on these distributions)

There is no more problem with ubuntu 9.04, the right version of libswt is installed by default.

Ubuntu 9.04 will be released the 23th of april, do not use the pre-release versions, they are really unstable (as i experienced)... Furthermore tuxguitar works very much better with the next ubuntu, with no slowdowns (newer java environment i think...), and abilities of printing and previewing the sheets !!!

i tried to install the libswt 3.4 in actual ubuntu but without any result...


Back to Top
 
Michael Bushey
Post: Apr 6th 2009 at 7:33 AM

Thanks, I upgraded the libswt packages on my Debian Testing box and it fixed the printing issue.


Back to Top