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

Bug #1710109 reported by Kemuel on 2017-08-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Medium
Phill

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

Kemuel (filip-kemuel) wrote :
Phill (phill-ridout) on 2017-08-14
Changed in openlp:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Phill (phill-ridout)
Phill (phill-ridout) wrote :

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

Changed in openlp:
status: In Progress → Fix Committed
Tim Bentley (trb143) on 2019-03-17
Changed in openlp:
milestone: none → 2.9.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers