{"action":"created","issue":{"url":"https://api.github.com/repos/AirSage/Petrel/issues/72","repository_url":"https://api.github.com/repos/AirSage/Petrel","labels_url":"https://api.github.com/repos/AirSage/Petrel/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/AirSage/Petrel/issues/72/comments","events_url":"https://api.github.com/repos/AirSage/Petrel/issues/72/events","html_url":"https://github.com/AirSage/Petrel/issues/72","id":148687564,"number":72,"title":"'NoneType' object has no attribute 'group'","user":{"login":"CogumelosMaravilha","id":18486302,"avatar_url":"https://avatars.githubusercontent.com/u/18486302?v=3","gravatar_id":"","url":"https://api.github.com/users/CogumelosMaravilha","html_url":"https://github.com/CogumelosMaravilha","followers_url":"https://api.github.com/users/CogumelosMaravilha/followers","following_url":"https://api.github.com/users/CogumelosMaravilha/following{/other_user}","gists_url":"https://api.github.com/users/CogumelosMaravilha/gists{/gist_id}","starred_url":"https://api.github.com/users/CogumelosMaravilha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CogumelosMaravilha/subscriptions","organizations_url":"https://api.github.com/users/CogumelosMaravilha/orgs","repos_url":"https://api.github.com/users/CogumelosMaravilha/repos","events_url":"https://api.github.com/users/CogumelosMaravilha/events{/privacy}","received_events_url":"https://api.github.com/users/CogumelosMaravilha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-15T15:15:19Z","updated_at":"2016-04-20T14:38:25Z","closed_at":null,"body":"Hi there,\r\n\r\nI'm trying Petrel with wordcount sample but find this problem:\r\n$petrel submit --config topology.yaml --logdir `pwd`\r\n'NoneType' object has no attribute 'group'\r\nTraceback (most recent call last):\r\n  File \"/home/jonas/.local/lib/python2.7/site-packages/petrel-0.9.4.0.3-py2.7.egg/petrel/cmdline.py\", line 111, in main\r\n    func(**args.__dict__)\r\n  File \"/home/jonas/.local/lib/python2.7/site-packages/petrel-0.9.4.0.3-py2.7.egg/petrel/cmdline.py\", line 32, in submit\r\n    sourcejar = get_sourcejar()\r\n  File \"/home/jonas/.local/lib/python2.7/site-packages/petrel-0.9.4.0.3-py2.7.egg/petrel/cmdline.py\", line 23, in get_sourcejar\r\n    storm_version = get_storm_version()\r\n  File \"/home/jonas/.local/lib/python2.7/site-packages/petrel-0.9.4.0.3-py2.7.egg/petrel/cmdline.py\", line 19, in get_storm_version\r\n    return m.group(0)\r\nAttributeError: 'NoneType' object has no attribute 'group'\r\n\r\nI also try:\r\n$./buildandrun --config topology.yaml\r\n~/.local/lib/python2.7/site-packages ~/wordcount\r\nTraceback (most recent call last):\r\n  File \"/home/jonas/Downloads/Petrel-master/petrel/setup.py\", line 66, in <module>\r\n    build_petrel()\r\n  File \"/home/jonas/Downloads/Petrel-master/petrel/setup.py\", line 29, in build_petrel\r\n    version_string, version_number = get_storm_version()\r\n  File \"/home/jonas/Downloads/Petrel-master/petrel/setup.py\", line 21, in get_storm_version\r\n    return m.group(0), m.group(1)\r\nAttributeError: 'NoneType' object has no attribute 'group'\r\nError on or near line 20; exiting with status 1\r\n\r\nI'd tried with virtualenv:\r\n$source petrel/bin/activate\r\nand without\r\n$easy_install --install-dir /home/username/.local/lib/python2.7/site-packages  petrel==0.9.4.0.3\r\n\r\nThanks in advance"},"comment":{"url":"https://api.github.com/repos/AirSage/Petrel/issues/comments/212451085","html_url":"https://github.com/AirSage/Petrel/issues/72#issuecomment-212451085","issue_url":"https://api.github.com/repos/AirSage/Petrel/issues/72","id":212451085,"user":{"login":"CogumelosMaravilha","id":18486302,"avatar_url":"https://avatars.githubusercontent.com/u/18486302?v=3","gravatar_id":"","url":"https://api.github.com/users/CogumelosMaravilha","html_url":"https://github.com/CogumelosMaravilha","followers_url":"https://api.github.com/users/CogumelosMaravilha/followers","following_url":"https://api.github.com/users/CogumelosMaravilha/following{/other_user}","gists_url":"https://api.github.com/users/CogumelosMaravilha/gists{/gist_id}","starred_url":"https://api.github.com/users/CogumelosMaravilha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CogumelosMaravilha/subscriptions","organizations_url":"https://api.github.com/users/CogumelosMaravilha/orgs","repos_url":"https://api.github.com/users/CogumelosMaravilha/repos","events_url":"https://api.github.com/users/CogumelosMaravilha/events{/privacy}","received_events_url":"https://api.github.com/users/CogumelosMaravilha/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T14:38:25Z","updated_at":"2016-04-20T14:38:25Z","body":"I'm using a new box. \r\nZookeeper, Kafka and Storm are ok.\r\nAfter build and pip your package I'm getting:\r\n\r\n(petrel) jonas@jonas:/$ petrel \r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.7/runpy.py\", line 174, in _run_module_as_main\r\n    \"__main__\", fname, loader, pkg_name)\r\n  File \"/usr/lib/python2.7/runpy.py\", line 72, in _run_code\r\n    exec code in run_globals\r\n  File \"/home/jonas/petrel/lib/python2.7/site-packages/petrel/cmdline.py\", line 12, in <module>\r\n    from .package import build_jar\r\n  File \"/home/jonas/petrel/local/lib/python2.7/site-packages/petrel/package.py\", line 13, in <module>\r\n    from topologybuilder import TopologyBuilder\r\n  File \"/home/jonas/petrel/local/lib/python2.7/site-packages/petrel/topologybuilder.py\", line 6, in <module>\r\n    from petrel.generated.storm.ttypes import ComponentCommon, Grouping, NullStruct, GlobalStreamId\r\nImportError: No module named generated.storm.ttypes\r\n\r\nBut perhaps is something wrong with my new environment!"}}