[Trac] PyPgSql

2009-07-13 Thread cindy

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 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
-~--~~~~--~~--~--~---



[Trac] Re: Does Trac really work on Windows

2009-06-17 Thread cindy

Thanks for sharing your configuration. I am in a rather difficult
situation. I have been asked to use a configuration which I do not
believe will work. VisualSVN, the latest release of python and Trac
and a Postgres database.

I am going to try your configuration and see what happens.  The only
problem is I have to use an XP machine instead of a server.

Thanks.

Cindy

On Jun 16, 10:34 pm, David Headley raider...@gmail.com wrote:
 I just got Trac running on Windows and it works great.  Here is my setup:
  Trac 0.11.4
  SVN 1.5.6 (r36142)
  Python 2.5.4
  Apache 2.2.11
  Windows Small Business Server 2008
 I use the mod_wsgi module, and used the instructions 
 here:http://trac.edgewall.org/wiki/TracModWSGI

 #1: It definitely works on Windows.

 #2: Trac log is in your Trac environment directory under the log folder. But
 trac.ini in the conf folder needs to be set to FILE:
 [logging]
 log_file = trac.log
 log_level = DEBUG
 log_type = file

 Info on logging is here:http://trac.edgewall.org/wiki/TracIni#logging-section

 On Tue, Jun 16, 2009 at 6:22 PM, Noah Kantrowitz n...@coderanger.netwrote:



  Strike that:

 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=81...
  ndFolder=8100folderID=91http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=81...has
   some built for 2.6. Newer version of SVN too.

  --Noah

   -Original Message-
   From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
   On Behalf Of Noah Kantrowitz
   Sent: Tuesday, June 16, 2009 4:17 PM
   To: trac-users@googlegroups.com
   Subject: [Trac] Re: Does Trac really work on Windows

   PySVN is not the same thing as the SVN SWIG bindings. You find the
   correct
   bindings at
  http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
   but I
   don't see any built for Python 2.6. You can either try to build them
   yourself, or switch to 2.5.

   --Noah

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-
   us...@googlegroups.com]
On Behalf Of cindy
Sent: Tuesday, June 16, 2009 10:56 AM
To: Trac Users
Subject: [Trac] Does Trac really work on Windows

OK so I am trying to install svn and trac on the same windows machine
per my boss's wishes. If left up to me, I would use Linux.

I also have been told to use VisualSVN 1.7.2. (Yes I know it is not
officially supported)

Python 2.6.2
Py26-svn-pysvn155
Pysqlite-2.5.5..py2.6 (I know we are using Postgres but this is just
an effort to get it to work)
Trac-0.11.4
Genshi-0.5.1.py2.6
Setuptools-0.6c9
NOTE: I unzipped and untarred the version for py2.6 . the python
website says it works this way.
I made a directory outside of python and ran setup with the egg file
for 2.6 .python ez_setup.py setuptools-0.6c9-py2.6.egg
I also installed accountadminplugin.
NOTE: I put made a plugin directory and ran easy setup to install
that.

I used an on line tutorial for most of this at this URL:

   http://how-to-solutions.com/how-to-install-trac-on-windows.html

I substituted the python 2.6 files for the ones they suggested for
compatibility. I was successful until I got to the line where you run
the daemon.

Tracd -p 8000 c:\repositories\projects\tracproject

Then I get the persistent error that there is no svn module. I does
let me into the Admin account to create users.

Question 1. Does Trac really work on Windows? I am beginning to doubt
it.

Question 2. Where is the Trac log they refer to in the error message?
I cannot find it.

BTW Ronny you might want to check your versions of svn and trac to be
sure they match.

Cindy

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Trac] Does Trac really work on Windows

2009-06-16 Thread cindy

OK so I am trying to install svn and trac on the same windows machine
per my boss's wishes. If left up to me, I would use Linux.

I also have been told to use VisualSVN 1.7.2. (Yes I know it is not
officially supported)

Python 2.6.2
Py26-svn-pysvn155
Pysqlite-2.5.5….py2.6 (I know we are using Postgres but this is just
an effort to get it to work)
Trac-0.11.4
Genshi-0.5.1…py2.6
Setuptools-0.6c9
NOTE: I unzipped and untarred the version for py2.6 … the python
website says it works this way.
I made a directory outside of python and ran setup with the egg file
for 2.6 .python ez_setup.py setuptools-0.6c9-py2.6.egg
I also installed accountadminplugin.
NOTE: I put made a plugin directory and ran easy setup to install
that.

I used an on line tutorial for most of this at this URL:

http://how-to-solutions.com/how-to-install-trac-on-windows.html

I substituted the python 2.6 files for the ones they suggested for
compatibility. I was successful until I got to the line where you run
the daemon.

Tracd -p 8000 c:\repositories\projects\tracproject

Then I get the persistent error that there is no svn module. I does
let me into the Admin account to create users.

Question 1. Does Trac really work on Windows? I am beginning to doubt
it.

Question 2. Where is the Trac log they refer to in the error message?
I cannot find it.

BTW Ronny you might want to check your versions of svn and trac to be
sure they match.

Cindy

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---