Opened 7 years ago

Closed 7 years ago

#11754 closed defect (fixed)

Unable to install

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: ImageTracPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by Ryan J Ollos)

Ubuntu 14.04, Trac 1.0.1. Plugin installed from svn with no problem, upon enabling the plugin it appears to enable, however running trac-admin <environment> upgrade results in error:

  Error: AttributeError:

(and nothing else).

Creating a ticket subsequently results in error:

  OperationalError: no such table: default_image

Any clues on how I get this working...?

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Jeff Hammel to Ryan J Ollos
Status: newaccepted

comment:2 Changed 7 years ago by Ryan J Ollos

It is probably due to the method of checking for table existence. We've seen similar problems surface in Trac 1.0 and later.

What plugins do you have installed, and what are their versions? This information about be found on the /about page.

What database backend are you using?

comment:3 Changed 7 years ago by Ryan J Ollos

In 13934:

Fixed checking for table existence in Trac 1.0 and later. Refs #11754.

comment:4 Changed 7 years ago by Ryan J Ollos

It installs now, but there is another problem:

Trac detected an internal error:
IOError: decoder zip not available
  Most recent call last:
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/web/", line 506, in _dispatch_request
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/web/", line 221, in dispatch
  resp = chosen_handler.process_request(req)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/", line 180, in process_request
  return self._process_newticket_request(req)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/", line 465, in _process_newticket_request
  self._do_create(req, ticket) # (redirected if successful)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/", line 1296, in _do_create
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/", line 256, in insert
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/", line 101, in ticket_created
  self.attach(ticket, image)
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/", line 174, in attach
  attachment.insert(filename, image.file, size)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/", line 341, in insert
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/", line 157, in attachment_added
  self.create_sizes(ticket, attachment)
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/", line 194, in create_sizes
  i = crop_resize(image, size)
File "/home/user/Workspace/th11754/py2.7/local/lib/python2.7/site-packages/cropresize-0.1.6-py2.7.egg/cropresize/", line 53, in crop_resize
  return image.resize(size, Image.ANTIALIAS)
File "/usr/lib/python2.7/dist-packages/PIL/", line 1318, in resize
File "/usr/lib/python2.7/dist-packages/PIL/", line 192, in load
  d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/usr/lib/python2.7/dist-packages/PIL/", line 381, in _getdecoder
  raise IOError("decoder %s not available" % decoder_name)

comment:5 Changed 7 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

It looks like it's probably an installation issue: SO:9073732. Let me know if you have trouble getting it working.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
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.