QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: sergio on April 20, 2011, 07:25

Title: NLScopeExecutionError: global name 'len' is not defined
Post by: sergio on April 20, 2011, 07:25
Hi,

I am using ATK 11.2.2. I have written a script (regarding construction of a bulk configuration) which works, without any problem, upon sending it directly to the job manager. However when I drop it on "Builder" or "Viewer" it gives an error:
 
global name 'len' is not defined

In detailed error:

Traceback (most recent call last):
  File "./zipdir/NL/GUI/DragAndDrop/DropReceiver.py", line 41, in handleDrop
  File "./zipdir/NL/NanoLanguage/ScopeExecuter.py", line 59, in execute
NLScopeExecutionError: global name 'len' is not defined

Thanks for you reply.
Title: Re: NLScopeExecutionError: global name 'len' is not defined
Post by: Anders Blom on April 23, 2011, 09:21
Must be a small syntax error, however I need to see the script to fix it.