2.5.1-stable+timestamp.2013.06.06.15.39.19
(L?uft auf Apache/2.2.22 (Ubuntu))
178.190.67.157.2013-08-05.17-24-49.9c9dbd34-b526-41aa-a6f2-b56eabf219df
| web2py™ | Version 2.5.1-stable+timestamp.2013.06.06.15.39.19 |
|---|---|
| Python | Python 2.7.4: /usr/local/bin/python (prefix: /usr/local) |
--
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Is it possible apache is using a different python version (one has sqlite and one no)?
| web2py™ | Version 2.5.1-stable+timestamp.2013.06.06.15.39.19 |
|---|---|
| Python | Python 2.7.4: /usr/local/bin/python (prefix: /usr/local) |
The script installs python 2.5 with apt-get, but I suppose it should ship sqlite also. I guess you could try commenting the installation of python in the script to use the current interpreter.Is it possible apache is using a different python version (one has sqlite and one no)?
Interesting. But web2py reports Python version 2.7.4 and not 2.5.If I start web2py without Apache, it works without problems. So: where is the Python interpreter which is used by Apache?
Also, according to the Python docs, sqlite3 was built in beginning with 2.5, so it's still an odd problem.web2py reports Python 2.7 when running under Apache?
| web2py™ | Version 2.5.1-stable+timestamp.2013.06.06.15.39.19 |
|---|---|
| Python | Python 2.7.4: /usr/local/bin/python (prefix: /usr/local) |
Yes. This is the error ticket:Version
web2py™ Version 2.5.1-stable+timestamp.2013.06.06.15.39.19 Python Python 2.7.4: /usr/local/bin/python (prefix: /usr/local)
there are 2, one "historic" that install apache+postgresql+web2py+postfix+mercurial that has not been updated in a lot (setup-web2py-ubuntu.sh), and one "modern" (ubuntu >= 12.04 is required) that installs nginx+uwsgi
--
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
On 5 Aug 2013, at 12:09 PM, Martin Weissenboeck <mwei...@gmail.com> wrote:Yes. This is the error ticket:Version
web2py™ Version 2.5.1-stable+timestamp.2013.06.06.15.39.19 Python Python 2.7.4: /usr/local/bin/python (prefix: /usr/local) I think I might see the problem. Can you try hacking dal.py? Find the line:from sqlite3 import dbapi2 as sqlite3change it toimport sqlite3and see if that works.2013/8/5 Jonathan Lundell <jlun...@pobox.com>On 5 Aug 2013, at 11:42 AM, Martin Weissenboeck <mwei...@gmail.com> wrote:Interesting. But web2py reports Python version 2.7.4 and not 2.5.If I start web2py without Apache, it works without problems. So: where is the Python interpreter which is used by Apache?
FWIW, it's wsgi, not Apache, that cares about Python.Also, according to the Python docs, sqlite3 was built in beginning with 2.5, so it's still an odd problem.web2py reports Python 2.7 when running under Apache?
2013/8/5 Alan Etkin <spam...@gmail.com>
The script installs python 2.5 with apt-get, but I suppose it should ship sqlite also. I guess you could try commenting the installation of python in the script to use the current interpreter.Is it possible apache is using a different python version (one has sqlite and one no)?
--