Oh, I realized there was more information in the log. httpd: Objects/stringobject.c:107: PyString_FromString: Assertion `str != ((void *)0)' failed.
On Jan 25, 5:48 pm, wooD <[email protected]> wrote: > # Trac configuration > LoadModule python_module modules/mod_python.so > > <Location /mpinfo> > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler mod_python.testhandler > </Location> > > <Location /projects/rt> > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /home/trac/rt > #PythonOption TracUriRoot /projects/rt > </Location> > > On Jan 24, 6:13 pm, Graham Dumpleton <[email protected]> > wrote: > > > Post snippet of Apache configuration showing how you configured > > mod_python to pass stuff to Trac. > > > Have you set PythonInterpreter in that configuration? > > > Graham > > > On Jan 24, 11:44 am, wooD <[email protected]> wrote: > > > > I'm trying to install trac for a friend and have already gotten > > > subversion working on this machine. I also have trac working using > > > the tracd server, but when I run it under apache I have a specific > > > problem in the apache log when I try to connect to the trac url. > > > > PyString_FromString: Assertion `str != ((void *)0)' failed. > > > > I did a simple setup (so far) with no authentication and using SqlLite > > > (the default db). > > > > There is something special with this install. This machine already > > > hosts an apache server with an application running on it using XAMPP > > > (lampp) > > > > [2007-09-24] XAMPP for Linux 1.6.8a > > > > That version of XAMPP/apache doesn't includemod_pythonor FastCGI, so > > > I improvised and that may be where the problem lies. I went to the > > > host and installedmod_python(mod_python-3.3.1-7.i38) and simply > > > copied this to the modules directory on the XAMPP directory and hoped > > > for the best. Everything works with the /mpinfo test (I can include > > > that output if requested) so I figured it should also work with the > > > trac install. > > > > In looking at the apache/XAMPP error log I see the error > > > > PyString_FromString: Assertion `str != ((void *)0)' failed. > > > > And a blank page is generated. > > > > Any ideas? Crazy work around ideas welcome, but based on the current > > > situation and a bad decision before I stumbled along to use XAMPP > > > instead of just building a custom apache or using the default distro > > > apache (Fedore 2.6.26.3-29.fc9.i686 #1 SMP Wed Sep 3 03:42:27 EDT > > > 2008 i686 i686 i386 GNU/Linux), I need to find a way to make it work > > > with the current XAMPP install. > > > > Thanks, > > > wooD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
