Page 1 of 1

Repository Import-Export problem

PostPosted:Sun Nov 11, 2012 4:54 pm
by luke
Hi

I have a problem with repository import-export.

I exported repository from OpenKM 5.1.11 My catalog files contains special characters like Ł. The exported repository has folder names like sko_Mo?ek the ? mark is ł letter in polish.
When I try to import repository to OpenKM 6.2.1 I get an error Error: PathNotfound: /okm:root/sko_Mo?ek.
When I delete folders with specials characters everything is imported. This problem is only for catalogs the files with these special characters are imported correctly. My system is Debian.
Is there a way to fix it ?

Re: Repository Import-Export problem

PostPosted:Mon Nov 12, 2012 7:43 pm
by jllort
It's not a bug, you've got some encoding probling in your system ( now you should discover where is the problem, could be in several places ). I will try to give some ideas :
Are you importing in debian disk ( formated with ext ) or you're exporting to some unit mounted with debian. I think the problem is in your file system, in other hand could be the locale of the user who's executing openkm ( if you execute the command locale in termimal which is the output ? )

Re: Repository Import-Export problem

PostPosted:Tue Nov 13, 2012 7:04 am
by luke
Code: Select all
root@panel:~# LANG=
root@panel:~# LANGUAGE=
root@panel:~# LC_CTYPE="POSIX"
root@panel:~# LC_NUMERIC="POSIX"
root@panel:~# LC_TIME="POSIX"
root@panel:~# LC_COLLATE="POSIX"
root@panel:~# LC_MONETARY="POSIX"
root@panel:~# LC_MESSAGES="POSIX"
root@panel:~# LC_PAPER="POSIX"
root@panel:~# LC_NAME="POSIX"
root@panel:~# LC_ADDRESS="POSIX"
root@panel:~# LC_TELEPHONE="POSIX"
root@panel:~# LC_MEASUREMENT="POSIX"
root@panel:~# LC_IDENTIFICATION="POSIX"
root@panel:~# LC_ALL=
As You can see my mistake :x
I will change it to UTF-8 and see if this helps.

Thank you for your help.

Re: Repository Import-Export problem

PostPosted:Tue Nov 20, 2012 11:24 am
by luke
Now it`s working fine. Thank you very much for your advice.