ghuls-apps / ghuls-web

The Sinatra web application for GHULS
http://ghuls.herokuapp.com
4 stars 0 forks source link

Application Error for my GitHub Username #15

Open zeke opened 8 years ago

zeke commented 8 years ago

Originally opened this at https://github.com/ghuls-apps/ghuls-deprecated/issues/30, but then realized that repo is deprecated)

http://ghuls.herokuapp.com/analyze?user=zeke spins for a while, then:

screen shot 2016-03-06 at 9 34 00 am

Would love to see the results. Let me know how I can help.

ELI EDIT: Relevant Logs:

2016-03-06T17:33:13.662376+00:00 app[web.1]: 2016-03-06 17:33:13 - NoMethodError - undefined method `each' for nil:NilClass:
2016-03-06T17:33:13.662386+00:00 app[web.1]:    /app/vendor/bundle/ruby/2.3.0/gems/github-calendar-1.0.0/lib/github/calendar.rb:97:in `get_monthly'
elifoster commented 8 years ago

Weird. It errored the first few times I tried using GitHub::Calendar#get_monthly('zeke') (in pry), but now it seems to be working fine, returning {"01"=>226, "02"=>38, "03"=>800, "04"=>339, "05"=>77, "06"=>24, "07"=>37, "08"=>26, "09"=>69, "10"=>50, "11"=>120, "12"=>97}. Still erroring on the webpage. I am really curious as to what is actually causing this issue. I'll open an issue over at the github-calendar-api repo.

elifoster commented 8 years ago

Hm, I restarted the dynos on Heroku and it seems to be working fine now.

zeke commented 8 years ago

Huh, different error for me this time:

screen shot 2016-03-06 at 2 50 40 pm
elifoster commented 8 years ago

That one appears to be the same error. I still have absolutely no idea why this is happening occasionally. Although, unlike before, this errored when I ran it on myself as well.

elifoster commented 8 years ago

This may have been fixed by 2bfb3a9, but I'm not sure as we are having some performance issues which prevent Heroku from loading anything.