{"action":"created","issue":{"url":"https://api.github.com/repos/nanograv/PINT/issues/104","repository_url":"https://api.github.com/repos/nanograv/PINT","labels_url":"https://api.github.com/repos/nanograv/PINT/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/nanograv/PINT/issues/104/comments","events_url":"https://api.github.com/repos/nanograv/PINT/issues/104/events","html_url":"https://github.com/nanograv/PINT/issues/104","id":132604010,"number":104,"title":"Can not import Cache","user":{"login":"luojing1211","id":5324931,"avatar_url":"https://avatars.githubusercontent.com/u/5324931?v=3","gravatar_id":"","url":"https://api.github.com/users/luojing1211","html_url":"https://github.com/luojing1211","followers_url":"https://api.github.com/users/luojing1211/followers","following_url":"https://api.github.com/users/luojing1211/following{/other_user}","gists_url":"https://api.github.com/users/luojing1211/gists{/gist_id}","starred_url":"https://api.github.com/users/luojing1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luojing1211/subscriptions","organizations_url":"https://api.github.com/users/luojing1211/orgs","repos_url":"https://api.github.com/users/luojing1211/repos","events_url":"https://api.github.com/users/luojing1211/events{/privacy}","received_events_url":"https://api.github.com/users/luojing1211/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-10T04:29:44Z","updated_at":"2016-02-17T20:18:48Z","closed_at":null,"body":"Hi folks, \r\nI was trying to use cache in parameter.py. But if failed to import. Do you have any idea what is happening? Thank you. \r\n\r\nERROR: Failure: ImportError (cannot import name Cache)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/jingluo/anaconda/lib/python2.7/site-packages/nose/loader.py\", line 413, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/Users/jingluo/anaconda/lib/python2.7/site-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/Users/jingluo/anaconda/lib/python2.7/site-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\n  File \"/Users/jingluo/Research_codes/PINT/tests/test_parameters.py\", line 1, in <module>\r\n    from pint.models import parameter as p\r\n  File \"/Users/jingluo/Research_codes/PINT/pint/models/__init__.py\", line 5, in <module>\r\n    from .timing_model import TimingModel, generate_timing_model\r\n  File \"/Users/jingluo/Research_codes/PINT/pint/models/timing_model.py\", line 4, in <module>\r\n    from .parameter import strParameter\r\n  File \"/Users/jingluo/Research_codes/PINT/pint/models/parameter.py\", line 16, in <module>\r\n    from .timing_model import Cache\r\nImportError: cannot import name Cache"},"comment":{"url":"https://api.github.com/repos/nanograv/PINT/issues/comments/185385710","html_url":"https://github.com/nanograv/PINT/issues/104#issuecomment-185385710","issue_url":"https://api.github.com/repos/nanograv/PINT/issues/104","id":185385710,"user":{"login":"paulray","id":1771428,"avatar_url":"https://avatars.githubusercontent.com/u/1771428?v=3","gravatar_id":"","url":"https://api.github.com/users/paulray","html_url":"https://github.com/paulray","followers_url":"https://api.github.com/users/paulray/followers","following_url":"https://api.github.com/users/paulray/following{/other_user}","gists_url":"https://api.github.com/users/paulray/gists{/gist_id}","starred_url":"https://api.github.com/users/paulray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulray/subscriptions","organizations_url":"https://api.github.com/users/paulray/orgs","repos_url":"https://api.github.com/users/paulray/repos","events_url":"https://api.github.com/users/paulray/events{/privacy}","received_events_url":"https://api.github.com/users/paulray/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T20:18:48Z","updated_at":"2016-02-17T20:18:48Z","body":"That is fine with me, but @demorest wrote Cache, so he should probably weigh in"}}