Skip to content

swapped to linux and now cannot use jpegs #100

@caurnaudthia

Description

@caurnaudthia

Hello so this could be really dumb but i recently swapped my primary machine over to linux and now I get the following error whenever i try to either export or preview:

panic: unsupported image format: .JPG

goroutine 116 [running]:
github.com/waynezhang/foto/internal/images.extToFormat({0xc0001b248f?, 0x13?})
	/home/runner/work/foto/foto/internal/images/image.go:131 +0xb8
github.com/waynezhang/foto/internal/images.GetEXIFValues({0xc0001b2480, 0x13})
	/home/runner/work/foto/foto/internal/images/image.go:105 +0x152
github.com/waynezhang/foto/internal/indexer.buildImageSet({0xc0001b2480, 0x13}, {0x280, 0x1f4, 0x800, 0x4b0, 0x55})
	/home/runner/work/foto/foto/internal/indexer/indexer.go:122 +0xbe
github.com/waynezhang/foto/internal/indexer.buildImageSets.func1.1({0xc0001b2480, 0x13})
	/home/runner/work/foto/foto/internal/indexer/indexer.go:88 +0x9a
created by github.com/waynezhang/foto/internal/indexer.buildImageSets.func1 in goroutine 1
	/home/runner/work/foto/foto/internal/indexer/indexer.go:85 +0x265

I swapped to my last working branch for my website and it produced the same error. Would you happen to know what could potentially be causing this? If it helps at all I'm running a bare-minimum installaiton of arch (kernel 6.17.9) with KDE/wayland. I have exiftool and imagemagick and those are the first applications I can think of that may be necessary for this utility to function.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions