openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #27838
[Bug 1516171] [NEW] Alert with more than one line in Android app report a bug
Public bug reported:
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.
** 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/1516171
Title:
Alert with more than one line in Android app report a bug
Status in OpenLP:
New
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
Follow ups
-
[Bug 1516171] Re: Alert with line break from remote makes desktop report a bug
From: Phill, 2017-11-06
-
[Bug 1516171] Re: Alert with line break from remote makes desktop report a bug
From: Tim Bentley, 2015-12-28
-
[Bug 1516171] Re: Alert with line break from remote makes desktop report a bug
From: Tim Bentley, 2015-11-16
-
[Bug 1516171] Re: Alert with line break from remote makes desktop report a bug
From: Tim Bentley, 2015-11-15
-
[Bug 1516171] Re: Alert with \n from remote makes desktop report a bug
From: Tim Bentley, 2015-11-15
-
[Bug 1516171] Re: Alert with more than one line in Android app makes desktop report a bug
From: Tim Bentley, 2015-11-15
-
[Bug 1516171] Re: Alert with more than one line in Android app makes desktop report a bug
From: Tim Bentley, 2015-11-15
-
[Bug 1516171] Re: Alert with more than one line in Android app makes desktop report a bug
From: Tim Bentley, 2015-11-14
-
[Bug 1516171] Re: Alert with more than one line in Android app makes desktop report a bug
From: Tim Bentley, 2015-11-14
-
[Bug 1516171] Re: Alert with more than one line in Android app makes desktop report a bug
From: Daniel Borges, 2015-11-14