Opened 14 years ago
Closed 14 years ago
#14361 closed (invalid)
problem with logging
Reported by: | pitons | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | 1.2 |
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
Hi there djangoliers! :)
Could somebody help me with following problem:
I have a http://whitetrash.sourceforge.net/
working on CentOS 5.5 with python 2.4.3 and Django-1.1.2.tar.gz (same was with Django-1.2.1.tar.gz)
but when I try to do anything like "python manage.py *" at the end of the command I get error:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
func(*targs, kargs)
File "/usr/lib/python2.4/logging/init.py", line 1333, in shutdown
h.close()
File "/usr/lib/python2.4/logging/handlers.py", line 644, in close
logging.Handler.close(self)
File "/usr/lib/python2.4/logging/init.py", line 674, in close
del _handlers[self]
KeyError: <logging.handlers.SysLogHandler instance at 0xb7d027ac>
Error in sys.exitfunc:
Traceback (most recent call last):
File "/usr/lib/python2.4/atexit.py", line 24, in _run_exitfuncs
func(*targs, kargs)
File "/usr/lib/python2.4/logging/init.py", line 1333, in shutdown
h.close()
File "/usr/lib/python2.4/logging/handlers.py", line 644, in close
logging.Handler.close(self)
File "/usr/lib/python2.4/logging/init.py", line 674, in close
del _handlers[self]
KeyError: <logging.handlers.SysLogHandler instance at 0xb7d027ac>
Have searched for solution for weeks with no success.
will be very grateful on any help or comments on this one
also needed details will gladly provide!
Also can add that recently found out that CentOS lacks debuging features as written in:
http://thomas.apestaart.org/log/?p=863
p.s. have same soft on debian 5 with python 2.5 and no errors, but it's vital to get it working on centos and python 2.4.
or somehow avoid/workaround those errors on python 2.4 if it's version related.
thanks in advance!
Pitons
Trac isn't a user-support forum. If you're having problems, please post to the django-users mailing list, or as in the #django IRC room on Freenode.