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: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2271 times and has 1 reply Next Thread
po_oq
Newbie



China
Joined: May 15, 2022
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Script error: check your browser is allowed to access local files

I built SweetHome3D 6.6.4 with bundle.js which is in j4ts-batik-svgpathparser-1.10.0-20170726 folder.
And I opened the SweetHome3DJSViewer.html in powershell with ./chrome.exe --allow-file-access-from-files file:///C:/Users/ooohwen/Desktop/SweetHome3DJSViewer-6.6.4/SweetHome3DJSViewer.html. It showed error massage "Script error: check your browser is allowed to access local files".
the console:
Uncaught ReferenceError: TextStyle is not defined
at viewhome.min.js:20:259566

Uncaught TypeError: this.createHomeRecorder is not a function
at new HomePreviewComponent (viewhome.min.js:20:302612)
at viewHome (viewhome.min.js:20:296797)
at SweetHome3DJSViewer.html:122:3

Thanks for help
[May 15, 2022, 6:40:20 AM] 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: 9133
Status: Offline
Reply to this Post  Reply with Quote 
Re: Script error: check your browser is allowed to access local files

Did you try from cmd?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[May 17, 2022, 5:51:43 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