Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

led-image-viewer doesn't work. "Crashes"? #32

Closed
Cyb0rk opened this issue Jun 10, 2015 · 9 comments
Closed

led-image-viewer doesn't work. "Crashes"? #32

Cyb0rk opened this issue Jun 10, 2015 · 9 comments

Comments

@Cyb0rk
Copy link
Contributor

Cyb0rk commented Jun 10, 2015

Hi there,

I compiled led-image-viewer and tried it on several gif images, but all I get is the following output:

pi@autopi ~/display16x32/rpi-rgb-led-matrix $ sudo ./led-image-viewer giphy.gif
Read image...
Assembling animation with 25 frames.
Scale ... 281x216 -> 32x32
Preprocess for display.
Display.

Its runs for about half a second on terminal and than terminates. And nothing is shown on the panel. Rest of the examples work fine!

Any Idea?

@hzeller
Copy link
Owner

hzeller commented Jun 10, 2015

Can you attach the image that is breaking ?

@Cyb0rk
Copy link
Contributor Author

Cyb0rk commented Jun 10, 2015

Of course, here are two of them.

giphy
banana

P.S. I would like to use led-image-viewer only to display static images, not for gifs. But even pngs etc. don't work

@artictriac
Copy link

I'm having this same issue. Tried all sorts of image formats, sizes, shapes, etc.

I get the below every time just with the scale line changed to match whatever image I'm trying to use.

Read image...
Scale ... 500x32 -> 32x32
Preprocess for display.
Display.

Nothing on the display, not even a flicker. Program exits and I'm left with the command prompt.

Raspberry Pi 2 B v1.1
Running fresh install of Raspbian
Debian Wheezy
Release date: 2015-05-05
with all dependencies listed in your readme installed. Nothing extra over a default install.
4GB Class 4 SanDisk Micro SD card

./led-matrix runs perfectly with all included demos and any correctly formatted .ppm image

@hzeller
Copy link
Owner

hzeller commented Jun 13, 2015

Should be fixed now, can you try again ?

hzeller added a commit that referenced this issue Jun 13, 2015
@artictriac
Copy link

It is now working for me. Thanks for fixing it so quickly.

@Blevo90
Copy link

Blevo90 commented Jun 22, 2015

That fixed my issue but now I cannot get the display to stop without killing the process

@hzeller
Copy link
Owner

hzeller commented Jun 22, 2015

On 21 June 2015 at 19:08, Blevo90 notifications@github.com wrote:

That fixed my issue but now I cannot get the display to stop without
killing the process

Ctrl-C doesn't work ?

@Blevo90
Copy link

Blevo90 commented Jun 22, 2015

yes it does but I am a newbie to linux and the other program says what to
do this one did not. A friend clued me to the ctrl+c
On Jun 21, 2015 9:13 PM, "Henner Zeller" notifications@github.com wrote:

On 21 June 2015 at 19:08, Blevo90 notifications@github.com wrote:

That fixed my issue but now I cannot get the display to stop without
killing the process

Ctrl-C doesn't work ?


Reply to this email directly or view it on GitHub
#32 (comment)
.

@hzeller
Copy link
Owner

hzeller commented Jun 22, 2015

On 21 June 2015 at 20:18, Blevo90 notifications@github.com wrote:

yes it does but I am a newbie to linux and the other program says what to
do this one did not. A friend clued me to the ctrl+c

Yes, they are inconsistent. The other demo programs don't get shut down
properly on Ctrl-C, they do return.
I'll make these conistent soon.

kelseymorris95 pushed a commit to kelseymorris95/sign that referenced this issue Aug 11, 2023
Resolve the case where if an API key/App ID is not specified it causes the code to report that the 'departures' variable is not set. This really means that it could not find the departure data in the API response because it was 500 erroring.

Change-type: patch
Signed-off-by: Chris Crocker-White <chriscw@balena.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants