开源改变世界!!

GCode 可视化工具窗口不起作用 #249

推推 grbl 1年前 (2023-01-26) 75次浏览
关闭
roberto-arista 打开了这个问题 2015 年 4 月 15 日 · 13条评论
关闭

GCode 可视化工具窗口不起作用#249

roberto-arista 打开了这个问题 2015 年 4 月 15 日 · 13条评论

注释

GCode 可视化工具窗口不起作用 #249

你好!

我将 grbl 固件从 0.8c 升级到 0.9g。
当我开始使用 UGCS 1.0.6 运行作业时,控制台向我输出了一些错误,所以我也升级到 UGCS 1.0.8。现在我的 shapeoko2 运行良好,但我无法在发送之前可视化 gCode。 (如果我点击可视化没有任何反应)
GCode 可视化工具窗口不起作用 #249

我应该为您提供什么样的信息来解决这个问题?
有什么我应该注意的吗?(我更新到最新的java版本)

谢谢

GCode 可视化工具窗口不起作用 #249
所有者

如果您从命令行启动 UGS,应该有一些额外的信息。

另外,如果您可以尝试每晚构建:http ://bit.ly/1vIcB9E

GCode 可视化工具窗口不起作用 #249

你好!
抱歉耽搁了,我离我的机器很远。
我在发布之前尝试了每晚构建,问题是相同的。
这是控制台的输出:

MacBook-Pro-di-Roberto-3:UniversalGcodeSender robertoarista$ ./start.sh
[Boot] INFO:  myJarPath=file:/Users/robertoarista/Desktop/UniversalGcodeSender/UniversalGcodeSender.jar
[JarClassLoader] INFO:  setProperties(com.simontuffs.onejar.JarClassLoader@60e53b93)
[JarClassLoader] INFO:  oneJarPath=file:/Users/robertoarista/Desktop/UniversalGcodeSender/UniversalGcodeSender.jar
[Boot] INFO:  using JarClassLoader: com.simontuffs.onejar.JarClassLoader
[JarClassLoader] INFO:  oneJarPath=file:/Users/robertoarista/Desktop/UniversalGcodeSender/UniversalGcodeSender.jar
[JarClassLoader] INFO:  findResource(): unable to locate "resources/MessagesBundle_en.properties"
apr 20, 2015 11:20:53 AM com.willwinder.universalgcodesender.SettingsFactory loadSettings
INFORMAZIONI: Loading settings.
apr 20, 2015 11:20:53 AM com.willwinder.universalgcodesender.SettingsFactory loadSettings
INFORMAZIONI: Settings file location: /Users/robertoarista/Library/Preferences/UniversalGcodeSender.json
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7

[JarClassLoader] INFO:  findResource() found: "com/jogamp/common/os/Platform.class" for caller null in codebase lib/gluegen-rt.jar
[JarClassLoader] INFO:  findResource() found: "jogamp/common/Debug.class" for caller null in codebase lib/gluegen-rt.jar
[JarClassLoader] INFO:  findResource(): unable to locate "natives/macosx-universal/"
[JarClassLoader] INFO:  findResource(): unable to locate "jogamp/nativetag/common/macosx/universal/TAG.class"
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load library: /System/Library/Frameworks/gluegen-rt.Framework/gluegen-rt
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
    at java.lang.Runtime.load0(Runtime.java:809)
    at java.lang.System.load(System.java:1086)
    at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:596)
    at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
    at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96)
    at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:459)
    at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388)
    at com.jogamp.common.os.Platform$1.run(Platform.java:209)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.jogamp.common.os.Platform.<clinit>(Platform.java:179)
    at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:120)
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:263)
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:230)
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:217)
    at com.willwinder.universalgcodesender.visualizer.VisualizerCanvas.<init>(VisualizerCanvas.java:131)
    at com.willwinder.universalgcodesender.visualizer.VisualizerWindow.<init>(VisualizerWindow.java:71)
    at com.willwinder.universalgcodesender.MainWindow.visualizeButtonActionPerformed(MainWindow.java:1543)
    at com.willwinder.universalgcodesender.MainWindow.access$500(MainWindow.java:73)
    at com.willwinder.universalgcodesender.MainWindow$6.actionPerformed(MainWindow.java:310)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6525)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6290)
    at java.awt.Container.processEvent(Container.java:2234)
    at java.awt.Component.dispatchEventImpl(Component.java:4881)
    at java.awt.Container.dispatchEventImpl(Container.java:2292)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
    at java.awt.Container.dispatchEventImpl(Container.java:2278)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class javax.media.opengl.GLProfile
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:263)
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:230)
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:217)
    at com.willwinder.universalgcodesender.visualizer.VisualizerCanvas.<init>(VisualizerCanvas.java:131)
    at com.willwinder.universalgcodesender.visualizer.VisualizerWindow.<init>(VisualizerWindow.java:71)
    at com.willwinder.universalgcodesender.MainWindow.visualizeButtonActionPerformed(MainWindow.java:1543)
    at com.willwinder.universalgcodesender.MainWindow.access$500(MainWindow.java:73)
    at com.willwinder.universalgcodesender.MainWindow$6.actionPerformed(MainWindow.java:310)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6525)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6290)
    at java.awt.Container.processEvent(Container.java:2234)
    at java.awt.Component.dispatchEventImpl(Component.java:4881)
    at java.awt.Container.dispatchEventImpl(Container.java:2292)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
    at java.awt.Container.dispatchEventImpl(Container.java:2278)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class javax.media.opengl.GLProfile
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:263)
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:230)
    at javax.media.opengl.awt.GLCanvas.<init>(GLCanvas.java:217)
    at com.willwinder.universalgcodesender.visualizer.VisualizerCanvas.<init>(VisualizerCanvas.java:131)
    at com.willwinder.universalgcodesender.visualizer.VisualizerWindow.<init>(VisualizerWindow.java:71)
    at com.willwinder.universalgcodesender.MainWindow.visualizeButtonActionPerformed(MainWindow.java:1543)
    at com.willwinder.universalgcodesender.MainWindow.access$500(MainWindow.java:73)
    at com.willwinder.universalgcodesender.MainWindow$6.actionPerformed(MainWindow.java:310)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6525)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6290)
    at java.awt.Container.processEvent(Container.java:2234)
    at java.awt.Component.dispatchEventImpl(Component.java:4881)
    at java.awt.Container.dispatchEventImpl(Container.java:2292)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
    at java.awt.Container.dispatchEventImpl(Container.java:2278)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4703)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
GCode 可视化工具窗口不起作用 #249

@winder在 Mac OS 10.10.3 上也有同样的问题。

UGS Platform 构建中的可视化工具对我有用,但它自身的问题使我无法使用它。似乎在一两个命令后停止向 GRBL 发送命令,然后我收到此错误:

java.lang.NoSuchMethodError: javax.vecmath.Point3d.getX()D
    at com.willwinder.ugs.nbp.control.LocationStatusTopComponent.statusStringListener(LocationStatusTopComponent.java:375)
    at com.willwinder.universalgcodesender.AbstractController.dispatchStatusString(AbstractController.java:730)
    at com.willwinder.universalgcodesender.GrblController.handlePositionString(GrblController.java:421)
    at com.willwinder.universalgcodesender.GrblController.rawResponseHandler(GrblController.java:145)
    at com.willwinder.universalgcodesender.AbstractController.rawResponseListener(AbstractController.java:717)
    at com.willwinder.universalgcodesender.AbstractCommunicator.sendEventToListener(AbstractCommunicator.java:203)
    at com.willwinder.universalgcodesender.AbstractCommunicator.dispatchListenerEvents(AbstractCommunicator.java:177)
    at com.willwinder.universalgcodesender.GrblCommunicator.responseMessage(GrblCommunicator.java:193)
    at com.willwinder.universalgcodesender.connection.JSSCConnection.serialEvent(JSSCConnection.java:132)
[catch] at jssc.SerialPort$LinuxEventThread.run(SerialPort.java:1299)
GCode 可视化工具窗口不起作用 #249
所有者

我发现了一些 mac 版本可能丢失的文件。这个构建有效吗?https://winder.ci.cloudbees.com/job/UGS/264/artifact/release/UniversalGcodeSender.zip

GCode 可视化工具窗口不起作用 #249

@winder 👍

GCode 可视化工具窗口不起作用 #249

我有与罗伯托相同的可视化问题。
上面发布的链接上的构建似乎已经解决了这个问题!

感谢您持续的良好工作和进步!

射线

GCode 可视化工具窗口不起作用 #249

有用!
–––
Roberto Arista
http://robertoarista.it http://robertoarista.it/
–––
手机 BE:+32 494 71 38 56
手机 IT:+39 366 4537413
Skype:jimbo475
–––
我的 PGP 公钥是此处:http :
//projects.robertoarista.it/robertoArista_publicKey.txt http://projects.robertoarista.it/robertoArista_publicKey.txt –––

Il giorno 21/apr/2015, alle ore 19:59, Ray Mitchell notifications@github.com ha scritto:

我有与罗伯托相同的可视化问题。
上面发布的链接上的构建似乎已经解决了这个问题!

感谢您持续的良好工作和进步!

射线


直接回复此电子邮件或在 GitHub #249(评论)上查看。

GCode 可视化工具窗口不起作用 #249
所有者

谢谢大家。