Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#7465 closed (invalid)

Help!! UnboundLocalError: local variable 'module' referenced before assignment — at Version 2

Reported by: pomian@… Owned by: nobody
Component: Core (Management commands) Version: 0.96
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Ramiro Morales)

Hi, I'm Jack
Please help me resolve this problem.

MOD_PYTHON ERROR

ProcessId:      4895
Interpreter:    'localhost'

ServerName:     'localhost'
DocumentRoot:   '/home/kfadrat/Katedra'

URI:            '/'
Location:       '/'
Directory:      None
Filename:       '/home/kfadrat/Katedra/'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1206, in _process_target
    object = apache.resolve_object(module, object_str, arg, silent=silent)

UnboundLocalError: local variable 'module' referenced before assignment

Change History (2)

comment:1 by Ramiro Morales, 17 years ago

Resolution: invalid
Status: newclosed

Please post request of help to the django-users mailing list or the #django IRC channel @ freenode as suggested in the form you filled to open this ticket. This ticket system exists to handle development of Django itself no for end user support.

When you do, include information about your environment (version of Python, mod_python, Apache, what were you trying to do when you got the error, ...)

comment:2 by Ramiro Morales, 17 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top