Guest User

Untitled

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