Hi,
I had an error after installing OpenLP onto a Debian 11 laptop when I tried to open a service plan which was created on a Windows 11 machine. I clicked on Send email, but got a bounce back message. Full copy below:
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
bugs@openlp.org
host spool.mail.gandi.net [217.70.178.1]
SMTP error from remote mail server after RCPT TO:<bugs@openlp.org>:
550 5.1.1 <bugs@openlp.org>: Recipient address rejected:
User unknown in virtual mailbox table
Reporting-MTA: dns; cp162172.hpdns.net
Action: failed
Final-Recipient: rfc822;bugs@openlp.org
Status: 5.0.0
Remote-MTA: dns; spool.mail.gandi.net
Diagnostic-Code: smtp; 550 5.1.1 <bugs@openlp.org>: Recipient address rejected: User unknown in virtual mailbox table
From: Stephen Blakemore [MY EMAIL ADDRESS]
Subject: Bug report: KeyError in core/lib/serviceitem.py
Date: 28 July 2023 at 19:26:41 CEST
To: bugs@openlp.org
Reply-To: [MY EMAIL ADDRESS]
**OpenLP Bug Report**
Version: {'full': '2.4.6', 'version': '2.4.6', 'build': None}
--- Details of the Exception. ---
I fresh installed OpenLP onto a Debian 11 laptop. V2.4.6
Then tried to open an existing service which had been created on a
Windows laptop. The service plan contained video files, bible reading
and songs, along with custom slides. Then it showed this error.
--- Exception Traceback ---
Traceback (most recent call last):
File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 440,
in on_load_service_clicked
self.load_file(file_name)
File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 766,
in load_file
self.process_service_items(items)
File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 822,
in process_service_items
service_item.set_from_service(item, self.service_path)
File "/usr/share/openlp/openlp/core/lib/serviceitem.py", line 399, in
set_from_service
self.add_icon(header['icon'])
KeyError: 'icon'
--- System information ---
Platform: Linux-5.10.0-23-amd64-x86_64-with-glibc2.31
Desktop: GNOME
--- Library Versions ---
Python: 3.9.2
Qt5: 5.15.2
PyQt5: 5.15.2
QtWebkit: 602.1
SQLAlchemy: 1.3.22
SQLAlchemy Migrate: -
BeautifulSoup: 4.9.3
lxml: 4.6.3
Chardet: 4.0.0
PyEnchant: 3.2.0
Mako: 1.1.3
pyICU: -
pyUNO bridge: 7.0
VLC: -