[Trac] Re: Migrating Trac to new box

2006-09-14 Thread Christian Boos
jouell wrote: > Well, I have 0.9.6 installed now. I used the .tar and python2.4. > > However, When I copy the other server's db's over the net to the new > box, I get: > > Trac detected an internal error: > > file is encrypted or is not a database > > ... > So, I was trying to work around this by

[Trac] Re: Reports with LIKE syntax?

2006-09-14 Thread Russ Brown
On Fri, 2006-09-15 at 01:50 +, [EMAIL PROTECTED] wrote: > Strange! It's exactly what I ran, but I didn't get any tickets. Instead > I get: "Report execution failed: list index out of range" in a red box > in the reports page. Did you try running it as a report? > > Maybe there is something wr

[Trac] Re: CUSTOMIZE - Ability to provide Altered Templates via a Plugin

2006-09-14 Thread Noah Kantrowitz
Sorry, looks like Alec took that bit of hackery out. The way ClearSilver looks for templates is by examining each folder in the 'hdf.loadpaths' HDF variable. Normally the project templates folder and the central templates folder are the first two items in this list, with plugin folders bei

[Trac] Re: CUSTOMIZE - Ability to provide Altered Templates via a Plugin

2006-09-14 Thread Ilias Lazaridis
Noah Kantrowitz wrote: > On Sep 12, 2006, at 6:41 PM, Ilias Lazaridis wrote: > > Can I use the ITemplateProvider to override the original templates > > (e.g. wiki.cs)? > > > > Or is there any other mechanism available to do so from within a > > plugin? > > > > I guess I could use a simple copy ins

[Trac] Re: Reports with LIKE syntax?

2006-09-14 Thread Noah Kantrowitz
Minor point of note: just remove the whole condition to get the same effect with less overhead. Also try using %% instead of %. --Noah On Sep 14, 2006, at 8:29 PM, [EMAIL PROTECTED] wrote: > > I'm fairly new to generating my own reports (and to SQL in > general), so > I may be missing somet

[Trac] Re: Reports with LIKE syntax?

2006-09-14 Thread [EMAIL PROTECTED]
Strange! It's exactly what I ran, but I didn't get any tickets. Instead I get: "Report execution failed: list index out of range" in a red box in the reports page. Did you try running it as a report? Maybe there is something wrong with my database or trac reporting module? --Jennifer --~--~---

[Trac] Re: Reports with LIKE syntax?

2006-09-14 Thread Russ Brown
On Fri, 2006-09-15 at 00:29 +, [EMAIL PROTECTED] wrote: > I'm fairly new to generating my own reports (and to SQL in general), so > I may be missing something obvious, but is the LIKE syntax supported > for reports? I can't seem to get it to work. We are using postgres as > the Track DB. > >

[Trac] Re: Fighting Trac Spam - To all those interested

2006-09-14 Thread Michael Renzmann
Hi. Pedro Algarvio, aka, s0undt3ch wrote: >> Which reminds me that I urgently should update the filter rules in the >> wiki to match those we actually use now on madwifi.org. :) There have been >> some minor changes, and one addition is still waiting to be done. > Yeah, those changes would be aws

[Trac] Re: Migrating Trac to new box

2006-09-14 Thread jouell
Well, I have 0.9.6 installed now. I used the .tar and python2.4. However, When I copy the other server's db's over the net to the new box, I get: Trac detected an internal error: file is encrypted or is not a database Traceback (most recent call last): File "trac.cgi", line 20, in ? cgi

[Trac] Reports with LIKE syntax?

2006-09-14 Thread [EMAIL PROTECTED]
I'm fairly new to generating my own reports (and to SQL in general), so I may be missing something obvious, but is the LIKE syntax supported for reports? I can't seem to get it to work. We are using postgres as the Track DB. The following query works: SELECT id AS ticket, summary, component FRO

[Trac] Re: installation error

2006-09-14 Thread Matt Good
tasos wrote: > Creating and Initializing Project > Failed to create environment. global name 'sqlite' is > not defined This is a sign that you haven't installed the pysqlite library. You need this installed to use Trac with SQLite. -- Matt Good --~--~-~--~~~---~--~

[Trac] Re: trac-hacks.org down?

2006-09-14 Thread Russ Brown
Yes, thanks. On Thu, 2006-09-14 at 15:46 -0400, Noah Kantrowitz wrote: > Should be back, if a little slow. > > --Noah > > Russ Brown wrote: > > I'm unable to access both the site and subversion repository. I can ping > > the hostname however... > > > > Anyone have any idea what's up or when it

[Trac] Re: trac-hacks.org down?

2006-09-14 Thread Noah Kantrowitz
Should be back, if a little slow. --Noah Russ Brown wrote: > I'm unable to access both the site and subversion repository. I can ping > the hostname however... > > Anyone have any idea what's up or when it might be back? > --~--~-~--~~~---~--~~ You received th

[Trac] trac-hacks.org down?

2006-09-14 Thread Russ Brown
I'm unable to access both the site and subversion repository. I can ping the hostname however... Anyone have any idea what's up or when it might be back? -- Russ. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[Trac] RFC: Is there a need for the topmost to bear the name #banner? (was:[Trac] Header rendering under ForeFox)

2006-09-14 Thread Peter Fischer
Hi list! RFC: Is there a need for the topmost to bear the name #banner? IMO banner == advertising No wonder that it is being blocked by a very generic adblock rule. As newer versions of Opera & Konqueror already have a adblock mechanism implemented (although not activated by default), other

[Trac] Re: Iterate & display tickets on a wiki page

2006-09-14 Thread Jeff Rodenburg
That would jive with what I'm finding.  I'm sure there's a more elegant solution to be put together, but for now I'm conditionally adding client-side _javascript_ that's adding content to the bottom of the rendered textarea object when the wiki page is in edit mode.  The _javascript_ adds content i

[Trac] Re: installation error

2006-09-14 Thread Steve Lianoglou
Hi, > Creating and Initializing Project > Failed to create environment. global name 'sqlite' is > not defined > Traceback (most recent call last): > File "/Downloads/trac-0.10b1/trac/scripts/admin.py", > line 611, in do_initenv > options=options) ... > Can somebody help me?it doesn't work

[Trac] Re: Manage a large number of Trac installs

2006-09-14 Thread Jason Winnebeck
I am currently facing such a problem myself as I am administering 4 different Trac installs and we want to make a 5th. (my comments here will be Unix-centric) With the newest Trac, you can put common macros into /usr/share/trac/wiki-macros or whichever path is the equivalent. You can do the same

[Trac] Manage a large number of Trac installs

2006-09-14 Thread Priest, James \(NIH/NIEHS\) [C]
We're evaluating Trac here... From the front end I think everyone is very happy - but there are some issues with managing everything from the sysadmin side that we have some concerns about - esp. regarding permissions, plugins, etc. I was curious how others manage multiple Trac installs? Thank

[Trac] Re: How to customize project components

2006-09-14 Thread [EMAIL PROTECTED]
So obvious !! Thanks a lot, guys Hammed --~--~-~--~~~---~--~~ 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 emai

[Trac] Re: postgres vs. sqlite

2006-09-14 Thread Dimitri Maziuk
Bruno Desthuilliers wrote: > Greg Dickie wrote: >> I'm using postgres. Is it much much better than SQLite? > > Depends on what "better" means to you. SQLite is a lighweight embedded > database, PostgreSQL is one of the most powerful and reliable existing > RDBMS. From a purely technical POV, Post

[Trac] Re: Fighting Trac Spam - To all those interested

2006-09-14 Thread Pedro Algarvio, aka, s0undt3ch
Michael Renzmann wrote: > Which reminds me that I urgently should update the filter rules in the > wiki to match those we actually use now on madwifi.org. :) There have been > some minor changes, and one addition is still waiting to be done. > > Bye, Mike Yeah, those changes would be awsome too

[Trac] Re: Wiki Syntax for internal page links

2006-09-14 Thread Rob Wilkerson
> > Wouldn't this impact the ticket links? Or are these looking for "#" > > followed by a number (e.g. /#\d+/)? > > > > No, because of the surrounding [...], which imply links of the form > [target label], > where label is optional and 'target' must start either with a "link > resolver prefix", >

[Trac] Re: Wiki Syntax for internal page links

2006-09-14 Thread Christian Boos
Rob Wilkerson wrote: > On 9/14/06, Christian Boos <[EMAIL PROTECTED]> wrote: > >> Norbert Unterberg wrote: >> >>> Is there a wiki syntax for links relative within a single page? >>> >>> Example: When I have a wiki page "Test" with a section "Title 1", then >>> I can link to the sections us

[Trac] Re: Wiki Syntax for internal page links

2006-09-14 Thread Rob Wilkerson
On 9/14/06, Christian Boos <[EMAIL PROTECTED]> wrote: > > Norbert Unterberg wrote: > > Is there a wiki syntax for links relative within a single page? > > > > Example: When I have a wiki page "Test" with a section "Title 1", then > > I can link to the sections using the [wiki:Test#Title1] syntax.

[Trac] Re: installation error

2006-09-14 Thread tasos
Creating and Initializing Project Failed to create environment. global name 'sqlite' is not defined Traceback (most recent call last): File "/Downloads/trac-0.10b1/trac/scripts/admin.py", line 611, in do_initenv options=options) File "/Downloads/trac-0.10b1/trac/env.py", line 124, in __ini

[Trac] Re: Wiki Syntax for internal page links

2006-09-14 Thread Christian Boos
Norbert Unterberg wrote: > Is there a wiki syntax for links relative within a single page? > > Example: When I have a wiki page "Test" with a section "Title 1", then > I can link to the sections using the [wiki:Test#Title1] syntax. Is > there a way to specify this link as a page-relative link, som

[Trac] Wiki Syntax for internal page links

2006-09-14 Thread Norbert Unterberg
Is there a wiki syntax for links relative within a single page? Example: When I have a wiki page "Test" with a section "Title 1", then I can link to the sections using the [wiki:Test#Title1] syntax. Is there a way to specify this link as a page-relative link, something like [wiki:#Title1 See sect

[Trac] Re: Speeding up the timeline

2006-09-14 Thread Russ Brown
On Thu, 2006-09-14 at 17:12 +0930, Lewis Baker wrote: > I had a similar problem during devlopment of the PerforcePlugin where > the call to get_youngest_rev_in_cache() was adding a 1-2 second overhead > on large Perforce repositories. I ended up working around the problem by > indexing on the 'tim

[Trac] Re: postgres vs. sqlite

2006-09-14 Thread Noah Kantrowitz
Given that I run about 3 dozen Tracs, spread over 6 or 7 sites, SQLite is wonderful from a management perspective. It lets me keep all the data for a given Trac in one place, and easily backup/move/ copy/etc them. --Noah On Sep 14, 2006, at 5:42 AM, Bruno Desthuilliers wrote: > > Greg Dick

[Trac] Re: installation error

2006-09-14 Thread tasos
Thank you noah i will give it a try. --- Noah Kantrowitz <[EMAIL PROTECTED]> wrote: > > I would make sure you have to most recent version of > the MySQL > bindings, and then try it with sqlite to see if > everything else is > working. > > --Noah > > On Sep 14, 2006, at 1:11 AM, tasos wrot

[Trac] Re: postgres vs. sqlite

2006-09-14 Thread Bruno Desthuilliers
Greg Dickie wrote: > > I'm using postgres. Is it much much better than SQLite? Depends on what "better" means to you. SQLite is a lighweight embedded database, PostgreSQL is one of the most powerful and reliable existing RDBMS. From a purely technical POV, Postgres obviously beats SQLite hands d

[Trac] Re: upgrade db failed from 0.9.4 to 0.10b1

2006-09-14 Thread Christian Boos
nomorsad wrote: > OK I deleted all the line from the 'session' table and upgrade works now. > > I hope there is no consequence... > > You've lost the previous sessions and most probably all the user settings too, but that's probably not a big deal. > vince > > On 9/13/06, nomorsad <[EMAIL PR

[Trac] Re: upgrade db failed from 0.9.4 to 0.10b1

2006-09-14 Thread nomorsad
OK I deleted all the line from the 'session' table and upgrade works now. I hope there is no consequence... vince On 9/13/06, nomorsad <[EMAIL PROTECTED]> wrote: > I tried to understand why there's no "kind" column, although it's a > first install. > > In fact, the db17 is working well, but db1

[Trac] WebAdmin setup: AttributeError: 'NoneType' object has no attribute 'group'

2006-09-14 Thread Markus Tacker
Hoi, i cannot install the plugin anymore: # python setup.py install running install running bdist_egg Traceback (most recent call last): File "setup.py", line 34, in ? entry_points = { File "/usr/lib/python2.4/distutils/core.py", line 149, in setup dist.run_commands() File "/usr/lib

[Trac] Re:

2006-09-14 Thread Noah Kantrowitz
See the TracLogging page. --Noah On Sep 14, 2006, at 3:11 AM, Michael Bösendorfer wrote: > > Hi all! > > Is there a logfile where I can see the initialization of the > plugins and components of plugins. Because a component of mine > didn't get loaded and I do not know why. > > thanks a lot

[Trac] Re: installation error

2006-09-14 Thread Noah Kantrowitz
I would make sure you have to most recent version of the MySQL bindings, and then try it with sqlite to see if everything else is working. --Noah On Sep 14, 2006, at 1:11 AM, tasos wrote: > > any ideas please? > > --- tasos <[EMAIL PROTECTED]> wrote: > >> >> hello again people. >> http://pa

[Trac] Re: Iterate & display tickets on a wiki page

2006-09-14 Thread Noah Kantrowitz
There is currently not a good way to do this, --Noah On Sep 14, 2006, at 1:39 AM, Jeff Rodenburg wrote: > Thanks Noah, that's exactly what I'm looking for but I'd like the > query statement to be included directly in the wiki template, > outside of the wiki content block. > > How do I get t

[Trac] Re: Speeding up the timeline

2006-09-14 Thread Lewis Baker
Russ Brown wrote: > On Wed, 2006-09-13 at 12:00 -0700, Matt Good wrote: >> Russ Brown wrote: >>> Yesterday I upgraded our trac backend to postgres, and afterwards >>> decided to do a bit of query analyzing. >>> >>> One that hung around quite a lot in pg_stat_activity was this one from >>> Subversio

[Trac] Re: logging

2006-09-14 Thread Omry Yadan
there is a trac log mechanism. you can direct it to a file and tail that file. Michael Bösendorfer wrote: > Hi all! > > Is there a logfile where I can see the initialization of the plugins and > components of plugins. Because a component of mine didn't get loaded and I do > not know why. >

[no subject]

2006-09-14 Thread Michael Bösendorfer
Hi all! Is there a logfile where I can see the initialization of the plugins and components of plugins. Because a component of mine didn't get loaded and I do not know why. thanks a lot kind regards Michael -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: htt