← Back to team overview

openlp-core team mailing list archive

[Bug 1160506] Re: Traceback in czech bible download

 

Another issue with download is that OpenLP doesn't actually use the url
in the download.cfg.

The download should use only the URL from the download.cfg, no other
URLs.

-- 
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:
  Confirmed
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