Hi Fernand,
yes, I tried it with the same result:
$ cat np.doc | python DocumentConverterStream.py -f doc -t pdf
--connect=pipe,name=oood-1 > np.pdf
Traceback (most recent call last):
File "DocumentConverterStream.py", line 328, in <module>
options.from_format, options.to_format)
File "DocumentConverterStream.py", line 202, in convertByStream
document.storeAsURL('private:stream', self._toProperties(**storeProperties))
uno.ErrorCodeIOException
Any other ideas?
Thanks!
On Thu, Jul 29, 2010 at 9:56 AM, Fernand Vanrie <[email protected]> wrote:
> Joaquin ,
>
> Have you tryed "storeAsURL" ?
>
> greetz
> Fernand
>>
>> I forgot to include a link to the code I'm using:
>>
>> http://pastebin.com/Xusn0XR2
>>
>> On Tue, Jul 27, 2010 at 9:11 PM, Joaquin Cuenca Abela
>> <[email protected]> wrote:
>>
>>>
>>> Hi,
>>>
>>> I'm trying to convert some files from .odt to .pdf using a modified
>>> PyODConverter, where the modification allows to do the conversion
>>> using streams. I get an ErrorCodeIOException when I try to write the
>>> output document to my stream, if I use FilterName="writer_pdf_Export".
>>>
>>> If I use a FilterName="Text", FilterOptions="utf8" then it works
>>> correctly.
>>>
>>> The ErrCode of this exception is 3088, that if I'm right matches
>>> ERRCODE_IO_CANTWRITE
>>>
>>> (http://hg.services.openoffice.org/DEV300/file/5a09369091b2/tools/inc/tools/errcode.hxx)
>>>
>>> My version of OpenOffice is 3.1.1 Build: 9420, running in Ubuntu 9.10
>>> Server.
>>>
>>> Any clues?
>>>
>>> Thanks!
>>>
>>> --
>>> Joaquin Cuenca Abela
>>>
>>>
>>
>>
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Joaquin Cuenca Abela
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]