Modify

Opened 10 years ago

Closed 10 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 10 years ago by Ryan J Ollos

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

comment:2 Changed 10 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 10 years ago by Ryan J Ollos

In 13934:

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

comment:4 Changed 10 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/main.py", line 506, in _dispatch_request
  dispatcher.dispatch(req)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/web/main.py", line 221, in dispatch
  resp = chosen_handler.process_request(req)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/web_ui.py", line 180, in process_request
  return self._process_newticket_request(req)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/web_ui.py", line 465, in _process_newticket_request
  self._do_create(req, ticket) # (redirected if successful)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/web_ui.py", line 1296, in _do_create
  ticket.insert()
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/ticket/model.py", line 256, in insert
  listener.ticket_created(self)
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/image.py", line 101, in ticket_created
  self.attach(ticket, image)
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/image.py", line 174, in attach
  attachment.insert(filename, image.file, size)
File "/home/user/Workspace/th11754/teo-rjollos.git/trac/attachment.py", line 341, in insert
  listener.attachment_added(self)
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/image.py", line 157, in attachment_added
  self.create_sizes(ticket, attachment)
File "/home/user/Workspace/trachacks.git/imagetracplugin/0.11/imagetrac/image.py", 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/__init__.py", line 53, in crop_resize
  return image.resize(size, Image.ANTIALIAS)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 1318, in resize
  self.load()
File "/usr/lib/python2.7/dist-packages/PIL/ImageFile.py", line 192, in load
  d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/usr/lib/python2.7/dist-packages/PIL/Image.py", line 381, in _getdecoder
  raise IOError("decoder %s not available" % decoder_name)

comment:5 Changed 10 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
Action
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.