Re: loadComponentFromURL & AttributeError
Sandro <[email protected]>
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Stephan, > the desktop object does not have loadFromComponentURL, not only the folloing > traceback show it but I tested interactively with ipython I tryed reinstalling from scratch (the first time I just installed writer) but the situation doesn't change. Are there some tests I could do to diagnose the problem? I can install other releases if that's usefull. Python distro of the working setup is the std python from python.org while the not working setup is from ActiveState: could that be relevant? thaks in advance sandro *:-) > the desktop object does not have loadFromComponentURL, not only the folloing > traceback show it but I tested interactively with ipython > > Z:\oootemplate\demo>python oodebug-load.py > Z:\oootemplate\demo/template-debug.odt True > Traceback (most recent call last): > File "oodebug-load.py", line 21, in <module> > document = desktop.loadComponentFromURL(u"file://" +filename ,"_blank", 0, > ()) > AttributeError: loadComponentFromURL