[Trac] Re: Custom trac reports

2007-04-27 Thread Erik Bray
Sure thing :) Just ask if you need any other pointers. On 4/27/07, Hapia IN <[EMAIL PROTECTED]> wrote: > > Hi, Erik! > > Thanks a lot! Your tip was great. > > I'll read something about SQL. > > Thank you. > > Adriano Vieira > > On 4/26/07, Erik Bray <[EMAIL PROTECTED]> wrote: > > > > Here's a sam

[Trac] Re: syntax highlighting works w/ sqllite, not mysql

2007-04-27 Thread Arnie Sherman
Emmanuel Blot wrote: > It is likely that one machine is missing a package... > I installed enscript w/ yum and it is working now thanks > Cheers, > Manu --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Trac Users"

[Trac] Re: Custom trac reports

2007-04-27 Thread Hapia IN
Hi, Erik! Thanks a lot! Your tip was great. I'll read something about SQL. Thank you. Adriano Vieira On 4/26/07, Erik Bray <[EMAIL PROTECTED]> wrote: > > Here's a sample solution for your first report. A report can > basically be any SQL select query, so I suggest reading up on SQL for > you

[Trac] FireStats security update

2007-04-27 Thread Omry Yadan
Hi all, I found a security hole in the integration module of FireStats with trac, and closed it. users of FireStats are encouraged to update their FireStats and re-install the trac plugin. 1.1 users should re-download FireStats 1.1.8 1.2 users should re-download FireStats 1.2.3 and to all t

[Trac] Re: multiple authentication systems

2007-04-27 Thread David Chase
Could you do this with mod_authnz_external? Trac registration comes with the account manager plugin, and you can also direct Apache and Trac to use the same htdigest file, like so (here, I am using Trac's htdigest to identify users to subversion). DAV svn SVNParentPath "/export/home/dc

[Trac] multiple authentication systems

2007-04-27 Thread Thomas Vander Stichele
Hi everyone, I'm revamping our trac setups, and there is something we would like to be able to do, but I'm not sure it's possible or what would need changing to make it possible. Our previous setup used htpasswd files everywhere, one per project. Currently, I have set things up so that all our

[Trac] Turning OFF logging in my own trac-fiddling scripts

2007-04-27 Thread dr2chase
I've been poking through the source code trying to find the answer to this, and failing. I want to write a script that will let me export trac groups/ permission information to other applications. Here's my first attempt, and it works, except that it spews plugin loading information: #!/opt/loc

[Trac] Re: 500 Internal Server Error (No admin pages available)

2007-04-27 Thread Rainer Sokoll
On Fri, Apr 27, 2007 at 12:57:31PM -0400, Erik Bray wrote: > hostname MySQL will use a unix socket automatically. The path on the > filesystem to the socket can be specified in your my.conf I think. my.cnf, to be correct :-) Rainer --~--~-~--~~~---~--~~ You rec

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Noah Kantrowitz
Nils Breunese wrote: > Noah Kantrowitz wrote: > >> Nils Breunese wrote: >>> Christian Boos wrote: >>> What probably happens is that there's some kind of binary incompatibility within Apache, another SQLite library is loaded or another module (mod_php5.so?) includes the SQLite object

[Trac] Re: syntax highlighting works w/ sqllite, not mysql

2007-04-27 Thread Emmanuel Blot
> yum shows python-clearsilver.i386 0.10.4-2.el4.rf and clearsilver.i386 > 0.10.4-2.el4.rf installed Those packages are about the templating system, not the syntax highlighters See http://trac.edgewall.org/wiki/TracInstall#OtherPythonUtilities > No, they are on separate machines. Both are running

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Noah Kantrowitz wrote: Nils Breunese wrote: Christian Boos wrote: What probably happens is that there's some kind of binary incompatibility within Apache, another SQLite library is loaded or another module (mod_php5.so?) includes the SQLite objects directly, and the sqlite-3.3.3 library can

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Emmanuel Blot
> Because of stability distributions like RHEL and CentOS don't do > version upgrades during their lifecycle, they only backport security > fixes (). So you need to rebuild pysqlite2 on your own, or use PostgreSQL. MySQL support is not as good.

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Op 27-apr-2007, om 18:52 heeft Noah Kantrowitz het volgende geschreven: RPMForge does seem to have the older 1.0.x pysqlite, which Trac can use. This is probably your best bet. Why would that help? From what I read pysqlite 1.0 is not compatible with sqlite 3.x and sqlite 3.3.3 is what comes

[Trac] Re: syntax highlighting works w/ sqllite, not mysql

2007-04-27 Thread Arnie Sherman
Emmanuel Blot wrote: >> Any suggestions as to why and how to fix this? >> > > Which version of Trac do you use? > We have trac 0.10.3.1 > Which syntax highlighters have you installed (Silvercity, Pigments, ...)? > yum shows python-clearsilver.i386 0.10.4-2.el4.rf and clearsilver.i386 0

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Op 27-apr-2007, om 18:54 heeft Emmanuel Blot het volgende geschreven: Now if both your servers have a similar architecture, there is a chance that you can simply copy the .db file from one machine to another - rather than dump/loading it, and keep using SQLite2 format. They're not similar enou

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Matthew Gillen
Nils Breunese wrote: > Christian Boos wrote: > >> What probably happens is that there's some kind of binary >> incompatibility within Apache, another SQLite library is loaded or >> another module (mod_php5.so?) includes the SQLite objects directly, and >> the sqlite-3.3.3 library can't be loaded

[Trac] Re: 500 Internal Server Error (No admin pages available)

2007-04-27 Thread Erik Bray
On 4/27/07, shambhu <[EMAIL PROTECTED]> wrote: > Database connection string [sqlite:db/trac.db]> > mysql://root:[EMAIL PROTECTED]:unix-socket=/home/mysql/mysql.sock/trac I'm not exactly sure where you got this syntax... the part after localhost: is expected to be a port number (such as 3306). B

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Matthew Gillen wrote: Nils Breunese wrote: Christian Boos wrote: What probably happens is that there's some kind of binary incompatibility within Apache, another SQLite library is loaded or another module (mod_php5.so?) includes the SQLite objects directly, and the sqlite-3.3.3 library can'

[Trac] Re: syntax highlighting works w/ sqllite, not mysql

2007-04-27 Thread Emmanuel Blot
> Any suggestions as to why and how to fix this? Which version of Trac do you use? Which syntax highlighters have you installed (Silvercity, Pigments, ...)? Are both projects installed on the same machine? You need to provide some details about your setup. Cheers, Manu --~--~-~--~~

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Emmanuel Blot
> Reading http://initd.org/tracker/pysqlite/wiki/PysqliteVersions it > seems that python-sqlite-1.1.x was especially created to support > sqlite 3.x, so I don't think they are incompatible at all. > It just seems that Trac is not able to use sqlite 3.x and python-sqlite-1.1.x. Yeah, this is what

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Noah Kantrowitz
Nils Breunese wrote: > Noah Kantrowitz wrote: > >> Nils Breunese wrote: >>> Noah Kantrowitz wrote: >>> Nils Breunese wrote: > Emmanuel Blot wrote: > >>> Is someone on this list running Trac on CentOS 4 using mod_python >>> and >>> the standard CentOS sqlite and python-sqli

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Noah Kantrowitz
Nils Breunese wrote: > Christian Boos wrote: > >> What probably happens is that there's some kind of binary >> incompatibility within Apache, another SQLite library is loaded or >> another module (mod_php5.so?) includes the SQLite objects directly, and >> the sqlite-3.3.3 library can't be loaded o

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Noah Kantrowitz wrote: Nils Breunese wrote: Noah Kantrowitz wrote: Nils Breunese wrote: Emmanuel Blot wrote: Is someone on this list running Trac on CentOS 4 using mod_python and the standard CentOS sqlite and python-sqlite packages? Are python- sqlite-1.1.7 and sqlite-3.3.3 really inco

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Christian Boos wrote: What probably happens is that there's some kind of binary incompatibility within Apache, another SQLite library is loaded or another module (mod_php5.so?) includes the SQLite objects directly, and the sqlite-3.3.3 library can't be loaded or doesn't end up being used (i.e

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Noah Kantrowitz
Nils Breunese wrote: > Noah Kantrowitz wrote: > >> Nils Breunese wrote: >>> Emmanuel Blot wrote: >>> > Is someone on this list running Trac on CentOS 4 using mod_python and > the standard CentOS sqlite and python-sqlite packages? Are python- > sqlite-1.1.7 and sqlite-3.3.3 really incom

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Christian Boos
Nils Breunese wrote: > Noah Kantrowitz wrote: > >> Nils Breunese wrote: >>> Emmanuel Blot wrote: >>> From http://trac.edgewall.org/wiki/TracInstall#ForSQLite To use SQLite 3 DB, you need PySQLite 2.x That information in the wiki page is a bit misleading... The Pysqlite2 1.1.x releases

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Noah Kantrowitz wrote: Nils Breunese wrote: Emmanuel Blot wrote: Is someone on this list running Trac on CentOS 4 using mod_python and the standard CentOS sqlite and python-sqlite packages? Are python- sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though Red Hat and CentOS are shi

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Noah Kantrowitz
Nils Breunese wrote: > Emmanuel Blot wrote: > >>> Is someone on this list running Trac on CentOS 4 using mod_python and >>> the standard CentOS sqlite and python-sqlite packages? Are python- >>> sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though Red >>> Hat and CentOS are shipping thes

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Noah Kantrowitz wrote: Nils Breunese wrote: Is someone on this list running Trac on CentOS 4 using mod_python and the standard CentOS sqlite and python-sqlite packages? Are python-sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though Red Hat and CentOS are shipping these versions toget

[Trac] syntax highlighting works w/ sqllite, not mysql

2007-04-27 Thread Arnie Sherman
Hi all, I am new to trac and to this list. We are setting up trac and svn and I have two test installations to get familiar with them. One is using the default sqlite database and the other is using mysql. In the sqlite instance I have colored syntax highlighting for browsing code in svn, but

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Emmanuel Blot wrote: Is someone on this list running Trac on CentOS 4 using mod_python and the standard CentOS sqlite and python-sqlite packages? Are python- sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though Red Hat and CentOS are shipping these versions together? There are not in

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Noah Kantrowitz
Nils Breunese wrote: > Is someone on this list running Trac on CentOS 4 using mod_python and > the standard CentOS sqlite and python-sqlite packages? Are > python-sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though > Red Hat and CentOS are shipping these versions together? Unless they

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Emmanuel Blot
> Is someone on this list running Trac on CentOS 4 using mod_python and > the standard CentOS sqlite and python-sqlite packages? Are python- > sqlite-1.1.7 and sqlite-3.3.3 really incompatible, even though Red > Hat and CentOS are shipping these versions together? There are not incompatible per s

[Trac] 500 Internal Server Error (No admin pages available)

2007-04-27 Thread shambhu
Hi ; This is my first communication with the group-- I am trying to install and configure trac with svn on the below system Platform: Red Hat Enterprise 4 Apache : 1.3.33 mod_python=2.7.11 trac=trac-0.10.4 clearsilver=0.10.2 mysql=4.1.21/Connection=Unix-Socket Error:

[Trac] trac 10.3.1 and unsupported characters in Milestone?

2007-04-27 Thread Brian Jorgensen
Hey, All: I have a fairly new trac 10.3.1 install that is giving messages like "Milestone Proof%20of%20Concept does not exist." for [Proof of Concept] and "Milestone Milestone%2C%20Comma does not exist." for [Milestone, Comma] and "Milestone Back%5CSlash does not exist." for [Black\Slash]

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Noah Kantrowitz wrote: Nils Breunese wrote: Emmanuel Blot wrote: trac.db.sqlite_backend.sqlite.version '1.1.7' Any ideas? From http://trac.edgewall.org/wiki/TracInstall#ForSQLite To use SQLite 3 DB, you need PySQLite 2.x Either stick with a SQLite 2 DB format and PySQLite 1.x (I don't

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Emmanuel Blot
> So, you're saying CentOS (and thus Red > Hat) are shipping a combination of sqlite and python-sqlite that > cannot work together? Nope, only that you don't have the appropriate packages installed on your system ;-) Cheers, Manu --~--~-~--~~~---~--~~ You receive

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Noah Kantrowitz
Nils Breunese wrote: > Emmanuel Blot wrote: > >> trac.db.sqlite_backend.sqlite.version >>> '1.1.7' >>> Any ideas? >> >> From http://trac.edgewall.org/wiki/TracInstall#ForSQLite >> To use SQLite 3 DB, you need PySQLite 2.x >> >> Either stick with a SQLite 2 DB format and PySQLite 1.x (I don't

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Emmanuel Blot wrote: trac.db.sqlite_backend.sqlite.version '1.1.7' Any ideas? From http://trac.edgewall.org/wiki/TracInstall#ForSQLite To use SQLite 3 DB, you need PySQLite 2.x Either stick with a SQLite 2 DB format and PySQLite 1.x (I don't think it's recommended), or upgrade you PySQLite

[Trac] Re: mod_python and a newer version of sqlite

2007-04-27 Thread Emmanuel Blot
> >>> trac.db.sqlite_backend.sqlite.version > '1.1.7' > Any ideas? >From http://trac.edgewall.org/wiki/TracInstall#ForSQLite To use SQLite 3 DB, you need PySQLite 2.x Either stick with a SQLite 2 DB format and PySQLite 1.x (I don't think it's recommended), or upgrade you PySQLite library. Che

[Trac] Duplicate Entry session_attribute table ??

2007-04-27 Thread Skispcs
User logged in They might have clicked on a few links here before going to settings... User clicked on settings and entered name and email address. User then clicked on submit and received the error File "/usr/lib/python2.5/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler ra

[Trac] mod_python and a newer version of sqlite

2007-04-27 Thread Nils Breunese
Hello, I'm trying to move two Trac environments from a Fedora Core 3 server (Apache httpd 2.0.53, Trac 0.10.3, mod_python 3.1.3, python-sqlite 1.0.1, sqlite 2.8.16, PHP 4.3.11) to a new CentOS 4.4 server (Apache httpd 2.0.52, Trac 0.10.3.1, mod_python 3.1.3, python-sqlite 1.1.7, sqlite 3.

[Trac] Re: seach among attached files

2007-04-27 Thread Noah Kantrowitz
[EMAIL PROTECTED] wrote: > Hi, > > I'm working on such a plugin for Linux/Unix platforms right now! > It uses external commands to transform PDF,PPT and DOC files to text, > which are then indexed and searched with swish-e (http://swish-e.org/) > You might want to ask Alec about Pyndexer (sp?) f

[Trac] Re: seach among attached files

2007-04-27 Thread mariole
On Apr 27, 10:28 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm working on such a plugin for Linux/Unix platforms right now! > It uses external commands to transform PDF,PPT and DOC files to text, > which are then indexed and searched with swish-e (http://swish-e.org/) > > I stil

[Trac] Re: seach among attached files

2007-04-27 Thread [EMAIL PROTECTED]
Hi, I'm working on such a plugin for Linux/Unix platforms right now! It uses external commands to transform PDF,PPT and DOC files to text, which are then indexed and searched with swish-e (http://swish-e.org/) I still have a problem of integration with trac that may require a small modification