openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #23408
[Bug 1310623] Re: SongShowPlus Import fails when CCLI number has text in it
** Changed in: openlp/trunk
Assignee: (unassigned) => Samuel Mehrbrodt (sam92)
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1310623
Title:
SongShowPlus Import fails when CCLI number has text in it
Status in OpenLP - Worship Presentation Software:
New
Status in OpenLP 2.0 series:
New
Status in OpenLP trunk series:
New
Bug description:
From http://support.openlp.org/scp/tickets.php?id=2314
We need to clear the text from the string before converting to int.
Traceback (most recent call last):
File "/usr/share/openlp/openlp/core/ui/wizard.py", line 188, in
onCurrentIdChanged
self.performWizard()
File "/usr/share/openlp/openlp/plugins/songs/forms/songimportform.py",
line 391, in performWizard
importer.doImport()
File "/usr/share/openlp/openlp/plugins/songs/lib/songshowplusimport.py",
line 155, in doImport
self.ccliNumber = int(data)
ValueError: invalid literal for int() with base 10: 'CCL Licence number:
129265'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1310623/+subscriptions
References