{"action":"created","issue":{"url":"https://api.github.com/repos/reddit/reddit/issues/1024","labels_url":"https://api.github.com/repos/reddit/reddit/issues/1024/labels{/name}","comments_url":"https://api.github.com/repos/reddit/reddit/issues/1024/comments","events_url":"https://api.github.com/repos/reddit/reddit/issues/1024/events","html_url":"https://github.com/reddit/reddit/issues/1024","id":32317102,"number":1024,"title":"Install issue with debian/wheezy","user":{"login":"d1sasterpiece","id":4189978,"avatar_url":"https://avatars.githubusercontent.com/u/4189978?v=3","gravatar_id":"","url":"https://api.github.com/users/d1sasterpiece","html_url":"https://github.com/d1sasterpiece","followers_url":"https://api.github.com/users/d1sasterpiece/followers","following_url":"https://api.github.com/users/d1sasterpiece/following{/other_user}","gists_url":"https://api.github.com/users/d1sasterpiece/gists{/gist_id}","starred_url":"https://api.github.com/users/d1sasterpiece/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d1sasterpiece/subscriptions","organizations_url":"https://api.github.com/users/d1sasterpiece/orgs","repos_url":"https://api.github.com/users/d1sasterpiece/repos","events_url":"https://api.github.com/users/d1sasterpiece/events{/privacy}","received_events_url":"https://api.github.com/users/d1sasterpiece/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-04-27T18:18:11Z","updated_at":"2015-08-12T19:52:29Z","closed_at":"2014-04-27T18:20:15Z","body":"Hi\r\n\r\nI'm trying to setup the reddit dev on a debian wheezy, following the ubuntu install-reddit.sh file: https://github.com/reddit/reddit/blob/master/install-reddit.sh#L278\r\n\r\nSo far everything runs smoothly. But in Line 278, the part where I am supposed to run make inside reddit/r2 directory, I get this error:\r\n\r\n```\r\nradon@debiansnoo:~/reddit/src$ cd reddit/r2\r\nradon@debiansnoo:~/reddit/src/reddit/r2$ sudo make\r\nTraceback (most recent call last):\r\n  File \"Makefile.py\", line 49, in <module>\r\n    print 'JS_MODULE_DEPS_%s := %s' % (name, ' '.join(module.dependencies))\r\n  File \"/home/radon/reddit/src/reddit/r2/r2/lib/js.py\", line 194, in dependencies\r\n    deps.extend(source.dependencies)\r\n  File \"/home/radon/reddit/src/reddit/r2/r2/lib/js.py\", line 140, in dependencies\r\n    return [self.path]\r\n  File \"/home/radon/reddit/src/reddit/r2/r2/lib/js.py\", line 119, in path\r\n    g.plugins\r\nNameError: global name 'g' is not defined\r\nMakefile:41: *** Makefile.py failed. aborting.  Stop.\r\n```\r\n\r\nI cannot find any results via github search or google search.\r\nAnd I am not exactly sure which dependendy I'm missing here. I had the impression that all extensions are installed and js.py doesn't say much to me.\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/reddit/reddit/issues/comments/130425449","html_url":"https://github.com/reddit/reddit/issues/1024#issuecomment-130425449","issue_url":"https://api.github.com/repos/reddit/reddit/issues/1024","id":130425449,"user":{"login":"maverickagm","id":4542413,"avatar_url":"https://avatars.githubusercontent.com/u/4542413?v=3","gravatar_id":"","url":"https://api.github.com/users/maverickagm","html_url":"https://github.com/maverickagm","followers_url":"https://api.github.com/users/maverickagm/followers","following_url":"https://api.github.com/users/maverickagm/following{/other_user}","gists_url":"https://api.github.com/users/maverickagm/gists{/gist_id}","starred_url":"https://api.github.com/users/maverickagm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maverickagm/subscriptions","organizations_url":"https://api.github.com/users/maverickagm/orgs","repos_url":"https://api.github.com/users/maverickagm/repos","events_url":"https://api.github.com/users/maverickagm/events{/privacy}","received_events_url":"https://api.github.com/users/maverickagm/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T19:52:29Z","updated_at":"2015-08-12T19:52:29Z","body":"You need an older version of Pylons. Specifically, version 0.9.7. Within ./r2/r2/lib/js.py you'll find the line, \"from pylons import g, c, config\". In newer versions of Pylons, g fails to import."}}