seafile and problems of text editing/viewing in chwala
Jan Kowalsky
jankow at datenkollektiv.net
Wed Feb 24 14:36:55 CET 2016
Hi all,
I configured roundcube for using seafile storage in chwala. Everything
works so far except the viewing (odf, pdf) and editing text documents.
While it works inside the kolab file storage it doesn't inside the
seafile libraries.
For text documents I have the following behaviour:
Opening a textfile, added or edited in seafile I sea something like:
"HW(/I-;" (which was "hello world")
If I write something in kolab I can read it in seafile but not in kolab
again.
Ok, I found out, that's because seafile saves text-documents in gzip
format, chwala in plain text.
But is there any work around for using flat text files e.g. for notes
inside the seafile storage?
While I figured out, the reason it doesn't work for txt-files, I have no
Idea what the problem is for odt or pdf documents.
for pdf I get the error:
PDF.js Version 1.0.277 (build: 250d394)
Nachricht: Unexpected server response (0) while retrieving PDF
"https://kolab.example.org/chwala//api/?method=file_get&file=seafile%2FMeine+Bibliothek%2Ftest_kolab%2Ftest.pdf&token=sometoken".
If I move the file insiede roundcube to a directory of the kolab storage
I can open it.
Same Problem for odt Documents. I sea only:
loading
https://kolab.example.org/chwala//api/?method=file_get&file=seafile%2FMeine+Bibliothek%2Ftest_kolab%2Ftest.odt&token=sometoken
Anybody of you have experiences or similar problems and/or knows a solution?
Thanks and best regards
Jan
More information about the users
mailing list