errors thrown for jpg image
See original GitHub issueoptimizt working well on png images and also producing webp and avif format images.
when it is run on png files, it is throwing following error :
Processing. Please wait...events.js:186
throw er; // Unhandled 'error' event
^
Error: spawn /home/zenova/projects/nvm/.nvm/versions/node/v12.9.1/lib/node_modules/@funboxteam/optimizt/node_modules/jpegoptim-bin/vendor/jpegoptim ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:77:11)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:77:11) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn /home/zenova/projects/nvm/.nvm/versions/node/v12.9.1/lib/node_modules/@funboxteam/optimizt/node_modules/jpegoptim-bin/vendor/jpegoptim',
path: '/home/zenova/projects/nvm/.nvm/versions/node/v12.9.1/lib/node_modules/@funboxteam/optimizt/node_modules/jpegoptim-bin/vendor/jpegoptim',
spawnargs: [
'--strip-all',
'--strip-com',
'--strip-exif',
'--strip-iptc',
'--strip-icc',
'--strip-xmp',
'--all-progressive',
'--max=80',
'--stdin',
'--stdout'
]
}
(sharp:54196): GLib-CRITICAL **: 12:55:23.511: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(sharp:54196): GLib-CRITICAL **: 12:55:23.511: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(sharp:54196): GLib-CRITICAL **: 12:55:23.511: g_hash_table_lookup: assertion 'hash_table != NULL' failed
(sharp:54196): GLib-CRITICAL **: 12:55:23.511: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed
(sharp:54196): GLib-CRITICAL **: 12:55:23.511: g_hash_table_lookup: assertion 'hash_table != NULL' failed
fish: “optimizt dusk.jpg” terminated by signal SIGSEGV (Address boundary error)
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (8 by maintainers)
Top Results From Across the Web
A Complete List of JPEG Errors & Their Solutions
Major reasons behind corrupt JPEG files: · Incomplete JPEG scan · Errors in JPEG code and description · Broken or corrupt header files...
Read more >9 Methods to Fix JPEG Invalid Image Error Message Easily
Download JPG File Again · Rename A JPG File · Convert The JPEG File Extension To Different Image File Format · Rebuild The...
Read more >Error detection of JPEG files with JHOVE and Bad Peggy
Table: Possible JHOVE errors on JPEG files ; 2, Unexpected end of file, Yes (Example ), 26, corrupt data: premature end of data...
Read more >Why am I getting the error: "Not a JPEG file: starts with 0x89 ...
Your 'JPEG' file has wrong filename extension 'jpg' or 'jpeg', it's real type is most ...
Read more >Invalid Value for Registry Error for Jpg, PNG While ... - YouTube
Invalid Value for Registry Error for Jpg, PNG While Viewing Image Files on Windows 10 FIX.Windows Registry is a collection of databases to ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it works without errors. Thanks again
You’re welcome.