← Back to team overview

openlp-core team mailing list archive

Re: [Merge] lp:~marmyshev/openlp/presentation into lp:openlp

 

Do you have appscript for Python 3.3? afrter I have installed Py-33 env - I
re-install appscript 1.0.1 for python33
And do you have MS PPT 2011 on mac?

Because self.check_available() works fine on my system.


On Fri, Sep 20, 2013 at 2:02 AM, matysek <mzibricky@xxxxxxxxx> wrote:

> Review: Needs Information
>
> I get the following stacktrace when trying to run openlp from this branch:
>
> $ python openlp.py
> WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend
> plugin could not be loaded
> Traceback (most recent call last):
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/logging/__init__.py",
> line 937, in emit
>     msg = self.format(record)
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/logging/__init__.py",
> line 808, in format
>     return fmt.format(record)
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/logging/__init__.py",
> line 554, in format
>     record.exc_text = self.formatException(record.exc_info)
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/logging/__init__.py",
> line 504, in formatException
>     traceback.print_exception(ei[0], ei[1], tb, None, sio)
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/traceback.py",
> line 156, in print_exception
>     for value, tb in values:
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/traceback.py",
> line 122, in _iter_chain
>     context = exc.__context__
> AttributeError: 'NoneType' object has no attribute '__context__'
> Logged from file __init__.py, line 186
> Error in sys.excepthook:
> RuntimeError: super-class __init__() of type ExceptionForm was never called
>
> Original exception was:
> Traceback (most recent call last):
>   File "openlp.py", line 45, in <module>
>     main()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/core/__init__.py", line
> 326, in main
>     sys.exit(application.run(qt_args))
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/core/__init__.py", line
> 137, in run
>     Registry().execute('bootstrap_initialise')
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/core/lib/registry.py",
> line 159, in execute
>     result = function(*args, **kwargs)
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/core/lib/pluginmanager.py",
> line 86, in bootstrap_initialise
>     self.initialise_plugins()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/core/lib/pluginmanager.py",
> line 201, in initialise_plugins
>     plugin.initialise()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/plugins/presentations/presentationplugin.py",
> line 91, in initialise
>     super(PresentationPlugin, self).initialise()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/core/lib/plugin.py",
> line 296, in initialise
>     self.media_item.initialise()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/plugins/presentations/lib/mediaitem.py",
> line 127, in initialise
>     self.populate_display_types()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/plugins/presentations/lib/mediaitem.py",
> line 137, in populate_display_types
>     if self.controllers[item].enabled():
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/plugins/presentations/lib/presentationcontroller.py",
> line 380, in enabled
>     return self.is_available()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/plugins/presentations/lib/presentationcontroller.py",
> line 386, in is_available
>     self.available = self.check_available()
>   File
> "/Users/martin/Projects/openlp/presentation/openlp/plugins/presentations/lib/powerpointmaccontroller.py",
> line 68, in check_available
>     self.process = appscript.app(id='com.microsoft.powerpoint')
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/aeosa/appscript/reference.py",
> line 799, in __call__
>     return self._appclass(*args, **kargs)
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/aeosa/appscript/reference.py",
> line 736, in __init__
>     constructor, identifier = 'path',  aem.findapp.byid(id)
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/aeosa/aem/findapp.py",
> line 65, in byid
>     return _findapp(id=id)
>   File
> "/opt/openlp_2_2/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/aeosa/aem/findapp.py",
> line 15, in _findapp
>     return findapplicationforinfo(creator, id, name)
> aem.ae.MacOSError: -50
> --
> https://code.launchpad.net/~marmyshev/openlp/presentation/+merge/185973
> You are the owner of lp:~marmyshev/openlp/presentation.
>

-- 
https://code.launchpad.net/~marmyshev/openlp/presentation/+merge/185973
Your team OpenLP Core is subscribed to branch lp:openlp.


References