Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when opening cbz archive #1

Open
frykauf opened this issue Jan 31, 2021 · 2 comments
Open

Bug when opening cbz archive #1

frykauf opened this issue Jan 31, 2021 · 2 comments

Comments

@frykauf
Copy link

frykauf commented Jan 31, 2021

The document “XXXXXxxxx v01.cbz” could not be opened. Fomalhaut2 cannot open files in the “data” format.

The app loads in the XXX.cbz file even shows 1st page preview, but it bugs out trying to read the XXX.cbz file.

Also when trying to open the same file via File->Open… it shows the same file as grayed out in the Finder open dialog.

@mtgto
Copy link
Owner

mtgto commented Feb 1, 2021

@frykauf Thanks for your bug report.

It seems Fomalhaut2 has bad association with .cbz in your environment.
To investigate, can you answer my questions?

Q1. Which version of Fomalhaut2 do you use?

Current latest version is v0.7.2.

Q2. Tell me kMDItemContentTypeTree of your cbz file.

If you can use a Terminal (iTerm2, Terminal.app, etc.), mdls shows which app has association with .cbz file.

Execute mdls XXXXXxxxx v01.cbz and copy kMDItemContentTypeTree and paste it to this issue.
(If there is no "net.mtgto.fomalhaut2.cbz" entry, Fomalhaut2 can not open from open dialog or double-click cbz file)

Example (my environment):

$ mdls /Users/mtgto/Downloads/sym001_jpeg.cbz
...
kMDItemContentTypeTree                 = (
    "net.mtgto.fomalhaut2.cbz",
    "public.data",
    "public.item"
)
...

Or print all output.

$ mdls /Users/mtgto/Downloads/sym001_jpeg.cbz
_kMDItemDisplayNameWithExtensions      = "sym001_jpeg.cbz"
kMDItemContentCreationDate             = 2020-10-17 08:15:16 +0000
kMDItemContentCreationDate_Ranking     = 2020-10-17 00:00:00 +0000
kMDItemContentModificationDate         = 2020-10-17 08:15:16 +0000
kMDItemContentModificationDate_Ranking = 2020-10-17 00:00:00 +0000
kMDItemContentType                     = "net.mtgto.fomalhaut2.cbz"
kMDItemContentTypeTree                 = (
    "net.mtgto.fomalhaut2.cbz",
    "public.data",
    "public.item"
)
kMDItemDateAdded                       = 2021-02-01 11:58:21 +0000
kMDItemDateAdded_Ranking               = 2021-02-01 00:00:00 +0000
kMDItemDisplayName                     = "sym001_jpeg.cbz"
kMDItemDocumentIdentifier              = 0
kMDItemFSContentChangeDate             = 2020-10-17 08:15:16 +0000
kMDItemFSCreationDate                  = 2020-10-17 08:15:16 +0000
kMDItemFSCreatorCode                   = ""
kMDItemFSFinderFlags                   = 0
kMDItemFSHasCustomIcon                 = (null)
kMDItemFSInvisible                     = 0
kMDItemFSIsExtensionHidden             = 0
kMDItemFSIsStationery                  = (null)
kMDItemFSLabel                         = 0
kMDItemFSName                          = "sym001_jpeg.cbz"
kMDItemFSNodeCount                     = (null)
kMDItemFSOwnerGroupID                  = 20
kMDItemFSOwnerUserID                   = 501
kMDItemFSSize                          = 1490041
kMDItemFSTypeCode                      = ""
kMDItemInterestingDate_Ranking         = 2020-11-01 00:00:00 +0000
kMDItemKind                            = "Comic Book Zip Archive"
kMDItemLastUsedDate                    = 2020-11-01 02:08:21 +0000
kMDItemLastUsedDate_Ranking            = 2020-11-01 00:00:00 +0000
kMDItemLogicalSize                     = 1490041
kMDItemPhysicalSize                    = 1490944
kMDItemUseCount                        = 3
kMDItemUsedDates                       = (
    "2020-10-31 15:00:00 +0000"
)
kMDItemWhereFroms                      = (
    "http://morningmanga.com/uploads/sym001_jpeg.zip",
    "http://morningmanga.com/st023cc/"
)

@mtgto
Copy link
Owner

mtgto commented Feb 27, 2021

Since v0.8.1, skip dropping files which has unsupported extensions.
https://github.com/mtgto/Fomalhaut2/releases/tag/0.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants