Public bug reported: 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 ** Affects: openlp Importance: Undecided Status: New ** Patch added: "Replace "{count:>2i}" with "{count:>2d}"" https://bugs.launchpad.net/bugs/1710109/+attachment/4930603/+files/d_instead_of_i.patch -- 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: New 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 _______________________________________________ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~openlp-core More help : https://help.launchpad.net/ListHelp