openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #27852
[Bug 1516171] Re: Alert with \n from remote makes desktop report a bug
** Summary changed:
- Alert with more than one line in Android app makes desktop report a bug
+ Alert with \n from remote makes desktop report a bug
** Summary changed:
- Alert with \n from remote makes desktop report a bug
+ Alert with line break from remote makes desktop report a bug
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1516171
Title:
Alert with line break from remote makes desktop report a bug
Status in OpenLP:
In Progress
Status in OpenLP 2.2 series:
In Progress
Bug description:
When you show an alert with more than one line (that shouldn't
possible) using the Android app, OpenLP in desktop show an alert
saying that an error ocurred, but it doesn't crash. See below:
Traceback (most recent call last):
File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/plugins/alerts/lib/alertsmanager.py", line 51, in alert_text
File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/plugins/alerts/lib/alertsmanager.py", line 67, in display_alert
File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/plugins/alerts/lib/alertsmanager.py", line 78, in generate_alert
File "/Users/raoul/Projects/OpenLP/OpenLP-2.2.1/openlp/core/ui/maindisplay.py", line 302, in alert
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
OpenLP 2.2.1
Mac OS 10.10.5
In Ubuntu, nothing happens.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1516171/+subscriptions
References