openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #09797
[Bug 792811] Re: Bible Upgrade wizard crashed
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.
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/792811
Title:
Bible Upgrade wizard crashed
Status in OpenLP - Worship Presentation Software:
Confirmed
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)
References