← Back to team overview

openlp-core team mailing list archive

[Bug 728637] Re: Editing Verse Number causes Error

 

Fixed in r1349.

** Changed in: openlp
       Status: In Progress => Fix Released

-- 
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