[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-12 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

stardiviner  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED

--- Comment #17 from stardiviner  ---
After upgrading Arch Linux, this bug seems disappeared. Okular seems version
not changed. Might some other issue.
Thanks for maintainers' help. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-07 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #16 from stardiviner  ---
[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Tue, Aug 8, 2017 at 8:06 AM, numbch...@gmail.com 
wrote:

> So this is a bug on Arch Linux package `okular`? I will send bug to Arch
> package. Thanks. I will update the bug link at here as a reference.
>
> [stardiviner] GPG key ID: 47C32433
> IRC(freeenode): stardiviner Twitter:  @numbchild
> Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
> Blog: http://stardiviner.github.io/
>
> On Tue, Aug 8, 2017 at 5:25 AM, Albert Astals Cid <
> bugzilla_nore...@kde.org> wrote:
>
>> https://bugs.kde.org/show_bug.cgi?id=383155
>>
>> Albert Astals Cid  changed:
>>
>>What|Removed |Added
>> 
>> 
>>  CC||aa...@kde.org
>>
>> --- Comment #14 from Albert Astals Cid  ---
>> While on ubuntu it says
>>
>> libepub (II):   opening '/tmp/okularJ22784'
>> libepub (II):   building ocf struct
>> libepub (II):   looking for mime type
>> libepub (II):   mimetype found application/epub+zip
>> libepub (II):   parsing container file META-INF/container.xml
>> libepub (II):   Found containerr
>> libepub (II):   Found rootfiles
>> libepub (II):   found root in content.opf media-type is
>> application/oebps-package+xml
>> libepub (II):   Found rootfiles
>> libepub (II):   Found containerr
>> libepub (II):   data path is
>> libepub (II):   building opf struct
>> libepub (II):   parsing metadata
>> libepub (II):   creator - aut: 林语堂 (林语堂)
>> libepub (II):   meta is calibre:timestamp: 2016-03-02T00:22:41.967000+00:
>> 00
>> libepub (II):   date of (null): 2008-07-31T16:00:00+00:00
>> libepub (II):   description is
>> 古人,想要使得美德显明天下,首先要治理好他的国家;想要治理好自己国家的人,首先要整治好自己的家庭;想要整治好自己家庭的人
>> ,首先要努力提高自身的道德修养;想要提高自己道德修养的人,首先要使自己的心正;想使自己的心正,首先自己要诚实;
>> 要想做个诚实的人,首先要获得真正的知识;而获得知识的方法就是穷究事物的原理。
>> 本书以通俗、生动的语言,以小品文的形式,为你讲述包括儒家、道家和佛家这三方面的国学知识。
>> libepub (II):   identifier uuid_id(uuid) is:
>> e74b1248-c292-4e9d-87a8-b4fd21afb507
>> libepub (II):   contributor - bkp: calibre (2.41.0) [
>> http://calibre-ebook.com]
>> ((null))
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
>>
>
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-07 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #15 from stardiviner  ---
So this is a bug on Arch Linux package `okular`? I will send bug to Arch
package. Thanks. I will update the bug link at here as a reference.

[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Tue, Aug 8, 2017 at 5:25 AM, Albert Astals Cid 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=383155
>
> Albert Astals Cid  changed:
>
>What|Removed |Added
> 
> 
>  CC||aa...@kde.org
>
> --- Comment #14 from Albert Astals Cid  ---
> While on ubuntu it says
>
> libepub (II):   opening '/tmp/okularJ22784'
> libepub (II):   building ocf struct
> libepub (II):   looking for mime type
> libepub (II):   mimetype found application/epub+zip
> libepub (II):   parsing container file META-INF/container.xml
> libepub (II):   Found containerr
> libepub (II):   Found rootfiles
> libepub (II):   found root in content.opf media-type is
> application/oebps-package+xml
> libepub (II):   Found rootfiles
> libepub (II):   Found containerr
> libepub (II):   data path is
> libepub (II):   building opf struct
> libepub (II):   parsing metadata
> libepub (II):   creator - aut: 林语堂 (林语堂)
> libepub (II):   meta is calibre:timestamp: 2016-03-02T00:22:41.967000+00:
> 00
> libepub (II):   date of (null): 2008-07-31T16:00:00+00:00
> libepub (II):   description is
> 古人,想要使得美德显明天下,首先要治理好他的国家;想要治理好自己国家的人,首先要整治好自己的家庭;
> 想要整治好自己家庭的人,首先要努力提高自身的道德修养;想要提高自己道德修养的人,首先要使自己的心正;
> 想使自己的心正,首先自己要诚实;要想做个诚实的人,首先要获得真正的知识;而获得知识的方法就是穷究事物的原理。
> 本书以通俗、生动的语言,以小品文的形式,为你讲述包括儒家、道家和佛家这三方面的国学知识。
> libepub (II):   identifier uuid_id(uuid) is:
> e74b1248-c292-4e9d-87a8-b4fd21afb507
> libepub (II):   contributor - bkp: calibre (2.41.0) [
> http://calibre-ebook.com]
> ((null))
>
> --
> You are receiving this mail because:
> You reported the bug.
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-07 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=383155

Albert Astals Cid  changed:

   What|Removed |Added

 CC||aa...@kde.org

--- Comment #14 from Albert Astals Cid  ---
While on ubuntu it says

libepub (II):   opening '/tmp/okularJ22784'
libepub (II):   building ocf struct
libepub (II):   looking for mime type
libepub (II):   mimetype found application/epub+zip
libepub (II):   parsing container file META-INF/container.xml
libepub (II):   Found containerr
libepub (II):   Found rootfiles
libepub (II):   found root in content.opf media-type is
application/oebps-package+xml
libepub (II):   Found rootfiles
libepub (II):   Found containerr
libepub (II):   data path is 
libepub (II):   building opf struct
libepub (II):   parsing metadata
libepub (II):   creator - aut: 林语堂 (林语堂)
libepub (II):   meta is calibre:timestamp: 2016-03-02T00:22:41.967000+00:00
libepub (II):   date of (null): 2008-07-31T16:00:00+00:00
libepub (II):   description is
古人,想要使得美德显明天下,首先要治理好他的国家;想要治理好自己国家的人,首先要整治好自己的家庭;想要整治好自己家庭的人,首先要努力提高自身的道德修养;想要提高自己道德修养的人,首先要使自己的心正;想使自己的心正,首先自己要诚实;要想做个诚实的人,首先要获得真正的知识;而获得知识的方法就是穷究事物的原理。
本书以通俗、生动的语言,以小品文的形式,为你讲述包括儒家、道家和佛家这三方面的国学知识。
libepub (II):   identifier uuid_id(uuid) is:
e74b1248-c292-4e9d-87a8-b4fd21afb507
libepub (II):   contributor - bkp: calibre (2.41.0) [http://calibre-ebook.com]
((null))

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-07 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #12 from stardiviner  ---
My Okular version is: `okular 1.1.3`.
I searched `epub-tools` in Arch Linux with command `yaourt -Ss epub-tools`,
found it is not installed.
I tried to install it. but failed.
I tried two ways to install `epub-tools`:
Install with Haskell cabal:
```
cabal update ; cabal install epub-tools
```
But get error:
```
Downloading the latest package list from hackage.haskell.org
cabal update  12.36s user 2.14s system 10% cpu 2:23.04 total
Resolving dependencies...
Downloading regex-posix-0.95.2...
Downloading regex-tdfa-1.2.2...
Configuring regex-posix-0.95.2...
Configuring regex-tdfa-1.2.2...
Building regex-posix-0.95.2...
Building regex-tdfa-1.2.2...
Installed regex-posix-0.95.2
Downloading regex-compat-0.95.1...
Configuring regex-compat-0.95.1...
Building regex-compat-0.95.1...
Installed regex-compat-0.95.1
Installed regex-tdfa-1.2.2
Downloading regex-compat-tdfa-0.95.1.4...
Configuring regex-compat-tdfa-0.95.1.4...
Building regex-compat-tdfa-0.95.1.4...
Installed regex-compat-tdfa-0.95.1.4
Downloading epub-metadata-4.5...
Configuring epub-metadata-4.5...
Building epub-metadata-4.5...
Failed to install epub-metadata-4.5
Build log ( /home/stardiviner/.cabal/logs/epub-metadata-4.5.log ):
cabal: Entering directory '/tmp/cabal-tmp-26603/epub-metadata-4.5'
Configuring epub-metadata-4.5...
Building epub-metadata-4.5...
Preprocessing library epub-metadata-4.5...
[ 1 of 24] Compiling Codec.Epub.Util  ( src/Codec/Epub/Util.hs,
dist/build/Codec/Epub/Util.o )
[ 2 of 24] Compiling Codec.Epub.Parse.Util ( src/Codec/Epub/Parse/Util.hs,
dist/build/Codec/Epub/Parse/Util.o )
[ 3 of 24] Compiling Codec.Epub.IO( src/Codec/Epub/IO.hs,
dist/build/Codec/Epub/IO.o )
[ 4 of 24] Compiling Codec.Epub.Format.Util (
src/Codec/Epub/Format/Util.hs, dist/build/Codec/Epub/Format/Util.o )
[ 5 of 24] Compiling Codec.Epub.Data.Package (
src/Codec/Epub/Data/Package.hs, dist/build/Codec/Epub/Data/Package.o )
[ 6 of 24] Compiling Codec.Epub.Format.Package (
src/Codec/Epub/Format/Package.hs, dist/build/Codec/Epub/Format/Package.o )
[ 7 of 24] Compiling Codec.Epub.Parse.Package (
src/Codec/Epub/Parse/Package.hs, dist/build/Codec/Epub/Parse/Package.o )
[ 8 of 24] Compiling Codec.Epub.Data.Metadata (
src/Codec/Epub/Data/Metadata.hs, dist/build/Codec/Epub/Data/Metadata.o )
[ 9 of 24] Compiling Codec.Epub.Format.Metadata (
src/Codec/Epub/Format/Metadata.hs, dist/build/Codec/Epub/Format/Metadata.o )
[10 of 24] Compiling Codec.Epub.Parse.Metadata (
src/Codec/Epub/Parse/Metadata.hs, dist/build/Codec/Epub/Parse/Metadata.o )
[11 of 24] Compiling Codec.Epub.Parse.Refinements (
src/Codec/Epub/Parse/Refinements.hs,
dist/build/Codec/Epub/Parse/Refinements.o )
[12 of 24] Compiling Codec.Epub.Data.Common (
src/Codec/Epub/Data/Common.hs, dist/build/Codec/Epub/Data/Common.o )
[13 of 24] Compiling Codec.Epub.Data.Guide ( src/Codec/Epub/Data/Guide.hs,
dist/build/Codec/Epub/Data/Guide.o )
[14 of 24] Compiling Codec.Epub.Format.Guide (
src/Codec/Epub/Format/Guide.hs, dist/build/Codec/Epub/Format/Guide.o )
[15 of 24] Compiling Codec.Epub.Parse.Guide (
src/Codec/Epub/Parse/Guide.hs, dist/build/Codec/Epub/Parse/Guide.o )
[16 of 24] Compiling Codec.Epub.Data.Manifest (
src/Codec/Epub/Data/Manifest.hs, dist/build/Codec/Epub/Data/Manifest.o )
[17 of 24] Compiling Codec.Epub.Format.Manifest (
src/Codec/Epub/Format/Manifest.hs, dist/build/Codec/Epub/Format/Manifest.o )
[18 of 24] Compiling Codec.Epub.Parse.Manifest (
src/Codec/Epub/Parse/Manifest.hs, dist/build/Codec/Epub/Parse/Manifest.o )
[19 of 24] Compiling Codec.Epub.Data.Spine ( src/Codec/Epub/Data/Spine.hs,
dist/build/Codec/Epub/Data/Spine.o )
[20 of 24] Compiling Codec.Epub.Format.Spine (
src/Codec/Epub/Format/Spine.hs, dist/build/Codec/Epub/Format/Spine.o )
[21 of 24] Compiling Codec.Epub.Format ( src/Codec/Epub/Format.hs,
dist/build/Codec/Epub/Format.o )
[22 of 24] Compiling Codec.Epub.Parse.Spine (
src/Codec/Epub/Parse/Spine.hs, dist/build/Codec/Epub/Parse/Spine.o )
[23 of 24] Compiling Codec.Epub.Parse ( src/Codec/Epub/Parse.hs,
dist/build/Codec/Epub/Parse.o )
[24 of 24] Compiling Codec.Epub   ( src/Codec/Epub.hs,
dist/build/Codec/Epub.o )
Preprocessing executable 'epub-metadata-example' for epub-metadata-4.5...
[1 of 1] Compiling Main ( app/epub-metadata-example.hs,
dist/build/epub-metadata-example/epub-metadata-example-tmp/Main.o )
Linking dist/build/epub-metadata-example/epub-metadata-example ...
/usr/sbin/ld: cannot find -lHSzip-archive-0.3.1.1-CTnIdx1PD2R28s6Hv1Ft3y
/usr/sbin/ld: cannot find -lHSzlib-0.6.1.2-GcLmGV5PElZD6CJvjR9umm
/usr/sbin/ld: cannot find -lHSpretty-1.1.3.3
/usr/sbin/ld: cannot find -lHSold-time-1.1.0.3-EZzkBJ4NQxX4hHavrKxgaT
/usr/sbin/ld: cannot find -lHSold-locale-1.0.0.7-KGBP1BSKxH5GCm0LnZP04j
/usr/sbin/ld: cannot find -lHSdigest-0.0.1.2-ExF2dwgnnwj5rxxaZYWSiQ
/usr/sbin/ld: cannot find -lHSutf8-string-1.0.1.1-1DpjxLeTvGg7ttZZojxJR5
/usr/sbin/ld: cannot find 

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-06 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #11 from Yuri Chornoivan  ---
The last file attached (kk.epub) can be successfully opened and read using
Okular 1.0.3 + epub-tools 0.2.2 on Mageia 6. So this might be a distribution
problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-06 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #10 from stardiviner  ---
BTW, After run [F7], and click fix all fixable warnings. Run check again,
those warnings gone. But Okular still open file with error and failed.

[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Sun, Aug 6, 2017 at 4:24 PM, Yuri Chornoivan 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=383155
>
> --- Comment #7 from Yuri Chornoivan  ---
> (In reply to stardiviner from comment #6)
> > Created attachment 107102 [details]
> > attachment-25382-0.html
> >
> > - When I rename the chinese file to `kk.epub`, still same error: `Could
> not
> > open file:///home/stardiviner/Org/Wiki/Thought/Data/Books/kk.epub`.
> > - I then tried to open other original english epub files, they work fine.
> > So seems Okular backend for epub works has support. The problem is on the
> > file? But I can open the chinese epub file with command `ebook-viewer`
> > which comes from `calibre`.
>
> Calibre viewer is _very_ tolerant and advanced viewer (on the other hand,
> Okular's one is basic ;) ).
>
> Is it possible to validate and correct the file with calibre editor ("Edit
> book" then F7) or Sigil (F7)?
>
> Can you attach an example of non-working book to this report?
>
> Thanks in advance for your answers.
>
> --
> You are receiving this mail because:
> You reported the bug.
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-06 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #8 from stardiviner  ---
I tried calibre edit command `ebook-edit` on failed book.
And press [F7]. Found those warnings. I take a screenshot in attachment too.

[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Sun, Aug 6, 2017 at 4:24 PM, Yuri Chornoivan 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=383155
>
> --- Comment #7 from Yuri Chornoivan  ---
> (In reply to stardiviner from comment #6)
> > Created attachment 107102 [details]
> > attachment-25382-0.html
> >
> > - When I rename the chinese file to `kk.epub`, still same error: `Could
> not
> > open file:///home/stardiviner/Org/Wiki/Thought/Data/Books/kk.epub`.
> > - I then tried to open other original english epub files, they work fine.
> > So seems Okular backend for epub works has support. The problem is on the
> > file? But I can open the chinese epub file with command `ebook-viewer`
> > which comes from `calibre`.
>
> Calibre viewer is _very_ tolerant and advanced viewer (on the other hand,
> Okular's one is basic ;) ).
>
> Is it possible to validate and correct the file with calibre editor ("Edit
> book" then F7) or Sigil (F7)?
>
> Can you attach an example of non-working book to this report?
>
> Thanks in advance for your answers.
>
> --
> You are receiving this mail because:
> You reported the bug.
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-06 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #7 from Yuri Chornoivan  ---
(In reply to stardiviner from comment #6)
> Created attachment 107102 [details]
> attachment-25382-0.html
> 
> - When I rename the chinese file to `kk.epub`, still same error: `Could not
> open file:///home/stardiviner/Org/Wiki/Thought/Data/Books/kk.epub`.
> - I then tried to open other original english epub files, they work fine.
> So seems Okular backend for epub works has support. The problem is on the
> file? But I can open the chinese epub file with command `ebook-viewer`
> which comes from `calibre`.

Calibre viewer is _very_ tolerant and advanced viewer (on the other hand,
Okular's one is basic ;) ).

Is it possible to validate and correct the file with calibre editor ("Edit
book" then F7) or Sigil (F7)?

Can you attach an example of non-working book to this report?

Thanks in advance for your answers.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-06 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #6 from stardiviner  ---
- When I rename the chinese file to `kk.epub`, still same error: `Could not
open file:///home/stardiviner/Org/Wiki/Thought/Data/Books/kk.epub`.
- I then tried to open other original english epub files, they work fine.
So seems Okular backend for epub works has support. The problem is on the
file? But I can open the chinese epub file with command `ebook-viewer`
which comes from `calibre`.
- And yes, I install okular from Arch system packed.
Here is the output:
```
yaourt -Ss okular
extra/okular 17.04.3-1 (kde-applications kdegraphics) [installed]
Document Viewer
aur/okular-backend-mupdf-git r33.7c02d23-1 (8) (0.00)
MuPDF-based backend for Okular (git version)
aur/okular-git r7435.3a16c16-1 (40) (0.02)
Universal document viewer
aur/okular-light 17.04.3-1 (2) (0.38)
KDE document viewer, without Mobi/ePub/CHM and Text-to-Speech
```


[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Sat, Aug 5, 2017 at 11:22 PM, Yuri Chornoivan 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=383155
>
> Yuri Chornoivan  changed:
>
>What|Removed |Added
> 
> 
>  CC||yurc...@ukr.net
>
> --- Comment #5 from Yuri Chornoivan  ---
> (In reply to Michael Weghorn from comment #4)
> > The "Platform" field in this bug report indicates that you are using Arch
> > Linux. Is that correct? Are you using the Okular version that comes
> packaged
> > with Arch?
> > (I haven't checked yet, but it might be that Arch builds Okular without
> > support for epub files.)
>
> As it follows from the PKGBUILD pages, the most popular PKGBUILD
> (okular-light)
> does not contain the support for ePub (ebook-tools not included), although
> advertises epub support through the desktop file.
>
> Cf.:
>
> https://aur.archlinux.org/packages/okular-git/ (with support)
>
> https://aur.archlinux.org/packages/okular-light/ (without support)
>
> --
> You are receiving this mail because:
> You reported the bug.
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread Yuri Chornoivan
https://bugs.kde.org/show_bug.cgi?id=383155

Yuri Chornoivan  changed:

   What|Removed |Added

 CC||yurc...@ukr.net

--- Comment #5 from Yuri Chornoivan  ---
(In reply to Michael Weghorn from comment #4)
> The "Platform" field in this bug report indicates that you are using Arch
> Linux. Is that correct? Are you using the Okular version that comes packaged
> with Arch?
> (I haven't checked yet, but it might be that Arch builds Okular without
> support for epub files.)

As it follows from the PKGBUILD pages, the most popular PKGBUILD (okular-light)
does not contain the support for ePub (ebook-tools not included), although
advertises epub support through the desktop file.

Cf.:

https://aur.archlinux.org/packages/okular-git/ (with support)

https://aur.archlinux.org/packages/okular-light/ (without support)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #4 from Michael Weghorn  ---
Thank you for your quick reply. This sounds like your problem might be
unrelated to the actual file name, so I suggest to use the file without special
characters for now.

Can you post the output shown on the command line when you run okular from the
command line?

okular /home/stardiviner/Org/Wiki/Thought/Data/Books/kk.epub

Are there any other error messages or warnings shown in Okular that might give
a hint about the problem?

Can you open other epub files in Okular?

The "Platform" field in this bug report indicates that you are using Arch
Linux. Is that correct? Are you using the Okular version that comes packaged
with Arch?
(I haven't checked yet, but it might be that Arch builds Okular without support
for epub files.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread stardiviner
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #3 from stardiviner  ---
​​
When I execute command with out `file://` prefix.
```
okular /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub
```
Still got same error:

When I rename the file to `kk.epub`.
Still error.

The output of command `locate`:
```

LANG=zh_CN.UTF-8

LC_CTYPE=zh_CN.UTF-8

LC_NUMERIC=en_US.UTF-8

LC_TIME=en_US.UTF-8

LC_COLLATE="zh_CN.UTF-8"

LC_MONETARY=en_US.UTF-8

LC_MESSAGES="zh_CN.UTF-8"

LC_PAPER=en_US.UTF-8

LC_NAME=en_US.UTF-8

LC_ADDRESS=en_US.UTF-8

LC_TELEPHONE=en_US.UTF-8

LC_MEASUREMENT=en_US.UTF-8

LC_IDENTIFICATION=en_US.UTF-8

LC_ALL=
```

[stardiviner] GPG key ID: 47C32433
IRC(freeenode): stardiviner Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Sat, Aug 5, 2017 at 5:40 PM, Michael Weghorn 
wrote:

> https://bugs.kde.org/show_bug.cgi?id=383155
>
> --- Comment #2 from Michael Weghorn  ---
> (In reply to Michael Weghorn from comment #1)
> > Some questions that might help to narrow down the issue:
> >
> > 1) Does this work if you use a "plain" file path instead of a URI, i.e.
> >
> > okular file: /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub
> >
>
> Sorry, I forgot to properly remove everything; what I meant was:
>
> okular /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub
>
> --
> You are receiving this mail because:
> You reported the bug.
>

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=383155

--- Comment #2 from Michael Weghorn  ---
(In reply to Michael Weghorn from comment #1)
> Some questions that might help to narrow down the issue:
> 
> 1) Does this work if you use a "plain" file path instead of a URI, i.e.
> 
> okular file: /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub
> 

Sorry, I forgot to properly remove everything; what I meant was:

okular /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub

-- 
You are receiving this mail because:
You are the assignee for the bug.

[okular] [Bug 383155] Okular open path or URI contains chinese error

2017-08-05 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=383155

Michael Weghorn  changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

--- Comment #1 from Michael Weghorn  ---
Some questions that might help to narrow down the issue:

1) Does this work if you use a "plain" file path instead of a URI, i.e.

okular file: /home/stardiviner/Org/Wiki/Thought/Data/Books/国学拾遗.epub

2) Does it work if you rename the file so that it no longer contains Chineses
characters, but only ASCII characters, e.g. if you make a copy of the file
called "myfile.epub" and then use the following command:

okular file:///home/stardiviner/Org/Wiki/Thought/Data/Books/myfile.epub

3) Can you post the output of the command 'locale'?

-- 
You are receiving this mail because:
You are the assignee for the bug.