Denmark
Joined: Nov 8, 2022
Post Count: 2
Status:
Offline
Can't read home / Can't open saved file after some modifications have been saved
Hi,
I really like this software, but since I last updated my Home plan (September 2021), something must have happened.
I copied my last Home plan and gave it a new name (thankfully). Then I tried to update my Home plan, first using Sweet Home 3D 6.6.2 (Ubuntu 22.04 AMD64) now Sweet Home 3D 7.0.2 (Ubuntu 22.10 AMD64). I started in both cases (separately) from a know working file, that I could open with both Sweet Home 3D versions.
After some changes are made, the file is saved (CTRL+S) without error. Then I close the app, again without any error.
To my horror, when I tried to open the file I had saved, I get the dreaded message "Can't open home ...".
By trying to open the file from terminal, I get the following Debug information:
sweethome3d Piano_20221108h.sh3d Java 3D: implicit antialiasing enabled com.eteks.sweethome3d.model.RecorderException: Can't read home from Piano_20221108h.sh3d at com.eteks.sweethome3d.io.HomeFileRecorder.readHome(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController$29.call(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController$29.call(Unknown Source) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.net.MalformedURLException: no protocol: Piano_20221108h.sh3d at java.base/java.net.URL.<init>(URL.java:645) at java.base/java.net.URL.<init>(URL.java:541) at java.base/java.net.URL.<init>(URL.java:488) ... 10 more
Do you have any idea of what is going on ? I really need to update my Home plan ... The file is approximatively 7.6MB big.
France
Joined: Nov 7, 2005
Post Count: 9388
Status:
Offline
Re: Can't read home / Can't open saved file after some modifications have been saved
There was a unreadable character in the name of a piece of furniture and this provoked an error in XML parser. Very strange and not sure how to fix this error which I never encountered yet
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer