You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EXTRAS-71 - Python Interpreter wizard item only executes first line of Python code #7
Drag and drop "Python Interpreter" item from left panel into wizard
Double-click on the "Command" argument of the "Python Interpreter" wizard item.
Copy and paste the following text into the value text box for the "Command" value item.
foo = list()
foo.append(3)
foo.append(10)
bar = list()
baz = list()
for item in foo:
if item >= 10:
bar.append(item)
else:
baz.append(item)
foo2 = list()
foo2.append("Test Item")
Click the "OK" button to set the value of the wizard item.
Click the "Execute" button to execute the wizard.
Go to the Python tab of the Scripting Window.
Type "print foo". You should see "[3, 10]". Currently, you see "[]", this is the bug because it currently only executes the first line and ignores all other lines in this file.
Type "print bar". You should see "[10]". You don't currently because of this bug.
Type "print baz". You should see "[3]". You don't currently because of this bug.
Type "print foo2". You should see "['Test Item']". You don't currently because of this bug.
Original Issue: EXTRAS-71
Status: Deferred
Feature Interpretation:
Suggested Solution:
Actual Solution:
Severity: 4-Inconvenient
Version Control:
Environment: All
Linked:
Activity