Joined: Apr 13, 2010
Post Count: 3
Status:
Offline
Linux: Can't import furniture
Hi,
I am using Sweet Home 3D v2.3 on Ubuntu 9.10, Java 1.6.0_18.
When I press "Import Furniture" nothing happens. If I copy a model to the .etek/sweethome3d/furniture directory it doesn't show in the program. If I try to "Import furniture library" I get a file browser but again can't import any models.
Joined: Apr 13, 2010
Post Count: 3
Status:
Offline
Re: Linux: Can't import furniture
Just managed to get an error dump:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.eteks.sweethome3d.swing.ControllerAction.actionPerformed(Unknown Source) at com.eteks.sweethome3d.swing.ResourceAction$AbstractDecoratedAction.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) ... 30 more Caused by: java.lang.IllegalArgumentException: adding a container to a container on a different GraphicsDevice at java.awt.Component.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.checkGD(Unknown Source) at java.awt.Container.addImpl(Unknown Source) at java.awt.Container.add(Unknown Source) at javax.swing.JOptionPane.initDialog(Unknown Source) at javax.swing.JOptionPane.createDialog(Unknown Source) at javax.swing.JOptionPane.createDialog(Unknown Source) at com.eteks.sweethome3d.swing.WizardPane.displayView(Unknown Source) at com.eteks.sweethome3d.viewcontroller.WizardController.displayView(Unknown Source) at com.eteks.sweethome3d.viewcontroller.FurnitureCatalogController.importFurniture(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController.importFurniture(Unknown Source) ... 34 more
France
Joined: Nov 7, 2005
Post Count: 9205
Status:
Offline
Re: Linux: Can't import furniture
This stack trace looks like Brill's one when he tried to detach the 3D view on his computer. Wouldn't you have two screens? If yes, could you check if it still fails when you use Sweet Home 3D on the main screen?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
Joined: Apr 13, 2010
Post Count: 3
Status:
Offline
Re: Linux: Can't import furniture
Puybaret,
Yes I do have 2 screens and was using Sweet Home 3D on my 2nd monitor. I just had a quick try using the main screen and can confirm that the import furniture dialog appears and models can be imported.