OpenEye Scientific Software  
home | site map | search | contact us
  
           

Change title image

--> -->

 
 
NameError
Python 2.4.3: /usr/bin/python
Thu Aug 28 08:34:46 2008

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /var/www/html/cgi-bin/namebugs
  448   else:
  449     PrintHeader()
  450     PrintForm()
  451     print '<SCRIPT LANGUAGE="JavaScript">'
  452     print 'go_reset(window.document.forms[0]);'
PrintForm = <function PrintForm>
 /var/www/html/cgi-bin/namebugs in PrintForm()
  257 def PrintForm():
  258 
  259   print '<FORM ACTION="%s/%s.out" METHOD="POST" ENCTYPE="multipart/form-data">'%(URL,PROG)
  260   print '<INPUT TYPE=HIDDEN NAME="namebug">'
  261   #print '<B>%s</B> - submit names which Lexichem fails to parse'%PROG
URL undefined, global PROG = 'namebugs'

NameError: global name 'URL' is not defined
      args = ("global name 'URL' is not defined",)