{"action":"created","issue":{"url":"https://api.github.com/repos/awestruct/awestruct/issues/513","repository_url":"https://api.github.com/repos/awestruct/awestruct","labels_url":"https://api.github.com/repos/awestruct/awestruct/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/awestruct/awestruct/issues/513/comments","events_url":"https://api.github.com/repos/awestruct/awestruct/issues/513/events","html_url":"https://github.com/awestruct/awestruct/issues/513","id":135340983,"number":513,"title":"Page debugging causes unnecessary error","user":{"login":"tristantarrant","id":392478,"avatar_url":"https://avatars.githubusercontent.com/u/392478?v=3","gravatar_id":"","url":"https://api.github.com/users/tristantarrant","html_url":"https://github.com/tristantarrant","followers_url":"https://api.github.com/users/tristantarrant/followers","following_url":"https://api.github.com/users/tristantarrant/following{/other_user}","gists_url":"https://api.github.com/users/tristantarrant/gists{/gist_id}","starred_url":"https://api.github.com/users/tristantarrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristantarrant/subscriptions","organizations_url":"https://api.github.com/users/tristantarrant/orgs","repos_url":"https://api.github.com/users/tristantarrant/repos","events_url":"https://api.github.com/users/tristantarrant/events{/privacy}","received_events_url":"https://api.github.com/users/tristantarrant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-22T07:32:06Z","updated_at":"2016-02-22T09:41:04Z","closed_at":null,"body":"When building our site (infinispan.github.io) with Awestruct 0.5.7 we get the following stacktrace\r\n\r\nAn error occurred: no implicit conversion of nil into String\r\n/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/handlers/javascript_handler.rb:28:in `basename'\r\n/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/handlers/javascript_handler.rb:28:in `output_filename'\r\n/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/handlers/base_handler.rb:44:in `output_path'\r\n/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/page.rb:67:in `output_path'\r\n/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/page.rb:35:in `inspect'\r\n/var/lib/gems/2.2.0/gems/awestruct-0.5.7/lib/awestruct/page.rb:45:in `inherit_front_matter_from'\r\n\r\nCommenting out line 45 in page.rb (which is just a debug log) everything works smoothly."},"comment":{"url":"https://api.github.com/repos/awestruct/awestruct/issues/comments/187096354","html_url":"https://github.com/awestruct/awestruct/issues/513#issuecomment-187096354","issue_url":"https://api.github.com/repos/awestruct/awestruct/issues/513","id":187096354,"user":{"login":"LightGuard","id":29971,"avatar_url":"https://avatars.githubusercontent.com/u/29971?v=3","gravatar_id":"","url":"https://api.github.com/users/LightGuard","html_url":"https://github.com/LightGuard","followers_url":"https://api.github.com/users/LightGuard/followers","following_url":"https://api.github.com/users/LightGuard/following{/other_user}","gists_url":"https://api.github.com/users/LightGuard/gists{/gist_id}","starred_url":"https://api.github.com/users/LightGuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LightGuard/subscriptions","organizations_url":"https://api.github.com/users/LightGuard/orgs","repos_url":"https://api.github.com/users/LightGuard/repos","events_url":"https://api.github.com/users/LightGuard/events{/privacy}","received_events_url":"https://api.github.com/users/LightGuard/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T09:41:04Z","updated_at":"2016-02-22T09:41:04Z","body":"How do you not have an output_filename?"}}