GoodGamery / mtgnewsbot

MT. Gnewsbot
MIT License
4 stars 5 forks source link

Fail to render image from phantomjs in Debian 10 #273

Open mdiehr opened 4 years ago

mdiehr commented 4 years ago

node mtgnews -o "#dbgImgHeadline#"

 *** Failed to create png: Error: Command failed: /var/node/mtgnewsbot/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs /var/node/mtgnewsbot/node_modules/svg2png/lib/converter.js {"url":"file:///var/node/mtgnewsbot/src/lib"}
Auto configuration failed
140141170192000:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:185:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
140141170192000:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:244:
140141170192000:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:285:module=ssl_conf, path=ssl_conf
140141170192000:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:222:module=ssl_conf

*** Failed to render image: Error: ENOENT: no such file or directory, open './tmp/you_make_the_pick_interesting_cube_edition-5e5f8320-2c4c.png'
TypeError: Cannot read property 'rendered' of undefined
    at MtgNewsbot.processHeadline (/var/node/mtgnewsbot/src/mtgnewsbot.js:130:22)
    at process._tickCallback (internal/process/next_tick.js:68:7)