Document Server corrupts .odt-files

Suggestions on Document Server Installation/Functionality
TMHBOFH
Posts: 7
Joined: Wed May 17, 2017 12:17 pm

Re: Document Server corrupts .odt-files

Post by TMHBOFH » Thu May 18, 2017 10:11 pm

Thanks for your support.
I think problem is the direct integration of Document Server in Seafile 6.1 (beta). I'm not a developer, but maybe the API call of Seafile is wrong or something like that.
Have you tried with Seafile 6.1 (direct integration) ?

Do you know, how to debug the DocomentServer?

Maxim
Posts: 1781
Joined: Tue Oct 11, 2016 2:34 pm

Re: Document Server corrupts .odt-files

Post by Maxim » Fri May 19, 2017 7:58 am

Hello TMHBOFH!
It needs to be tested! Seafile like Onlyoffice uses WebDAV protocol and there must not be a problem i suppose.
I have redirected the issue to our developers and later inform you about result.

TMHBOFH
Posts: 7
Joined: Wed May 17, 2017 12:17 pm

Re: Document Server corrupts .odt-files

Post by TMHBOFH » Fri May 19, 2017 11:12 am

Hello Maxim,

big thanks for support
Is the key(see parameter manual) limitation of 20 chars still current?
Because Seafile use a key with 40 chars. Strange is why it works with docx.
Attachments
seafile-api-call.zip
API call from Seafile
(595 Bytes) Downloaded 54 times

Maxim
Posts: 1781
Joined: Tue Oct 11, 2016 2:34 pm

Re: Document Server corrupts .odt-files

Post by Maxim » Mon May 22, 2017 9:02 am

Hello TMHBOFH!
limitation of 20 chars still current?
Yes, nobody changed this limitation.

TMHBOFH
Posts: 7
Joined: Wed May 17, 2017 12:17 pm

Re: Document Server corrupts .odt-files

Post by TMHBOFH » Sun May 28, 2017 10:07 pm

Hello Maxim,

with a key length of 20 i get same result.
I have searched at "callback handler" from seafile and discovered that OnlyOffice return a docx file.(maybe :roll: )
The url for "callback handler" looks like "https://mydomain.de/cache/files/b281082 ... utput.docx".
Is this correct with"...output.docx" for a odt file?

Maxim
Posts: 1781
Joined: Tue Oct 11, 2016 2:34 pm

Re: Document Server corrupts .odt-files

Post by Maxim » Mon May 29, 2017 9:24 am

Hello TMHBOFH!
Is this correct with"...output.docx" for a odt file?
Of course not, but anyway maybe the file is docx?
There are two files you attached Test.odt and Test2.odt and let see what is inside of the files
Test2.odt
TEST2-ODT.png
TEST2-ODT.png (4.22 KiB) Viewed 4426 times
This is docx i suppose
Test1.odt
TEST1-ODT.png
TEST1-ODT.png (7.13 KiB) Viewed 4426 times
This one is odt i suppose

TMHBOFH
Posts: 7
Joined: Wed May 17, 2017 12:17 pm

Re: Document Server corrupts .odt-files

Post by TMHBOFH » Mon May 29, 2017 11:08 am

Hello Maxim,
i will describe the situation. (sorry for the confusion)

1.) i create the file Test1.odt with LibreOffice
2.) i copy these to file to Test2.odt (local on my windows 7 PC)
3.) upload Test2.odt file into seafile
4.) edit the these with DocumentServer over api call (seafile-api-call.zip) from seafile
5.) seafile receive from DocumentServer a file in docx format and not as odt

I don't know why i get a file in docx format back ?

Maxim
Posts: 1781
Joined: Tue Oct 11, 2016 2:34 pm

Re: Document Server corrupts .odt-files

Post by Maxim » Wed May 31, 2017 9:17 am

Hello TMHBOFH!
I don't know why i get a file in docx format back ?
I don't know why this scenario behaves such way, but it's not on our side.

TMHBOFH
Posts: 7
Joined: Wed May 17, 2017 12:17 pm

Re: Document Server corrupts .odt-files

Post by TMHBOFH » Wed May 31, 2017 1:52 pm

Hello Maxim,

:?: :?: :?: I have no idea, what I can check on the side of seafile.
The DocumentServer grep a odt file and return a docx file.
The API call is correct or could be this the error?

Please excuse me, that I so nervenerve, but it would be nice if we could find the error.

Did you have tips for me to debug the DocmentServer part at this scenario.

Maxim
Posts: 1781
Joined: Tue Oct 11, 2016 2:34 pm

Re: Document Server corrupts .odt-files

Post by Maxim » Fri Jun 02, 2017 7:46 am

Hello TMHBOFH!
Onlyoffice can edit files in Office Open XML format but it cannot edit ODT files that's why it needs to convert the file into docx to edit. But why Seafile behaves such way, i mean it "allows" to send for editing odt files to OnlyOffice Document Server i don't know.

Post Reply