Edgewall Software

Changes between Initial Version and Version 1 of Ticket #10290


Ignore:
Timestamp:
Jul 29, 2011, 9:48:09 AM (13 years ago)
Author:
Christian Boos
Comment:

I don't know which version you got from apt-get trac-mercurial, but please rather use the latest from the repository (source:plugins/0.12/mercurial-plugin). Quite a number of unicode related issues have been fixed lately. Oh, and I see you're still running Trac 0.11 - you may want to upgrade this to 0.12, as the unicode fixes have not been backported to the 0.11 branch of the plugin (which like Trac 0.11 itself is no longer maintained).

See also:

#7160
Problems with character encoding
#7217
Non-ASCII characters get replaced with '?' in changeset metadata
#7694
[hg] Unicode characters fail to print in commit messages
#7799
listing files with utf8 filenames raises UnicodeDecodeError with certain characters
#8180
Bad encoding in mercurial plugin
#8538
support non-ascii filenames in mercurial vcs backend
#9631
UnicodeDecodeError when file names in Mercurial repo use multi encoding
#9724
TracMercurial passes unicode key to the mercurial package
#9970
mercurial-plugin filecontent unicode problem?
#10131
Unreadable commit messages in russian (hg repo)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10290

    • Property Status newclosed
    • Property Resolutionworksforme
  • Ticket #10290 – Description

    initial v1  
    33Recently I commit a change in hg and when I want to see in trac, I received the following error:
    44
    5 ==in trac web:==
     5== in trac web: ==
     6{{{
    67Oops…
    78Trac detected an internal error:
    89
    910UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 27: ordinal not in range(128)
    10 
     11}}}
    1112There was an internal error in Trac. It is recommended that you inform your local Trac administrator and give him all the information he needs to reproduce the issue.
    1213
     
    1920TracGuide — The Trac User and Administration Guide
    2021
    21 ==in console:==
     22== in console: ==
     23{{{
    2224[...]
    2325172.26.0.7 - - [29/Jul/2011 09:29:01] "GET /espai/changeset/11%3Ae9b4280584ba2bff63c1ae34edbd73afa5b80ecf HTTP/1.1" 200 -
    24 
    25 ==about trac ==
     26}}}
     27== about trac ==
    2628
    2729System Information
     30{{{
    2831Trac:   0.11.7
    2932Python:         2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5]
     
    3538Mercurial:      1.6.3
    3639jQuery: 1.4.2
     40}}}
    3741Configuration
     42{{{
    3843Section         Name    Value
    3944account-manager         force_passwd_change     false
     
    215220frontpage_url   
    216221toc_title       Table of Contents
    217 
    218 
     222}}}
    219223
    220224== Problem ==