Handle connection errors in FTW gracefully
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Low
|
Tomas Groth |
Bug Description
We have had quite a lot of reports with the following traceback. We should handle bad connectivity better.
See http://
*OpenLP Bug Report*
Version: {u'full': u'2.0.5', u'version': u'2.0.5', u'build': None}
--- Details of the Exception. ---
running first time wizard
--- Exception Traceback ---
Traceback (most recent call last):
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
File "/Users/
IOError: [Errno socket error] [Errno 54] Connection reset by peer
--- System information ---
Platform: Darwin-
--- Library Versions ---
Python: 2.7.3
Qt4: 4.8.3
Phonon: 4.4.0
PyQt4: 4.9.4
QtWebkit: 534.34
SQLAlchemy: 0.7.9
SQLAlchemy Migrate: 0.7.2
BeautifulSoup: 3.2.1
lxml: 2.3.2
Chardet: 2.0.1
PyEnchant: -
PySQLite: -
Mako: 0.7.2
pyUNO bridge: -
Related branches
- Raoul Snyman: Approve
- Tim Bentley: Approve
-
Diff: 743 lines (+263/-217)12 files modifiedopenlp/core/lib/renderer.py (+1/-1)
openlp/core/ui/firsttimeform.py (+170/-98)
openlp/core/ui/mainwindow.py (+3/-0)
openlp/core/utils/__init__.py (+29/-9)
openlp/plugins/bibles/bibleplugin.py (+1/-1)
openlp/plugins/bibles/lib/db.py (+8/-1)
openlp/plugins/songs/lib/importers/openlp.py (+1/-0)
resources/pyinstaller/hook-openlp.core.ui.media.py (+0/-32)
resources/pyinstaller/hook-openlp.plugins.presentations.presentationplugin.py (+0/-33)
resources/pyinstaller/hook-openlp.py (+0/-38)
tests/functional/openlp_core_ui/test_firsttimeform.py (+46/-0)
tests/functional/openlp_core_utils/test_utils.py (+4/-4)
Changed in openlp: | |
assignee: | nobody → Tomas Groth (tomasgroth) |
status: | New → In Progress |
Changed in openlp: | |
importance: | Undecided → Low |
Changed in openlp: | |
milestone: | none → 2.1.2 |
status: | In Progress → Fix Committed |
Changed in openlp: | |
status: | Fix Committed → Fix Released |
http:// support. openlp. org/scp/ tickets. php?id= 2565
*OpenLP Bug Report*Version: {'version': '2.1.1', 'full': '2.1.1', 'build': Development\ OpenLP_ Code\2. 1\openlp\ core\ui\ firsttimeform. py, line lib\urllib\ request. py, line 181, in lib\urllib\ request. py, line 156, in urlopen lib\urllib\ request. py, line 475, in open File lib\urllib\ request. py, line 587, in http_response File lib\urllib\ request. py, line 507, in error File lib\urllib\ request. py, line 447, in _call_chain File lib\urllib\ request. py, line 692, in http_error_302 File lib\urllib\ request. py, line 469, in open File lib\urllib\ request. py, line 487, in _open File lib\urllib\ request. py, line 447, in _call_chain File lib\urllib\ request. py, line 1283, in https_open File lib\urllib\ request. py, line 1253, in do_open File lib\http\ client. py, line 1143, in getresponse File lib\http\ client. py, line 354, in begin File lib\http\ client. py, line 316, in _read_status File lib\socket. py, line 297, in readinto File lib\ssl. py, line 453, in recv_into File lib\ssl. py, line 327, in readConnectionR esetError: [WinError 7-6.1.7601- SP1--- Library Versions
None}--- Details of the Exception. ---Right after the Auto Detect, the next
dialog box, popped up and then an error. This is running off a flash drive
in the portable configuration. I see a reference to C:\Python33 which is
not installed on my machine. --- Exception Traceback ---Traceback (most
recent call last): File
D:\OpenLP_
72, in run File c:\Python33\
urlretrieve File c:\Python33\
File c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
c:\Python33\
10054] An existing connection was forcibly closed by the remote host---
System information ---Platform: Windows-
---Python: 3.3.2Qt4: 4.8.5Phonon: 4.4.0PyQt4: 4.10.3QtWebkit:
534.34SQLAlchemy: 0.9.4SQLAlchemy Migrate: -BeautifulSoup: 4.3.2lxml:
3.2.3Chardet: 2.2.1PyEnchant: 1.6.6Mako: 1.0.0pyICU: 1.5pyUNO bridge: -VLC:
2.1.5 Rincewind