Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
openstv crashed with UnicodeDecodeError in decode(): 'utf8' codec can't decode byte 0xe0 in position 25: invalid continuation byte
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
badpazzw...@gmail.com  
View profile  
 More options Aug 24 2011, 4:59 pm
From: badpazzw...@gmail.com
Date: Wed, 24 Aug 2011 13:59:47 -0700 (PDT)
Local: Wed, Aug 24 2011 4:59 pm
Subject: openstv crashed with UnicodeDecodeError in decode(): 'utf8' codec can't decode byte 0xe0 in position 25: invalid continuation byte

I've already reported the bug here<https://bugs.launchpad.net/ubuntu/+source/openstv/+bug/833343> on
Launchpad, but here we go again:

Run the attached ballot file using Meek STV and a display width of 100
characters (the default for the GUI version of the program); nothing in
particular should happen. Now run it again with a display width of 80
characters, and the program crashes. Changing the name of the candidate
"Mana ಠдಠ" to "Mana" works around the issue.

Here's the traceback:

Traceback (most recent call last):
  File "/usr/share/openstv/openstv/OpenSTV.py", line 396, in OnRunElection
    election.generateTextOutput(self.notebook.GetPage(page))
  File "/usr/share/openstv/openstv/OpenSTV.py", line 137, in
generateTextOutput
    self.generateReport(TextReport(self.e, self.dispWidth,
outputFile=output))
  File "/usr/share/openstv/openstv/OpenSTV.py", line 134, in generateReport
    reportObj.generateReport()
  File "/usr/share/openstv/openstv/plugins.py", line 201, in generateReport
    self.generateReportIterative()
  File "/usr/share/openstv/openstv/ReportPlugins/TextReport.py", line 355,
in generateReportIterative
    out(line + "\n")
  File "/usr/share/openstv/openstv/plugins.py", line 194, in output
    print >> self.outputFile, output,
  File
"/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line
1982, in write
    return _controls_.TextCtrl_write(*args, **kwargs)
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 25:
invalid continuation byte

The page I link to has more technical details such as version details,
environment variables and more.

  Gaming.blt
1K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeffrey O'Neill  
View profile  
 More options Aug 24 2011, 5:37 pm
From: "Jeffrey O'Neill" <jeff.one...@openstv.org>
Date: Wed, 24 Aug 2011 17:37:57 -0400
Local: Wed, Aug 24 2011 5:37 pm
Subject: Re: [OpenSTV] openstv crashed with UnicodeDecodeError in decode(): 'utf8' codec can't decode byte 0xe0 in position 25: invalid continuation byte

OpenSTV 1.6.1 does not support unicode.  The latest version, 2.0.0, does and
is available for download at openstv.org.

For future reference, OpenSTV bugs should be reported here and not at
Launchpad.

Jeff


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »