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

Bug #1710109 reported by Kemuel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Committed
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

Revision history for this message
Kemuel (filip-kemuel) wrote :
Phill (phill-ridout)
Changed in openlp:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Phill (phill-ridout)
Revision history for this message
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)
Changed in openlp:
milestone: none → 2.9.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.