France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: SH3D won't exit/quit
Pencilart, could you launch Sweet Home 3D in a terminal and report here what happens when you choose File > Quit if ever a text appears in the terminal?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
Re: SH3D won't exit/quit
ok, here is what it says:
./SweetHome3D 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.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) ... 29 more Caused by: java.lang.RuntimeException: java.util.prefs.BackingStoreException: Couldn't get file lock. at com.eteks.sweethome3d.SweetHome3D$StandaloneSingleInstanceService.removeSingleInstanceListener(Unknown Source) at com.eteks.sweethome3d.SweetHome3D$2.collectionChanged(Unknown Source) at com.eteks.sweethome3d.model.CollectionChangeSupport.fireCollectionChanged(Unknown Source) at com.eteks.sweethome3d.model.CollectionChangeSupport.fireCollectionChanged(Unknown Source) at com.eteks.sweethome3d.model.HomeApplication.deleteHome(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController.exit(Unknown Source) ... 33 more Caused by: java.util.prefs.BackingStoreException: Couldn't get file lock. at java.util.prefs.FileSystemPreferences.sync(Unknown Source) ... 39 more Jun 23, 2010 4:51:40 PM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
----------------------------------------
[Edit 2 times,
last edit by pencilart at Jun 23, 2010, 9:52:07 PM]
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: SH3D won't exit/quit
Quit failed because it couldn't write preferences. Check if you have the rights to write in your home directory, and if you can write in its .java/.userPrefs/com/eteks/sweethome3d subdirectory too.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
Re: SH3D won't exit/quit
in the .java folder I found this crazy file name: _!'%!cg"0!'8!~g"p!'w!b!"1!(:!a@"v!'4!.g"w!'8!b!"5!'0!~@"z!'g= What on earth can that be? I found eteks' prefs here like you said: /home/<username>/.java/.userPrefs/com the permissions are set just like all the others drwxr-xr-x
Can I just delete all the occurances of .eteks and will it just start over?
Joined: Oct 2, 2007
Post Count: 188
Status:
Offline
Re: SH3D won't exit/quit
I found the problem! I had made the mistake of telling it to open SweetHome3D with java. After reading in the OpenSuSE forums I found the directions for fixing that. Once I removed that association, I opened SH3D and after playing with it for a bit, I shut it down and it worked! :D :D