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 )
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
Description: | modified (diff) |
---|---|
Owner: | changed from Jeff Hammel to Ryan J Ollos |
Status: | new → accepted |
comment:2 Changed 10 years ago by
comment:4 Changed 10 years ago by
It installs now, but there is another problem:
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
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
It looks like it's probably an installation issue: SO:9073732. Let me know if you have trouble getting it working.
Note: See
TracTickets for help on using
tickets.
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?