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

Crop images command fails #99

Closed
i-like-robots opened this issue Feb 14, 2014 · 9 comments
Closed

Crop images command fails #99

i-like-robots opened this issue Feb 14, 2014 · 9 comments
Labels

Comments

@i-like-robots
Copy link
Contributor

Running ruby-2.0.0-p247 and PhantomJS 1.9.2

Error occurs when running full capture task or crop command individually.

Full stack trace below:

cropping images
 /Users/matt/Code/wraith/lib/wraith/wraith.rb:72:in ``': No such file or directory - convert (Errno::ENOENT)
    from /Users/matt/Code/wraith/lib/wraith/wraith.rb:72:in `crop_images'
    from /Users/matt/Code/wraith/lib/wraith/crop.rb:32:in `crop_images'
    from /Users/matt/Code/wraith/lib/wraith/cli.rb:61:in `crop_images'
    from /Users/matt/Code/wraith/lib/wraith/cli.rb:90:in `capture'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
    from /Users/matt/Code/wraith/bin/wraith:7:in `<top (required)>'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/bin/wraith:23:in `load'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/bin/wraith:23:in `<main>'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval'
    from /Users/matt/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>'

I'll have a look into it but I thought I'd drop the error in here first for reference.

@dblooman dblooman added the bug label Feb 14, 2014
@dblooman
Copy link
Contributor

This is an interesting bug, I cant reproduce it locally, but it does happen on Travis and on other machines.

@i-like-robots
Copy link
Contributor Author

Unfortunately my Ruby skills are... best left unmentioned. I'll see if I can grab a little time with one of the proper Ruby guys here.

@PJnes
Copy link

PJnes commented Feb 20, 2014

I had this error when trying to run without imagemagick installed. It's not mentioned in the ReadMe, but is covered in the OS requirements in the full docs.

@dblooman
Copy link
Contributor

dblooman commented Mar 3, 2014

Im still not able to reproduce this, I'll try some different configs and OS's though

@nikglavin
Copy link

I encountered this issue when only a single domain was supplied in config and it looks like it was trying to get sizes etc of an image that doesn't exist.

Apologies for the false report

This was referenced Mar 28, 2014
@dblooman
Copy link
Contributor

dblooman commented Apr 7, 2014

This will be fixed by #112

@dblooman dblooman closed this as completed Apr 7, 2014
@zeroxme
Copy link

zeroxme commented Apr 25, 2014

i'm getting the same error and i can't solve it ... any help!?

@jonnywyatt
Copy link

@zeroxme this also occurred for me when running the standard config with a single domain, same as @nikglavin

@wildlyinaccurate
Copy link
Contributor

@jonnywyatt can you please post your exact config and the output of the failing run (including the command you ran)?

In capture mode, Wraith is intended to run against two domains. If you want to compare differences over time on a single domain, you probably want to use history mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants