← Back to team overview

openlp-core team mailing list archive

[Bug 1490508] Re: Powerpoint / object has no attribute 'slidenumber'

 

The problem is most likely that the loading of that presentation failed.
Was there any special content in the presentation?

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

Title:
  Powerpoint / object has no attribute 'slidenumber'

Status in OpenLP:
  New

Bug description:
  Runnin 2.1.6 Portable  Win 8.1 + Office 2013 + Libre

  I imported one .ppt file and sent it to live, a traceback appeared:

  I was able to re-produce it with the same file few times but then it
  started working after some restarts and other files in between. I
  don’t have the permission to share this file but here’s some
  tracebacks:

  Traceback (most recent call last):
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\lib\mediamanageritem.py", line 462, in on_double_clicked
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\lib\mediamanageritem.py", line 503, in on_live_click
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\lib\mediamanageritem.py", line 530, in go_live
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 779, in add_service_item
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 894, in _process_item
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\maindisplay.py", line 429, in build_html
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\common\registry.py", line 137, in execute
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 956, in on_slide_unblank
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 975, in on_blank_display
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 1036, in blank_plugin
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\common\registry.py", line 137, in execute
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\messagelistener.py", line 464, in unblank
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\messagelistener.py", line 274, in unblank
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\messagelistener.py", line 100, in activate
  AttributeError: 'PowerpointDocument' object has no attribute 'slidenumber'

  I tried to use that presentation nevertheless and other tracebacks
  appeared:

  
  Traceback (most recent call last):
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\messagelistener.py", line 471, in timeout
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\messagelistener.py", line 282, in poll
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\presentationcontroller.py", line 281, in poll_slidenumber
  TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'

  and

  Traceback (most recent call last):
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 1067, in on_slide_selected
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\ui\slidecontroller.py", line 1091, in slide_selected
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\core\common\registry.py", line 137, in execute
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\messagelistener.py", line 370, in slide
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\messagelistener.py", line 125, in slide
    File "D:\OpenLP_Development\OpenLP_Code\2.1\openlp\plugins\presentations\lib\powerpointcontroller.py", line 424, in goto_slide
  KeyError: 2

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


References