{"action":"created","issue":{"url":"https://api.github.com/repos/trolldbois/python-haystack/issues/12","labels_url":"https://api.github.com/repos/trolldbois/python-haystack/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/trolldbois/python-haystack/issues/12/comments","events_url":"https://api.github.com/repos/trolldbois/python-haystack/issues/12/events","html_url":"https://github.com/trolldbois/python-haystack/issues/12","id":106109104,"number":12,"title":"haystack-reverse examples don't work","user":{"login":"dellis23","id":1346302,"avatar_url":"https://avatars.githubusercontent.com/u/1346302?v=3","gravatar_id":"","url":"https://api.github.com/users/dellis23","html_url":"https://github.com/dellis23","followers_url":"https://api.github.com/users/dellis23/followers","following_url":"https://api.github.com/users/dellis23/following{/other_user}","gists_url":"https://api.github.com/users/dellis23/gists{/gist_id}","starred_url":"https://api.github.com/users/dellis23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dellis23/subscriptions","organizations_url":"https://api.github.com/users/dellis23/orgs","repos_url":"https://api.github.com/users/dellis23/repos","events_url":"https://api.github.com/users/dellis23/events{/privacy}","received_events_url":"https://api.github.com/users/dellis23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-11T22:56:18Z","updated_at":"2015-09-13T15:30:23Z","closed_at":null,"body":"Hi again.  I successfully got a dump, and am trying to use some of the examples of haystack-reverse to take a look at them (at least, it seems like that's what it's for):\r\n\r\n```\r\n$ haystack-reverse output.dump/\r\nusage: haystack-reverse [-h] [--debug]\r\n                        dumpname\r\n                        {group,makesig,parent,show,graph,instances,clean,typemap}\r\n                        ...\r\nhaystack-reverse: error: too few arguments\r\n```\r\n```\r\n$ haystack-reverse output.dump instances\r\nTraceback (most recent call last):\r\n  File \"/home/x/.virtualenvs/x/bin/haystack-reverse\", line 199, in <module>\r\n    main(sys.argv[1:])\r\n  File \"/home/x/.virtualenvs/x/bin/haystack-reverse\", line 191, in main\r\n    make_config(opts)\r\n  File \"/home/x/.virtualenvs/x/bin/haystack-reverse\", line 27, in make_config\r\n    config.make_config_from_memdump( opts.dumpname )\r\nAttributeError: 'module' object has no attribute 'make_config_from_memdump'\r\n```\r\n```\r\n$ haystack-reverse show\r\nusage: haystack-reverse [-h] [--debug]\r\n                        dumpname\r\n                        {group,makesig,parent,show,graph,instances,clean,typemap}\r\n                        ...\r\nhaystack-reverse: error: argument dumpname: invalid readable value: 'show'\r\n```\r\n```\r\n$ haystack-reverse output.dump/\r\nusage: haystack-reverse [-h] [--debug]\r\n                        dumpname\r\n                        {group,makesig,parent,show,graph,instances,clean,typemap}\r\n                        ...\r\nhaystack-reverse: error: too few arguments\r\n```\r\n```\r\n$ haystack-reverse output.dump/ show\r\nusage: haystack-reverse dumpname show [-h] address\r\nhaystack-reverse dumpname show: error: too few arguments\r\n```\r\n```\r\n$ haystack-reverse output.dump/ instances\r\nTraceback (most recent call last):\r\n  File \"/home/x/.virtualenvs/x/bin/haystack-reverse\", line 199, in <module>\r\n    main(sys.argv[1:])\r\n  File \"/home/x/.virtualenvs/x/bin/haystack-reverse\", line 191, in main\r\n    make_config(opts)\r\n  File \"/home/x/.virtualenvs/x/bin/haystack-reverse\", line 27, in make_config\r\n    config.make_config_from_memdump( opts.dumpname )\r\nAttributeError: 'module' object has no attribute 'make_config_from_memdump'\r\n```\r\n\r\nI'm happy to help with documentation improvements once I am able to get things working."},"comment":{"url":"https://api.github.com/repos/trolldbois/python-haystack/issues/comments/139887498","html_url":"https://github.com/trolldbois/python-haystack/issues/12#issuecomment-139887498","issue_url":"https://api.github.com/repos/trolldbois/python-haystack/issues/12","id":139887498,"user":{"login":"trolldbois","id":157819,"avatar_url":"https://avatars.githubusercontent.com/u/157819?v=3","gravatar_id":"","url":"https://api.github.com/users/trolldbois","html_url":"https://github.com/trolldbois","followers_url":"https://api.github.com/users/trolldbois/followers","following_url":"https://api.github.com/users/trolldbois/following{/other_user}","gists_url":"https://api.github.com/users/trolldbois/gists{/gist_id}","starred_url":"https://api.github.com/users/trolldbois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trolldbois/subscriptions","organizations_url":"https://api.github.com/users/trolldbois/orgs","repos_url":"https://api.github.com/users/trolldbois/repos","events_url":"https://api.github.com/users/trolldbois/events{/privacy}","received_events_url":"https://api.github.com/users/trolldbois/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T15:30:23Z","updated_at":"2015-09-13T15:30:23Z","body":"Yes indeed, the haystack-reverse script is not working fully. I removed temporarly some features that I know are not working right now.\r\n\r\nYou should be able to use this script with the following command line:\r\n`haystack-reverse test-ctypes6.64.dump instances`\r\nThat will create a 'cache/' folder in test-ctypes6.64.dump/ which will contains a dump of every allocated chunks. \r\nThere is some enriched data in there too, but its not ready for use right now.\r\nI need to clean up the whole \"reverse\" section of the haystack library.\r\n\r\nFor now, the working interesting part of haystack is limited to the search function.\r\nYou can take a look at the search and refresh functions of the `haystack` script.\r\nOr use the API (see https://github.com/trolldbois/python-haystack/blob/master/docs/Haystack%20basic%20usage.ipynb )\r\n\r\n\r\n"}}