Skip to content

Instantly share code, notes, and snippets.

@Dantheman720
Dantheman720 / gatsby-node.js
Last active September 10, 2019 20:26
Gatsby file for generating pages.
const path = require("path")
const slash = require("slash")
exports.createPages = async ({ graphql, actions }) => {
const { createPage } = actions
const result = await graphql(`
{
allStrapiRecipe {
edges {
Rendering file /Users/danielcoughlin/Desktop/RedhatWork/developer.redhat/developer.redhat.com/forums.html.slim resulted in a failure.
Line: unknown
Backtrace:
/Users/danielcoughlin/Desktop/RedhatWork/developer.redhat/developer.redhat.com/forums.html.slim:33:in `sort'
/Users/danielcoughlin/Desktop/RedhatWork/developer.redhat/developer.redhat.com/forums.html.slim:33:in `block in singleton class'
/Users/danielcoughlin/Desktop/RedhatWork/developer.redhat/developer.redhat.com/forums.html.slim:3:in `instance_eval'
/Users/danielcoughlin/Desktop/RedhatWork/developer.redhat/developer.redhat.com/forums.html.slim:3:in `singleton class'
Daniels-MacBook-Pro-2:developer.redhat.com danielcoughlin$ rake clean preview
Using profile: development
Generating site: http://localhost:4242
Excecuting pipeline...
No results found for isbn: 9781849514026, attempting to use spreadsheet info
book: 9781849514026 missing required attributes: ["title", "publishedDate", "description", "previewLink"]
No results found for isbn: 9781847196828, attempting to use spreadsheet info
book: 9781847196828 missing required attributes: ["title", "publishedDate", "description", "previewLink"]
No results found for isbn: 9781449370602, attempting to use spreadsheet info
book: 9781449370602 missing required attributes: ["title", "publishedDate", "description", "previewLink"]
Uncaught exception: undefined method `hydra' for #<Blinkr::PhantomJSWrapper:0x007fcddb81db38>
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr/extensions/links.rb:47:in `analyze'
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr/engine.rb:119:in `block in exec'
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr/engine.rb:118:in `each'
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr/engine.rb:118:in `exec'
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr/engine.rb:81:in `analyze'
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr/engine.rb:55:in `run'
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr.rb:18:in `run'
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/bin/blinkr:28:in `<top (required)>'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/danielcoughlin/Desktop/RedhatWork/blinkr/bin/blinkr -c /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/_config/blinkr.yaml -u http://www.jboss.org
Loading sitemap from /Users/danielcoughlin/Dropbox/sitemap.xml
/Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr/engine.rb:55:in `run': undefined local variable or method `typhoeus' for #<Blinkr::Engine:0x007f8d1c975d00> (NameError)
from /Users/danielcoughlin/Desktop/RedhatWork/blinkr/lib/blinkr.rb:18:in `run'
from /Users/danielcoughlin/Desktop/RedhatWork/blinkr/bin/blinkr:28:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
Daniels-MacBook-Pro-2:www.jboss.org danielcoughlin$ rake
Using profile: development
Generating site: http://localhost:4242
Excecuting pipeline...
^[[1;2DNo results found for isbn: 9781782165347, attempting to use spreadsheet info
Generating pages...
An error during rendering /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/extensions/meta.html.slim occurred.
Please see /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/extensions/meta/index.html for more information
An error during rendering /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/report.html.slim occurred.
Please see /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/report/index.html for more information
Daniels-MacBook-Pro-2:www.jboss.org danielcoughlin$ rake clean preview
Using profile: development
Generating site: http://localhost:4242
Excecuting pipeline...
No results found for isbn: 9781782165347, attempting to use spreadsheet info
Generating pages...
An error during rendering /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/extensions/meta.html.slim occurred.
Please see /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/extensions/meta/index.html for more information
An error during rendering /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/report.html.slim occurred.
Please see /Users/danielcoughlin/Desktop/RedhatWork/www.jboss.org/blinkr/lib/blinkr/report/index.html for more information
@Dantheman720
Dantheman720 / gist:1d84108444d418a99bca
Created December 1, 2014 16:51
Error while building
While processing file
An error occurred: User Rate Limit Exceeded. Please sign up
/Users/danielcoughlin/.rvm/gems/ruby-2.1.2@www.jboss.org/gems/google-api-client-0.7.1/lib/google/api_client.rb:618:in `block in execute!'
/Users/danielcoughlin/.rvm/gems/ruby-2.1.2@www.jboss.org/gems/retriable-1.4.1/lib/retriable/retry.rb:27:in `perform'
/Users/danielcoughlin/.rvm/gems/ruby-2.1.2@www.jboss.org/gems/retriable-1.4.1/lib/retriable.rb:15:in `retriable'
/Users/danielcoughlin/.rvm/gems/ruby-2.1.2@www.jboss.org/gems/google-api-client-0.7.1/lib/google/api_client.rb:595:in `execute!'
/Users/danielcoughlin/.rvm/gems/ruby-2.1.2@www.jboss.org/bundler/gems/aweplug-fbf64fb6b727/lib/aweplug/books/google_books.rb:54:in `get'
/Users/danielcoughlin/.rvm/gems/ruby-2.1.2@www.jboss.org/bundler/gems/aweplug-fbf64fb6b727/lib/aweplug/extensions/books.rb:29:in `block in execute'
/Users/danielcoughlin/.rvm/gems/ruby-2.1.2@www.jboss.org/gems/parallel-1.1.2/lib/parallel.rb:213:in `block in work_direct'
/Users/danielcoughlin/.rvm/gems/ruby
No results found for isbn: 9781933988641
While processing file
An error occurred: getaddrinfo: nodename nor servname provided, or not known
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:879:in `initialize'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:879:in `open'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:878:in `connect'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start'
While processing file
An error occurred: getaddrinfo: nodename nor servname provided, or not known
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:879:in `initialize'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:879:in `open'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:879:in `block in connect'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/timeout.rb:76:in `timeout'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:878:in `connect'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:852:in `start'
/Users/danielcoughlin/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/net/http.rb:1369:in `request'