[Trac] Re: Remove Severity Field

2006-11-13 Thread Christopher Lenz

Am 11.11.2006 um 23:48 schrieb mankoff:
 New Trac versions do not include the 'severity' field in a ticket
 report. I have an old install but would like to remove severity. Is
 there an easy way to just delete this field from all tickets in the  
 DB?

I wrote a contrib script that can do that:

   http://trac.edgewall.org/browser/trunk/contrib/ 
migrateticketmodel.py

Not seriously tested, so be sure to make a backup before running it!

Cheers,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Remove Severity Field

2006-11-13 Thread Noah Kantrowitz

On Nov 11, 2006, at 5:48 PM, mankoff wrote:

 New Trac versions do not include the 'severity' field in a ticket
 report.

Just add some values to the field and it will show up. You can do  
this either in trac-admin or WebAdmin.

--Noah

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Solaris: FAILURE in tests

2006-11-13 Thread Thomas Sturm

Thomas Sturm wrote:
 Hello,
 
 on './configure; make; make check' I get these FAILURES:
 .
 .
 .
 Running all tests in commit_tests.py...FAILURE
 Running all tests in update_tests.py...success
 Running all tests in switch_tests.py...FAILURE
 Running all tests in prop_tests.py...FAILURE
 Running all tests in schedule_tests.py...success
 Running all tests in log_tests.py...FAILURE
 Running all tests in copy_tests.py...success
 Running all tests in diff_tests.py...FAILURE

1.) My system is an Solaris ... and I use the 'gcc' ...

2.) Running 'commit-tests.py':

EXPECTED STDOUT:
/utils/src/build/subversion-1.4.2/subversion/tests/cmdline/svn-test-work/repositories/commit_tests-15
/utils/src/build/subversion-1.4.2/subversion/tests/cmdline/svn-test-work/repositories/commit_tests-15
1
/utils/src/build/subversion-1.4.2/subversion/tests/cmdline/svn-test-work/repositories/commit_tests-15
2
ACTUAL STDOUT:
EXCEPTION: SVNLineUnequal
XFAIL: commit_tests.py 15: hook testing

EXPECTED STDOUT:
Sendingsvn-test-work/working_copies/commit_tests-34/iota
Transmitting file data .
Committed revision 2.

Warning: 'post-commit' hook failed with error output:
Post-commit hook failed
ACTUAL STDOUT:
Sendingsvn-test-work/working_copies/commit_tests-34/iota
Transmitting file data .
Committed revision 2.

Warning: 'post-commit' hook failed with error output:
ld.so.1: post-commit: fatal: libstdc++.so.6: open failed: No such file
or directory

EXCEPTION: SVNLineUnequal
FAIL:  commit_tests.py 34: post commit hook failure case testing
--

3.) It sounds very complicated _not_ to use
'./configure; make; make check; make install;' :(

4.) If I rerun 'make check' some other tests FAIL and some failed
tests PASS???

Regrads
-- 
Thomas Sturm
ALCATEL  Transport Solutions Deutschland  GmbH

Colditzstrasse 34-36 ALCA-Tel.   2520 3714
D 12099 Berlin, Germany  Tel. +49 30 7002 3714

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Table Headers

2006-11-13 Thread Jason Winnebeck

Virtually every single table I make in Trac has a table header that I'd
like to have a certain style (bold). It would be nice if it were
possible to have some syntax in Trac for headers for two reasons:

 * Always typing ||'''Header Text'''|| is cumbersome when you want it on
a whole row
 * We can use CSS in the site's style to style header rows instead of
embedding explicit style at every instance of the table header by hand

Also, on a side note, is it possible to pass parameters to formatting
macros? Because I can achieve the same style effect using a macro like
CSV:

{{{
#!CSV

a,b,c
1,2,3
}}}

But is there a way I can pass options into a macro so that can do things
like style the first row as TH? Or do I need to make a new macro:

{{{
#!CSVHeader

a,b,c
1,2,3
}}}

Jason

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Installation error

2006-11-13 Thread Philipp . Wacker

Hi!

After a installation as in INSTALL with
no shown errors, i try to create a Project.
It's svn-head version from today. I
also tried 10.1.

I get the following error:

~/trac11# trac-admin /home/trac initenv
Traceback (most recent call last):
 File /usr/bin/trac-admin,
line 21, in ?
  from trac.admin.console
import run
 File /usr/lib/python2.3/site-packages/trac/admin/console.py,
line 28, in ?
  from trac import perm,
util, db_default
 File /usr/lib/python2.3/site-packages/trac/perm.py,
line 21, in ?
  from trac.config import
ExtensionOption
 File /usr/lib/python2.3/site-packages/trac/config.py,
line 26, in ?
  from trac.util import
sorted
 File /usr/lib/python2.3/site-packages/trac/util/__init__.py,
line 32, in ?
  from trac.util.html import
escape, unescape, Markup, Deuglifier
 File /usr/lib/python2.3/site-packages/trac/util/html.py,
line 16, in ?
  from genshi.core import
Markup, escape, unescape
ImportError: No module named genshi.core


Linux: trustix 3.0

- How can I create a new project?
- Is my installation corrupt?


Can you give me any hints?

regards, Phil
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/trac-users?hl=en  -~--~~~~--~~--~--~---


[Trac] Re: Remove Severity Field

2006-11-13 Thread debakanta sandha
thank you for keeping contact with me.any way did you try for
trac-mod_python.i think in the trac environment it has to be made
workable such that trac response time will be reduced.is it ?if u have
any suggession reply me.bye.good night.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/trac-users?hl=en  -~--~~~~--~~--~--~---


[Trac] Re: Installation error

2006-11-13 Thread Matt Good

[EMAIL PROTECTED] wrote:
 Hi!

 After a installation as in INSTALL with no shown errors, i try to create a
 Project.
 It's svn-head version from today. I also tried 10.1.

 I get the following error:
 
...snip...
 ImportError: No module named genshi.core
 

The development version of Trac uses Genshi for the HTML templates:
http://genshi.edgewall.org/

Right now I would not recommend using the Trac trunk for a production
environment since there are a lot of new features being worked on that
may not be quite stable yet.  

-- Matt Good


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Table Headers

2006-11-13 Thread Matt Good


Jason Winnebeck wrote:
 Virtually every single table I make in Trac has a table header that I'd
 like to have a certain style (bold). It would be nice if it were
 possible to have some syntax in Trac for headers for two reasons:

  * Always typing ||'''Header Text'''|| is cumbersome when you want it on
 a whole row
  * We can use CSS in the site's style to style header rows instead of
 embedding explicit style at every instance of the table header by hand

Trac also supports reStructuredText which has a more powerful table
syntax you can use:
http://trac.edgewall.org/wiki/WikiRestructuredText#BiggerReSTExample

Be sure to look at the top of that Wiki page to get the required
library before trying to use reStructuredText in Trac.

-- Matt Good


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: borwser view doesn't respond after upgrade from 0.9.6 to 0.10.1

2006-11-13 Thread Emmanuel Blot

 I've just upgrade my trac from 0.9.6 to 0.10.1. I run trac on Fedora +
 Aapche2 + Sqlite. After upgrading all was ok, but I don't get answer
 from server when I request browse source view.

 I didn't forget to resync trac environments.

Double checking common known issues: did you remove all the 0.9 trac
files before upgrading, and did you restart your Apache server after
the upgrade?

-- 
Manu

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] AccountManager plugin -- does it manage accounts for SVN too?

2006-11-13 Thread Jen

We are running Trac 0.10 with Subversion on the Apache HTTP server.

Our users would like to be able to log in to set/re-set their
passwords.  I am the sole owner of the Apache passwd file so I am
currently the only one who can do that.

The Trac AccountManager plugin sounds like a good tool for this purpose
but I haven't found anything that confirms that it simultaneously
manages the account for the Subversion side as well.  The Trac
configuration file does point to the SVN authz file.

So, does the AccountManager plugin manage the account behind both
Subversion and Trac?

Thanks,
Jen


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] trac-admin resync fails with message about duplicate entry

2006-11-13 Thread z00m1n

Hello everyone,

(see also
http://groups.google.com/group/trac-users/browse_thread/thread/2f3bb851921f795b/1f5dbaba4a5655ac?)

I had a little Subversion repository and a little Trac system on my
little WIN32 development machine for demonstration and testing
purposes. Everyone in the company liked it, so they gave me a monster
server machine. I installed FreeBSD, Python, Apache, Subversion, MySQL,
Trac, etc. pp. yadiyadi...

Then I migrated all Subversion repositories and all flat file, zipped
and/or emailed code caches I could find throughout the company. The
resulting repository is substantially larger than my test repo (roughly
10GB on disk after full check-out). I am using MySQL 5.0 as database
backend.

When I try to browse the code in SVN from Trac, it takes some time,
then a message appears:

Python Traceback

Traceback (most recent call last):
  File /usr/local/lib/python2.4/site-packages/trac/web/main.py, line
379, in dispatch_request
dispatcher.dispatch(req)
  File /usr/local/lib/python2.4/site-packages/trac/web/main.py, line
230, in dispatch
resp = chosen_handler.process_request(req)
  File
/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py,
line 131, in process_request
self._render_directory(req, repos, node, rev)
  File
/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/browser.py,
line 156, in _render_directory
changes = get_changes(self.env, repos, [i['rev'] for i in info])
  File
/usr/local/lib/python2.4/site-packages/trac/versioncontrol/web_ui/util.py,
line 37, in get_changes
changeset = repos.get_changeset(rev)
  File
/usr/local/lib/python2.4/site-packages/trac/versioncontrol/cache.py,
line 41, in get_changeset
self.sync()
  File
/usr/local/lib/python2.4/site-packages/trac/versioncontrol/cache.py,
line 107, in sync
(str(current_rev), path, kind, action,
  File /usr/local/lib/python2.4/site-packages/trac/db/util.py, line
47, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
  File /usr/local/lib/python2.4/site-packages/trac/db/util.py, line
47, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
  File /usr/local/lib/python2.4/site-packages/MySQLdb/cursors.py,
line 163, in execute
self.errorhandler(self, exc, value)
  File /usr/local/lib/python2.4/site-packages/MySQLdb/connections.py,
line 35, in defaulterrorhandler
raise errorclass, errorvalue
IntegrityError: (1062, Duplicate entry '820-Development/trunk/...
(some stubified repository path) ...' for key 1)

I tried trac-admin /var/trac/projects resync, but it fails with either

Resyncing repository history...
Command failed: (1062, Duplicate entry '820-Development/trunk/...
(some stubified repository path) ...' for key 1)

or

Resyncing repository history...
Command failed: (1205, 'Lock wait timeout exceeded; try restarting
transaction')

(which I had hoped I had solved - see link above)


In the Trac log, a veeerry long list of
2006-11-14 11:09:21,300 Trac[cache] DEBUG: Caching node change in
[820]: ...
entries is followed by the traceback message shown above.

What can I do ?


TIA,

CU z00m1n


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] multiple projects / one trac install

2006-11-13 Thread William Yardley

I know that it's been discussed a bit in the past; any further progress
on allowing multiple SVN repos with one Trac install? While we have
multiple CVS / SVN repositories for code, everything still relates to
one group of developers, and bugs can be moved across projects.

It seems kind of dumb to have a unique URL for submitting bugs to each
different project.

w


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: email notification

2006-11-13 Thread Emmanuel Blot

 As soon as I submit a bug, I see a log entry like:

 Nov 13 14:43:09 hostname sendmail[8579]: kADMh90A008579: localhost 
 [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA

Which release of Trac are you using?

-- 
Manu

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: email notification

2006-11-13 Thread Emmanuel Blot

 smtp_password =
 smtp_user = [EMAIL PROTECTED]

The above line pair seems a bit weird: you are specifying a user to
authenticate on the MTA, but you do not specify a password. Either
leave smtp_user empty, or specify a password if your MTA require
authenticated connections to relay emails.

As a side note, example.com in the other smtp settings needs to be
customized to match your actual environment.
'example.com', 'example.org' and 'example.net' are not valid domains.

-- 
Manu

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: email notification

2006-11-13 Thread William Yardley


On Mon, Nov 13, 2006 at 11:58:47PM +0100, Emmanuel Blot wrote:
 
  smtp_password =
  smtp_user = [EMAIL PROTECTED]
 
 The above line pair seems a bit weird: you are specifying a user to
 authenticate on the MTA, but you do not specify a password. Either
 leave smtp_user empty, or specify a password if your MTA require
 authenticated connections to relay emails.

Got it. I thought that might also set the envelope-sender address. That
seems to work. Thanks!
 
 As a side note, example.com in the other smtp settings needs to be
 customized to match your actual environment.
 'example.com', 'example.org' and 'example.net' are not valid domains.

Right... I did a s/myactualdomain/example.com/g before I sent the
message. The actual config doesn't have example.com in it.

w

--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Null vs Empty milestone issue

2006-11-13 Thread phraktle

Hi,

There appears to be an issue with how tickets treat milestone values..
Recently in reports (such as {3} All Tickets by Milestone) , my newly
created tickets started showing up under the heading Release rather
than None.

It looks like an empty string is being inserted in the database TICKET
table as the milestone value, instead of the NULL it should be.


Here's a query from the database showing the issue (note first and last
rows):

select '['||milestone||']' as milestone, count(*) from ticket group by
milestone order by milestone;
 milestone | count
---+---
 []| 7
 [Beta1.0] |25
 [Beta1.1] |19
 [Beta1.2] |14
 [Beta1.3] |16
 [Beta1.4] |11
 [Beta1.5] |15
 [Beta1.6] |10
 [Beta1.7] |13
 [Beta1.8] |12
   |95
(11 rows)

I'm using PostgreSQL 8.1.4.  I can fix the data with the following:
UPDATE TICKET SET MILESTONE=NULL WHERE MILESTONE='';

What broke, so that it started doing this? How can I resolve this
permanently?

I suggest there should be foreign key constraints to prevent such
issues from occurring. For example:

  ALTER TABLE ticket ADD FOREIGN KEY (milestone) REFERENCES
milestone(name);

After adding the constraint, creating new tickets fails (as it should):

OperationalError: ERROR:  insert or update on table ticket violates
foreign key constraint ticket_milestone_fkey
DETAIL:  Key (milestone)=() is not present in table milestone.


Please help resolving this.

Thanks,
  Viktor


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: trac-admin resync fails with message about duplicate entry

2006-11-13 Thread z00m1n

I tried rebuilding the Trac / SVN sync cache by clearing the
node_change column in the MySQL trac database directly:

shell mysql -u root -p
Enter password:
mysql DELETE FROM db_trac.node_change;
ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting
transaction

So I restarted MySQL and observed a number of these messages in the
MySQL log:
061114 10:50:51 [Warning] /usr/local/libexec/mysqld: Forcing close of
thread 63  user: 'trac_user'
(obviously Trac accesses the MySQL database as user trac_user)

Then I got

mysql DELETE FROM db_trac.node_change;
Query OK, 3435 rows affected (0.19 sec)

Unfortunately, trac-admin /var/trac/projects resync still fails with

Resyncing repository history...
Command failed: (1062, Duplicate entry '820-Development/trunk/...
(some stubified repository path) ...' for key 1)

I tried removing the path from the repositorym but that of course
doesn't help either...

What can I do ?


TIA,

CU z00m1n


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] RE: RE: trac-admin resync fails with message about duplicate entry

2006-11-13 Thread z00m1n

I created /var/db/mysql/data-dir/my.cnf with this contents
[mysqld]
innodb_lock_wait_timeout = 300
to increase the lock wait timeout to 5 minutes.

This prevents the first flavor of the problem, but still doesn't help
me with the duplicate entry issue:

Resyncing repository history...
Command failed: (1062, Duplicate entry '820-Development/trunk/...
(some stubified repository path) ...' for key 1)

In order for me to make at least _some_ progress with this, could
someone please shed some light on what is actually mapped here ? I
understand 820 is the Subversion changelist number, so how can this be
key 1 ? And why is the repo path stubified ? Is this just in the error
message or are paths really not stored in their full length ? That
would possibly explain why there is a duplicate entry, but I have a
hard time believing that the database scheme was designed that
short-sighted.

I know 0.10.2 was just released yesterday and everyone is probably
really busy updating, but I could really use some help here, because
otherwise Trac will look to my company like something that might work
for small test systems, but is not mature enough for production
environments.


TIA,

CU z00m1n


--~--~-~--~~~---~--~~
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---