Opened 15 years ago
Closed 14 years ago
#6989 closed defect (fixed)
UndefinedError: "interval_hrefs" not defined
Reported by: | Owned by: | Malcolm Studd | |
---|---|---|---|
Priority: | normal | Component: | ExtendedVersionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
After installing the ExtendedVersionPlugin on trac 0.11.1, I get the error message UndefinedError: "interval_hrefs" not defined
when I click on a specific version name on the versions roadmap or the normal roadmap page.
This happens after
- installing the plugin
- upgrading the environment
- creating a new version
- assigning some milestones (one or more) to this new version
I installed the plugin in the usual way for a single trac instance by creating an egg and dropping it in the plugins directory.
More detailed error information:
Python Traceback Most recent call last: * File "/usr/lib/python2.5/site-packages/trac/templates/macros.html", line 232, in <Expression u'interval_hrefs[idx]'>
trac.ini contains the following information:
[extended_version] navigation_item = version roadmap_navigation = true
System information included below:
User Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.9) Gecko/20100402 Ubuntu/9.10 (karmic) Firefox/3.5.9 Trac: 0.11.1 Python: 2.5.2 (r252:60911, Jan 24 2010, 18:02:01) [GCC 4.3.2] setuptools: 0.6c8 SQLite: 3.5.9 pysqlite: 2.4.1 Genshi: 0.5.1 mod_python: 3.3.1 Pygments: 0.10 Subversion: 1.5.1 (r32289) jQuery: 1.2.6
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Ok, I'll try to update trac to 0.11.5 or above and see if the problem persists. Maybe it's just an out-dated trac installation.
comment:3 follow-up: 4 Changed 14 years ago by
kochhe,
did upgrading to 0.11.5 or above fix your problem? i'm also running 0.11.1 and seeing this problem, but my vendor doesn't have anything newer, so i'm hesitant to upgrade.
comment:4 follow-up: 5 Changed 14 years ago by
Replying to diz:
kochhe,
did upgrading to 0.11.5 or above fix your problem? i'm also running 0.11.1 and seeing this problem, but my vendor doesn't have anything newer, so i'm hesitant to upgrade.
Same situation here - 0.11.1 officially supported by vendor and upgrading to something newer but usupported is difficult because of the company's security policy.
comment:5 Changed 14 years ago by
Replying to kochhe@bifab.de:
Replying to diz:
kochhe,
did upgrading to 0.11.5 or above fix your problem? i'm also running 0.11.1 and seeing this problem, but my vendor doesn't have anything newer, so i'm hesitant to upgrade.
Same situation here - 0.11.1 officially supported by vendor and upgrading to something newer but usupported is difficult because of the company's security policy.
Moving to 0.11.7 solved the problem.
comment:6 Changed 14 years ago by
There is no interval_hrefs
defined in version.py:_render_view
, they are only defined for milestone, not for versions.
In 0.11.1, the progress_bar macro requires a interval_href, not in latter 0.11: http://trac.edgewall.org/changeset/7602/branches/0.11-stable/trac/templates/macros.html
Changed 14 years ago by
Attachment: | extendedversionplugin-0.11-t6989.diff added |
---|
providing an interval_hrefs
comment:7 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Applied patch from schodet. Still works for me with 0.11.7, and should for those with earlier 0.11 releases.
That's odd.
Can you provide a complete stack trace?
I can't find any reason why the intervals wouldn't be defined. I know this works in later versions of Trac (at least 0.11.5 and 0.11.6). Can you update Trac?