Here's the associated error output from the log file:

Trac[main] ERROR: 'utf8' codec can't decode byte 0x80 in position 22:
unexpected code byte Traceback (most recent call last):   File
"/usr/lib/python2.3/site-packages/trac/web/main.py", line 406, 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/trac/ticket/web_ui.py", line 313, in
process_request     get_reporter_id(req, 'author'))   File
"/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 630, in
_insert_ticket_data     for change in
self.grouped_changelog_entries(ticket, db):   File
"/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 677, in
grouped_changelog_entries     changelog =
ticket.get_changelog(when=when, db=db)   File
"/usr/lib/python2.3/site-packages/trac/ticket/model.py", line 298, in
get_changelog     for t, author, field, oldvalue, newvalue, permanent in
cursor:   File "/usr/lib/python2.3/site-packa 


Shelly Fangman
EMSL High Performance Computing and Networking Services (HPCaNS)
Battelle (Pacific Northwest National Laboratories)
[EMAIL PROTECTED]

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Fangman, Patricia M (Shelly)
Sent: Tuesday, July 17, 2007 1:02 PM
To: [email protected]
Subject: [Trac] Re: UnicodeDecodeError: 'utf8' codec can't decode byte


Thanks for the reply.  The problem you reference is in the subversion
stuff and the fix doesn't apply here.  I tried that earlier. 

Any other ideas? 


Shelly Fangman
EMSL High Performance Computing and Networking Services (HPCaNS)
Battelle (Pacific Northwest National Laboratories) [EMAIL PROTECTED]

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Eli Carter
Sent: Tuesday, July 17, 2007 11:30 AM
To: [email protected]
Subject: [Trac] Re: UnicodeDecodeError: 'utf8' codec can't decode byte


On Tuesday 17 July 2007, Fangman, Patricia M (Shelly) wrote:
> I'm running Trac on RHEL 4 update 5.  I'm have Trac 0.10.4, subversion

> 1.4.3, python 2.3 and postgresql 8.2.4.  The database was converted 
> from another Trac server (they used SQLite).  When accessing certain 
> tickets or performing a search, we get the error you see below.  Any 
> idea how to start debugging this issue?
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 406, 
> 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/trac/ticket/web_ui.py", line 
> 313, in process_request
>     get_reporter_id(req, 'author'))
>   File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 
> 630, in _insert_ticket_data
>     for change in self.grouped_changelog_entries(ticket, db):
>   File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 
> 677, in grouped_changelog_entries
>     changelog = ticket.get_changelog(when=when, db=db)
>   File "/usr/lib/python2.3/site-packages/trac/ticket/model.py", line 
> 298, in get_changelog
>     for t, author, field, oldvalue, newvalue, permanent in cursor:
>   File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 40, in

> __iter__
>     row = self.cursor.fetchone()
> UnicodeDecodeError: 'utf8' codec can't decode byte 0x80 in position
22:
> unexpected code byte

A similar problem was fixed on trunk... 
http://trac.edgewall.org/changeset/5683

I don't think that was ported to the 0.10.x branch, and I don't know if
it will fix the problem you are seeing.  If you try that change, you'll
need to also try a trac-admin resync.

HTH,

Eli



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to