Mattias Brändström wrote:
1. I had to install PyPgSQL to get it to work. The strange thing is that
I get an error message saying that no module PyPgSQL could be found the
first time I access trac after I have restarted it. The second time and
every time after this I don't get this message. To get trac-admin to try
and create a new environment I had to install PyPgSQL anyway.
Did you try with psycopg2? or just psycopg? I'm thinking I need to
check which version of that patch is on trac-hacks.org. After I
released it, I found a typo that made it not work with psycopg. I
thought I had committed the fix, but I very well might not have.
2. I can't create new environments with trac-admin, this is the error
message I'm getting: ERROR: schema "nutsornot" does not exist. I have
also tried creating the schema before running trac-admin, but then I got
an error message saying: ERROR: schema "nutsornot" already exists
The schema should not exist before running trac-admin. I will admit
that I did most of the testing with psycopg2, so it's possible that
there is a small bug in there.
Perhaps PgSchemaPatch is not supposed to work with 0.9.5? As I
understand it the patch has been committed to the trunk, but it seems
like asking for trouble to use that instead of a stable release.
Yes, it should work with 0.9.5, though I think 0.9.4 is the last stable
release I tested with.
If you're using Gentoo, you can check out:
http://embassy.asylumware.com/projects/trac
And grab the overlay. The asylumware-trac ebuild is patched and known
working. I'll try to make sure that trac-hacks.org is updated today.
Finally, the implementation in trunk is much nicer than that for 0.9.x.
If you're not averse to running trunk, that I would says that it's not
a bad choice.
-John
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac