Powerpoint with video on first slide causes error

Bug #1303381 reported by Carl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Undecided
Tomas Groth

Bug Description

--- System information ---
Platform: Windows-7-6.1.7601-SP1

Version: {u'full': u'2.0.4', u'version': u'2.0.4', u'build': None} (Website release 2.0.4)

Reproduce the error:
The Powerpoint starts with a video that autoruns on the first slide.
Display is not blanked.
Double click on the PPT in service manager.
Bug report dialog pops up.
The video seems to run in the background (as the bug report dialog pops up) because I can hear the sound but only a one pixel strip is shown on the right hand side of the projector display.

If I blank the screen before double clicking the Powerpoint, and immediately unblank the screen there is no error and the video displays correctly.

I'll attach the PowerPoint when I have access to it next week. I haven't been able to reproduce it on my home computer but I don't have a secondary display.

 --- Exception Traceback ---
Traceback (most recent call last):
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.presentations.lib.messagelistener", line 344, in startup
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.presentations.lib.messagelistener", line 82, in add_handler
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\openlp.plugins.presentations.lib.powerpointcontroller", line 270, in start_presentation
  File "D:\OpenLP_Code\2.0\build\pyi.win32\OpenLP\out00-PYZ.pyz\win32com.client.dynamic", line 570, in __setattr__
AttributeError: Property 'Run.Width' can not be set.

--- System information ---
Platform: Windows-7-6.1.7601-SP1

--- Library Versions ---
Python: 2.7.3
Qt4: 4.8.3
Phonon: 4.4.0
PyQt4: 4.9.5
QtWebkit: 534.34
SQLAlchemy: 0.7.7
SQLAlchemy Migrate: 0.7.2
BeautifulSoup: 3.2.1
lxml: 2.3.0
Chardet: 1.0.1
PyEnchant: 1.6.5
PySQLite: 1.0.1
Mako: 0.7.0
pyUNO bridge: -

Related branches

Revision history for this message
Carl (carl-fischer) wrote :

I'm attaching the Powerpoint which caused the problem. If you launch it inside OpenLP without first blanking the screen, the video doesn't display correctly (but I think the following slides do). If you blank the display first, launch the presentation, then unblank (quickly) the video is displayed properly. I haven't been able to test this on a different computer as I don't currently have a working screen. The computer on which I observed the issue runs Windows 7 with Office 2007.

Revision history for this message
Tomas Groth (tomasgroth) wrote :

I've tried to reproduce this with on Windows 8.1 and powerpoint 2013 but couldn't.
Maybe it is a powerpoint 2007 issue.
Looking at the traceback the error happens as we set the Width property of the slideshow window, but before that the properties Top, Height and Left have been set without errors.

Tim Bentley (trb143)
Changed in openlp:
status: New → Fix Committed
milestone: none → 2.0.5
assignee: nobody → Tomas Groth (tomasgroth)
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.