Hi
i end with this error
Traceback (most recent call last):
File "./testMe.py", line 23, in ?
sourceDoc.storeToURL(url,args)
AttributeError: storeToURL
as reported by pierre, the problem was located on the paths pointing to
the OOo 1.1.4 and not OOo2
correcting them and the problem ha
Hi Pierre
I previously had this kind of problem with OOo ...
until I realize that my LD_LIBRARY_PATH and PYTHONPATH where not correct
and that I was using the OOo1.1.x python-uno bridge with OOo2 (and thus
the wrong services.rdb).
Check with ldd or gcc that you are really using the correct lib w
Hi,
I previously had this kind of problem with OOo ...
until I realize that my LD_LIBRARY_PATH and PYTHONPATH where not correct
and that I was using the OOo1.1.x python-uno bridge with OOo2 (and thus
the wrong services.rdb).
Check with ldd or gcc that you are really using the correct lib with
your
Hi Joerg
please check, what sourceDoc is e.g. with
print sourceDoc
unohelper.inspect( sourceDoc )
thanks i'll do that
nevertheless, I tried with pyXRay (same way as inspect) abd the UI froze
I'll try as command line
and whether it supports the desired interface. I think you get this
mess
Hi,
please check, what sourceDoc is e.g. with
print sourceDoc
unohelper.inspect( sourceDoc )
and whether it supports the desired interface. I think you get this
message, when sourceDoc is None.
Bye,
Joerg
Laurent Godard wrote:
Hi all
i simply try to load/export a file using PyUNO in OOo
Hi all
i simply try to load/export a file using PyUNO in OOo2 (m118)
(code at the end)
i end with this error
Traceback (most recent call last):
File "./testMe.py", line 23, in ?
sourceDoc.storeToURL(url,args)
AttributeError: storeToURL
while all is ok with 1.1.4
the same code (or nearly)