{"action":"closed","issue":{"url":"https://api.github.com/repos/ufora/ufora/issues/91","labels_url":"https://api.github.com/repos/ufora/ufora/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/ufora/ufora/issues/91/comments","events_url":"https://api.github.com/repos/ufora/ufora/issues/91/events","html_url":"https://github.com/ufora/ufora/issues/91","id":115361286,"number":91,"title":"unhelpful error message","user":{"login":"tdp2110","id":993053,"avatar_url":"https://avatars.githubusercontent.com/u/993053?v=3","gravatar_id":"","url":"https://api.github.com/users/tdp2110","html_url":"https://github.com/tdp2110","followers_url":"https://api.github.com/users/tdp2110/followers","following_url":"https://api.github.com/users/tdp2110/following{/other_user}","gists_url":"https://api.github.com/users/tdp2110/gists{/gist_id}","starred_url":"https://api.github.com/users/tdp2110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdp2110/subscriptions","organizations_url":"https://api.github.com/users/tdp2110/orgs","repos_url":"https://api.github.com/users/tdp2110/repos","events_url":"https://api.github.com/users/tdp2110/events{/privacy}","received_events_url":"https://api.github.com/users/tdp2110/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"tdp2110","id":993053,"avatar_url":"https://avatars.githubusercontent.com/u/993053?v=3","gravatar_id":"","url":"https://api.github.com/users/tdp2110","html_url":"https://github.com/tdp2110","followers_url":"https://api.github.com/users/tdp2110/followers","following_url":"https://api.github.com/users/tdp2110/following{/other_user}","gists_url":"https://api.github.com/users/tdp2110/gists{/gist_id}","starred_url":"https://api.github.com/users/tdp2110/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdp2110/subscriptions","organizations_url":"https://api.github.com/users/tdp2110/orgs","repos_url":"https://api.github.com/users/tdp2110/repos","events_url":"https://api.github.com/users/tdp2110/events{/privacy}","received_events_url":"https://api.github.com/users/tdp2110/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-11-05T19:55:50Z","updated_at":"2015-11-06T19:25:58Z","closed_at":"2015-11-06T19:25:58Z","body":"try converting `f` here:\r\n\r\n    import math\r\n    def f(x):\r\n        return math.sin(x)\r\n\r\nyou'll get back something like\r\n\r\nERROR:root:Failed on <built-in function sin> (of type <type 'builtin_function_or_method'>)\r\nERROR:root:Exception in With-Block handler: Traceback (most recent call last):\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/WithBlockExecutor.py\", line 200, in trace\r\n    globalsToSet = self.blockOperation(frame)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/WithBlockExecutor.py\", line 170, in blockOperation\r\n    f_proxy = self.executor.define(withBlock).result()\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/Executor.py\", line 100, in define\r\n    self.pureImplementationMappings\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/ObjectVisitors.py\", line 245, in walkPythonObject\r\n    pyObjectWalker.walkPyObject(pyObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 92, in walkPyObject\r\n    self.walkPyObject(objectToWalkInsteadOrNone)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 98, in walkPyObject\r\n    self._walkWithBlock(pyObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 319, in _walkWithBlock\r\n    self.walkPyObject(v)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 92, in walkPyObject\r\n    self.walkPyObject(objectToWalkInsteadOrNone)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 114, in walkPyObject\r\n    self._walkFunctionDefinition(pyObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 305, in _walkFunctionDefinition\r\n    self._walkFunctionOrClassDefinition(functionDefinition)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 314, in _walkFunctionOrClassDefinition\r\n    self.walkPyObject(resolution)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 90, in walkPyObject\r\n    objectToWalkInsteadOrNone = self._objectToWalkInsteadOrNone(pyObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 167, in _objectToWalkInsteadOrNone\r\n    tr = self._classInstanceDescriptionFromClassInstance(pyObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyObjectWalker.py\", line 175, in _classInstanceDescriptionFromClassInstance\r\n    dataMemberNames = PyAstUtil.computeDataMembers(classObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyAstUtil.py\", line 210, in computeDataMembers\r\n    initAstOrNone = _computeInitMethodAstOrNone(pyClassObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyAstUtil.py\", line 293, in _computeInitMethodAstOrNone\r\n    pyAst = pyAstFor(pyClassObject)\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyAstUtil.py\", line 205, in pyAstFor\r\n    return pyAstFromText(getSourceText(pyObject))\r\n  File \"/home/tom/pyfora-env/local/lib/python2.7/site-packages/pyfora/PyAstUtil.py\", line 37, in getSourceText\r\n    raise Exceptions.CantGetSourceTextError(e.message)\r\nCantGetSourceTextError: <module '__builtin__' (built-in)> is a built-in class\r\n"}}