{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/b1a5c024d1b41a849990abc02cdb5948?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b1a5c024d1b41a849990abc02cdb5948","url":"https://api.github.com/users/Fuitad","login":"Fuitad","id":263288},"labels":[],"assignee":null,"updated_at":"2011-11-16T01:24:19Z","comments":14,"closed_at":null,"url":"https://api.github.com/repos/visionmedia/jade/issues/403","body":"I've upgraded jade from 0.14.2 to 0.17.0 and I can't run my app anymore.\r\n\r\nI tried stripping my app to empty views and controllers and no dice.\r\n\r\nDo you have any idea what changed between those two versions that would cause this?\r\n\r\n```Cannot read property 'filename' of undefined\r\nat anonymous (eval at (/Volumes/Fuitad/Documents/www/node_modules/jade/lib/jade.js:161:8))\r\nat Object. (/Volumes/Fuitad/Documents/www/node_modules/jade/lib/jade.js:166:12)\r\nat ServerResponse._render (/Volumes/Fuitad/Documents/www/node_modules/express/lib/view.js:422:21)\r\nat ServerResponse.render (/Volumes/Fuitad/Documents/www/node_modules/express/lib/view.js:315:17)\r\nat /Volumes/Fuitad/Documents/www/app.js:187:7\r\nat callbacks (/Volumes/Fuitad/Documents/www/node_modules/express/lib/router/index.js:272:11)\r\nat param (/Volumes/Fuitad/Documents/www/node_modules/express/lib/router/index.js:246:11)\r\nat pass (/Volumes/Fuitad/Documents/www/node_modules/express/lib/router/index.js:253:5)\r\nat Router._dispatch (/Volumes/Fuitad/Documents/www/node_modules/express/lib/router/index.js:280:4)\r\nat Object.handle (/Volumes/Fuitad/Documents/www/node_modules/express/lib/router/index.js:45:10)\r\n```","html_url":"https://github.com/visionmedia/jade/issues/403","number":403,"title":"Cannot read property 'filename' of undefined","id":2219863,"created_at":"2011-11-13T02:21:03Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/b1a5c024d1b41a849990abc02cdb5948?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"b1a5c024d1b41a849990abc02cdb5948","url":"https://api.github.com/users/Fuitad","login":"Fuitad","id":263288},"updated_at":"2011-11-16T01:24:19Z","url":"https://api.github.com/repos/visionmedia/jade/issues/comments/2754298","body":"I've nailed it down to this:\r\n\r\n    app.locals({\r\n      __              : i18n.__,\r\n      __n             : i18n.__n\r\n    });\r\n\r\nI'm not too sure why it would have an effect on jade but it does. These functions are use all over the place in my templates to allow translations. Example:\r\n\r\n    h2(id='index_localization') #{__('Welcome to our site')} \r\n\r\nDo you have any idea why it wouldn't work anymore?","id":2754298,"created_at":"2011-11-16T01:24:19Z"}}