Fomalhaut2
Fomalhaut2 copied to clipboard
Bug when opening cbz archive
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.
@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/"
)
Since v0.8.1, skip dropping files which has unsupported extensions. https://github.com/mtgto/Fomalhaut2/releases/tag/0.8.1