Edgewall Software

Ticket #4879 (closed defect: duplicate)

Opened 23 months ago

Last modified 23 months ago

UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10: unexpected end of data

Reported by: evan.watson@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.3
Severity: normal Keywords: UnicodeDecodeError mysql
Cc:

Description (last modified by cboos) (diff)

We receive this error on daily basis, to resolve we must stop and restart the apache server.

Windows 2003 Server Apache 2.0.55 Python 2.4 MySql? 5.0.11

Python Traceback

Traceback (most recent call last):
  File "E:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "E:\Program Files\Python24\Lib\site-packages\trac\web\main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "E:\Program Files\Python24\Lib\site-packages\trac\ticket\query.py", line 390, in process_request
    constraints = self._get_constraints(req)
  File "E:\Program Files\Python24\Lib\site-packages\trac\ticket\query.py", line 450, in _get_constraints
    ticket_fields = [f['name'] for f in
  File "E:\Program Files\Python24\Lib\site-packages\trac\ticket\api.py", line 104, in get_ticket_fields
    for username, name, email in self.env.get_known_users(db):
  File "E:\Program Files\Python24\Lib\site-packages\trac\env.py", line 285, in get_known_users
    cursor.execute("SELECT DISTINCT s.sid, n.value, e.value "
  File "E:\Program Files\Python24\Lib\site-packages\trac\db\util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "E:\Program Files\Python24\Lib\site-packages\trac\db\util.py", line 51, in execute
    return self.cursor.execute(sql)
  File "E:\Program Files\Python24\Lib\site-packages\MySQLdb\cursors.py", line 163, in execute
    self.errorhandler(self, exc, value)
  File "E:\Program Files\Python24\Lib\site-packages\MySQLdb\connections.py", line 35, in defaulterrorhandler
    raise errorclass, errorvalue
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10: unexpected end of data

Attachments

Change History

Changed 23 months ago by cboos

  • keywords mysql added
  • status changed from new to closed
  • resolution set to duplicate
  • description modified (diff)

Looks like you're not the only one... see #3723.

Add/Change #4879 (UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10: unexpected end of data)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.