openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #07058
[Bug 728637] Re: Editing Verse Number causes Error
** Changed in: openlp
Milestone: None => 1.9.5
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/728637
Title:
Editing Verse Number causes Error
Status in OpenLP - Worship Presentation Software:
Fix Released
Bug description:
Hello!
Trunk r1346, xubuntu 10.10
1) Edit a song -> click "Edit All"
2) Go to "---[Verse:1]---" and remove the "1"
The following traceback is generated:
Traceback (most recent call last):
File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/songs/forms/editverseform.py", line 130, in onCursorPositionChanged
verse_number = int(match.group(2))
ValueError: invalid literal for int() with base 10: ''
NOTE:
Sometimes you have to change the cursor position, to trigger this.
Cheers
References