Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8084 closed enhancement (invalid)

OperationalError: (1170, "BLOB/TEXT column 'date' used in key specification without a key length")

Reported by: waka@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.2
Severity: normal Keywords: MySQL?
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /admin/ganttcalendar/holiday, Trac issued an internal error.

(please provide additional details here) package is localized as japanese version 0.11.2,

Request parameters:

{'__FORM_TOKEN': u'94d19862eb4d4c9795a79c0c',
 'cat_id': u'ganttcalendar',
 'create_table': u'\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3057\u3001\u3044\u304f\u3064\u304b\u306e\u795d\u65e5\u3092\u8a2d\u5b9a\u3057\u307e\u3059',
 'panel_id': u'holiday',
 'path_info': None}

User Agent was: Mozilla/5.0 (X11; U; Linux x86_64; ja; rv:1.9.0.6) Gecko/2009020410 Fedora/3.0.6-1.fc10 Firefox/3.0.6

System Information

Trac 0.11.2.1.ja1
Python 2.4.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
setuptools 0.6c7
MySQL server: "5.0.45", client: "5.0.45", thread-safe: 0
MySQLdb 1.2.1
Genshi 0.5.1
mod_python 3.2.8
Mercurial 1.0
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1.ja1-py2.4.egg/trac/web/main.py", line 432, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1.ja1-py2.4.egg/trac/web/main.py", line 204, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1.ja1-py2.4.egg/trac/admin/web_ui.py", line 113, in process_request
    path_info)
  File "build/bdist.linux-i686/egg/ganttcalendar/admin.py", line 57, in render_admin_panel
  File "/usr/lib/python2.4/site-packages/Trac-0.11.2.1.ja1-py2.4.egg/trac/db/util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 163, in execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1170, "BLOB/TEXT column 'date' used in key specification without a key length")

Attachments (0)

Change History (1)

comment:1 by Emmanuel Blot, 16 years ago

Milestone: 0.11.4
Resolution: invalid
Status: newclosed

This error is due to the Gantt plugin. Please report the error to the plugin maintainer

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.