Modify

Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#12681 closed defect (fixed)

UnicodeDecodeError: ascii codec can't decode byte 0xc3 in position 47: ordinal not in range 128

Reported by: ntmlod Owned by: Ryan J Ollos
Priority: normal Component: TracFormsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Dear all,

I've just created my first form page thanks to the TracForms plugin:

{{{
#!TracForm
#!subcontext abstract
#!submit_label 'Submit Abstract'
#!keep_history yes
...
}}}

Everything works well until I want to see on my first copy how the history recording renders by clicking on 'Form details' link.

While doing a GET operation on  /form/3 , Trac issued an internal error.    please provide additional details here    Request parameters: {{{ { id : u 3 } }}} 

You can find all the informations about our own installation and how to reproduce the bug.

System Information
User agent:Mozilla/5.0 Macintosh; Intel Mac OS X 10_10_4 AppleWebKit/600.7.10 KHTML, like Gecko Version/8.0.7 Safari/600.7.10

Trac 1.0.1
Genshi 0.6 without speedups
psycopg2 2.4.6
Pygments 1.6
Python 2.7.6 default, Mar 18 2014, 22:18:46 br GCC 4.8.2
setuptools 0.9.8
Subversion 1.8.8 r1568071
JQUERY 1.7.2

Enabled Plugins

AllAttachments r14371
Cards 1.2
ChangeLogMacro 0.4dev
Color r11892
DblClickEditPlugin 0.1
FootNoteMacro 1.05
GridModify 0.1.6dev-r12235
LastModified r13555
LogViewerPlugin 0.2-r13412
Navigation-Plugin 0.2.0
NeighborPagePlugin 0.2
PageTicketsMacro N/A
PrivateWikis 1.0.0
SVN-MULTI-URLs 0.3
TicketBox r7516
TracAccountManager 0.5dev
TracAcronyms 0.2
TracAdvParseArgsPlugin 0.4
TracAttachmentNumMacro 0.7
TracAutocompleteUsersPlugin 0.4.3dev-r14213
TracAutoWikify 0.2
TracCodeReviewer 1.0.0dev
TracDiscussion 0.10dev
TracExtractUrl 0.3
TracForms 0.5dev-r11562
TracIncludeMacro 3.0.0dev
TracIniAdminPanel 0.81beta-r12768
TracIniGetMacro 0.11.3
TracListOfWikiPagesMacro 0.4
TracMenusPlugin 0.1.1-r12147
TracPermRedirect 3.0
TracPoll 0.3.0dev
TracReportManager 0.1
TracRevtreePlugin 0.7.0dev-r13844
TracSectionEditPlugin 0.2.6-r11208
TracServerSideRedirectPlugin 1.0.0
TracStats 0.5
Tracticketstats 3.0.0dev-r14703
TracTicketTemplate 1.0dev
TracTocMacro 11.0.0.5
TracUserManagerPlugin 0.5dev
TracWikiNotification 0.4
TracWikiReplace 1.1.2dev
TracWikiToPdfPlugin 2.3.1dev-r13441
TracWysiwyg 0.12.0.5-r13457
WantedPages 0.5.1dev-r14534
WikiAutoComplete 1.0
WikiCalendarMacro 2.1.1dev
WikiReport 0.1.0

Python Traceback

Traceback  most recent call last :
  File  /usr/lib/python2.7/site-packages/trac/web/main.py , line 497, in _dispatch_request  dispatcher.dispatch req
  File  /usr/lib/python2.7/site-packages/trac/web/main.py , line 214, in dispatch  resp   chosen_handler.process_request req
  File  build/bdist.linux-x86_64/egg/tracforms/web_ui.py , line 107, in process_request  return self._do_view env, req, form
  File  build/bdist.linux-x86_64/egg/tracforms/web_ui.py , line 138, in _do_view  data  history     parse_history history
  File  build/bdist.linux-x86_64/egg/tracforms/util.py , line 60, in parse_history  change   _render_change old_value, new_value
  File  build/bdist.linux-x86_64/egg/tracforms/util.py , line 92, in _render_changE  VALue tag.em new
UnicodeDecodeError:  ascii  codec can t decode byte 0xc3 in position 47: ordinal not in range 128

Attachments (0)

Change History (6)

comment:1 Changed 9 years ago by Ryan J Ollos

Owner: changed from Steffen Hoffmann to Ryan J Ollos
Status: newaccepted

comment:2 Changed 8 years ago by Ryan J Ollos

Summary: UnicodeDecodeError: ascii codec can t decode byte 0xc3 in position 47: ordinal not in range 128UnicodeDecodeError: ascii codec can't decode byte 0xc3 in position 47: ordinal not in range 128

comment:3 Changed 8 years ago by Ryan J Ollos

In 16385:

TracForms 0.5dev: Fix markup generation

Refs #12681.

comment:4 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

Please upgrade your Trac instance to 1.0.13 or later. If you still see the problem with the latest TracForms, then I need to see the exact markup to reproduce.

comment:5 Changed 8 years ago by Ryan J Ollos

See #13127 for Trac 1.2 support.

comment:6 Changed 8 years ago by Ryan J Ollos

In 16387:

TracForms 0.5dev: Fix incorrect rendering of unicode content

Refs #12681.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.