Menu

#115 Library won't automatically add folders containing .cbr files

SVN
closed-fixed
None
5
2023-09-19
2019-02-10
Full Name
No

When attempting to add folders to my library via right click > Add, if the folders in question contain .cbr files, the filepicker dialog window closes without adding them.
running mcomix via terminal shows no errors when this occurs.
folders containing .cbz files are added without incident.

Strangely, if I navigate into the folders with the .cbr files via the filepicker, I can manually select them and add them to the library that way.

Using Mcomix 1.3.dev0 on Manjaro Linux.

Discussion

  • Ark

    Ark - 2019-03-25

    I am sorry for the late reply. I could reproduce the issue. Hopefully, I'll find the time to look into it. Patches are welcome, of course.

     
  • multiSnow

    multiSnow - 2019-04-11

    The _BaseFileChooserDialog.collect_files_from_subdir use mimetypes to collect files, but the .cbr is not a registed in IANA and not included in mimetype, so this bug occurred.
    One way to fix this bug is adding this mimetype (together with other types if needed) to mimetypes using mimetypes.read_mime_types or mimetypes.add_type.
    Another way is, avoid using mimetypes but using os.walk to dive into subdir.

     
  • Oddegamra

    Oddegamra - 2023-09-19
    • status: open --> pending
    • assigned_to: Oddegamra
     
  • Oddegamra

    Oddegamra - 2023-09-19
    • status: pending --> closed-fixed
     
  • Oddegamra

    Oddegamra - 2023-09-19

    This should be fixed in the next version, if it wasn't already fixed before (I just added new mime types for CBR files).

     

Log in to post a comment.

MongoDB Logo MongoDB