trac pre 0.11.4 incompatible with python 2.6

Bug #369792 reported by Oscar Fuentes
96
This bug affects 12 people
Affects Status Importance Assigned to Milestone
The Trac Project
Fix Released
Unknown
trac (Debian)
Fix Released
Unknown
trac (Ubuntu)
Fix Released
Low
Unassigned
Nominated for Jaunty by Joe Slag

Bug Description

Binary package hint: trac

Ubuntu 9.04

Trac 0.11.1 is incompatible with python 2.6. Only the latest trac version (0.11.4) is compatible with python 2.6.

One of the problems with trac 0.11.1 and python 2.6 is that adding attachments to tickets doesn't work.

See this discussion on trac's mailing list for reference:

http://groups.google.com/group/trac-users/browse_thread/thread/99ee520e6e2b6939?hl=en#

Revision history for this message
Peter (petru-severin) wrote :

There is also a problem with closing milestones. It doesn't work. Trying to close a milestone just does nothing.

Revision history for this message
Graham Poulter (grahampo) wrote :

I can confirm this issue. Adding attachments fails silently - nothing in the logs.

Please add trac-0.11.4 to jaunty-updates.

Revision history for this message
Chris Phillips (chphilli) wrote :

I'm having an issue editing the description of a milestone (the change is just lost) that I suspect is related to this issue. Can anyone confirm this behavior?

Revision history for this message
vinicius.vbf (vinicius-vbf) wrote :

Chris, this is exaclty one of the symptoms. Welcome :)

Revision history for this message
Hugues Pisapia (hugues-labarben) wrote :

Any ETA for a fix/upgrade?

Changed in trac (Debian):
status: Unknown → New
Changed in trac (Ubuntu):
status: New → Confirmed
Changed in trac:
status: Unknown → Fix Released
Revision history for this message
vinicius.vbf (vinicius-vbf) wrote :

This is the most unexciting thing about free software: there are no ETAs.
This is the most exciting thing about free software: you can fix it by yourself (yeah, I know, you didn't broke it, but who cares?).
If you don't know how to fix it by yourself you can stay here pressing F5 until a good mood soul fix it for you.
The bug is confirmed... great... so what? I'm not a paying customer... I can't complain... we just have to live with it :)

Revision history for this message
Craig (candrews-integralblue) wrote :

@vinicius.vbf be nice... I don't think Hugues Pisapia meant anything other than asking if there was an ETA.

The latest version is now 11.5. I checked out the packaging, and it seems unusually complicated, but I may take a closer look at some point this week.

Revision history for this message
vinicius.vbf (vinicius-vbf) wrote :

Sorry. I didn't mean to offend anyone...

Changed in trac (Debian):
status: New → Fix Released
status: Fix Released → New
Revision history for this message
Doug Stanley (doug-stanley) wrote :

The debian package from sid builds fine on jaunty with only one minor modification to the debian/rules file.
I can also verify that the debian sid package (11.5-2) fixes the issues with uploading attachments to the wiki.

I'm new to packaging in ubuntu. Does anyone have a PPA for trac already set up? If not, I can attempt to read the instructions and create one and upload the modified debian packages. If some one already has a PPA, I can submit a patch to the debian sid source pacakge.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

0.11.5 is already in Karmic

Changed in trac (Ubuntu):
importance: Undecided → Low
status: Confirmed → Fix Released
Revision history for this message
vinicius.vbf (vinicius-vbf) wrote :

Chris, this is great! But is there a way to fix this in the current stable version (aka Jaunty)?

Changed in trac (Debian):
status: New → Fix Released
Revision history for this message
Doug Stanley (doug-stanley) wrote :

The "fix" seems to be use a newer version of trac, so I doubt it will get fixed in jaunty, unless some one backports the python 2.6 specific fixes from the latest version of trac. I can confirm though, that you can simply build the karmic package from source on jaunty and run that.

A more likely solution, is that the version from karmic will make it's way to jaunty-backports, and you can install it from there.

Anyone know if there are plans to put karmic's version in jaunty-backports?

Revision history for this message
vinicius.vbf (vinicius-vbf) wrote :

OK! Thanks Doug! Installing the Karmic version worked like a charm. But an available fix through "apt-get update" would give to Ubuntu that "professional" touch, you know? I mean: "look, this was a bug, we fixed it and now you can download the updated package automagically!". Is there a Canonical team which is responsible for fixing this kind of issue or is this all done by the community?

Revision history for this message
c_t (chefturner) wrote :

Vinicius, just go to http://packages.ubuntu.com/karmic/trac and scroll all the way down. There you'll find a download link for the karmic package which you can download and install via

sudo dpkg -i trac_0.11.5-2ubuntu1_all.deb

This will install the new package the ubuntu-way and in case any updates will be released later on (after you've upgraded your system to karmic), apt-get update will do them for you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.