Modify

Opened 8 years ago

Closed 8 years ago

#536 closed defect (fixed)

Showing the screenshot

Reported by: anonymous Owned by: Blackhex
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 8 years ago by Blackhex

  • Status changed from new to assigned

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

comment:2 Changed 8 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from assigned to closed

Description page fixed.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.