← Back to team overview

openlp-core team mailing list archive

[Bug 1606003] [NEW] Restricted embedded fonts in powerpoint causes error when opening service item

 

Public bug reported:

**OpenLP Bug Report**
Version: {'build': None, 'full': '2.2.1', 'version': '2.2.1'}

--- Details of the Exception. ---

We had a powerpoint presentation that was saved with embedded fonts. One
of the fonts was "restricted," according to powerpoint, so when opening
this presentation normally through powerpoint on this computer (not the
one it was made/saved on, which had the original font) powerpoint asks
if we want to open the presenation in Read-Only mode or to remove the
restricted fonts, which is probably causing the issue when trying to
display it through OpenLP.

This error occured when double clicking the item in the service manager.
The file seemed to import okay into the "Presentations" list.

The font was called 'Jenna Sue' downloaded from Font Squirrel -
https://www.fontsquirrel.com/fonts/jenna-sue - if you'd like to make a
test presentation.

Remember to use OpenLP on a different computer from the one the
presentation is saved on, and make sure 'Save Embedded Fonts' is on in
PowerPoint's File Menu > Options > Save > "Save Embedded Fonts" > Embed
All Characters. (Saved on PowerPoint 2013)

 --- Exception Traceback ---
Traceback (most recent call last):
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\servicemanager.py", line 1462, in on_make_live
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\servicemanager.py", line 1478, in make_live
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\slidecontroller.py", line 808, in add_service_manager_item
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\slidecontroller.py", line 837, in _process_item
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\common\registry.py", line 137, in execute
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\presentations\lib\messagelistener.py", line 358, in startup
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\presentations\lib\messagelistener.py", line 79, in add_handler
  File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\presentations\lib\powerpointcontroller.py", line 338, in start_presentation
  File "c:\Python33\lib\site-packages\win32com\client\dynamic.py", line 560, in __setattr__
pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft PowerPoint 2013', 'SlideShowWindow.Top : Invalid request.  Presentation cannot be modified.', '', 0, -2147188160), None)

--- System information ---
Platform: Windows-10.0.10586

--- Library Versions ---
Python: 3.3.2
Qt4: 4.8.5
Phonon: 4.4.0
PyQt4: 4.10.3
QtWebkit: 534.34
SQLAlchemy: 0.9.4
SQLAlchemy Migrate: -
BeautifulSoup: 4.3.2
lxml: 3.2.3
Chardet: 2.2.1
PyEnchant: 1.6.6
Mako: 1.0.0
pyICU: 1.5
pyUNO bridge: -
VLC: -

** Affects: openlp
     Importance: Undecided
         Status: New

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

Title:
  Restricted embedded fonts in powerpoint causes error when opening
  service item

Status in OpenLP:
  New

Bug description:
  **OpenLP Bug Report**
  Version: {'build': None, 'full': '2.2.1', 'version': '2.2.1'}

  --- Details of the Exception. ---

  We had a powerpoint presentation that was saved with embedded fonts.
  One of the fonts was "restricted," according to powerpoint, so when
  opening this presentation normally through powerpoint on this computer
  (not the one it was made/saved on, which had the original font)
  powerpoint asks if we want to open the presenation in Read-Only mode
  or to remove the restricted fonts, which is probably causing the issue
  when trying to display it through OpenLP.

  This error occured when double clicking the item in the service
  manager. The file seemed to import okay into the "Presentations" list.

  The font was called 'Jenna Sue' downloaded from Font Squirrel -
  https://www.fontsquirrel.com/fonts/jenna-sue - if you'd like to make a
  test presentation.

  Remember to use OpenLP on a different computer from the one the
  presentation is saved on, and make sure 'Save Embedded Fonts' is on in
  PowerPoint's File Menu > Options > Save > "Save Embedded Fonts" >
  Embed All Characters. (Saved on PowerPoint 2013)

   --- Exception Traceback ---
  Traceback (most recent call last):
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\servicemanager.py", line 1462, in on_make_live
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\servicemanager.py", line 1478, in make_live
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\slidecontroller.py", line 808, in add_service_manager_item
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\slidecontroller.py", line 837, in _process_item
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\common\registry.py", line 137, in execute
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\presentations\lib\messagelistener.py", line 358, in startup
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\presentations\lib\messagelistener.py", line 79, in add_handler
    File "D:\OpenLP_Development\OpenLP_Code\2.2\openlp\plugins\presentations\lib\powerpointcontroller.py", line 338, in start_presentation
    File "c:\Python33\lib\site-packages\win32com\client\dynamic.py", line 560, in __setattr__
  pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, 'Microsoft PowerPoint 2013', 'SlideShowWindow.Top : Invalid request.  Presentation cannot be modified.', '', 0, -2147188160), None)

  --- System information ---
  Platform: Windows-10.0.10586

  --- Library Versions ---
  Python: 3.3.2
  Qt4: 4.8.5
  Phonon: 4.4.0
  PyQt4: 4.10.3
  QtWebkit: 534.34
  SQLAlchemy: 0.9.4
  SQLAlchemy Migrate: -
  BeautifulSoup: 4.3.2
  lxml: 3.2.3
  Chardet: 2.2.1
  PyEnchant: 1.6.6
  Mako: 1.0.0
  pyICU: 1.5
  pyUNO bridge: -
  VLC: -

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