Bible Upgrade wizard crashed

Bug #792811 reported by Tim Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Medium
Armin Köhler

Bug Description

Traceback (most recent call last):
  File "/home/timali/dev/projects/openlp/trunk/openlp/plugins/bibles/forms/bibleupgradeform.py", line 125, in onCurrentIdChanged
    self.performWizard()
  File "/home/timali/dev/projects/openlp/trunk/openlp/plugins/bibles/forms/bibleupgradeform.py", line 603, in performWizard
    books = handler.get_books_from_http(meta_data[u'download name'])
  File "/home/timali/dev/projects/openlp/trunk/openlp/plugins/bibles/lib/http.py", line 235, in get_books_from_http
    soup = get_soup_for_bible_ref(chapter_url)
  File "/home/timali/dev/projects/openlp/trunk/openlp/plugins/bibles/lib/http.py", line 562, in get_soup_for_bible_ref
    page = get_web_page(reference_url, header, True)
  File "/home/timali/dev/projects/openlp/trunk/openlp/core/utils/__init__.py", line 432, in get_web_page
    page = urllib2.urlopen(req)
  File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 392, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 410, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 370, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1186, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1155, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/lib64/python2.7/httplib.py", line 941, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.7/httplib.py", line 975, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python2.7/httplib.py", line 937, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 797, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 773, in send
    self.sock.sendall(data)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdc' in position 38: ordinal not in range(128)

Related branches

Revision history for this message
Tim Bentley (trb143) wrote :
Revision history for this message
Tim Bentley (trb143) wrote :

It also jammed the update as it was 3 of 6.
In addition it would not allow me to just pick up where it left off but I then needed to change the name of the bible.

Revision history for this message
Tim Bentley (trb143) wrote :

On update I then had the original and the new copy. Very confusing.

Changed in openlp:
assignee: nobody → Armin Köhler (orangeshirt)
status: Confirmed → In Progress
Changed in openlp:
status: In Progress → Fix Committed
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.