Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3545 times and has 2 replies Next Thread
SimonAIG
Newbie




Joined: May 11, 2011
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Viewer problems

I am new to 3d and Java. I have done a little VB programming. I am having a problem with the viewer, I have a 3d project that I want to embed into my website. I have downloaded SweetHome3DViewer-3.2.1 and modified the .html file to:

var attributes = {codebase:".",
code:"com.eteks.sweethome3d.applet.SweetHome3DViewer",
archive:jars,
width:"40%", height:"40%"};
var parameters = {java_arguments:"-Xmx512m",
navigationPanel:"true",
homeURL:"http://80.247.0.159/3d/Full.sh3d"};

Then down loaded it with the ./lib files. When I try to open http://80.247.0.159/3d/Full.sh3d i see the Java rotating icon for 2 to 3 minutes and the a message flashes up saying opening home. Next I get a error message of ‘Can’t open home http://80.247.0.159/3d/Full.sh3d do you have any ideas. Here is the error log.



basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 119670 us, pluginInit dt 14070298 us, TotalTime: 14189968 us
network: Cache entry found [url: http://80.247.0.159/3d/lib/Loader3DS1_2u.jar, version: null] prevalidated=true/0
network: Connecting http://80.247.0.159/3d/lib/Loader3DS1_2u.jar with proxy=DIRECT
network: ResponseCode for http://80.247.0.159/3d/lib/Loader3DS1_2u.jar : 304
network: Encoding for http://80.247.0.159/3d/lib/Loader3DS1_2u.jar : null
network: Disconnect connection to http://80.247.0.159/3d/lib/Loader3DS1_2u.jar
cache: Reading Signers from 4515 http://80.247.0.159/3d/lib/Loader3DS1_2u.jar | C:\Documents and Settings\Simon Brookes\Application Data\Sun\Java\Deployment\cache\6.0\0\24697800-452f1b9c.idx
cache: Read manifest for http://80.247.0.159/3d/lib/Loader3DS1_2u.jar: read=139 full=1509
network: Cache entry found [url: http://80.247.0.159/3d/lib/windows/i386/java3d.jar, version: null] prevalidated=true/0
network: Connecting http://80.247.0.159/3d/lib/windows/i386/java3d.jar with proxy=DIRECT
network: ResponseCode for http://80.247.0.159/3d/lib/windows/i386/java3d.jar : 304
network: Encoding for http://80.247.0.159/3d/lib/windows/i386/java3d.jar : null
network: Disconnect connection to http://80.247.0.159/3d/lib/windows/i386/java3d.jar
cache: Reading Signers from 4515 http://80.247.0.159/3d/lib/windows/i386/java3d.jar | C:\Documents and Settings\Simon Brookes\Application Data\Sun\Java\Deployment\cache\6.0\13\13db650d-6dd7cf27.idx
cache: Read manifest for http://80.247.0.159/3d/lib/windows/i386/java3d.jar: read=342 full=342
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1e51060
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
network: Cache entry not found [url: http://80.247.0.159/3d/Full.sh3d, version: null]
network: Connecting http://80.247.0.159/3d/Full.sh3d with proxy=DIRECT
[May 11, 2011, 4:51:42 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9430
Status: Offline
Reply to this Post  Reply with Quote 
Re: Viewer problems

Did you check whether you can download http://80.247.0.159/3d/Full.sh3d by typing the URL directly in the browser?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[May 11, 2011, 8:00:12 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
SimonAIG
Newbie




Joined: May 11, 2011
Post Count: 2
Status: Offline
Reply to this Post  Reply with Quote 
Re: Viewer problems

Thank you for your reply. I tried to download directly and the file could not be found. I then tried to download any file and this worked. I can see the file with my ftp program is there on the web host site. So I changed the extension from Full.sh3d to Full.doc and also changed:

var attributes = {codebase:".",
code:"com.eteks.sweethome3d.applet.SweetHome3DViewer",
archive:jars,
width:"100%", height:"95%"};
var parameters = {java_arguments:"-Xmx512m",
navigationPanel:"true",
homeURL:"http://80.247.0.159/3d/Full.doc"};

and then tried again. This time after 15 minutes (slow internet here in Russia) it worked.
I then tried again with Full.sh3d and Full.test and it did not work. I went back to Full.doc and it worked.

So i am now very happy it works with the .doc extension but wondering why my system does not like 4 letter extensions.
[May 11, 2011, 10:27:36 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved