[Solved] ErrorCodeIOException 283 when saving as doc

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
Tim-Erwin
Posts: 3
Joined: Thu Oct 04, 2012 11:22 am

[Solved] ErrorCodeIOException 283 when saving as doc

Post by Tim-Erwin »

I'm using Python to open a document (.doc) via UNO which works fine. I can access the text etc. Then I try to

Code: Select all

document.storeToURL(url, properties)
but only get an ErrorCodeIOException with error code 283 (0x11b) and an empty message. The url is valid (same format as input url which works), write access is granted, target file does not exist. I cannot find what the error means, any hints?
Last edited by Hagar Delest on Thu Oct 04, 2012 9:42 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 3.2 on Debian/Ubuntu
Tim-Erwin
Posts: 3
Joined: Thu Oct 04, 2012 11:22 am

Re: ErrorCodeIOException 283 when saving as doc

Post by Tim-Erwin »

Well, the problem is solved: Although the permissions for the directory should be right, they were not due to a problem (bug?):

OpenOffice starts in server mode even if another instance is already listening on the same port. Hence, I did not realize another instance with another user was running which had no permissions for my folder. Kill it and it works.
OpenOffice 3.2 on Debian/Ubuntu
biznic
Posts: 1
Joined: Mon Oct 08, 2012 5:14 pm

Re: [Solved] ErrorCodeIOException 283 when saving as doc

Post by biznic »

s
Tim-Erwin wrote:Well, the problem is solved: Although the permissions for the directory should be right, they were not due to a problem (bug?):

OpenOffice starts in server mode even if another instance is already listening on the same port. Hence, I did not realize another instance with another user was running which had no permissions for my folder. Kill it and it works.
Hi,

Excuse me but I am new to unix platform I am experiencing the same error how do I Kill the process I'am running debian squeeze and open office 3.2.1
Debian OOo 3.2.1
Tim-Erwin
Posts: 3
Joined: Thu Oct 04, 2012 11:22 am

Re: [Solved] ErrorCodeIOException 283 when saving as doc

Post by Tim-Erwin »

You can find out the process number with this command:

Code: Select all

ps aux | grep office
Then you kill the process with

Code: Select all

kill <processnumber>
However, this is merely a preliminary measure, not something to do in production. You should make sure there is not more than one instance by not starting more than one instance in the first place.
OpenOffice 3.2 on Debian/Ubuntu
Post Reply