Closed jheasly closed 9 years ago
I think you need to change error
to err
:
Traceback (most recent call last): File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 120, in
if name == "main" : main() File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 28, in main print error NameError: global name 'error' is not defined
Traceback (most recent call last): File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 120, in
if name == "main" : main() File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 30, in main connection.encoding = 'utf-8' UnboundLocalError: local variable 'connection' referenced before assignment
Traceback (most recent call last): File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 119, in
if name == "main" : main() File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 51, in main if updates_list: UnboundLocalError: local variable 'updates_list' referenced before assignment
Traceback (most recent call last): File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 119, in
if name == "main" : main() File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 51, in main if updates_list: UnboundLocalError: local variable 'updates_list' referenced before assignment
Traceback (most recent call last): File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 118, in
if name == "main" : main() File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 81, in main connection.encoding = 'utf-8' UnboundLocalError: local variable 'connection' referenced before assignment
It's back!
Traceback (most recent call last): File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 120, in
if name == "main" : main() File "/Users/jheasly/Development/django_odbc/django_odbc/turin/lxml_objectify_parse_ap_bulletin.py", line 85, in main cursor = connection.cursor() UnboundLocalError: local variable 'connection' referenced before assignment