{"action":"created","issue":{"url":"https://api.github.com/repos/learningequality/ka-lite/issues/4012","labels_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4012/labels{/name}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4012/comments","events_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4012/events","html_url":"https://github.com/learningequality/ka-lite/issues/4012","id":92911823,"number":4012,"title":"'TypeError: 'NoneType' object is not callable' after running 'kalite manage generaterealdata'","user":{"login":"radinamatic","id":1457929,"avatar_url":"https://avatars.githubusercontent.com/u/1457929?v=3","gravatar_id":"","url":"https://api.github.com/users/radinamatic","html_url":"https://github.com/radinamatic","followers_url":"https://api.github.com/users/radinamatic/followers","following_url":"https://api.github.com/users/radinamatic/following{/other_user}","gists_url":"https://api.github.com/users/radinamatic/gists{/gist_id}","starred_url":"https://api.github.com/users/radinamatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radinamatic/subscriptions","organizations_url":"https://api.github.com/users/radinamatic/orgs","repos_url":"https://api.github.com/users/radinamatic/repos","events_url":"https://api.github.com/users/radinamatic/events{/privacy}","received_events_url":"https://api.github.com/users/radinamatic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/learningequality/ka-lite/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"rtibbles","id":1680573,"avatar_url":"https://avatars.githubusercontent.com/u/1680573?v=3","gravatar_id":"","url":"https://api.github.com/users/rtibbles","html_url":"https://github.com/rtibbles","followers_url":"https://api.github.com/users/rtibbles/followers","following_url":"https://api.github.com/users/rtibbles/following{/other_user}","gists_url":"https://api.github.com/users/rtibbles/gists{/gist_id}","starred_url":"https://api.github.com/users/rtibbles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtibbles/subscriptions","organizations_url":"https://api.github.com/users/rtibbles/orgs","repos_url":"https://api.github.com/users/rtibbles/repos","events_url":"https://api.github.com/users/rtibbles/events{/privacy}","received_events_url":"https://api.github.com/users/rtibbles/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/learningequality/ka-lite/milestones/48","html_url":"https://github.com/learningequality/ka-lite/milestones/0.15.0","labels_url":"https://api.github.com/repos/learningequality/ka-lite/milestones/48/labels","id":1028214,"number":48,"title":"0.15.0","description":"","creator":{"login":"aronasorman","id":191955,"avatar_url":"https://avatars.githubusercontent.com/u/191955?v=3","gravatar_id":"","url":"https://api.github.com/users/aronasorman","html_url":"https://github.com/aronasorman","followers_url":"https://api.github.com/users/aronasorman/followers","following_url":"https://api.github.com/users/aronasorman/following{/other_user}","gists_url":"https://api.github.com/users/aronasorman/gists{/gist_id}","starred_url":"https://api.github.com/users/aronasorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronasorman/subscriptions","organizations_url":"https://api.github.com/users/aronasorman/orgs","repos_url":"https://api.github.com/users/aronasorman/repos","events_url":"https://api.github.com/users/aronasorman/events{/privacy}","received_events_url":"https://api.github.com/users/aronasorman/received_events","type":"User","site_admin":false},"open_issues":115,"closed_issues":8,"state":"open","created_at":"2015-03-18T22:06:13Z","updated_at":"2015-07-06T21:08:01Z","due_on":"2015-09-30T07:00:00Z","closed_at":null},"comments":10,"created_at":"2015-07-03T17:19:46Z","updated_at":"2015-07-06T23:56:20Z","closed_at":null,"body":"**Branch**: 0.14 with alpha2 installer on Ubuntu \r\n\r\n**Actual behavior**: `kalite manage generaterealdata` finished without issues, but after starting the server ('kalite start'), appears the `TypeError: 'NoneType' object is not callable` error (**in red**) in the Terminal. Viewing in browser gives the:  \r\n\r\n![883346fa-20ec-11e5-98da-b0a9f68fe862 1](https://cloud.githubusercontent.com/assets/1457929/8502945/848d70ae-21b7-11e5-9f10-164a81f45203.png)\r\n\r\n`kalite start --traceback` gives this output:\r\n\r\n```\r\n...\r\nTo access KA Lite from another connected computer, try the following address(es):\r\n  http://192.168.1.39:8008/\r\nTo access KA Lite from this machine, try the following address:\r\n  http://127.0.0.1:8008/\r\nGoing to daemon mode, logging to /home/didi/.kalite/server.log\r\nUnhandled exception in thread started by <bound method ManageThread.__bootstrap of <ManageThread(cronserver_blocking, stopped -1345234112)>>\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/threading.py\", line 783, in __bootstrap\r\n    self.__bootstrap_inner()\r\n  File \"/usr/lib/python2.7/threading.py\", line 823, in __bootstrap_inner\r\n    (self.name, _format_exc()))\r\n  File \"/usr/lib/python2.7/traceback.py\", line 241, in format_exc\r\n    etype, value, tb = sys.exc_info()\r\nAttributeError: 'NoneType' object has no attribute 'exc_info'\r\ndidi@didihp:~$\r\n```\r\n\r\n**Expected behavior**: Clean server restart with working database after generating real data.  \r\n\r\n**Steps to reproduce**:\r\n\r\n1. Install & configure alpha2 deb on Ubuntu (I had 2 language packs, 10 videos, 2 learners...)\r\n2. Stop kalite and run `kalite manage generaterealdata`. \r\n3. Restart kalite.   "},"comment":{"url":"https://api.github.com/repos/learningequality/ka-lite/issues/comments/119030522","html_url":"https://github.com/learningequality/ka-lite/issues/4012#issuecomment-119030522","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4012","id":119030522,"user":{"login":"radinamatic","id":1457929,"avatar_url":"https://avatars.githubusercontent.com/u/1457929?v=3","gravatar_id":"","url":"https://api.github.com/users/radinamatic","html_url":"https://github.com/radinamatic","followers_url":"https://api.github.com/users/radinamatic/followers","following_url":"https://api.github.com/users/radinamatic/following{/other_user}","gists_url":"https://api.github.com/users/radinamatic/gists{/gist_id}","starred_url":"https://api.github.com/users/radinamatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radinamatic/subscriptions","organizations_url":"https://api.github.com/users/radinamatic/orgs","repos_url":"https://api.github.com/users/radinamatic/repos","events_url":"https://api.github.com/users/radinamatic/events{/privacy}","received_events_url":"https://api.github.com/users/radinamatic/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T23:56:20Z","updated_at":"2015-07-06T23:56:20Z","body":"Gee, when did that happen...? :yum: \r\nUsing the `apt-get install ka-lite`, right? Because the packages on Launchpad still say `0.14.alpha2`."}}