mod_python is no longer supported by Django, Apache, or us. You’ll need to move to mod_wsgi.
You can generate a temporary site in another directory in order to get a sample apache-wsgi.conf file that you can refer to when upgrading your Apache configuration. Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On July 2, 2014 at 2:33:57 AM, c mu ([email protected]) wrote: Hi, i'm trying to upgrade mein RB. I followed the instructions and there was no error (easy_install -U ReviewBoard, rb-site upgrade..) but if I try to open the website, I get the following: MOD_PYTHON ERROR ProcessId: 2977 Interpreter: 'reviewboard_review-board' ServerName: 'reviewboard.xxxxxx.de' DocumentRoot: '/clients01/review-board/htdocs' URI: '/dashboard/' Location: '/' Directory: None Filename: '/clients01/review-board/htdocs/dashboard' PathInfo: '/' Phase: 'PythonHandler' Handler: 'django.core.handlers.modpython' Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_handler, arg=req, silent=hlist.silent) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1202, in _process_target module = import_module(module_name, path=path) File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 304, in import_module return __import__(module_name, {}, {}, ['*']) ImportError: No module named modpython Mod Pyhton is loaded an enabled (it worked with 1.6.11) dpkg -l |grep python ii libapache2-mod-python 3.3.1-9+b3 amd64 Python-embedding module for Apache 2 ii libpython2.6 2.6.8-1.1 amd64 Shared Python runtime library (version 2.6) ii libpython2.7 2.7.3-6+deb7u2 amd64 Shared Python runtime library (version 2.7) ii python 2.7.3-4+deb7u1 all interactive high-level object-oriented language (default version) ii python-central 0.6.17 all register and build utility for Python packages ii python-dev 2.7.3-4+deb7u1 all header files and a static library for Python (default) ii python-ldap 2.4.10-1 amd64 LDAP interface module for Python ii python-ldaptor 0.0.43+debian1-7 all pure-Python library for LDAP operations ii python-minimal 2.7.3-4+deb7u1 all minimal subset of the Python language (default version) ii python-mysqldb 1.2.3-2 amd64 Python interface to MySQL ii python-openssl 0.13-2+deb7u1 amd64 Python 2 wrapper around the OpenSSL library ii python-pam 0.4.2-13 amd64 Python interface to the PAM library ii python-pkg-resources 0.6.24-1 all Package Discovery and Resource Access using pkg_resources ii python-pyparsing 1.5.6+dfsg1-2 all Python parsing module ii python-serial 2.5-2.1 all pyserial - module encapsulating access for the serial port ii python-setuptools 0.6.24-1 all Python Distutils Enhancements (setuptools compatibility) ii python-support 1.0.15 all automated rebuilding support for Python modules ii python-svn 1.7.5-1.1 amd64 A(nother) Python interface to Subversion ii python-twisted-bin 12.0.0-1 amd64 Event-based framework for internet applications ii python-twisted-core 12.0.0-1 all Event-based framework for internet applications ii python-twisted-mail 12.0.0-1 all SMTP, IMAP and POP protocol implementation ii python-twisted-names 12.0.0-1 all DNS protocol implementation with client and server ii python-twisted-web 12.0.0-1 all HTTP protocol implementation together with clients and servers ii python-zope.interface 3.6.1-3 amd64 Interfaces for Python ii python2.6 2.6.8-1.1 amd64 Interactive high-level object-oriented language (version 2.6) ii python2.6-minimal 2.6.8-1.1 amd64 Minimal subset of the Python language (version 2.6) ii python2.7 2.7.3-6+deb7u2 amd64 Interactive high-level object-oriented language (version 2.7) ii python2.7-dev 2.7.3-6+deb7u2 amd64 Header files and a static library for Python (v2.7) ii python2.7-minimal 2.7.3-6+deb7u2 amd64 Minimal subset of the Python language (version 2.7) dpkg -l |grep apache ii apache2 2.2.22-13+deb7u1 amd64 Apache HTTP Server metapackage ii apache2-mpm-prefork 2.2.22-13+deb7u1 amd64 Apache HTTP Server - traditional non-threaded model ii apache2-utils 2.2.22-13+deb7u1 amd64 utility programs for webservers ii apache2.2-bin 2.2.22-13+deb7u1 amd64 Apache HTTP Server common binary files ii apache2.2-common 2.2.22-13+deb7u1 amd64 Apache HTTP Server common files ii libapache2-mod-fcgid 1:2.3.6-1.2+deb7u1 amd64 an alternative module compat with mod_fastcgi ii libapache2-mod-php5 5.4.4-14+deb7u11 amd64 server-side, HTML-embedded scripting language (Apache 2 module) ii libapache2-mod-python 3.3.1-9+b3 amd64 Python-embedding module for Apache 2 ii libapache2-mod-wsgi 3.3-4+deb7u1 amd64 Python WSGI adapter module for Apache Whats going wrong? I googled a several hours about mod_python error, but cant find the solution.. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
