Page 1 of 1
Cannot preview document with Thai Filename
PostPosted:Fri Jun 25, 2021 11:15 am
by teera_w
We have document that have Thai Filename that was not problem on import and add metadata group.
But when I tried preview this file, there is error PathNotFoundException.
Application error
Class: com.openkm.core.PathNotFoundException
Message: /okm:root/Invoice/2021/???.txt
Date: Fri Jun 25 18:09:28 ICT 2021
This file is stored in /okm:root/Invoice/2021/ไทย.txt
This problem was occurred on Text file only. No problem for PDF, MSOffice documents.
Note: OpenKM v6.3.10 Community Edition.
Re: Cannot preview document with Thai Filename
PostPosted:Fri Jun 25, 2021 6:21 pm
by jllort
Please share the document in a zip file for testing purposes in our development servers. It seems a bug, please add a ticket here
https://github.com/openkm/document-mana ... tem/issues ( add in the new ticket the URL of this post )
Re: Cannot preview document with Thai Filename
PostPosted:Sat Jun 26, 2021 7:19 am
by teera_w
Hi jllort,
This attachment is sample file. I will open ticket in your link as well.
TW.
Re: Cannot preview document with Thai Filename
PostPosted:Sat Jun 26, 2021 9:59 am
by jllort
Share the file in the issue if you have not done it. Thanks. As soon as possible we will try to take a look on it.
Re: Cannot preview document with Thai Filename
PostPosted:Mon Jun 28, 2021 6:38 am
by teera_w
jllort wrote: ↑Sat Jun 26, 2021 9:59 am
Share the file in the issue if you have not done it. Thanks. As soon as possible we will try to take a look on it.
Thank you. Sure, I have open new issue
https://github.com/openkm/document-mana ... issues/291 and also attached sample file.
Re: Cannot preview document with Thai Filename
PostPosted:Fri Oct 15, 2021 4:33 am
by saleem55
I have the same issue but in Arabic,
my folder is in Arabic and i can not preview .txt file
Application error
Class: com.openkm.core.PathNotFoundException
Message: /okm:root/Thuhaib/?????????/ssis script.txt
Date: Fri Oct 15 08:31:09 GST 2021
Re: Cannot preview document with Thai Filename
PostPosted:Fri Oct 15, 2021 4:35 am
by saleem55
using openkm v6.3.11
Re: Cannot preview document with Thai Filename
PostPosted:Sat Oct 16, 2021 6:31 pm
by jllort
This is solved in the current code in the master brach. You have two options:
* wait until version 6.3.12
* compile project an replace your OpenKM.war
if decide to compile current code in the master branch -> take a look at
https://github.com/openkm/document-management-system ( build code from source ). When you got compiled simply follow steps described here
https://docs.openkm.com/kcenter/view/ok ... -6312.html
Re: Cannot preview document with Thai Filename
PostPosted:Sat Oct 16, 2021 7:34 pm
by saleem55
jllort wrote: ↑Sat Oct 16, 2021 6:31 pm
This is solved in the current code in the master brach. You have two options:
* wait until version 6.3.12
* compile project an replace your OpenKM.war
if decide to compile current code in the master branch -> take a look at https://github.com/openkm/document-management-system ( build code from source ). When you got compiled simply follow steps described here https://docs.openkm.com/kcenter/view/ok ... -6312.html
hello jllort,
*when do you expected 6.3.12 will be released ?
Re: Cannot preview document with Thai Filename
PostPosted:Sat Oct 23, 2021 7:51 am
by jllort
Usually, at the end of the year, we do a release. But you can build the current master and deploy it. It is quite easy.
Re: Cannot preview document with Thai Filename
PostPosted:Fri Oct 29, 2021 12:58 pm
by saleem55
jllort wrote: ↑Sat Oct 23, 2021 7:51 am
Usually, at the end of the year, we do a release. But you can build the current master and deploy it. It is quite easy.
after building the current master 6.3.12-dev and I deploy the project ,I found that the Arabic path is showing very well but
previewing <arabic words>.txt file is not working
Re: Cannot preview document with Thai Filename
PostPosted:Fri Nov 05, 2021 4:08 pm
by jllort
Open an issue for this matter at
https://github.com/openkm/document-mana ... tem/issues ( share the screenshot too )