Download

Online

Gallery

Blog

  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: 6
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 8789 times and has 5 replies Next Thread
sunkgrowsupply
Newbie



United States
Joined: Mar 18, 2020
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
html5 error 0

I keep getting error 5 while requesting ( *.zip file ).
I tried searching error 0 in the forum with nothing coming up. anyone have the quick fix for this?
[Mar 19, 2020, 1:00:15 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: html5 error 0

I guess you should allow your browser to read local files or host the exported files on a web server.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Mar 19, 2020, 8:53:20 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Alex210
Newbie
Member's Avatar

United States
Joined: Mar 2, 2020
Post Count: 11
Status: Offline
Reply to this Post  Reply with Quote 
Re: html5 error 0

Check this thread hope it might help you,
http://www.sweethome3d.com/support/forum/viewthread_thread,6708
[Apr 23, 2020, 9:14:19 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
davequ
Newbie



United Kingdom
Joined: Mar 7, 2021
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: html5 error 0

Having an issue trying to get the default html to work. Opening it in Chrome (latest version Version 88.0.4324.190 on Windows 10) get Error 0 when requesting default.sh3d. I have checked the settings and File System access is on, as is Allow apps to access... Also tried C:\PROGRA~2\Google\Chrome\Application>chrome.exe --allow-file-access-from-file but seems to make no difference. I get a tab with a View Home button, and ...HTML5 Viewer at the bottom. but on clicking the button get the error.
[Mar 7, 2021, 11:42:03 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: html5 error 0

Apparently, Chrome wants to make it harder and harder to use it for developers sad

From this page, you should now run Chrome with the following options:
--disable-web-security --user-data-dir="[some directory here]"

for example:
--disable-web-security --user-data-dir=ChromeTemp

----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Mar 11, 2021, 9:24:54 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
vinaayaksingh
Newbie



India
Joined: Jan 24, 2023
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: html5 error 0

Browser blocks local file.
Assuming you have dev env setup
You can install very simple dev server & then access the html from browser via server.
Here are the steps:
1. Installing the Node.js http-server. Its simple. Open cmd prompt and type:
npm install http-server -g

Then go to the folder where your html file is there. open cmd prompt in that folder. and type command:
http-server . -p 8000

Now you can open http://127.0.0.1:8000/ and then from there open your html file.

Above is just one method. There are many such server available.
[Jan 24, 2023, 5:19: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 2006-2024 eTeks - All rights reserved