Comments (6)
With 1.0.5 the same problem.
from hass-lovelace-kindle-screensaver.
I totally forgot I had this open! Thanks again, @sibbl !
from hass-lovelace-kindle-screensaver.
@sibbl Hi Sebastian, seems like an older issue -- just wanted to call attention to it as it seems to be buried all the way at the bottom. Thanks mate!
from hass-lovelace-kindle-screensaver.
Hi @cannondale0815 the error from version 1.0.7 was kind of related to this one, but I'd like to keep this one open.
In addition, I'd like to quote my findings from the other bug report:
The cause of this might be that our Dockerfile uses imagemagick instead of graphicsmagick. While the used npm module
gm
says to be compatible with both, it doesn't seem to support the differences in thedither
parameter. While+dither
works for both, the-dither
parameter requires the name of the dither algorithm to use in imagemagick, while graphicsmagick only uses it as a toggle.Maybe it's worth to give Graphicsmagick another try in the Dockerfile but I'm not sure what other incompatibilities will occur. An alternative would be to open an issue in the gm npm package repository. Finally, we could also just use the "custom arguments" feature of the gm npm package to support
-dither ALGORITHM
and ยด+dither` by our own. That's probably what I'd prefer.
So probably the last option might also finally solve this issue here.
from hass-lovelace-kindle-screensaver.
Confirming the same in add-on 1.0.7 still. Running Home Assistant OS on raspberry-pi 4.
`Starting browser...
Visiting 'http://192.168.1.10:8123' to login...
Adding authentication entry to browser's local storage...
Starting first render...
Rendering http://192.168.1.10:8123/dashboard-kindle/0 to image...
Converting rendered screenshot of http://192.168.1.10:8123/dashboard-kindle/0 to grayscale png...
/app/node_modules/gm/lib/command.js:301
err = new Error('Command failed: ' + stderr);
^
Error: Command failed: convert: unrecognized dither method `-background' @ error/convert.c/ConvertImageCommand/1422.
at ChildProcess.onExit (/app/node_modules/gm/lib/command.js:301:17)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at Socket.<anonymous> (node:internal/child_process:450:11)
at Socket.emit (node:events:517:28)
at Pipe.<anonymous> (node:net:350:12) {
code: 1,
signal: null
}
`
from hass-lovelace-kindle-screensaver.
Wow, it looks like @sibbl just released 1.0.8 and it fixes this error! Thank you!!
from hass-lovelace-kindle-screensaver.
Related Issues (20)
- Error and questions connecting with Hassio Addon HOT 3
- failed to start browser in docker HOT 8
- Feature Request: Multiple Dashboards/Instances HOT 1
- docker failed to start HOT 1
- HA OS 32bit not supported? HOT 9
- Timeout Errors HOT 2
- Feature Request: .monochrome and .crop would be awesome!
- Feature request: output to jpg file format HOT 8
- Multiple request array doesnt appear to accept configuration HOT 13
- Error: Command failed: convert: unrecognized dither method `-background' HOT 8
- Feature request - Stop container exiting after error HOT 2
- How to select which theme to take? HOT 2
- Feature Check - ARM Builds HOT 2
- Extension extremely unstable HOT 5
- Failed to render TimeoutError: Navigation timeout of 60000 ms exceeded HOT 6
- Brightness difference between HA addon and standalone docker
- Add healthcheck endpoint at /health
- Add Support for Bitmap-Output HOT 2
- Failed to get TZ variables in container HOT 1
- "Loading data" after first image generation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hass-lovelace-kindle-screensaver.