Opened 18 years ago
Closed 4 years ago
#1368 closed defect (wontfix)
'Fragment' object has no attribute 'replace' error
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | SimileTimelinePlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
I am using Trac V0.10 and the current timeline plugin from this site with no changes (even left the hard coded date alone)
The traceback is: Traceback (most recent call last): File "C:\Python24\Lib\site-packages\trac\web\main.py", line 356, in dispatch_request dispatcher.dispatch(req) File "C:\Python24\Lib\site-packages\trac\web\main.py", line 224, in dispatch resp = chosen_handler.process_request(req) File "build\bdist.win32\egg\stimeline\web_ui.py", line 105, in process_request AttributeError: 'Fragment' object has no attribute 'replace'
I get this error when the 'changeset_show_files' option is set to anything other than 0. I am setting this through the admin module's timline section.
Setting this to 0 produces a valid timeline
Attachments (0)
Change History (8)
comment:1 follow-up: 2 Changed 18 years ago by
comment:2 Changed 18 years ago by
Replying to fox_ntnkcf@trashmail.net:
- when i set [timeline].changeset_show_files = 0 the timeline showed up but there was no data / empty dataset :(
never mind - i didn't realize it had some wack start date - scrolled all the way back to present and saw some data ...
comment:3 Changed 18 years ago by
You can fix the date problem by editing similie.js and removing the two instances of hard coded dates. This will make the timeline default to 'today' and you can scroll around like normal
comment:4 follow-up: 5 Changed 18 years ago by
I forgot to add that you need to rebuild the .egg file and copy it into the plugin directory to get it to work
comment:5 Changed 18 years ago by
Replying to anonymous:
I forgot to add that you need to rebuild the .egg file and copy it into the plugin directory to get it to work
Thanks for the help! I ended up doing as you said and it worked and I was also able to change the html template's style along the way. I learned a bit more about eggs and so forth and have a working fancy timeline :)
thanks again
comment:7 Changed 10 years ago by
Owner: | Noah Kantrowitz deleted |
---|
'Fragment' object has no attribute 'replace'
)