openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #30393
[Bug 1621273] [NEW] Formatting tags cause traceback
Public bug reported:
Adding formatting tag to a song and sending it to Live. Win 10 | trunk
2695
Traceback (most recent call last):
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 466, in on_double_clicked
self.on_live_click()
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 507, in on_live_click
self.go_live()
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 528, in go_live
service_item = self.build_service_item(item, remote=remote)
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 626, in build_service_item
if self.generate_slide_data(service_item, item, xml_version, remote, context):
File "E:\bzr\openlp\force-split\openlp\plugins\songs\lib\mediaitem.py", line 611, in generate_slide_data
service_item.xml_version = self.open_lyrics.song_to_xml(song)
File "E:\bzr\openlp\force-split\openlp\plugins\songs\lib\openlyricsxml.py", line 322, in song_to_xml
lines_element = self._add_text_with_tags_to_lines(verse_element, optional_verse, tags_element)
File "E:\bzr\openlp\force-split\openlp\plugins\songs\lib\openlyricsxml.py", line 461, in _add_text_with_tags_to_lines
text = text.replace('{/{tag}}}'.format(tag=tag), '</tag>')
ValueError: unexpected '{' in field name
** 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/1621273
Title:
Formatting tags cause traceback
Status in OpenLP:
New
Bug description:
Adding formatting tag to a song and sending it to Live. Win 10 | trunk
2695
Traceback (most recent call last):
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 466, in on_double_clicked
self.on_live_click()
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 507, in on_live_click
self.go_live()
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 528, in go_live
service_item = self.build_service_item(item, remote=remote)
File "E:\bzr\openlp\force-split\openlp\core\lib\mediamanageritem.py", line 626, in build_service_item
if self.generate_slide_data(service_item, item, xml_version, remote, context):
File "E:\bzr\openlp\force-split\openlp\plugins\songs\lib\mediaitem.py", line 611, in generate_slide_data
service_item.xml_version = self.open_lyrics.song_to_xml(song)
File "E:\bzr\openlp\force-split\openlp\plugins\songs\lib\openlyricsxml.py", line 322, in song_to_xml
lines_element = self._add_text_with_tags_to_lines(verse_element, optional_verse, tags_element)
File "E:\bzr\openlp\force-split\openlp\plugins\songs\lib\openlyricsxml.py", line 461, in _add_text_with_tags_to_lines
text = text.replace('{/{tag}}}'.format(tag=tag), '</tag>')
ValueError: unexpected '{' in field name
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1621273/+subscriptions
Follow ups