← Back to team overview

openlp-core team mailing list archive

[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