Re: [Trac] Cannot load Python bindings for SQLite

2011-05-25 Thread Phil Ewington - iModel

On 24/05/2011 14:27, Matthew Caron wrote:


On 05/24/2011 09:05 AM, Phil Ewington - iModel wrote:

Check the permissions on trac.ini. Make sure the webserver can read it.


OK, trac.ini is now owned by apache and chmoded to 600. Initial error
now gone but can't save preferences, I assume this is permissions too,
will have a dig around thanks for your help.


Make sure the webserver can write to the parent directory as well. I 
think it creates a temp file then does a copy, so the replacement is 
atomic.



All good now, thanks for all your help!

--

Phil Ewington
*Technical Director*

iModel Ltd.

*M* : 07969 925697
*E* : phil.ewing...@i-model.co.uk mailto:phil.ewing...@i-model.co.uk
*W* : www.i-model.co.uk http://www.i-model.co.uk

Confidential Information (C) Copyright 2007 iModel Ltd. All rights reserved.

This message is intended for the use of the Addressee and may contain 
information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended recipient, dissemination of this communication is prohibited. 
If you have received this communication in error, please erase all 
copies of the message and its attachments and notify us immediately by 
replying to sender.


--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

inline: logo.gif

[Trac] Cannot load Python bindings for SQLite

2011-05-24 Thread Phil Ewington - iModel

Hi All,

After using Trac successfully with tracd I am now trying to run using 
mod_wsgi with Apache. I ran...


trac-admin /project-env/ deploy /www-root/

and configured httpd.conf - all good so far; Now when I access trac with 
my web browser I get the following error...


'Cannot load Python bindings for SQLite '

Weird, I configured my project to use Postgres! Why is this error 
occurring and how do I go about fixing it so that Trac uses Postgres and 
not SQLite. I did check trac.ini and the database parameter is correctly 
set as postgres://user:passwd@localhost/project


All help will be greatly appreciated.

TIA

- Phil.
--

Phil Ewington
*Technical Director*

iModel Ltd.

*M* : 07969 925697
*E* : phil.ewing...@i-model.co.uk mailto:phil.ewing...@i-model.co.uk
*W* : www.i-model.co.uk http://www.i-model.co.uk

Confidential Information (C) Copyright 2007 iModel Ltd. All rights reserved.

This message is intended for the use of the Addressee and may contain 
information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended recipient, dissemination of this communication is prohibited. 
If you have received this communication in error, please erase all 
copies of the message and its attachments and notify us immediately by 
replying to sender.


--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

inline: logo.gif

Re: [Trac] Cannot load Python bindings for SQLite

2011-05-24 Thread Phil Ewington - iModel

On 24/05/2011 13:24, Matthew Caron wrote:

On 05/24/2011 05:50 AM, Phil Ewington - iModel wrote:

Weird, I configured my project to use Postgres! Why is this error
occurring and how do I go about fixing it so that Trac uses Postgres and
not SQLite. I did check trac.ini and the database parameter is correctly
set as postgres://user:passwd@localhost/project


Check the permissions on trac.ini. Make sure the webserver can read it.

OK, trac.ini is now owned by apache and chmoded to 600. Initial error 
now gone but can't save preferences, I assume this is permissions too, 
will have a dig around thanks for your help.


- Phil.

--

Phil Ewington
*Technical Director*

iModel Ltd.

*M* : 07969 925697
*E* : phil.ewing...@i-model.co.uk mailto:phil.ewing...@i-model.co.uk
*W* : www.i-model.co.uk http://www.i-model.co.uk

Confidential Information (C) Copyright 2007 iModel Ltd. All rights reserved.

This message is intended for the use of the Addressee and may contain 
information that is PRIVILEGED and CONFIDENTIAL. If you are not the 
intended recipient, dissemination of this communication is prohibited. 
If you have received this communication in error, please erase all 
copies of the message and its attachments and notify us immediately by 
replying to sender.


--
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

inline: logo.gif