This forum may not be appropriate - sorry. I have some python code that works external to Creator, running in CodeSkulptor3.
I am processing a comment string, and during the integration of my code into Creator script I get an error that a) I can't see why, and b) since a, don't know how to address it. What's my problem?
Yeah, found a couple bugs in the 'working ' code. Just wanted to follow up and say I have a solution that works outside Creator, so I have a way forward.
Shawn
This forum may not be appropriate - sorry. I have some python code that works external to Creator, running in CodeSkulptor3.
I am processing a comment string, and during the integration of my code into Creator script I get an error that a) I can't see why, and b) since a, don't know how to address it. What's my problem?
The error is:
Run Script started <test_comment1B.py>...
('Code supplied is:', 'B')
('Value supplied is:', '1')
E: Traceback (most recent call last):
E: File "test_comment1B.py", line 129
E: TypeError: 'str' object is not callable
Line 129:
boo = new_c_string(src_road, src_lane, dest_road, dest_lane, what_signal, hold_string, c_tail)
Function new_c_string definition starts on line 46.
Here is the CS3 code. Note some things are hard-coded and the code is not identical to the above.
Here is the result from CS3, which I think is what I am looking for (debugging lines @top):