Modify

Opened 18 years ago

Closed 18 years ago

#536 closed defect (fixed)

Showing the screenshot

Reported by: anonymous Owned by: Radek Bartoň
Priority: normal Component: ScreenshotsPlugin
Severity: normal Keywords:
Cc: jgodoy@… Trac Release: 0.9

Description

After installing the component, upgrading, etc. I've added a test screenshot to see how it works. Just after the insertion, there's no "preview" and if I click on the red rectangle I get the following error page:

Oops...
Trac detected an internal error:

content_type must be a string

If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.

Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below.

TracGuide — The Trac User and Administration Guide
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.linux-i686/egg/tracscreenshots/core.py", line 86, in process_request
  File "/usr/local/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 120, in send_file
    self.req.content_type = mimetype
TypeError: content_type must be a string

Any hints on what I might be missing? This is with screenshotsplugin-r1059.zip installed.

Attachments (0)

Change History (2)

comment:1 Changed 18 years ago by Radek Bartoň

Status: newassigned

Oops. I forgot mention that imagemagick tools is needed for generating previews. I'll fix it right now.

comment:2 Changed 18 years ago by Radek Bartoň

Resolution: fixed
Status: assignedclosed

Description page fixed.

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.