← Back to team overview

openlp-core team mailing list archive

[Bug 1710109] Re: languagemanager.py - ValueError: Unknown format code 'i' for object of type 'int'

 

Thanks for your patch. This was committed to trunk in revision 2768.

** Changed in: openlp
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1710109

Title:
  languagemanager.py - ValueError: Unknown format code 'i' for object of
  type 'int'

Status in OpenLP:
  Fix Committed

Bug description:
  When trying to run OpenLP for the first time it immediately exits with

  ValueError: Unknown format code 'i' for object of type 'int'

  in languagemanager.py

  Found that replacing "{count:>2i}" with "{count:>2d}" in the method
  "init_qm_list():" solved the problem and language selection now shows
  as normal.

  My system: 
  Arch Linux
  Python 3.6.2
  Qt 5.9.1
  Installed OpenLP from bzr trunk (Help>About says 2.5.0)

  Steps to reproduce:
  * bzr co http://bazaar.launchpad.net/~openlp-core/openlp/trunk/ openlp
  * cd openlp
  * python setup.py install --root="/" --optimize=1
  * mv /usr/bin/openlp{.py}
  * openlp

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1710109/+subscriptions


References