ctl embbeded CtrlcppCheck empty output Invalid mode: 'rU' #73
cbv08
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
|
Hello Olav! With correct setup and configuration of CtrlppCheck subproject I cannot see your mentioned error from Python script. Please report in more detail and yes, if you find a problem in our documentation or tool usage please report an issue accordingly. Best, Daniel |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is not excactly a bug report, but i thought it would be good to capture it somewhere. So since we have this nice new forum I elected to put it here.
I installed CtrlppCheck v1.0.x, Python 3.12 and Lizard. Whenever i openend the staticTest in a ctl script the ouput would look something like this:

And there would be nothing in the logs. To get the log output use the following arguement when calling GEDI

-dbg ScriptDataTo get to this point took me a while.
The error i got was essentially: ValueError: invalid mode: 'rU'
Which appears because that read mode was deprecated in Python 3.1 and completely removed in Python 3.8
I used mode 'r' instead, and it works flawlessly
This might be obvious to most but as no errors was thrown in the WinCC OA log it took me a while to find the issue.
If I should instead make a bug report, please write it below. I'll happily do that too.
Kind regards
Olav
Beta Was this translation helpful? Give feedback.
All reactions