← Back to team overview

openlp-core team mailing list archive

[Bug 1448814] Re: Adding .ico icon file in Windows build causes error.

 

It seems as though there may be an issue with the icons I have tested. I have downloaded more icons and they do not have the issue. 
False alarm.

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

Title:
  Adding .ico icon file in Windows build causes error.

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  In the Windows 2.1.4 build adding an unsupported, but allowed .ico
  icon file to OpenLP 2.1.4 causes error. Restarting OpenLP results in
  the same error and the application can only be closed. Removing the
  images.sqlite file fixes the issue.

  
  Error:
  Traceback (most recent call last):
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\lib\mediamanageritem.py", line 321, in on_file_click
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\images\lib\mediaitem.py", line 385, in validate_and_load
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\images\lib\mediaitem.py", line 462, in load_list
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\images\lib\mediaitem.py", line 360, in load_full_list
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\lib\__init__.py", line 176, in create_thumb
  ZeroDivisionError: division by zero

  Preventing non-supported files from loading would be a good idea since
  some users may not understand file-types, and would not know how to
  resolve this issue.

  Files attached:

       1.) images.sqlite

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


References