Opened 19 years ago
Closed 19 years ago
#668 closed defect (fixed)
screenshots plugin does not work after installation
| Reported by: | clive | Owned by: | Radek Bartoň |
|---|---|---|---|
| Priority: | high | Component: | ScreenshotsPlugin |
| Severity: | critical | Keywords: | |
| Cc: | Trac Release: | 0.9 |
Description
I created an egg from the source and installed that egg ( 25516 Aug 30 23:55 TracScreenshots-0.4-py2.4.egg ).
I then followed the installation instructions and when I click on the "screenshots" tab at the top right, I get a trac Oops page with the content:
Python traceback
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.freebsd-5.3-RELEASE-i386/egg/tracscreenshots/core.py", line 87, in process_request
IndexError: list index out of range
( see this error live here: http://www.darkarts.co.za/projects/rupov/screenshots/ )
Attachments (0)
Change History (3)
comment:1 Changed 19 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 19 years ago by
Yes, it's a very new project. No components, no versions, no milestones. all clean and clear.
Thanks for responding so quickly.
comment:3 Changed 19 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
I've commited changeset 1210. There is error message printed when no component or version is defined. Support for screenshots wihout component or version assigned would be more complicated to do it now and I don't think that there is need to do that unless you need it.



Oh, you don't have any components in your trac and I didn't take care of this state. I'll fix it right now.