{"action":"created","issue":{"url":"https://api.github.com/repos/luispedro/jug/issues/20","labels_url":"https://api.github.com/repos/luispedro/jug/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/luispedro/jug/issues/20/comments","events_url":"https://api.github.com/repos/luispedro/jug/issues/20/events","html_url":"https://github.com/luispedro/jug/issues/20","id":81297425,"number":20,"title":"`jug.init` does not work without extensions","user":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-27T06:11:12Z","updated_at":"2015-08-23T14:52:50Z","closed_at":null,"body":"When trying the examples, e.g., `examples/decrypt/printjugresults.py`:\r\n```python\r\n$ python3 printjugresults.py \r\nTraceback (most recent call last):\r\n  File \"printjugresults.py\", line 2, in <module>\r\n    jug.init('jugfile', 'jugdata')\r\n  File \".../lib/python3.4/site-packages/jug/jug.py\", line 386, in init\r\n    jugfile_contents = open(jugfile).read()\r\nFileNotFoundError: [Errno 2] No such file or directory: 'jugfile'\r\n```\r\nSo I change the `jug.init` call to use `jugfile.py` instead:\r\n```python\r\n$ python3 printjugresults.py \r\nTraceback (most recent call last):\r\n  File \"printjugresults.py\", line 4, in <module>\r\n    results = jug.task.value(jugfile.fullresults)\r\n  File \".../lib/python3.4/site-packages/jug/task.py\", line 446, in value\r\n    return elem.value()\r\n  File \".../lib/python3.4/site-packages/jug/task.py\", line 111, in value\r\n    return self.result\r\n  File \".../lib/python3.4/site-packages/jug/task.py\", line 106, in _get_result\r\n    if not hasattr(self, '_result'): self.load()\r\n  File \".../lib/python3.4/site-packages/jug/task.py\", line 147, in load\r\n    assert self.can_load()\r\nAssertionError\r\n```\r\nThen I change `jug.init` to also use `jugfile.jugdata`, and:\r\n```bash\r\n$ python3 printjugresults.py \r\nJug is perfect for embarassingly parallel applications.\r\n    -- Luis Pedro Coelho\r\n\r\n    Password was 'qwert'\r\n```\r\n\r\nAccording to the documentation, the full names should not be necessary, but that does not seem to be the case."},"comment":{"url":"https://api.github.com/repos/luispedro/jug/issues/comments/133853473","html_url":"https://github.com/luispedro/jug/issues/20#issuecomment-133853473","issue_url":"https://api.github.com/repos/luispedro/jug/issues/20","id":133853473,"user":{"login":"luispedro","id":79334,"avatar_url":"https://avatars.githubusercontent.com/u/79334?v=3","gravatar_id":"","url":"https://api.github.com/users/luispedro","html_url":"https://github.com/luispedro","followers_url":"https://api.github.com/users/luispedro/followers","following_url":"https://api.github.com/users/luispedro/following{/other_user}","gists_url":"https://api.github.com/users/luispedro/gists{/gist_id}","starred_url":"https://api.github.com/users/luispedro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luispedro/subscriptions","organizations_url":"https://api.github.com/users/luispedro/orgs","repos_url":"https://api.github.com/users/luispedro/repos","events_url":"https://api.github.com/users/luispedro/events{/privacy}","received_events_url":"https://api.github.com/users/luispedro/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T14:52:50Z","updated_at":"2015-08-23T14:52:50Z","body":"Somehow, I managed to not notice this issue until now. I will fix it in a second.\r\n\r\nThank you very much for the report."}}