Hey,
I've a problem with my maple version right since some time.
Every time I want to print the printing dialog states in the status line of the printer: "No jobs will be accepted" (this is freely translated from german).
also piping the output into a file doesn't work, it simple doesn't create that file.
If I start xmaple in a shell I got this:
java.awt.print.PrinterException: Printer is not accepting job.
at sun.print.RasterPrinterJob.print(Unknown Source)
at sun.print.RasterPrinterJob.print(Unknown Source)
at com.maplesoft.worksheet.controller.file.WmiWorksheetFilePrint.doCommand(Unknown Source)
at com.maplesoft.mathdoc.controller.WmiCommandProxy.doCommand(Unknown Source)
at com.maplesoft.mathdoc.controller.WmiTaskMonitor.performCommand(Unknown Source)
at com.maplesoft.mathdoc.controller.WmiTaskMonitor$WmiBackgroundTaskRunner.run(Unknown Source)
when starting via shell there is some more output there, but I guess this belongs to another issue:
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7375767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb73758b1]
#2 /usr/lib/libX11.so.6(_XReply+0x254) [0x92fefc44]
#3 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0x9336ea76]
#4 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0x9335480a]
#5 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0x93354a51]
#6 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0x93354c5c]
#7 [0xb2817fa8]
#8 [0xb2811aeb]
#9 [0xb2811aeb]
#10 [0xb280f1b4]
#11 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so [0xb76117ec]
#12 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so [0xb77d4828]
#13 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so [0xb761161f]
#14 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb766ed1d]
#15 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73292cd]
#16 [0xb2817838]
#17 [0xb2811a14]
#18 [0xb280f1b4]
#19 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so [0xb76117ec]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb7375767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0xb737581e]
#2 /usr/lib/libX11.so.6 [0x92feede9]
#3 /usr/lib/libX11.so.6(XGetVisualInfo+0x26) [0x92fe5156]
#4 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0x933536df]
#5 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0x93353970]
#6 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so [0x93354b98]
#7 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x24) [0x93354c5c]
#8 [0xb2817fa8]
#9 [0xb2811aeb]
#10 [0xb2811aeb]
#11 [0xb280f1b4]
#12 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so [0xb76117ec]
#13 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so [0xb77d4828]
#14 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so [0xb761161f]
#15 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/server/libjvm.so(JVM_DoPrivileged+0x32d) [0xb766ed1d]
#16 /usr/local/maple11/jre.IBM_INTEL_LINUX/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb73292cd]
#17 [0xb2817838]
#18 [0xb2811a14]
#19 [0xb280f1b4]
Has anybody a hint what is going wrong here?
This is atm a not acceptable state, since it's not possible to export this as anything which could be printed out!!
Thanks in advance
search
You might wish to search this site for related items. For example, here and here. It may also be a cups/java interaction problem, so web-searching might turn up results.
<p>I've read them and the
<p>I've read them and the solutions there doesn't work. </p>
<p>After struggling a bit around with maple sh and java I found the error (and a solution):</p>
<p>The error is that the cupsclient message is localised and java is not able to parse a e.g. german text to get the correct informations.</p>
<p> </p>
<p>So starting maple (or any other java app) with LANG=C it works. This was the solution for issue 1.</p>
<p> </p>
<p>The second issue is that the newer cups packages doesn't export by default the ip, but the socket. After fixing that by this var:</p>
<p>CUPS_SERVER=localhost </p>
<p>it works. Please note that you could also try to create a client.conf with ServerName localhost in it.. this should also work.</p>
<p> </p>
<p>the fix suggested somewhere (forget where) to create a link from libcups.so to libcups.so.2 doesn't work for me and is not necessary to fix maple.</p>
<p> </p>
<p>Hope this informations will help other people to fix their maple (java) installation on linux!</p>
<p> </p>
<p> </p>