openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #22691
[Bug 1160506] Re: Traceback in czech bible download
please i have been trying to run my irst timewizard when this bug up
please assist me on hoe to overcome this trouble. thanks
Traceback (most recent call last):
File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.firsttimeform", line 219, in nextId
File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.firsttimeform", line 349, in _buildThemeScreenshots
UnboundLocalError: local variable 'item' referenced before assignment
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1160506
Title:
Traceback in czech bible download
Status in OpenLP - Worship Presentation Software:
Confirmed
Status in OpenLP 2.0 series:
Fix Released
Status in OpenLP trunk series:
Confirmed
Bug description:
Recently were made available for openlp new czech bibles.
- they appear in the first-time wizard
- downloading any of them causes the following traceback:
Traceback (most recent call last):
File "/home/andreas/Projects/OpenLP/trunk/openlp/core/ui/firsttimeform.py", line 222, in onCurrentIdChanged
self._preWizard()
File "/home/andreas/Projects/OpenLP/trunk/openlp/core/ui/firsttimeform.py", line 354, in _preWizard
size = self._getFileSize(u'%s%s' % (self.web, filename))
File "/home/andreas/Projects/OpenLP/trunk/openlp/core/ui/firsttimeform.py", line 306, in _getFileSize
return int(meta.getheaders("Content-Length")[0])
IndexError: list index out of range
- this happens in 2.0.1 and in trunk
- the OS and if it is source or build do not matter
Possible cause could be:
- wrong syntax of download.cfg
- download.cfg is not properly parsed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1160506/+subscriptions
References