eval' from /usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in
Open rayferns opened 8 years ago
Hi, I have also a config file with a high numbers of URLs to test and one thing that really sped up the process was putting resize_or_reload: reload
on the config file.
@wjanoti how do you import a file into the config.yaml ?
Hi @balaspace , I created a simple script to update the config.yaml file with the URLs I needed.
cheers, thanks
So I am doing a capture with 1000 urls and i get the following error at the end when it is trying to create the gallery. If I do a small amount like 5-10 it works fine so dont think its my ruby version. Anybody have any ideas? Thanks
GENERATING THUMBNAILS
GENERATING GALLERY
/usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:71:in get_path': undefined method
[]' for nil:NilClass (NoMethodError)
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:65:in figure_out_url' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:53:in
matcher'
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:40:in block (2 levels) in match' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:38:in
foreach'
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:38:in block in match' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:35:in
each'
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:35:in match' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:31:in
parse_directories'
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/gallery.rb:142:in generate_gallery' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/cli.rb:114:in
block in generate_gallery'
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/helpers/utilities.rb:4:in within_acceptable_limits' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/cli.rb:111:in
generate_gallery'
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/cli.rb:128:in block in capture' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/helpers/utilities.rb:4:in
within_acceptable_limits'
from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/lib/wraith/cli.rb:120:in capture' from /usr/local/rvm/gems/ruby-2.3.3/gems/thor-0.19.4/lib/thor/command.rb:27:in
run'
from /usr/local/rvm/gems/ruby-2.3.3/gems/thor-0.19.4/lib/thor/invocation.rb:126:in invoke_command' from /usr/local/rvm/gems/ruby-2.3.3/gems/thor-0.19.4/lib/thor.rb:369:in
dispatch'
from /usr/local/rvm/gems/ruby-2.3.3/gems/thor-0.19.4/lib/thor/base.rb:444:in start' from /usr/local/rvm/gems/ruby-2.3.3/gems/wraith-4.0.1/bin/wraith:5:in
<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.3/bin/wraith:22:in load' from /usr/local/rvm/gems/ruby-2.3.3/bin/wraith:22:in
eval' from /usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in
Actually I discovered what is wrong - in my paths section I had a few entries like 404: 404.html For some reason it wont take numeric it looks like.
I have a config file to test a website with javascript and cookies disabled. The config file has 565 paths to do a screengrab. Here are teh challenges I'm facing:
Would appreciate your answers to the above questions.
Reporting a problem? Please describe the issue above, and complete the following checklist so that we can help you more quickly.
Issue checklist:
verbose: true
to my config) and pasted the output below: