-
Notifications
You must be signed in to change notification settings - Fork 359
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
spider_skips
property broken
#401
Comments
I'm getting undefined local variable or method `wraith' for #Wraith::Crawler:0x005648d0ca4be8 (NameError) for default spider.yml as well, version 3.1.2 |
Same here:
|
Ditto. I can't add extra information, but am watching for more info. |
I get the same thing. Same error as @imagreenplant |
I'm also getting the same error as @imagreenplant. Is this solved? |
Same Issue! |
Any thoughts on what this issue could be?
|
I have the same error message as @slimatic , full dump: /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/lib/wraith/spider.rb:64:in 'spider': undefined local variable or method 'wraith' for # (NameError) from /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/lib/wraith/spider.rb:36:in 'determine_paths' from /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/lib/wraith/spider.rb:24:in 'check_for_paths' from /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/lib/wraith/cli.rb:36:in 'check_for_paths' from /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/lib/wraith/cli.rb:134:in 'block in capture' from /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/lib/wraith/cli.rb:28:in 'within_acceptable_limits' from /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/lib/wraith/cli.rb:131:in 'capture' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/command.rb:27:in 'run' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in 'invoke_command' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor.rb:359:in 'dispatch' from /usr/local/lib/ruby/gems/2.2.0/gems/thor-0.19.1/lib/thor/base.rb:440:in 'start' from /usr/local/lib/ruby/gems/2.2.0/gems/wraith-3.1.2/bin/wraith:5:in '' from /usr/local/bin/wraith:23:in 'load' from /usr/local/bin/wraith:23:in '' |
I'm getting this as well:
|
It fails for me too (default spider config yaml file, running in docker container):
Are there any chances you are going to fix it in the near future? |
3.2.1 does not address this issue on my system. I'm still seeing the error message:
|
This error has been fixed in 3.2.1:
However, I can see that the original error in this issue is:
This issue has been closed in error. Re-opening. |
Experiencing this in 3.2.1
In |
spider_skips
property broken
For the folks encountering this issue, does the removal of non-regexp within the Some quick testing on my end noticed that anything processed within Ruby regexp was handled fine, whereas anything with a string of the path broke To solve this, I had to encapsulate all my non-regexp strings to skip as strict string matches in regexp, which isn't exactly ideal for those (like me) who are awful at regexp syntax. |
Yes, switching to regex does seem to correct the errors. |
I'm using the default spider.yaml from https://raw.githubusercontent.com/BBC-News/wraith/master/templates/configs/spider.yaml
I've tried running it with wraith installed locally on my mac, and also via the wraith docker image. Both fail, with different error messages.
On my mac locally:
Running it via the wraith docker image:
The text was updated successfully, but these errors were encountered: