[Trac] Trac lost my tickets

2008-11-04 Thread Jani Tiainen
I had very old trac db that contained priorities and severities. I decided to upgrade it a bit newer version, removed all severities and made priorities more sane. But, this killed all SQL based reports. How to fix that? This shouldn't happen in first place of course... -- Jani Tiainen

[Trac] Re: Some comments invisible to customers?

2008-11-04 Thread Yitzchak Gale
I wrote: Is there any way currently - without developing a whole new plugin - of marking some of the comments in an issue as invisible to a group of users? The idea is that customers could post their own issues and track them, but we would need to post internal comments that the customer

[Trac] Re: occasional database error

2008-11-04 Thread Greg Troxel
Greg Troxel wrote: Occasionally ticket queries fail with a database error: Oops# Trac detected an internal error: OperationalError: ERROR: duplicate key violates unique constraint session_attribute_pk It appears to be a small window of opportunity for two concurrent

[Trac] Merge tickets (too many false tickets)

2008-11-04 Thread W. Martin Borgert
Hi, I have a problem with duplicate tickets. Currently the following happens: - customer sends e-mail to [EMAIL PROTECTED] describing a problem - thanks to email2trac, a ticket is created (always_notify_reporter = false, because the customer would not understand the e-mail) - somebody

[Trac] Re: occasional database error

2008-11-04 Thread Jonas Borgström
Greg Troxel wrote: I don't quite understand what is going on. I think the error happened on the INSERT, but on reflection this is because of two similar transactions: delete foo if foo is there insert bar and the point is that the delete doesn't fail. Your patch is to try to catch

[Trac] Investigating Trac - multiple projects?

2008-11-04 Thread Rob
I have been using assembla for code and project management, and since they've dumped their free model and I do work for non profits, that's a dead end. I'm investigating other options. It seems that Trac is a reasonable alternative. I haven installed it yet, and have some questions,

[Trac] Re: occasional database error

2008-11-04 Thread Christian Boos
Jonas Borgström wrote: Greg Troxel wrote: I don't quite understand what is going on. I think the error happened on the INSERT, but on reflection this is because of two similar transactions: delete foo if foo is there insert bar and the point is that the delete doesn't fail.

[Trac] Re: occasional database error

2008-11-04 Thread Greg Troxel
Yes you're right. It's the INSERT statement and not the DELETE statement that might fail if another transaction manages to execute and commit between the DELETE and INSERT of the first transaction (if read committed is being used). I somehow managed to wrap the wrong cursor.execute

[Trac] HELP on NEW trac install 0.11 on Ubuntu 8.04 HARDY x86_64

2008-11-04 Thread joseph . h . dayney
Folks, Perusing the google ... I have seen several items regarding installing trac 0.11 on Ubuntu 8.04 HARDY. We currently are running Architecture = x86 Base O/S = Ubuntu 8.04 HARDY trac = 0.10.4 python = 2.5 DB = postgres 8.1 web = apache2 Templating = clearsilver Authentication =

[Trac] Re: occasional database error

2008-11-04 Thread Jonas Borgström
Christian Boos wrote: I also wondered a bit about that DELETE... thought there was something special going on ;-) Heh not really, just sloppiness on my part ;) I didn't even realize the patch was fubared until I read Greg's response. So, I think it's just another symptom of #3563, and we

[Trac] Re: Merge tickets (too many false tickets)

2008-11-04 Thread Martin S.
Hi, try the MasterTicketsPlugin (http://trac-hacks.org/wiki/ MasterTicketsPlugin), which allows you to connect the duplicate tickets to the original one. It's not all what you want but a good start. Martin On Nov 4, 8:05 am, W. Martin Borgert [EMAIL PROTECTED] wrote: Hi, I have a problem

[Trac] Re: Investigating Trac - multiple projects?

2008-11-04 Thread Iain Buchanan
Hi! Rob wrote: snip Do I need a separate Trac installation for each project? we use Trac for multiple projects in two different ways, for two different reasons. There are of course other ways of doing it, this is just what we do: 1. Multiple trac environments. ie. /var/lib/trac/proj1

[Trac] Re: Investigating Trac - multiple projects?

2008-11-04 Thread Cher B
Hi We too are interested in multiple projects, so Iain can you please clarify something for me Iian Wrote: --2. One trac environment, add a custom field. ie. only one --/var/lib/trac/proj but I've edited [ticket-custom] to add a select box --for listing the different projects. I've also

[Trac] Starting tickets at a specific number.

2008-11-04 Thread Cher B
Hi All, We have a number of projects and need the ticket number number to be unique. Is there a way of starting the ticket numbers at a certain point? or prefix them with something? Thanks, Cheryl. --~--~-~--~~~---~--~~ You received this message because you are

[Trac] Re: Investigating Trac - multiple projects?

2008-11-04 Thread Rob
Thank you, yes, that's helpful. Are the hacks you made easy/obvious or available somewhere? I'm a developer but really don't have much time to cobble together a system. How much work is it to implement a new project under your #1 option? Like you, I can see the value in both approaches

[Trac] Browsing to remote server

2008-11-04 Thread Rob
I've just installed Trac on my server to check it out and see if it will work for me. Server is Ubuntu Linux 8.04. I used the installation instructions here: http://trac.edgewall.org/wiki/TracInstall using sudo easy_install Trac. Appears to be successful. I used $ trac-admin