Hi Noah, Thanks. That worked. I had to get the source headers for Python and Postgres so the gcc compiler could build it. So it appears that this package is a lot newer than the PyPgSql.
Cindy -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Noah Kantrowitz Sent: Tuesday, July 14, 2009 12:26 PM To: [email protected] Subject: [Trac] Re: PyPgSql What you want is psycopg2. That should be available in your package system of choice. See the TracInstall wiki page for more info on requirements. --Noah On Jul 14, 2009, at 6:50 AM, Nelson, Cynthia L. wrote: > Hi Micha, > > I tried searching yast but the result set came back empty. There is a > PyPgSql package on the SourceForge site and also on Freshmeat but it > looks several years old. The version is 2.5. but the version of Python > that I am using is 2.6.2. > > I suppose version 2.5 of PyPgSql must be the last update? It is from > 2006. > > I will download and install it. > > Thanks for your help. > > Cindy > > From: [email protected] [mailto:trac- > [email protected]] On Behalf Of 3xIlling > Sent: Tuesday, July 14, 2009 2:05 AM > To: [email protected] > Subject: [Trac] Re: PyPgSql > > Hi Cindy, > > there is a module called python-PyPgSql... which also has to be > installed. Try to search for 'PyPgSql' in yast. > > Regards, > Micha > > > 2009/7/14 cindy <[email protected]> > > Hi, > > After I run the command > > trac-admin /var/lib/trac initenv > > I enter the projectname when prompted > " database connection for postgres as > postgres://username:passw...@server:port/nameofdatabase > svn as repository type > > > The trac directory gets created and the entries in the trac.ini file > seem correct > > However, I get the error. > > "No module PyPgSql" > > I have the following things working on the Suse Linux server Python > 2.6.2 > subversion1.6.2-8.1 > Postgres 8.3 (I can go into psql and do just about anything) > setuptools-0.6c9-2.6 > trac-admin does work with sqlite > > > > From what I can see on line PyPgSql is an API. The Python site has a > version 2.5 of PyPgSql. Is that compatible with Subversion 2.6 ??? > > I notice there is no such package on the Suse distribution that I > have. > > Thanks, > > Cindy > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
