Modify

Opened 18 years ago

Closed 18 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 18 years ago by Radek Bartoň

Status: newassigned

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.

comment:2 Changed 18 years ago by clive

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 18 years ago by Radek Bartoň

Resolution: fixed
Status: assignedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.