Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#4962 closed defect (duplicate)

Hi I tried to add some text for group 6, It didn't work ?!

Reported by: LuetolfSandy Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 387, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/TracTags-0.4-py2.3.egg/tractags/web_ui.py", line 64, in process_request
    result = WikiModule.process_request(self, req)
  File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 113, in process_request
    self._do_save(req, db, page)
  File "/usr/lib/python2.3/site-packages/TracTags-0.4-py2.3.egg/tractags/web_ui.py", line 38, in _do_save
    return WikiModule._do_save(self, req, db, page)
  File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 239, in _do_save
    req.remote_addr)
  File "/usr/lib/python2.3/site-packages/trac/wiki/model.py", line 126, in save
    "%s,%s)", (self.name, self.version + 1, t, author,
  File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "/usr/lib/python2.3/site-packages/MySQLdb/cursors.py", line 148, in execute
    query = query % db.literal(args)
  File "/usr/lib/python2.3/site-packages/MySQLdb/connections.py", line 232, in literal
    return self.escape(o, self.encoders)
  File "/usr/lib/python2.3/site-packages/MySQLdb/connections.py", line 179, in unicode_literal
    return db.literal(u.encode(unicode_literal.charset))
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2019' in position 2113: ordinal not in range(256)

Attachments (0)

Change History (2)

comment:1 by hyugaricdeau@…, 17 years ago

Resolution: duplicate
Status: newclosed

It might be a little more helpful if gave more of an explanation of the problem than a traceback.

Regardless, this is a dupe of #3723

comment:2 by Christian Boos, 17 years ago

Description: modified (diff)

Well, it's not necessarily a dupe of #3723, as it involves the Tags plugin at some unspecified version, so it might be a generic unicode error at that level… but other than that, yes, it's better to focus on #3723 for unicode related issues using MySQL.

Modify Ticket

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