Unable to install TracForge

0 views
Skip to first unread message

jaanu

unread,
Jul 4, 2008, 6:08:52 AM7/4/08
to Trac Users
Hi,

I'm using Trac 0.11rc2. when i try to install TracForge, test.py is
throwing the below error...

Traceback (most recent call last):
File "test.py", line 3, in ?
if os.environ['TRAC_VERSION'] in ('trunk', 'renderfilter'):
File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: 'TRAC_VERSION'

Pease suggest what is cauing the error.

Thanks in advance,
Niranjan

Noah Kantrowitz

unread,
Jul 4, 2008, 9:55:42 AM7/4/08
to trac-...@googlegroups.com
On Jul 4, 2008, at 6:08 AM, jaanu wrote:

>
> Hi,
>
> I'm using Trac 0.11rc2. when i try to install TracForge, test.py is
> throwing the below error...
>
> Traceback (most recent call last):
> File "test.py", line 3, in ?
> if os.environ['TRAC_VERSION'] in ('trunk', 'renderfilter'):
> File "/usr/lib/python2.4/UserDict.py", line 17, in __getitem__
> def __getitem__(self, key): return self.data[key]
> KeyError: 'TRAC_VERSION'

test.py is a test script I use personally. TracForge for 0.11 is not
yet released, and you will see that setup.py blocks you from
installing it.

--Noah

jaanu

unread,
Jul 15, 2008, 8:43:25 AM7/15/08
to Trac Users
Hi,

BUt Trac documentation says Tracforge does support 0.11dev version.
I'm actually trying to implement "Cross-project ticket queries" for
which Tracforge has to be installed. For your reference am attaching
the link with this email.

http://trac.edgewall.org/wiki/TracMultipleProjects/ComprehensiveSolution

Please help.
Thanks for all your support.

Niranjan

Noah Kantrowitz

unread,
Jul 15, 2008, 12:56:46 PM7/15/08
to trac-...@googlegroups.com
jaanu wrote:
> Hi,
>
> BUt Trac documentation says Tracforge does support 0.11dev version.
> I'm actually trying to implement "Cross-project ticket queries" for
> which Tracforge has to be installed. For your reference am attaching
> the link with this email.
>
> http://trac.edgewall.org/wiki/TracMultipleProjects/ComprehensiveSolution

That guide refers only to David's personal branch of TracForge, which it
links to:
http://trac-hacks.org/svn/tracforgeplugin/branches/bewst/0.11-clearsilver/ .

--Noah

signature.asc

hansi.hinterseer

unread,
Jul 15, 2008, 6:13:05 PM7/15/08
to Trac Users
Try http://redmine.org. No hassle, quick response, all features which
are necessary.

Hansi.

Noah Kantrowitz

unread,
Jul 16, 2008, 4:00:50 AM7/16/08
to trac-...@googlegroups.com
hansi.hinterseer wrote:
> Try http://redmine.org. No hassle, quick response, all features which
> are necessary.

There has already been a long thread about the virtues of Trac vs.
Redmine. Please do not attempt to continue this elsewhere or it will
assumed you are trolling. If you have actual issues you would like to
raise, please do so on the trac-dev list.

--Noah

signature.asc

jaanu

unread,
Jul 17, 2008, 6:27:28 AM7/17/08
to Trac Users
Thanks Noah.

I'm experience another problem. After i install Tracforge and if i
create a ticket in Master environmnet i was able to create. But when i
modify the ticket and update i'm getting the following error.

Oops…
Trac detected an internal error:

Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 406,
in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 237,
in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line
290, in process_request
self._do_save(req, db, ticket)
File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line
558, in _do_save
cnum=internal_cnum):
File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line
262, in save_changes
listener.ticket_changed(self, comment, author, old_values)
File "/usr/lib/python2.4/site-packages/TracForge-1.1-py2.4.egg/
tracforge/subscriptions/ticket.py", line 125, in ticket_changed
if ticket['tracforge_linkmap']:
File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line
104, in __getitem__
return self.values[name]
KeyError: 'tracforge_linkmap'

I've tested this on Trac 0.10.4 with SQLite and Trac 0.10.5 with
PostgreSQL. The behaviour is same on both the cases.

Please suggest.

Thanks,
Niranjan.

On Jul 16, 1:00 pm, Noah Kantrowitz <n...@coderanger.net> wrote:
> hansi.hinterseer wrote:
> > Tryhttp://redmine.org. No hassle, quick response, all features which
>  signature.asc
> 1KDownload

Noah Kantrowitz

unread,
Jul 17, 2008, 11:22:46 AM7/17/08
to trac-...@googlegroups.com

The subscription system is flaky at best, I would leave it disabled. It
has already been removed in the 0.11 branch.

--Noah

signature.asc
Reply all
Reply to author
Forward
0 new messages