question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PNGs seem to be broken for me

See original GitHub issue

Hi, I’m loving PiGallery 2, but for some reason it seems on my install it can’t read PNGs (different browser makes no difference, tested with FF and Chromium, the PNGs in question display fine when dropped directly into the browser or opened with other software):

grafik

I’m running on Docker (x86) bpatrik/pigallery2:latest-alpine-tag, the log says:

[Error: Input file contains unsupported image format]
1/18/2022, 2:50:46 PM[ERROR][FileJob] Error during processing file:/app/data/images/[path]/[filename].png, Error: Input file contains unsupported image format

or sometimes:

1/18/2022, 5:22:17 PM[WARN_] Handled error:

ErrorDTO {
  code: 8,
  message: 'Error during generating thumbnail: /app/data/images/[path]/[filename].png',
  details: 'Error: Input file contains unsupported image format',
  request: { method: '', url: '' },
  detailsStr: 'Error: Input file contains unsupported image format'
}

Any idea what might be the issue, what I could do to further troubleshoot this? Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:28 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
keppo070commented, Mar 13, 2022

Command ‘cpuinfo’ not found, did you mean:

command ‘cpu-info’ from deb cpuinfo (0.0~git20190201.d5e37ad-2) command ‘cpcinfo’ from deb python3-zhmcclient (0.22.0-0ubuntu1)

Try: sudo apt install <deb name>

by maybe this lscpu | grep --color "sse"

image

no sse4_2

1reaction
bpatrikcommented, Mar 13, 2022

You can try removing the restart: Always from the compose file. So it won’t keep restarting when the app dies.

– Sorry for being brief, sent from my phone.

Dedy Martadinata S @.***> ezt írta (időpont: 2022. márc. 13., V 13:09):

on v1.9.3 also failed to start? let see if you can start it manually.

version: ‘3’ services: pigallery2: image: bpatrik/pigallery2:latest command: bash stdin_open: true tty: true container_name: pigallery2 environment: - NODE_ENV=debug volumes: - “./pigallery2/config:/app/data/config” # CHANGE ME - “db-data:/app/data/db” - “./pigallery2/images:/app/data/images:ro” # CHANGE ME, ‘:ro’ mean read-only - “./pigallery2/tmp:/app/data/tmp” # CHANGE ME ports: - 80:80 restart: always

volumes: db-data:

The go into container console, and run node ./src/backend/index --expose-gc –config-path=/app/data/config/config.json

— Reply to this email directly, view it on GitHub https://github.com/bpatrik/pigallery2/issues/412#issuecomment-1066087988, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZKA5W36VAA5YW46OZVQQTU7XLH5ANCNFSM5MHYZSNQ . You are receiving this because you commented.Message ID: @.***>

Read more comments on GitHub >

github_iconTop Results From Across the Web

adobe photoshop - PNG image from PSD seems to be broken
1 Answer 1 ... PNG-8 only supports single-bit transparency, meaning you can't have 50% transparency and therefore edges can become pixelated. Use ...
Read more >
Tested Solutions: Can't Open PNG Files on Windows 10/11?
Can't open PNG files on Windows 10/11? Look no further. The professional solutions on how to open png files are introduced in this...
Read more >
Look! 5 Methods to Fix PNG Files Not Opening in Windows 10 ...
Launch EaseUS data recovery software. Select a hard drive that contains broken photos files and click "Scan". select a location and click scan....
Read more >
VueJS deployed production build showing broken png images
I am using routes and relative image paths so your hypothesis seems sound. I am using a vue-cli-3 generated project. I don't have...
Read more >
Troubleshooting broken images in bookdown hosted on gh ...
The image paths appear to be correct, but the images aren't showing up on the ... PNGs are stored within a folder called...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found