Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3738 - mod_python [error] make_obcallback: could not import mod_python.apache.\n

Attached to Project: Arch Linux
Opened by Mario (cas) - Wednesday, 11 January 2006, 01:31 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 25 March 2006, 23:22 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

recently discovered the following error in my apache 2.0.55-1 log

[error] make_obcallback: could not import mod_python.apache.\n
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 24, in ?
import pdb
File "/usr/lib/python2.4/pdb.py", line 11, in ?
from repr import Repr
File "/usr/lib/python2.4/repr.py", line 6, in ?
from itertools import islice
ImportError: /usr/lib/python2.4/lib-dynload/itertools.so: undefined symbol: _PyArg_NoKeywords
[notice] caught SIGTERM, shutting down

^^ Internal Server Error ( 500 )

I need mod_python for my SCM Trac ( http://projects.edgewall.com/trac/ )

Solved it by removing mod_python ( pacman -R ) and downloading sources from http://httpd.apache.org/modules/python-download.cgi
./configure --with-apxs=/usr/sbin/apxs && make && make install and error gone.

Both mod_python versions used are 3.1.4
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Wednesday, 04 April 2007, 18:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  outdated, assuming fixed
Comment by Casey McGinty (cmcginty) - Sunday, 15 January 2006, 20:23 GMT
I am also having this issue. Recompiling mod_python fixed this error.
Comment by Leonard Ritter (paniq) - Monday, 13 February 2006, 17:18 GMT
3.1.4 hangs when loading trac on this machine since a few days. still resolving whats wrong.

above error is due to the mod_python build being done for python 2.4.1, not 2.4.2.
Comment by Judd Vinet (judd) - Monday, 27 March 2006, 05:56 GMT
Upgraded to 3.2.8. See if that helps.

Loading...