openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #27704
[Bug 1507213] Re: FTW crashes when downloading Russian bible
A fix has been made and deployed.
** Changed in: openlp
Importance: Undecided => Medium
** Changed in: openlp
Status: New => Fix Released
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1507213
Title:
FTW crashes when downloading Russian bible
Status in OpenLP:
Fix Released
Bug description:
I tried downloading the Russian bible from the FTW and came across
this:
Traceback (most recent call last):
File "/home/phill/Projects/openlp/trunk/openlp/core/ui/firsttimeform.py", line 347, in on_current_id_changed
self._pre_wizard()
File "/home/phill/Projects/openlp/trunk/openlp/core/ui/firsttimeform.py", line 519, in _pre_wizard
size = self._get_file_size('%s%s' % (self.bibles_url, filename))
File "/home/phill/Projects/openlp/trunk/openlp/core/ui/firsttimeform.py", line 464, in _get_file_size
site = urllib.request.urlopen(url, timeout=CONNECTION_TIMEOUT)
File "/usr/lib/python3.4/urllib/request.py", line 153, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.4/urllib/request.py", line 455, in open
response = self._open(req, data)
File "/usr/lib/python3.4/urllib/request.py", line 473, in _open
'_open', req)
File "/usr/lib/python3.4/urllib/request.py", line 433, in _call_chain
result = func(*args)
File "/usr/lib/python3.4/urllib/request.py", line 1217, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/usr/lib/python3.4/urllib/request.py", line 1174, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "/usr/lib/python3.4/http/client.py", line 1090, in request
self._send_request(method, url, body, headers)
File "/usr/lib/python3.4/http/client.py", line 1118, in _send_request
self.putrequest(method, url, **skips)
File "/usr/lib/python3.4/http/client.py", line 975, in putrequest
self._output(request.encode('ascii'))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 16-26: ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1507213/+subscriptions
References