Linux: Can't import furniture

This topic has been viewed 4172 times and has 3 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
karladidas
Posts: 3
Joined: Tue Apr 13, 2010 3:40 pm

Linux: Can't import furniture

Post by karladidas »

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.

Could some one please help?

Thanks

K
karladidas
Posts: 3
Joined: Tue Apr 13, 2010 3:40 pm

Re: Linux: Can't import furniture

Post by karladidas »

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

I hope that helps?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Linux: Can't import furniture

Post by Puybaret »

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 creator
karladidas
Posts: 3
Joined: Tue Apr 13, 2010 3:40 pm

Re: Linux: Can't import furniture

Post by karladidas »

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.

Thanks for the help!
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest