openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #27899
[Bug 1518634] Re: Saved Service with Unavailable player crashes
** Branch linked: lp:~trb143/openlp/bug-1518634-22
** Branch linked: lp:~trb143/openlp/bug-1518634
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1518634
Title:
Saved Service with Unavailable player crashes
Status in OpenLP:
In Progress
Status in OpenLP 2.2 series:
In Progress
Bug description:
ubuntu 14.04
openlp 2.2.1
Create a service under windows:
[{"openlp_core": {"lite-service": false, "service-theme": ""}},
{"serviceitem": {"header": {"background_audio": [], "notes": "",
"end_time": 0, "theme": null, "processor": "Powerpoint", "name":
"presentations", "icon": ":/plugins/plugin_presentations.png",
"auto_play_slides_loop": false, "type": 3, "start_time": 0,
"from_plugin": false, "timed_slide_interval": 0, "search": "",
"capabilities": [17, 10, 19, 20, 21], "plugin": "presentations",
"data": "", "title": "xxx.ppt", "theme_overwritten": false,
"auto_play_slides_once": false, "xml_version": null,
"will_auto_start": false, "media_length": 0, "audit": "", "footer":
[]}......
Open this service under ubuntu and start presentation xxx.ppt:
--- Exception Traceback ---
Traceback (most recent call last):
File "/usr/share/openlp/openlp/plugins/presentations/lib/powerpointcontroller.py", line 149, in load_presentation
self.controller.process.Presentations.Open(os.path.normpath(self.file_path), False, False, False)
AttributeError: 'NoneType' object has no attribute 'Presentations'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 1462, in on_make_live
self.make_live()
File "/usr/share/openlp/openlp/core/ui/servicemanager.py", line 1478, in make_live
self.live_controller.add_service_manager_item(self.service_items[item]['service_item'], child)
File "/usr/share/openlp/openlp/core/ui/slidecontroller.py", line 808, in add_service_manager_item
self._process_item(item, slide_num)
File "/usr/share/openlp/openlp/core/ui/slidecontroller.py", line 837, in _process_item
'%s_start' % service_item.name.lower(), [self.service_item, self.is_live, self.hide_mode(), slide_no])
File "/usr/share/openlp/openlp/core/common/registry.py", line 137, in execute
result = function(*args, **kwargs)
File "/usr/share/openlp/openlp/plugins/presentations/lib/messagelistener.py", line 358, in startup
controller.add_handler(self.controllers[self.handler], file, hide_mode, message[3])
File "/usr/share/openlp/openlp/plugins/presentations/lib/messagelistener.py", line 63, in add_handler
if not self.doc.load_presentation():
File "/usr/share/openlp/openlp/plugins/presentations/lib/powerpointcontroller.py", line 157, in load_presentation
except (AttributeError, pywintypes.com_error) as e:
NameError: name 'pywintypes' is not defined
There isn't a good solution to use the service information about the
processor directly. Please check first the existing presentation
processors and give the user a information that openlp now use a
another processor e. g. like Impress.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1518634/+subscriptions
References