Can't read home / Can't open saved file after some modifications have been saved

This topic has been viewed 6531 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
silverstone
Posts: 2
Joined: Tue Nov 08, 2022 5:41 pm
Country: Denmark

Can't read home / Can't open saved file after some modifications have been saved

Post by silverstone »

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:

Code: Select all

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Can't read home / Can't open saved file after some modifications have been saved

Post by Puybaret »

Send [url=mailto:[email protected]]me[/url] your file, I’ll have a look at it.
Emmanuel Puybaret, Sweet Home 3D creator
silverstone
Posts: 2
Joined: Tue Nov 08, 2022 5:41 pm
Country: Denmark

Re: Can't read home / Can't open saved file after some modifications have been saved

Post by silverstone »

Alright, I send you by email now. Thanks for reaching out :).
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Can't read home / Can't open saved file after some modifications have been saved

Post by Puybaret »

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 creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest