confused SH3D refuses to save my file

This topic has been viewed 17102 times and has 23 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
walkinbreeze
Posts: 7
Joined: Mon Feb 01, 2010 4:50 am

SH3D refuses to save my file

Post by walkinbreeze »

Hi to everyone [:)]

I'm really excited to use this great software as my family is about to buy our an apartment. I created a file yesterday, but when opening it today I found that everything in the 3D view turned into red blocks, and the thumbnails of the furnitures, textures, ...etc are just a red cross. I made a few changes of the wall, added some textures and when I tried to save it got refused?

Anyone can help please?
User avatar
walkinbreeze
Posts: 7
Joined: Mon Feb 01, 2010 4:50 am

Re: SH3D refuses to save my file

Post by walkinbreeze »

by the way, I'm using a macbook with Snow Leopard
User avatar
walkinbreeze
Posts: 7
Joined: Mon Feb 01, 2010 4:50 am

Re: SH3D refuses to save my file

Post by walkinbreeze »

just found another thread with the same problem, will try copy & paste it into a new file.

Thanks!
User avatar
walkinbreeze
Posts: 7
Joined: Mon Feb 01, 2010 4:50 am

Re: SH3D refuses to save my file

Post by walkinbreeze »

just tried copy and paste the model to another file, but I still can't save the new file. I uninstalled and reinstalled the program but it didn't work...
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: SH3D refuses to save my file

Post by hansmex »

WiB:

Can you upload your file to some internet storage place (e.g. www.mediafire.com) and post a link to your file here?

Maybe we can find out what is going on.

Hans
Hans

new website - under constuction
hansdirkse.info
User avatar
walkinbreeze
Posts: 7
Joined: Mon Feb 01, 2010 4:50 am

Re: SH3D refuses to save my file

Post by walkinbreeze »

Hi Hans, thanks very much! I've uploaded it to google docs, please take a look and let me know if you can fix this. I used a lot of imported textures and furniture, not sure if this is the reason? I don't have any software that will automatically clean my temp files.

https://docs.google.com/leaf?id=0B7_5_e ... ist&num=50
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: SH3D refuses to save my file

Post by hansmex »

Wib:

First questions that arise after looking at your design is:
- Did you move your file to a different location after saving it?
- Did you reorganize your models and/or textures after saving it?

I'm not sure if I'm seeing this correct, but it looks as if the relative paths to your textures (etc) aren't correct anymore.

Second question:
- When importing your special designs, did you assign them to one of the categories (so that you can use them in later designs), or did you only add them to this design?.

Hans
Hans

new website - under constuction
hansdirkse.info
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: SH3D refuses to save my file

Post by Puybaret »

I was able to recover a part of your file and send it to you
I was obliged to delete the following furniture : vase, shower, 滚筒洗衣机, 带柜洗脸盆 and remove textures on floors and walls.

Knowing that a SH3D file is a ZIP file and that the Jar command of the JDK is very tolerant, here's an other tip for advanced users that might help to recover most items in a wrong file:
- If you're under Windows or Linux, install JDK available at http://java.sun.com/javase/downloads/ (JDK is preinstalled under Mac OS X).
- Create a temporary directory anywhere (I'll name it /path/to/tmp).
- Open a Terminal or Command window.
- Go to the temporary directory you created with cd command.
- Type the following command to unzip most of your corrupted SH3D file:

Code: Select all

jar xf /path/to/corruptedFile.sh3d

- Type the following command to zip Home entry and other unzipped files from temporary directory in a new file name fixedFile.sh3d:

Code: Select all

jar cfM /path/to/fixedFile.sh3d Home *

- Try to open fixedFile.sh3d, remove or replace furniture with a red box, and reset the texture of walls and rooms that appear in red.

I hope this will help.

[Note from developer: The version 4.4 introduced a new system based on the previous method and able to automatically repair SH3D files]
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: SH3D refuses to save my file

Post by Puybaret »

In case you're under Mac OS X and you're not afraid to use Terminal, here's also an other tip to recover a file as it was before you opened it. A user tested it successfully a few days ago.
He was forced to quit Sweet Home 3D, and when he relaunched it, his SH3D file was corrupted:
- In Terminal application, launch the following command:

Code: Select all

sudo ls /var/folders/*/*/-Tmp-/open*.sweethome3d

This command requires the administrator password and will list the opened SH3D files before Sweet Home 3D crashes (normally these temporary files are deleted when Sweet Home 3D normally quits).

- If Terminal lists some files, copy them on your Desktop with this command:

Code: Select all

sudo cp /var/folders/*/*/-Tmp-/open*.sweethome3d ~/Desktop

- Finally, replace the .sweethome3d extension by .sh3d extension to be able to open the recovered files with Sweet Home 3D.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
walkinbreeze
Posts: 7
Joined: Mon Feb 01, 2010 4:50 am

Re: SH3D refuses to save my file

Post by walkinbreeze »

Thank you guys so much!

I'm not sure if I have moved the files, I may have moved them into another folder, I also renamed the files after downloading. Also I guess I may have forgotten to mark the check box "add to library" when importing some of the models.

Anyway thank you so much for the great help and I'll continue exploring [:D]
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest