Hi Tasslehoff,

my guess is that you upgraded from python 2.6 to 2.7. This means that
you might have to reinstall all python packages that you manually
installed (like moin).
Check your /usr/local/lib/python2.[67]/dist-packages. You will probably
find MoinMoin in 2.6 but not in 2.7.

Michael

On 05/22/2013 12:28 AM, Tasslehoff Burrfoot wrote:
> Hi all, I got some problems on a MoinMoin 1.97 instance running on a
> Debian box recently upgraded from sqeeze to wheezy.
> I installed MoinMoin some weeks before the upgrade following the great
> guide on the official website and everything worked like a charm, all
> problems started since the upgrade.
> MoinMoin runs on:
> - Apache 2.2.22
> - mod_wsgi/3.3
> - mod_python/3.3.1
> - Python/2.7.3
> - webserver owner "apache:apache"
> 
> I found some references on this url
> (http://moinmo.in/MoinMoinQuestions/Errors#Internal_Server_Error) but
> checking permissions all seems ok.
> Using python as webserver and test.wsgi results ok, same result running
> python as root or apache user
> (http://www.scribd.com/doc/142843621/WSGI-Test-Script-pdf)
> 
> --- apache error log
> [Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] mod_wsgi
> (pid=15099): Target WSGI script '/usr/local/share/moin/moin.wsgi' cannot
> be loaded as Python module.
> [Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] mod_wsgi
> (pid=15099): Exception occurred processing WSGI script
> '/usr/local/share/moin/moin.wsgi'.
> [Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] Traceback
> (most recent call last):
> [Tue May 21 23:06:27 2013] [error] [client 192.168.1.200]   File
> "/usr/local/share/moin/moin.wsgi", line 43, in <module>
> [Tue May 21 23:06:27 2013] [error] [client 192.168.1.200]     from
> MoinMoin.web.serving import make_application
> [Tue May 21 23:06:27 2013] [error] [client 192.168.1.200] ImportError:
> No module named MoinMoin.web.serving
> 
> --- apache permissions on python directory
> ritz:/usr/lib# ls -l /usr/lib/ | grep "python" | grep -v "lib"
> drwxr-xr-x 20 root root        12264 nov 27  2011 python2.4
> drwxr-xr-x 21 root root        13824 nov 29  2011 python2.5
> drwxr-xr-x 23 root root        13120 mag  7 03:10 python2.6
> drwxr-xr-x 26 root root        13592 mag  7 03:08 python2.7
> drwxr-xr-x  3 root root           80 mag  7 01:54 python3
> drwxr-xr-x  2 root root          112 mag  7 03:09 python-tz
> apache@ritz:/usr/lib/python2.7/test$ which python
> /usr/bin/python
> apache@ritz:/usr/lib/python2.7/test$ python -V
> Python 2.7.3
> apache@ritz:/usr/lib/python2.7/test$ ./pystone.py
> Pystone(1.1) time for 50000 passes = 6.32
> This machine benchmarks at 7911.39 pystones/second
> 
> --- apache configuration
> WSGIScriptAlias /wiki   /usr/local/share/moin/moin.wsgi
> WSGIDaemonProcess moin user=apache group=apache processes=5 threads=10
> maximum-requests=1000 umask=0007
> WSGIProcessGroup moin
> 
> --- /usr/local/share/moin/moin.wsgi sys.path
> sys.path.insert(0, '/usr/local/share/moin')
> 
> Any suggestion?
> 
> Thanks
> 
> Tasslehoff Burrfoot
> 
> ---
> Public PGP key block at
> http://tasslehoff.burrfoot.it/url/pgp
> 
> 
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service 
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> 
> 
> 
> _______________________________________________
> Moin-user mailing list
> Moin-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
> 


-- 
Michael Decker
Forschungszentrum Jülich
Institut für Energie- und Klimaforschung - Troposphäre (IEK-8)

E-Mail: m.dec...@fz-juelich.de

------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to