Dear django-users,

  I have been getting a segmentation fault when using 
django.utils.feedgenerator to generate an RSS feed of my site. This 
works fine with 'django-admin runserver', but when run under mod_python, 
I get (in Apache's error log):

[Wed Feb 15 22:02:41 2006] [notice] mod_python: (Re)importing module 
'django.core.handlers.modpython'
[Wed Feb 15 22:02:42 2006] [notice] mod_python: (Re)importing module 
'django.core.handlers.modpython'
[Wed Feb 15 22:02:43 2006] [notice] child pid 21119 exit signal 
Segmentation fault (11)
[Wed Feb 15 22:02:44 2006] [notice] child pid 21075 exit signal 
Segmentation fault (11)

  Bizarrely I only get this on my live server, not on my staging 
mod_python server. I found an IRC transcript that suggested this was 
something to do with also using mod_php on that Apache (which I do).
( http://simon.bofh.ms/logger/django/2006/01/23/ about two thirds of the 
way down ).

  In django/utils/feedgenerator.py if you comment out lines 24 and 25:

# from xml.dom import minidom
# from xml.parsers.expat import ExpatError

  it works ! Those lines do not seem to be used.

  Has anyone else encountered this ? Why those two imports if they are 
not used ?

  Best regards,
  Graham.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to