1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. While the majority of active discourse on D20PRO has moved to our Discord Channels, this forum is still active and checked-in on regularly by our staff. However, for the very latest information, conversation and/or immediate support, please join us on Discord here: http://discord.gg/Ph38ckM
    Dismiss Notice

Unable to open marketplace on linux

Discussion in 'General Discussion' started by Ken L, Dec 20, 2015.

  1. Ken L

    Ken L Member

    Joined:
    Dec 13, 2015
    Messages:
    90
    Likes Received:
    0
    When I attempt to launch the marketplace from within the application, the entire app stops responding. requiring a kill -9 command to close it.
     
  2. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    I'm pretty sure this is connected to why the Edit RAM is grayed out. Let's solve that first, then if needed we can come back to this.
     
  3. Ken L

    Ken L Member

    Joined:
    Dec 13, 2015
    Messages:
    90
    Likes Received:
    0
    Hey Ed,

    After resolving the memory limit to 8g, I can finally load larger maps. The marketplace however still refuses to function. I've run it in shell and it seems to be missing a library libglass.so that wasn't included?

    In fact, the entire amd64 directory doesn't even exist; or any other architecture library for that matter.

    Code:
    kenny@nilas ~/Documents/games/d20pro/d20Pro_3.4.8 $ ./d20Pro.sh 
    : not found: 2: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/invocation.settings: 
    : not found: 5: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/invocation.settings: 
    : not found: 8: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/invocation.settings: 
    : not found: 12: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/invocation.settings: 
    kenny@nilas ~/Documents/games/d20pro/d20Pro_3.4.8 $ [20 Dec 2015 16:27:44,874] INFO   D20                       | d20Pro version: 3.4.8
    [20 Dec 2015 16:27:45,071] INFO   D20                       | Java version: 1.7.0_79
    [20 Dec 2015 16:27:45,231] WARN   HintsManager              | No hints file found at: res/ContextHints.xml
    [20 Dec 2015 16:27:48,234] ERROR  HintsManager              | No message for key: welcome
    [20 Dec 2015 16:27:55,005] WARN   CreatureCapabilityTemplate_SpellCaster | Spell Iron Beard not installed
    [20 Dec 2015 16:27:55,010] WARN   CreatureCapabilityTemplate_SpellCaster | Spell Iron Beard not installed
    [20 Dec 2015 16:27:55,023] WARN   CreatureCapabilityTemplate_SpellCaster | Spell Iron Beard not installed
    [20 Dec 2015 16:27:55,028] WARN   CreatureCapabilityTemplate_SpellCaster | Spell Iron Beard not installed
    [20 Dec 2015 16:27:57,345] WARN   HintsManager              | No hints file found at: res/RandomHints.xml
    Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/amd64/libglass.so
    	at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:284)
    	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:127)
    	at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:182)
    	at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:199)
    	at com.mindgene.d20.dm.dlc.jfx.MarketplaceWebWRP.<init>(Unknown Source)
    	at com.mindgene.d20.dm.dlc.DownloadedContentGump$LogonAction._$54443(Unknown Source)
    	at com.mindgene.d20.dm.dlc.DownloadedContentGump$LogonAction.actionPerformed(Unknown Source)
    	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    	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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    	at java.awt.Component.processMouseEvent(Component.java:6516)
    	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
    	at java.awt.Component.processEvent(Component.java:6281)
    	at java.awt.Container.processEvent(Container.java:2229)
    	at java.awt.Component.dispatchEventImpl(Component.java:4872)
    	at java.awt.Container.dispatchEventImpl(Container.java:2287)
    	at java.awt.Component.dispatchEvent(Component.java:4698)
    	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    	at java.awt.Container.dispatchEventImpl(Container.java:2273)
    	at java.awt.Window.dispatchEventImpl(Window.java:2719)
    	at java.awt.Component.dispatchEvent(Component.java:4698)
    	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
    	at java.awt.EventQueue.access$300(EventQueue.java:103)
    	at java.awt.EventQueue$3.run(EventQueue.java:706)
    	at java.awt.EventQueue$3.run(EventQueue.java:704)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    	at java.awt.EventQueue$4.run(EventQueue.java:720)
    	at java.awt.EventQueue$4.run(EventQueue.java:718)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
    	at com.mindgene.d20.common.AbstractApp$CustomEventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/amd64/libglass.so
    	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
    	at java.lang.Runtime.load0(Runtime.java:795)
    	at java.lang.System.load(System.java:1062)
    	at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:200)
    	at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:88)
    	at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:31)
    	at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:74)
    	at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:81)
    	at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:28)
    	at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:25)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at com.sun.glass.ui.gtk.GtkPlatformFactory.<clinit>(GtkPlatformFactory.java:25)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:191)
    	at com.sun.glass.ui.PlatformFactory.getPlatformFactory(PlatformFactory.java:20)
    	at com.sun.glass.ui.Application.Run(Application.java:104)
    	at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:274)
    	... 44 more
    [20 Dec 2015 16:28:10,239] WARN   ErrCaptureStream          | Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/amd64/libglass.so
    	at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:284)
    	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:127)
    	at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:182)
    	at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:199)
    	at com.mindgene.d20.dm.dlc.jfx.MarketplaceWebWRP.<init>(Unknown Source)
    	at com.mindgene.d20.dm.dlc.DownloadedContentGump$LogonAction._$54443(Unknown Source)
    	at com.mindgene.d20.dm.dlc.DownloadedContentGump$LogonAction.actionPerformed(Unknown Source)
    	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
    	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
    	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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    	at java.awt.Component.processMouseEvent(Component.java:6516)
    	at javax.swing.JComponent.processMouseEvent(JComponent.java:3312)
    	at java.awt.Component.processEvent(Component.java:6281)
    	at java.awt.Container.processEvent(Container.java:2229)
    	at java.awt.Component.dispatchEventImpl(Component.java:4872)
    	at java.awt.Container.dispatchEventImpl(Container.java:2287)
    	at java.awt.Component.dispatchEvent(Component.java:4698)
    	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
    	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
    	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
    	at java.awt.Container.dispatchEventImpl(Container.java:2273)
    	at java.awt.Window.dispatchEventImpl(Window.java:2719)
    	at java.awt.Component.dispatchEvent(Component.java:4698)
    	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:747)
    	at java.awt.EventQueue.access$300(EventQueue.java:103)
    	at java.awt.EventQueue$3.run(EventQueue.java:706)
    	at java.awt.EventQueue$3.run(EventQueue.java:704)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
    	at java.awt.EventQueue$4.run(EventQueue.java:720)
    	at java.awt.EventQueue$4.run(EventQueue.java:718)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    	at java.awt.EventQueue.dispatchEvent(EventQueue.java:717)
    	at com.mindgene.d20.common.AbstractApp$CustomEventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    	at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /home/kenny/Documents/games/d20pro/d20Pro_3.4.8/amd64/libglass.so
    	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854)
    	at java.lang.Runtime.load0(Runtime.java:795)
    	at java.lang.System.load(System.java:1062)
    	at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:200)
    	at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:88)
    	at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:31)
    	at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:74)
    	at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:81)
    	at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:28)
    	at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:25)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at com.sun.glass.ui.gtk.GtkPlatformFactory.<clinit>(GtkPlatformFactory.java:25)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:191)
    	at com.sun.glass.ui.PlatformFactory.getPlatformFactory(PlatformFactory.java:20)
    	at com.sun.glass.ui.Application.Run(Application.java:104)
    	at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:274)
    	... 44 more
    
    
    
    
     
  4. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    I was able to replicate this defect.

    For now, please login to the marketplace using the d20Pro Live login then pressing the "Content Marketplace" selection. Then after you download any Content Marketplace item, you can "Leave" the old-style d20Pro Content Marketplace, Logout, then open d20Pro as Judge. There you can visit the "Downloads" section and install any downloads you got from the Content Marketplace.

    Edit: Update - This is not a defect. It is a Java configuration error. Linux is trying to use OpenJDK Runtime Environment instead of Sun version OR the version included with the d20Pro bundle.
     
  5. Ken L

    Ken L Member

    Joined:
    Dec 13, 2015
    Messages:
    90
    Likes Received:
    0
    Will a fix for this come in the 3.5 update?

    Relying on workarounds only gets one so far.
     
  6. edwardcd

    edwardcd Administrator
    Staff Member

    Joined:
    Oct 13, 2010
    Messages:
    1,374
    Likes Received:
    9
    Okay, I've been able to fix this. This is actually a Java setup issue.

    Here's what it looks like:
    [​IMG]

    Originally it looked like the log showed it was looking for javaFX within d20Pro's current directory instead of java's home directory.

    Here's how to fix:
    I updated to JRE 1.8.0u65 manually using the Linux x64 (file description) with the tar.gz download (extension), then extract - found here >> http://www.oracle.com/technetwork/java/javase/downloads/index.html then install.

    OS: Linux Mint 17.3
    my java location is: /usr/lib/jvm/jre1.8.0_65
    my d20Pro location is: /home/curtis/Documents/games/d20Pro_3.4.8
     
  7. Ken L

    Ken L Member

    Joined:
    Dec 13, 2015
    Messages:
    90
    Likes Received:
    0
    Ack, time to refresh my update-alternatives to add jdk8u65.

    Edit: I seemed to completely look over the JRE folder packaged in. Hah, It's more Mint's preference to use open JDK.
     

Share This Page