Menu

#55 Can't open Imágenes directory

v1.0 (example)
closed-postponed
None
5
2021-03-24
2021-03-24
Zhang Weiwu
No

/usr/bin/mapivi version 0.9.7 calling Getopt::Std::getopts (version 1.12),

The directory Imágenes really exist, but the screenshot shows mapivi can't access it

1 Attachments

Discussion

  • Zhang Weiwu

    Zhang Weiwu - 2021-03-24

    It is still problematic with version 1.2

     
  • Martin Herrmann

    Martin Herrmann - 2021-03-24

    Hello, you've been using svn revision 356, the actual version is 438. Please install the newest version (available here: https://sourceforge.net/p/mapivi/code/HEAD/tree/) and retry.
    However, my advice is not to use non-ASCII chars in file and folder names, this is still a problem for many programs and always tricky when transfering files between different operating systems.

     
  • Zhang Weiwu

    Zhang Weiwu - 2021-03-24

    r438 has the same problem (spare me of sending another screenshot).

    I didn't create such a directory Imágenes - it was already created right after installing Ubuntu (Spanish) and images are stored there by default.

    Thanks for taking a look.

     
  • Martin Herrmann

    Martin Herrmann - 2021-03-24

    Hello,
    you are right. I checked again, but I fear I can not fix this problem.
    "Unfortunately, there are still places in Perl ignorant of Unicode. One of these places are filenames. Consequently, the file selectors in Perl/Tk do not handle encoding of filenames properly. Currently they suppose that filenames are in iso-8859-1 encoding, at least on Unix systems. As soon as Perl has a concept of filename encodings, then Perl/Tk will also implement such schemes."
    Source: https://metacpan.org/pod/distribution/Tk/pod/UserGuide.pod
    But there is a workaround! :)
    Rename your picture folder to e.g. Imagenes (plain ASCII iso-8859-1) and change the Ubuntu default picture folder accordingly using "gedit ~/.config/user-dirs.dirs" (see also https://laszlo.gazsi.net/how-to-change-default-folders-on-ubuntu/).
    Regards Martin

     
  • Martin Herrmann

    Martin Herrmann - 2021-03-24
    • status: open --> closed-postponed
    • assigned_to: Martin Herrmann
     
  • Martin Herrmann

    Martin Herrmann - 2021-03-24

    Marked as closed-postponed. To be solved as soon as Perl/Tk is enabled to handle unicode filenames.

     

Log in to post a comment.