Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#4065 closed defect (fixed)

Error with MySQL on Manage Severities

Reported by: martynas@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.10
Component: general Version: 0.10b1
Severity: major Keywords: mysql
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

I trying to create new severity, but I got an error. I am using Trac 0.10b1 on WinXP SP2, With MySQL 4.1.18.


Python Traceback
Traceback (most recent call last):
  File "d:\server\python\lib\site-packages\trac-0.10b1-py2.4.egg\trac\web\main.py", line 335, in dispatch_request
    dispatcher.dispatch(req)
  File "d:\server\python\lib\site-packages\trac-0.10b1-py2.4.egg\trac\web\main.py", line 220, in dispatch
    resp = chosen_handler.process_request(req)
  File "d:\server\python\lib\site-packages\tracwebadmin-0.1.2dev_r3772-py2.4.egg\webadmin\web_ui.py", line 109, in process_request
  File "d:\server\python\lib\site-packages\tracwebadmin-0.1.2dev_r3772-py2.4.egg\webadmin\ticket.py", line 327, in process_admin_request
  File "d:\server\python\lib\site-packages\trac-0.10b1-py2.4.egg\trac\ticket\model.py", line 377, in insert
    (self.type,))
  File "d:\server\python\lib\site-packages\trac-0.10b1-py2.4.egg\trac\db\util.py", line 47, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "d:\server\python\lib\site-packages\trac-0.10b1-py2.4.egg\trac\db\util.py", line 47, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "D:\Server\Python\Lib\site-packages\MySQLdb\cursors.py", line 163, in execute
    self.errorhandler(self, exc, value)
  File "D:\Server\Python\Lib\site-packages\MySQLdb\connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int)),0) FROM enum WHERE type='severity'' at line 1")

Attachments (0)

Change History (3)

comment:1 by Christian Boos, 18 years ago

Description: modified (diff)

comment:2 by Matthew Good, 18 years ago

Milestone: 0.10.40.10
Resolution: fixed
Status: newclosed

This was already fixed for 0.10 in r3716.

Before reporting bugs on a beta version please check for new releases of the software.

comment:3 by Matthew Good, 18 years ago

Component: webadmingeneral
Keywords: webadmin 0.10b1 Severities removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.