{"action":"created","issue":{"url":"https://api.github.com/repos/pydot/pydot/issues/201","repository_url":"https://api.github.com/repos/pydot/pydot","labels_url":"https://api.github.com/repos/pydot/pydot/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/pydot/pydot/issues/201/comments","events_url":"https://api.github.com/repos/pydot/pydot/issues/201/events","html_url":"https://github.com/pydot/pydot/issues/201","id":389173706,"node_id":"MDU6SXNzdWUzODkxNzM3MDY=","number":201,"title":"\"NameError: global name 'cmdline' is not defined\" in pydot 1.4.0","user":{"login":"projectbtle","id":29951305,"node_id":"MDQ6VXNlcjI5OTUxMzA1","avatar_url":"https://avatars0.githubusercontent.com/u/29951305?v=4","gravatar_id":"","url":"https://api.github.com/users/projectbtle","html_url":"https://github.com/projectbtle","followers_url":"https://api.github.com/users/projectbtle/followers","following_url":"https://api.github.com/users/projectbtle/following{/other_user}","gists_url":"https://api.github.com/users/projectbtle/gists{/gist_id}","starred_url":"https://api.github.com/users/projectbtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectbtle/subscriptions","organizations_url":"https://api.github.com/users/projectbtle/orgs","repos_url":"https://api.github.com/users/projectbtle/repos","events_url":"https://api.github.com/users/projectbtle/events{/privacy}","received_events_url":"https://api.github.com/users/projectbtle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-10T07:32:34Z","updated_at":"2018-12-12T20:55:59Z","closed_at":"2018-12-12T20:53:42Z","author_association":"NONE","body":"Hello,\r\n\r\nWhen generating a control flow graph via `Androguard` (which uses `pydot`), the execution terminates with an error in pydot.py:\r\n```\r\nDump Landroid/support/v4/app/q; j ()Landroid/os/Parcelable; ... jpg ... Traceback (most recent call last):\r\n  File \"C:\\Users\\XXX\\.windows-build-tools\\python27\\Scripts\\androdd.py\", line 175, in <module>\r\n    args.jar, args.decompiler, args.format)\r\n  File \"C:\\Users\\XXX\\.windows-build-tools\\python27\\Scripts\\androdd.py\", line 109, in export_apps_to_format\r\n    method2format(filename + \".\" + form, form, None, buff)\r\n  File \"C:\\Users\\XXX\\.windows-build-tools\\python27\\lib\\site-packages\\androguard\\core\\bytecode.py\", line 393, in method2format\r\n    getattr(g, \"write_\" + _format.lower())(output)\r\n  File \"C:\\Users\\XXX\\.windows-build-tools\\python27\\lib\\site-packages\\pydot.py\", line 1734, in new_method\r\n    encoding=encoding)\r\n  File \"C:\\Users\\XXX\\.windows-build-tools\\python27\\lib\\site-packages\\pydot.py\", line 1817, in write\r\n    s = self.create(prog, format, encoding=encoding)\r\n  File \"C:\\Users\\XXX\\.windows-build-tools\\python27\\lib\\site-packages\\pydot.py\", line 1936, in create\r\n    cmdline=cmdline,\r\nNameError: global name 'cmdline' is not defined\r\n```\r\n\r\nI am using pydot v1.4.0 on Windows. This particular error is not present in pydot v1.2.4.\r\n"},"comment":{"url":"https://api.github.com/repos/pydot/pydot/issues/comments/446740478","html_url":"https://github.com/pydot/pydot/issues/201#issuecomment-446740478","issue_url":"https://api.github.com/repos/pydot/pydot/issues/201","id":446740478,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njc0MDQ3OA==","user":{"login":"prmtl","id":1519363,"node_id":"MDQ6VXNlcjE1MTkzNjM=","avatar_url":"https://avatars3.githubusercontent.com/u/1519363?v=4","gravatar_id":"","url":"https://api.github.com/users/prmtl","html_url":"https://github.com/prmtl","followers_url":"https://api.github.com/users/prmtl/followers","following_url":"https://api.github.com/users/prmtl/following{/other_user}","gists_url":"https://api.github.com/users/prmtl/gists{/gist_id}","starred_url":"https://api.github.com/users/prmtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prmtl/subscriptions","organizations_url":"https://api.github.com/users/prmtl/orgs","repos_url":"https://api.github.com/users/prmtl/repos","events_url":"https://api.github.com/users/prmtl/events{/privacy}","received_events_url":"https://api.github.com/users/prmtl/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T20:55:59Z","updated_at":"2018-12-12T20:55:59Z","author_association":"MEMBER","body":"There was a problem with the code that prints debug info after fail of rendering process. Now debug info will be correctly printed so you will be able to see what was the problem with the call. Please report another issue if there will be other problems."}}
{"actor":{"display_login":"prmtl"}}