← Back to team overview

openlp-core team mailing list archive

[Bug 728637] [NEW] Editing Verse Number causes Error

 

Public bug reported:

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

** Affects: openlp
     Importance: Undecided
         Status: New

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

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



Follow ups

References