On 5 Aug 2013, at 1:16 PM, Martin Weissenboeck <[email protected]> wrote:
> Sorry, this is the result:

Odd. OK, never mind.

> 
> Error
> 
> 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.
> 
> 
> 
> 
> 2013/8/5 Jonathan Lundell <[email protected]>
> On 5 Aug 2013, at 12:09 PM, Martin Weissenboeck <[email protected]> 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 sqlite3
> 
> change it to
> 
>         import sqlite3
> 
> and see if that works.
> 
> 
>> 2013/8/5 Jonathan Lundell <[email protected]>
>> On 5 Aug 2013, at 11:42 AM, Martin Weissenboeck <[email protected]> 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 <[email protected]>
>>> Is it possible apache is using a different python version (one has sqlite 
>>> and one no)?
>>> 
>>> 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.
> 
> 
> 
> -- 
>  



-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to