Page 1 of 1

[Solved] ErrorCodeIOException 283 when saving as doc

Posted: Thu Oct 04, 2012 11:31 am
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?

Re: ErrorCodeIOException 283 when saving as doc

Posted: Thu Oct 04, 2012 5:21 pm
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.

Re: [Solved] ErrorCodeIOException 283 when saving as doc

Posted: Mon Oct 08, 2012 5:20 pm
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

Re: [Solved] ErrorCodeIOException 283 when saving as doc

Posted: Tue Oct 09, 2012 10:35 am
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.