Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [andreas@andylaptop lo-fix]$ python
- Python 3.3.2 (default, May 21 2013, 15:40:45)
- [GCC 4.8.0 20130502 (prerelease)] on linux
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import uno
- >>> context = uno.getComponentContext()
- >>> resolver = context.ServiceManager.createInstanceWithContext(u'com.sun.star.bridge.UnoUrlResolver', context)
- >>> resolver.resolve(u'uno:pipe,name=openlp_pipe;urp;StarOffice.ComponentContext')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- __main__.NoConnectException: Connector : couldn't connect to pipe openlp_pipe(10)
- >>>
- >>> resolver.resolve(u'uno:pipe,name=openlp_pipe; urp;StarOffice.ComponentContext')
- Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
- __main__.ConnectionSetupException: UNO URL contains bad descriptor name
- >>> exit()
Advertisement
Add Comment
Please, Sign In to add comment