Print at Dec 29, 2025, 4:27:38 PM View all posts in this thread on one page
Posted by anna49 at Jul 9, 2010, 12:09:06 PM
SweetHome3D-Source Server-Installation - no Funiture and no Texture
Hi,

I have on a Linux Apache WebServer:

1. SweetHome3D-Source Code
2. in Directory
/usr/local/src/SweetHome3D-2.3-src
3. JAVA-HOME set:
sudo export JAVA_HOME=/usr/lib/jvm/java-6-sun/
4. in the Directory:
/usr/local/src/SweetHome3D-2.3-src
and "ant applet" work
5. Copy content of
/usr/local/src/SweetHome3D-2.3-src/deploy/
to /usr/local/sh3d-2.3/

Applet starts and everything is OK.
I found three mistakes, errors A), B) and C)

A)
Error: furniture and textures are not available. Also no windows and doors.
01a_no-Furniture.jpg
01b_no-Textures.jpg

In the open SourceFile
/src/com/eteks/sweethome3d/resources/
However, furniture and textures included
armchair.obj
armchair.png
bath.obj
bath.png
....

B)
Error: save house
I can not save my drawing objects
02a_no-save.jpg
02b_no-save.jpg

C)
Error: Open House
I can not open objects. The file 'listHomes.php' is missing.
03_no-open.jpg

Error message:
<br />
<b>Warning</b>: opendir(../persistent/homes) [ <a href='function.opendir'>function.opendir </a>]: failed to open dir: No such file or directory in <b>/usr/local/sh3d-2.3/listHomes.php</b> on line <b>25</b>
<br />
<b>Warning</b>: readdir(): supplied argument is not a valid Directory resource in <b>/usr/local/sh3d-2.3/listHomes.php</b> on line <b>27</b><br />
<br />
<b>Warning</b>: closedir(): supplied argument is not a valid Directory resource in <b>/usr/local/sh3d-2.3/listHomes.php</b> on line <b>33</b><br />

What do I have?

Yours sincerely,
Annalena


Posted by Puybaret at Jul 10, 2010, 10:41:07 PM
Re: SweetHome3D-Source Server-Installation - no Funiture and no Texture
Please read these subjects:
http://www.sweethome3d.com/support/forum/viewthread_thread,1435
http://www.sweethome3d.com/support/forum/viewthread_thread,1113
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by anna49 at Jul 13, 2010, 3:40:08 PM
Re: SweetHome3D-Source Server-Installation - no Funiture and no Texture
Thanks for A) furniture and textures

Problem is
B)
Error: save house
I can not save my drawing objects

and C)
Error: Open House
I can not open objects. The file 'listHomes.php' is missing.

Thanks
Annalena

Posted by anna49 at Jul 14, 2010, 10:04:40 AM
Re: SweetHome3D-Source Server-Installation - no Funiture and no Texture
The File
\src\SweetHome3D-2.3-src\deploy\SweetHome3D.jnlp
I have corrected (Line 3 + Line 8)

1 <?xml version="1.0"?>
2 <jnlp spec="1.5+"
3 codebase="http://www.mydomain.com/"
4 href="SweetHome3D.jnlp">
5 <information>
6 <title>Sweet Home 3D</title>
7 <vendor>eTeks</vendor>
8 <homepage href="http://www.mydomain.com/"/>
9 <description>Sweet Home 3D</description>
10 <description kind="short">Arrange the furniture of your house</description>
11 <icon href="SweetHome3DIcon.gif"/>
12 <icon kind="splash" href="SweetHome3DSplashScreen.jpg"/>
13 <offline-allowed/>
14 <shortcut online="false">
15 <desktop/>
16 <menu submenu="eTeks Sweet Home 3D"/>
17 </shortcut>
18 <association extensions="sh3d sh3l sh3f sh3t sh3p"
19 mime-type="application/SweetHome3D"/>
20 </information>
21 <information locale="fr">
22 <title>Sweet Home 3D</title>
23 <description kind="short">Amenagez les meubles de votre logement</description>
24 <offline-allowed/>
25 ...

A furniture selection is not available.
What do I need to have my furniture in the list get?

Line 10
as >Arrange the furniture of your house< ?

Thanks
Annalena