cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Script error in PTC Creo

jstaples
2-Explorer

Script error in PTC Creo

We are having an issue with our PTC Creo 3.0. When you launch it, it gives an error about an unresponsive script. The link for the script is to LinkedIn. Is there anything that can be done about this? Sometimes it can cause the program to hang, so it is a bit of a pain.

14 REPLIES 14

Hi,

I guess that the problem is related to integrated browser. Add following option at the end of config.pro file to display blank page in the browser.

web_browser_homepage about:blank

MH


Martin Hanák

That did not make a difference.

Try the config setting js_error_policy suppress_continue

Still no luck with that second command.

Hi,

please attach picture of browser window returning error message.

MH


Martin Hanák

creo.PNG

Hi,

you published error message only. Please attach whole Creo window (make a printscreen).

MH


Martin Hanák

creo full window.PNG

Here is the full Creole window.

Hi,

my suggestion:

1.]

Click No button in error message window

2.]

Check option at the bottom of Resource Center window.

3.]

Close Resource Center window.

4.]

Exit Creo session.

5.]

Add following options into config.pro file

To disable 3D ModelSpace tab, set enable_3dmodelspace_browser_tab no

To disable PartCommunity tab, set enable_partcommunity_tab no

To disable Resource Center tab, set enable_resource_browser_tab no

To disable home page tab, set web_browser_homepage about:blank

6.]

Start Creo.

MH


Martin Hanák

None of those seemed to have an effect. The script error still pops up even with the resource browser/community tab disabled.

Hi,

I am sorry I do not have any other idea.

MH


Martin Hanák

Thank you Martin, this worked for me as well.

Martin, this worked for me. Thanks for posting!

Add the offending site to the hosts file.

See https://support.rackspace.com/how-to/modify-your-hosts-file/

Set the address to 0.0.0.0 and the website to dc.ads.linkedin.com

This will cause the OS to direct any request for that website to the home (0.0.0.0) which is your computer. Since your computer doesn't know anything about it, there won't be any script to load in the first place, so no script error.

I think this won't cause any other message to pop up. If you don't like the effect, edit the file again and remove the entry.

See hosts (file) - Wikipedia

You may need to have admin rights to  change the hosts file; this is to prevent malicious actors from doing it for you. Basically it acts like putting a different number in the speed-dial on a phone to call someone else.

Announcements
Top Tags