[An...] Posted June 8, 2021 Share Posted June 8, 2021 Hi, I have written thousands of lines and hundreds of libraries in python to customize and automate processes and now I need to protect or rather, hide / encrypt my lines, so as not to give everything away to third parties. Is there a way to make this possible on the machine, so that everything continues to work but without making visible the work I have developed? Thanks Antonio Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/ Share on other sites More sharing options...
[Na...] Posted June 8, 2021 Share Posted June 8, 2021 Hello Antonio, when creating a package you have the option to protect the package content. The actual code is not visible for package users. Regards, Nanno Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-726 Share on other sites More sharing options...
[An...] Posted June 8, 2021 Author Share Posted June 8, 2021 This is a feature available from which software version? I can't find it on Gom Inspect Professional 2018. Thanks. Antonio Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-729 Share on other sites More sharing options...
[Ro...] Posted June 9, 2021 Share Posted June 9, 2021 There's not available in the 2018 version. Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-734 Share on other sites More sharing options...
[Be...] Posted June 14, 2021 Share Posted June 14, 2021 Packages were introduced with the 2020 version and replaces concepts like skins etc. in our software. Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-759 Share on other sites More sharing options...
[Da...] Posted June 15, 2021 Share Posted June 15, 2021 I got a complain about protection of scripts in 2020 version maybe could be taken into account or maybe you already have a solution. - if the script is protected BUT the script runs into an unexpected error, the error is reported without any kind of filter so that the final user could get a message like: "Error in line 241: no file in "C:\MySecretHiddenFolder\MySupersecretParametersFile.txt" Is there a way to protect also the error messages (of course error handling would be the optimum solution, but sometimes the error hadn't been taken into account as a possible situation)? Thanks :) Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-771 Share on other sites More sharing options...
[Be...] Posted June 16, 2021 Share Posted June 16, 2021 Hi Davide, I forwarded this feedback to the responsible department but got no feedback yet. And yes: Scripting is programming and serious programming cares for "error handling" (this is also in our daily work as developers a lot of amount of time to think and to care for wrong input parameters). Regards Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-772 Share on other sites More sharing options...
[Fr...] Posted June 18, 2021 Share Posted June 18, 2021 Hi, no, error messages can only be hidden 'programmatically'. Maybe you could just wrap your entire solution into a try/except block raising the exception by default, which you disable just before the release ? And it is really necessary to hide error messages, too ? You will strip yourself from the ability to react to errors happening at customer sites. Regards, Frank Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-784 Share on other sites More sharing options...
[We...] Posted August 6, 2021 Share Posted August 6, 2021 Please sign in to view this quote. You can compile source code before GIP 2020. Link to comment https://qualityforum.zeiss.com/topic/254-protect-or-hide-scripts/#findComment-989 Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in