Opened 12 years ago

Closed 12 years ago

#34827 closed defect (fixed)

djview falls when trying to open path that contains cyrillic symbols

Reported by: nprokofiev@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: djview

Description (last modified by ryandesign (Ryan Carsten Schmidt))

djview 4.9 falls when trying to open path(filename or any folder in the path) that contains cyrillic symbols from finder. for example, it will fail if I'll try to open /Users/myUser/мойфайл.djvu from finder it will fall. But if i start djview from console, for example

$ open /Applications/MacPorts/djview.app/

and then try to open any cyrillic path or file it works as expected.

Change History (6)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: djvu removed
Owner: changed from macports-tickets@… to nicos@…
Port: djview added

In the future, please fill in the Port field and Cc the maintainer(s).

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

In what way does it fail? Error message? Or just nothing happens? Are there any lines logged to the console at the time the problem occurs?

comment:3 Changed 12 years ago by nprokofiev@…

The program just terminates. No error messages at all. It fails when you start it from finder and in this case there is no console output(I don't know how to see it). If you start it from console, everything works good.

comment:4 Changed 12 years ago by NicosPavlov

As I can reproduce the issue, I assume you opened the file by double-clicking on it. In this case, you should have a log in the Mac Console (Applications->Utilities) that says that djview cannot open the file. When opening from the file menu of the program, a pop-up states exactly the same without djview crashing.

It seems that djview cannot handle UTF-8 characters when opened from the Finder. I do not have a solution now, but will take a look at it.

comment:5 Changed 12 years ago by NicosPavlov

Issue reported upstream as it continues also with version 4.9. http://sourceforge.net/tracker/?func=detail&atid=406583&aid=3570534&group_id=32953

comment:6 Changed 12 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

The issue should be solved with the patch added to djvulibre in r98205.

Note: See TracTickets for help on using tickets.