bevacqua / shots

:gun: pull down the entire Internet into a single animated gif.
https://ponyfoo.com
MIT License
728 stars 15 forks source link

gm convert did not return an image #9

Open tukruic opened 8 years ago

tukruic commented 8 years ago

(fittr) ckt@ckt ~/nodetest $ shots http://www.tabletmaniak.pl/ -o ~/nodetest -v --no-download shots dest directory set to: /home/ckt/nodetest +0ms shots pmkdirp(pages) +4ms shots pmkdirp(screenshots) +2ms shots pmkdirp(diffs) +0ms shots pmkdirp(output) +0ms shots skipping download stage +3ms shots rglob('/home/ckt/nodetest/pages/.html') +4ms shots rglob('/home/ckt/nodetest/screenshots/.html.png') +2ms shots resolving screenshots stage +0ms shots shot chunk(sources) and filter, len=0 +12ms shots shot chunk reducer, len=0 +0ms shots rglob('/home/ckt/nodetest/screenshots/.html.png') +0ms shots resolving diffing stage +0ms shots sortBySize(sortByDomains(domainSlugs, screenshotFiles)) +1ms shots diff chunk(comparisions, concurrency), len=0 +0ms shots diff chunk reducer, len=0 +0ms shots rglob('/home/ckt/nodetest/screenshots/.html.png'), ignore=0 +2ms shots found 0/0 relevant screenshots (0 ignored) +1ms shots creating 1024x768 spritesheet +1ms shots resolving filmstrip stage +10ms shots ERR! Error: Command failed: gm convert: Request did not return an image. +32ms { [Error: Command failed: gm convert: Request did not return an image. ] code: 1, signal: null }

tukruic commented 8 years ago

/screenshots and diffs are empty :cry:

tukruic commented 8 years ago

weird stuff, i changed the run method to script one with as a script, it kinda generates screenshots(kinda because depending on the website it works or not): website that worked rentandride thingy website that didnt work tabletmaniak.pl

var shots = require('shots').default;

shots({ dest: 'resources/shots', site: 'rentandride.co.uk' });

tukruic commented 8 years ago

also you should change the example website from amazon cause it has 41k snapshots to download ; _ ; i realized that after 1000 have downloaded :laughing:

radum commented 8 years ago

I have the same issue with gm

$ shots radumicu.com -c 12 -t 65 -v
  shots dest directory set to: /var/folders/q3/7htgb5rn06774v6rw2k3h6440000gp/T/tmp-85600C27l1NRAfZPd +0ms
  shots pmkdirp(pages) +3ms
  shots pmkdirp(screenshots) +1ms
  shots pmkdirp(diffs) +0ms
  shots pmkdirp(output) +0ms
  shots rglob('/var/folders/q3/7htgb5rn06774v6rw2k3h6440000gp/T/tmp-85600C27l1NRAfZPd/pages/*.html') +5ms
  shots resolving download stage +0ms
  shots waybackpack radumicu.com -d /var/folders/q3/7htgb5rn06774v6rw2k3h6440000gp/T/tmp-85600C27l1NRAfZPd/pages --from-date 1800 --follow-redirects +2ms
  shots rglob('/var/folders/q3/7htgb5rn06774v6rw2k3h6440000gp/T/tmp-85600C27l1NRAfZPd/pages/*.html') +15s
  shots rglob('/var/folders/q3/7htgb5rn06774v6rw2k3h6440000gp/T/tmp-85600C27l1NRAfZPd/screenshots/*.html.png') +1ms
  shots resolving screenshots stage +0ms
  shots shot chunk(sources) and filter, len=0 +1ms
  shots shot chunk reducer, len=0 +0ms
  shots rglob('/var/folders/q3/7htgb5rn06774v6rw2k3h6440000gp/T/tmp-85600C27l1NRAfZPd/screenshots/*.html.png') +0ms
  shots resolving diffing stage +0ms
  shots sortBySize(sortByDomains(domainSlugs, screenshotFiles)) +1ms
  shots diff chunk(comparisions, concurrency), len=0 +0ms
  shots diff chunk reducer, len=0 +0ms
  shots rglob('/var/folders/q3/7htgb5rn06774v6rw2k3h6440000gp/T/tmp-85600C27l1NRAfZPd/screenshots/*.html.png'), ignore=0 +0ms
  shots found 0/0 relevant screenshots (0 ignored) +1ms
  shots creating 1024x768 spritesheet +0ms
  shots resolving filmstrip stage +3ms
  shots ERR! Error: Command failed: gm convert: Request did not return an image.
 +5ms
{ [Error: Command failed: gm convert: Request did not return an image.
] code: 1, signal: null }
boogheta commented 8 years ago

+1

clarkyi commented 5 years ago

+1

Ruiyuan-Zhang commented 3 years ago

so, hmmm, how to solve it ?

kiranvelicheti commented 2 years ago

We are facing the same issue while using graphics magick in AKS. In local window machine it works. When we deploy Java app and Graphicsmagick as single ubuntu image this throws "Request did not return an image". Can i knwo if you were able to resolve this issue ?