{"action":"created","issue":{"url":"https://api.github.com/repos/npcole/npyscreen/issues/28","labels_url":"https://api.github.com/repos/npcole/npyscreen/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/npcole/npyscreen/issues/28/comments","events_url":"https://api.github.com/repos/npcole/npyscreen/issues/28/events","html_url":"https://github.com/npcole/npyscreen/issues/28","id":91683471,"number":28,"title":"ExampleOptionList.py does not run","user":{"login":"oliveratutexas","id":4792608,"avatar_url":"https://avatars.githubusercontent.com/u/4792608?v=3","gravatar_id":"","url":"https://api.github.com/users/oliveratutexas","html_url":"https://github.com/oliveratutexas","followers_url":"https://api.github.com/users/oliveratutexas/followers","following_url":"https://api.github.com/users/oliveratutexas/following{/other_user}","gists_url":"https://api.github.com/users/oliveratutexas/gists{/gist_id}","starred_url":"https://api.github.com/users/oliveratutexas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliveratutexas/subscriptions","organizations_url":"https://api.github.com/users/oliveratutexas/orgs","repos_url":"https://api.github.com/users/oliveratutexas/repos","events_url":"https://api.github.com/users/oliveratutexas/events{/privacy}","received_events_url":"https://api.github.com/users/oliveratutexas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-29T03:24:41Z","updated_at":"2015-06-29T09:59:23Z","closed_at":null,"body":"I downloaded npyscreen and tried to run this file but I get an error. I rand several other examples, but this is the only one that seems to give me problems: \r\n\r\nTraceback (most recent call last):\r\n  File \"EXAMPLE-OptionList.py\", line 43, in <module>\r\n    App.run()   \r\n  File \"filepath/npyscreen-4.9.1/npyscreen/apNPSApplication.py\", line 30, in run\r\n    return npyssafewrapper.wrapper(self.__remove_argument_call_main)\r\n  File \"filepath/npyscreen-4.9.1/npyscreen/npyssafewrapper.py\", line 41, in wrapper\r\n    wrapper_no_fork(call_function)\r\n  File \"filepath/npyscreen-4.9.1/npyscreen/npyssafewrapper.py\", line 97, in wrapper_no_fork\r\n    return_code = call_function(_SCREEN)    \r\n  File \"filepath/npyscreen-4.9.1/npyscreen/apNPSApplication.py\", line 25, in __remove_argument_call_main\r\n    return self.main()\r\n  File \"EXAMPLE-OptionList.py\", line 27, in main\r\n    except FileNotFoundError:\r\nNameError: global name 'FileNotFoundError' is not defined\r\n"},"comment":{"url":"https://api.github.com/repos/npcole/npyscreen/issues/comments/116589908","html_url":"https://github.com/npcole/npyscreen/issues/28#issuecomment-116589908","issue_url":"https://api.github.com/repos/npcole/npyscreen/issues/28","id":116589908,"user":{"login":"npcole","id":2055887,"avatar_url":"https://avatars.githubusercontent.com/u/2055887?v=3","gravatar_id":"","url":"https://api.github.com/users/npcole","html_url":"https://github.com/npcole","followers_url":"https://api.github.com/users/npcole/followers","following_url":"https://api.github.com/users/npcole/following{/other_user}","gists_url":"https://api.github.com/users/npcole/gists{/gist_id}","starred_url":"https://api.github.com/users/npcole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npcole/subscriptions","organizations_url":"https://api.github.com/users/npcole/orgs","repos_url":"https://api.github.com/users/npcole/repos","events_url":"https://api.github.com/users/npcole/events{/privacy}","received_events_url":"https://api.github.com/users/npcole/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T09:59:23Z","updated_at":"2015-06-29T09:59:23Z","body":"Thanks. I'll have a look later.\n\nOn Monday, 29 June 2015, Oliver Croomes <notifications@github.com> wrote:\n\n> I downloaded npyscreen and tried to run this file but I get an error. I\n> rand several other examples, but this is the only one that seems to give me\n> problems:\n>\n> Traceback (most recent call last):\n> File \"EXAMPLE-OptionList.py\", line 43, in\n> App.run()\n>\n> File \"filepath/npyscreen-4.9.1/npyscreen/apNPSApplication.py\", line 30, in\n> run\n> return npyssafewrapper.wrapper(self.__remove_argument_call_main)\n> File \"filepath/npyscreen-4.9.1/npyscreen/npyssafewrapper.py\", line 41, in\n> wrapper\n> wrapper_no_fork(call_function)\n> File \"filepath/npyscreen-4.9.1/npyscreen/npyssafewrapper.py\", line 97, in\n> wrapper_no_fork\n> return_code = call_function(_SCREEN)\n>\n> File \"filepath/npyscreen-4.9.1/npyscreen/apNPSApplication.py\", line 25, in\n> __remove_argument_call_main\n> return self.main()\n> File \"EXAMPLE-OptionList.py\", line 27, in main\n> except FileNotFoundError:\n> NameError: global name 'FileNotFoundError' is not defined\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/npcole/npyscreen/issues/28>.\n>\n"}}