Bug 293952 - meinproc4 does not work with non-latin paths.
Summary: meinproc4 does not work with non-latin paths.
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.9.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: reproducible
Depends on:
Blocks:
 
Reported: 2012-02-13 01:00 UTC by Nikita Skovoroda
Modified: 2018-02-14 19:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Skovoroda 2012-02-13 01:00:44 UTC
Version:           4.8 (using KDE 4.8.0) 
OS:                Linux

$ meinproc4 --check --cache ~/Documents/Программы/kde/okular.build/doc/index.cache.bz2 ~/Documents/Программы/kde/okular/doc/index.docbook

gives error:

I/O warning : failed to load external entity "/home/chalker/Documents/?????????/kde/okular/doc/index.docbook"


Reproducible: Always

Steps to Reproduce:
Just run meinproc4, giving it a path that contains non-latin characters.

Actual Results:  
I/O warning : failed to load external entity

Expected Results:  
No error.

It works on the same file with only-latin characters in path.

For example, this works:
$ ln ~/Documents/Программы/kde/okular/doc/index.docbook ~/1.docbook
$ meinproc4 --check --cache ~/Documents/Программы/kde/okular.build/doc/index.cache.bz2 ~/1.docbook
$ rm ~/1.docbook

Path to the cache file is ok.

Locale is ru_RU.UTF-8.
Comment 1 Nikita Skovoroda 2012-02-13 01:25:18 UTC
This works, and produces no errors:
$ xmllint /home/chalker/Documents/Программы/kde/okular/doc/index.docbook
$ xmllint /home/chalker/Documents/Программы/kde/okular/doc/index.docbook --debug
Comment 2 Nikita Skovoroda 2012-05-22 15:19:31 UTC
I can still confirm it on KDE: 4.8.3 + Qt: 4.8.1.
Comment 3 Nikita Skovoroda 2012-11-01 15:45:06 UTC
Still happens with KDE: 4.9.2 + Qt: 4.8.3.
Comment 4 Nikita Skovoroda 2018-02-14 19:14:43 UTC
Closing, wasn't able to reproduce on a test file with meinproc5.
Did not try building okular from a non-latin path, though.