• Troubleshooting
  • Crash while importing SongBeamer song with presumably malformed chord data

The following bug occurs on a specific SongBeamer song which presumably contains malformed chord data. I cannot unfortunately attach the file since it is copyright protected.

**OpenLP Bug Report**

Version: {'full': '3.0.2', 'version': '3.0.2', 'build': None}

--- Details of the Exception. ---

Imported a SongBeamer .sng file with presumably malformed chord data.

 --- Exception Traceback ---

Traceback (most recent call last):

 File "openlp\core\widgets\wizard.py", line 230, in on_current_id_changed

 File "openlp\plugins\songs\forms\songimportform.py", line 332, in perform_wizard

 File "openlp\plugins\songs\lib\importers\songbeamer.py", line 155, in do_import

 File "openlp\plugins\songs\lib\importers\songbeamer.py", line 279, in parse_tags

 File "openlp\plugins\songs\lib\importers\songbeamer.py", line 409, in parse_chords

ValueError: not enough values to unpack (expected 3, got 1)

--- System information ---

Plattform: Windows-10-10.0.22621-SP0

--- Library Versions ---

Python: 3.8.10

PyQt5: -

SQLAlchemy: 1.4.46

Alembic: 1.9.3

BeautifulSoup: 4.11.2

lxml: 4.9.2

Chardet: 5.1.0

PyEnchant: 3.2.2

Mako: 1.2.4

VLC: OK

PyUNO: -

10 days later

@ManuelB can you send an e-mail with the file to the e-mail address that appears in the error form? It's private and won't be public. We can't really fix the issue without your song file.