Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#7465 closed (invalid)

Help!! UnboundLocalError: local variable 'module' referenced before assignment

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: UI/UX:

Description (last modified by Ramiro Morales)

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


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/", line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/", 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 Changed 10 years ago by Ramiro Morales

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 Changed 10 years ago by Ramiro Morales

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