Code

Opened 7 years ago

Closed 7 years ago

#5371 closed (worksforme)

databrowse fails when table contains non-ascii data

Reported by: anonymous Owned by: nobody
Component: contrib.databrowse Version: master
Severity: Keywords: encodings
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I tried using databrowse on my data, which contains utf-8 strings. The result is this exception:

Template error
In template c:\python25\lib\site-packages\django\contrib\databrowse\templates\databrowse\homepage.html, error at line 9
Caught an exception while rendering: 'ascii' codec can't encode characters in position 33-36: ordinal not in range(128)

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by SmileyChris

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

Needs more info - I am pretty sure I have databrowse working with unicode.

I suggest you bring your problem up on the discussion group or in IRC (reopen after providing some more detailed information)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


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

 
Note: See TracTickets for help on using tickets.