← Back to team overview

openlp-core team mailing list archive

[Bug 1196926] [NEW] Zero division error when display size set to zero

 

Public bug reported:

Orriginally reported at: http://support.openlp.org/issues/1980

However, I've been able to trigger this by a different method:

Open the "Configure OpenLP" dialog
Set hight or width to 0 for the "Override display position" option
Click ok.

This produces this traceback:

Traceback (most recent call last):
  File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.mainwindow", line 1155, in screenChanged
  File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.lib.renderer", line 95, in update_display
  File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.lib.renderer", line 355, in _calculate_default
ZeroDivisionError: float division by zero

** Affects: openlp
     Importance: Medium
         Status: New

** Affects: openlp/2.0
     Importance: Medium
         Status: Confirmed

** Affects: openlp/trunk
     Importance: Medium
         Status: New


** Tags: display-rendering support-system

** Also affects: openlp/2.0
   Importance: Undecided
       Status: New

** Also affects: openlp/trunk
   Importance: Undecided
       Status: New

** Changed in: openlp/2.0
    Milestone: None => 2.0.2

** Changed in: openlp/trunk
    Milestone: None => 2.1.1

** Changed in: openlp/2.0
   Importance: Undecided => Medium

** Changed in: openlp/trunk
   Importance: Undecided => Medium

** Changed in: openlp/2.0
       Status: New => Confirmed

** Tags added: display-rendering support-system

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1196926

Title:
  Zero division error when display size set to zero

Status in OpenLP - Worship Presentation Software:
  New
Status in OpenLP 2.0 series:
  Confirmed
Status in OpenLP trunk series:
  New

Bug description:
  Orriginally reported at: http://support.openlp.org/issues/1980

  However, I've been able to trigger this by a different method:

  Open the "Configure OpenLP" dialog
  Set hight or width to 0 for the "Override display position" option
  Click ok.

  This produces this traceback:

  Traceback (most recent call last):
    File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.ui.mainwindow", line 1155, in screenChanged
    File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.lib.renderer", line 95, in update_display
    File "D:\OpenLP_Code\release-2.0.1\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.core.lib.renderer", line 355, in _calculate_default
  ZeroDivisionError: float division by zero

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1196926/+subscriptions


Follow ups

References