[mod_python] SystemError: bad argument to internal function

Clodoaldo clodoaldo.pinto.neto at gmail.com
Fri Jun 8 10:53:44 EDT 2007


I have this in my error log and I don't know what it means or what to do:

[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] mod_python
(pid=15022, interpreter='carroarodo.com', phase='PythonHandler',
handler='~/_publisher.py'): Application error, referer:
http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] ServerName:
'carroarodo.com', referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]
DocumentRoot: '/var/www/html/carroarodo.com', referer:
http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] URI:
'/meu_anuncio', referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] Location:
None, referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] Directory:
'/var/www/html/carroarodo.com/', referer:
http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] Filename:
'/var/www/html/carroarodo.com/meu_anuncio.py', referer:
http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] PathInfo:
'', referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225] Traceback
(most recent call last):, referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]   File
"/usr/lib64/python2.4/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch\n    default=default_handler, arg=req,
silent=hlist.silent), referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]   File
"/usr/lib64/python2.4/site-packages/mod_python/importer.py", line
1229, in _process_target\n    result = _execute_target(config, req,
object, arg), referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]   File
"/usr/lib64/python2.4/site-packages/mod_python/importer.py", line
1128, in _execute_target\n    result = object(arg), referer:
http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]   File
"/var/www/html/carroarodo.com/_publisher.py", line 5, in handler\n
return publisher.handler(req), referer:
http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]   File
"/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line
213, in handler\n    published = publish_object(req, object), referer:
http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]   File
"/usr/lib64/python2.4/site-packages/mod_python/publisher.py", line
424, in publish_object\n    req.form = util.FieldStorage(req,
keep_blank_values=1), referer: http://carroarodo.com/meu_anuncio
[Tue Jun 05 18:33:49 2007] [error] [client 200.155.85.225]   File
"/usr/lib64/python2.4/site-packages/mod_python/util.py", line 225, in
__init__\n    pairs = parse_qsl(req.read(clen), keep_blank_val[Tue Jun
05 18:33:49 2007] [error] [client 200.155.85.225] SystemError:
Objects/stringobject.c:3515: bad argument to internal function,
referer: http://carroarodo.com/meu_anuncio

Any hints?

Regards, Clodoaldo Pinto Neto


More information about the Mod_python mailing list