On Saturday, March 25, 2017 at 9:52:30 AM UTC-7, David Gessel wrote: > > Thanks! I tried and > # apachectl graceful > > but no change, though the error log might provide a clue with respect to > what paths are still getting called (no change): > > Enter code here.Sat Mar 25 09:50:25.025855 2017] [:error] [pid 69623:tid > 34741511168] make_obcallback: could not import mod_python.apache.\n > ImportError: No module named mod_python.apache > [Sat Mar 25 09:50:25.026263 2017] [:error] [pid 69623:tid 34741511168] > make_obcallback: Python path being used "['/usr/local/lib/python27.zip', > '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-freebsd10', > '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', > '/usr/local/lib/python2.7/lib-dynload']". > [Sat Mar 25 09:50:25.026292 2017] [:error] [pid 69623:tid 34741511168] > get_interpreter: no interpreter callback found. > .. >
It seems that your PythonPath directive is having no effect. Do you get the same "Python path being used" error if you comment out the PythonPath directive? With regard to testing, (1) shows how to setup a simple test case using modpython.test_handler. - Ryan (1) https://trac.edgewall.org/wiki/TracModPython#Simpleconfiguration -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
