← Back to team overview

openlp-core team mailing list archive

[Bug 1516171] Re: Alert with line break from remote makes desktop report a bug

 

** Changed in: openlp
    Milestone: 2.3.0 => 2.3.1

** Changed in: openlp
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in OpenLP 2.2 series:
  Fix Committed

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