[Zope-DB] Zope-DB Digest, Vol 74, Issue 1

Richard Harley richard at scholarpack.com
Wed Nov 17 06:29:16 EST 2010


Look at the event log and find out why psycopg is failing on startup. If 
you are using psycopg1, I think you need to put the psycopg in site 
packages.
Whatever version of psycopg you are using you need to have the python 
module installed in the relevant python installation ie the one that is 
running Zope. But looking at the event log should help.

Richard


On 17/11/10 11:07, zope-db-request at zope.org wrote:
> Send Zope-DB mailing list submissions to
> 	zope-db at zope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mail.zope.org/mailman/listinfo/zope-db
> or, via email, send a message with subject or body 'help' to
> 	zope-db-request at zope.org
>
> You can reach the person managing the list at
> 	zope-db-owner at zope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zope-DB digest..."
>
>
> Today's Topics:
>
>     1. Zope_Database_issue (smita kamdar)
>     2. Re: Zope_Database_issue (Andreas Jung)
>     3. Fwd: Zope_Database_issue (smita kamdar)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 16 Nov 2010 23:15:20 +0530
> From: smita kamdar<smita.kamdar00 at gmail.com>
> Subject: [Zope-DB] Zope_Database_issue
> To: zope-db at zope.org
> Message-ID:
> 	<AANLkTik_SbiKKHy0H18w64g6JapYMWZPXXybS8uSP=U1 at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Hi,
>
>
>
> I am a beginner in zope with no prior experience. I am supposed to setup a
> development environment with zope, postgres, python, openflow, egenix&
> psycopg.
>
>
>
> I have installed all of them on Red Hat Linux. All of them are installed
> successfully.
>
>
>
> I have properly installed Psycopg in the zope path i.e.
> (lib/python/Products)&  that too with proper permissions.
>
>
>
> Now after installing psycopg, when I restart zope, I am not able to see the
> option ?Add ZPsycopg Database Connection? in the Zope Management Screen.
>
>
>
> And because of that I am not able to setup a database for the project.
>
>
>
> I request you to please help me for this. Any advice from you will really
> help me in a great way.
>
>
>
> Kindly suggest me something.
>
>
>
> Thanks a lot!!
>
>
>
>
>
> Thanks&  Regards,
>
> Smita Kamdar
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.zope.org/pipermail/zope-db/attachments/20101116/a5ea5024/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Tue, 16 Nov 2010 18:46:59 +0100
> From: Andreas Jung<lists at zopyx.com>
> Subject: Re: [Zope-DB] Zope_Database_issue
> To: smita kamdar<smita.kamdar00 at gmail.com>
> Cc: zope-db at zope.org
> Message-ID:
> 	<AANLkTimdhKoE_ur9tvP0keFOHQbz+qZ_x+61kbzhdPbT at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
> Try using Products.SQLAlchemyDA instead.
>
> -aj
>
> 2010/11/16 smita kamdar<smita.kamdar00 at gmail.com>
>
>    
>>    Hi,
>>
>>
>>
>> I am a beginner in zope with no prior experience. I am supposed to setup a
>> development environment with zope, postgres, python, openflow, egenix&
>> psycopg.
>>
>>
>>
>> I have installed all of them on Red Hat Linux. All of them are installed
>> successfully.
>>
>>
>>
>> I have properly installed Psycopg in the zope path i.e.
>> (lib/python/Products)&  that too with proper permissions.
>>
>>
>>
>> Now after installing psycopg, when I restart zope, I am not able to see the
>> option ?Add ZPsycopg Database Connection? in the Zope Management Screen.
>>
>>
>>
>> And because of that I am not able to setup a database for the project.
>>
>>
>>
>> I request you to please help me for this. Any advice from you will really
>> help me in a great way.
>>
>>
>>
>> Kindly suggest me something.
>>
>>
>>
>> Thanks a lot!!
>>
>>
>>
>>
>>
>> Thanks&  Regards,
>>
>> Smita Kamdar
>>
>>
>> _______________________________________________
>> Zope-DB mailing list
>> Zope-DB at zope.org
>> https://mail.zope.org/mailman/listinfo/zope-db
>>
>>
>>      
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.zope.org/pipermail/zope-db/attachments/20101116/be01265e/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 17 Nov 2010 16:37:09 +0530
> From: smita kamdar<smita.kamdar00 at gmail.com>
> Subject: [Zope-DB] Fwd: Zope_Database_issue
> To: zope-db at zope.org
> Message-ID:
> 	<AANLkTi=d_iRN7364eiM_vc8jpK3QFvLJMXnJ8S4vmTgg at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
>
>   Hi,
>
>
>
> Thanks a lot for your suggestion!!
>
>
>
> But I am specifically told to use ZPsycopgDA to connect zope&  postgres. I
> am trying a lot to add a new ZPsycopg database connection from Zope
> Management Interface screen, But that option does not exist in Add drop -box
> of Zope Management Interface screen. Should Zope software home&  zope
> Instance home be same?? If no then where should I install ZPsycopgDA??
>
> Also do I need to install anything else other than ZPsycopgDA to connect
> zope&  postgres?
>
> I am using Zope 2.11.4, python 2.4.4, Postgres 7.4.13, egenix 2.0.6&
> Psycopg 1.1.6
>
> I am really in a mess! Really need your help!
>
>
>
> ---------- Forwarded message ----------
>
> From: Andreas Jung<lists at zopyx.com>
>
> Date: Tue, 16 Nov 2010 18:46:59 +0100
>
> Subject: Re: [Zope-DB] Zope_Database_issue
>
> To: smita kamdar<smita.kamdar00 at gmail.com>
>
> Cc: zope-db at zope.org
>
>
>
> Try using Products.SQLAlchemyDA instead.
>
>
>
> -aj
>
>
>
> 2010/11/16 smita kamdar<smita.kamdar00 at gmail.com>
>
>
>
>    
>>      
>    
>>    Hi,
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> I am a beginner in zope with no prior experience. I am supposed to setup a
>>      
>    
>> development environment with zope, postgres, python, openflow, egenix&
>>      
>    
>> psycopg.
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> I have installed all of them on Red Hat Linux. All of them are installed
>>      
>    
>> successfully.
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> I have properly installed Psycopg in the zope path i.e.
>>      
>    
>> (lib/python/Products)&  that too with proper permissions.
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> Now after installing psycopg, when I restart zope, I am not able to see
>>      
> the
>
>    
>> option ?Add ZPsycopg Database Connection? in the Zope Management Screen.
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> And because of that I am not able to setup a database for the project.
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> I request you to please help me for this. Any advice from you will really
>>      
>    
>> help me in a great way.
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> Kindly suggest me something.
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> Thanks a lot!!
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>>      
>    
>> Thanks&  Regards,
>>      
>    
>>      
>    
>> Smita Kamdar
>>      
>    
>>      
>    
>>      
>    
>> _______________________________________________
>>      
>    
>> Zope-DB mailing list
>>      
>    
>> Zope-DB at zope.org
>>      
>    
>> https://mail.zope.org/mailman/listinfo/zope-db
>>      
>    
>>      
>    
>>      
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mail.zope.org/pipermail/zope-db/attachments/20101117/7566fa3f/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Zope-DB mailing list
> Zope-DB at zope.org
> https://mail.zope.org/mailman/listinfo/zope-db
>
>
> End of Zope-DB Digest, Vol 74, Issue 1
> **************************************
>    



More information about the Zope-DB mailing list