xemle / home-gallery

Self-hosted open-source web gallery to view your photos and videos featuring mobile-friendly, tagging and AI powered image discovery
https://home-gallery.org
MIT License
836 stars 64 forks source link

Crash trying to process Jpeg2000 #139

Closed 96NekoRS closed 3 months ago

96NekoRS commented 6 months ago
C:\Users\mariu\AppData\Local\Temp\caxa\home-gallery\1.15.0\home-gallery\node_modules\exiftool-vendored\dist\ExifToolTask.js:54
            throw new Error(buf.toString());
            ^

Error: Can't locate Image/ExifTool/Jpeg2000.pm in @INC (you may need to install the Image::ExifTool::Jpeg2000 module) (@INC contains: C:\Users\mariu\AppData\Local\Temp\caxa\home-gallery\1.15.0\home-gallery\node_modules\exiftool-vendored.exe\bin\exiftool_files/lib C:/Users/mariu/AppData/Local/Temp/caxa/home-gallery/1.15.0/home-gallery/node_modules/exiftool-vendored.exe/bin/exiftool_files/lib) at (eval 15) line 1.
Can't find table Image::ExifTool::Jpeg2000::Main

    at ReadTask.onStderr (C:\Users\mariu\AppData\Local\Temp\caxa\home-gallery\1.15.0\home-gallery\node_modules\exiftool-vendored\dist\ExifToolTask.js:54:19)
    at BatchProcess._BatchProcess_onStderr (C:\Users\mariu\AppData\Local\Temp\caxa\home-gallery\1.15.0\home-gallery\node_modules\batch-cluster\dist\BatchProcess.js:458:14)
    at Socket.<anonymous> (C:\Users\mariu\AppData\Local\Temp\caxa\home-gallery\1.15.0\home-gallery\node_modules\batch-cluster\dist\BatchProcess.js:96:123)
    at Socket.emit (node:events:514:28)
    at addChunk (node:internal/streams/readable:376:12)
    at readableAddChunk (node:internal/streams/readable:349:9)
    at Readable.push (node:internal/streams/readable:286:10)
    at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

Node.js v20.9.0
Error: [object Object]
xemle commented 6 months ago

Due to the minimal binary bundle via npm module caxa and the automatic cleanup of temporary files in windows, files will be deleted by windows and break the software.

You can try to use the tar ball bundle, extract it and call node and the gallery.js entry file manually.

xemle commented 3 months ago

Closing this issue due inactivity.

Please reopen it, if it becomes active again.