{"action":"closed","issue":{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1585","labels_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1585/labels{/name}","comments_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1585/comments","events_url":"https://api.github.com/repos/UV-CDAT/uvcdat/issues/1585/events","html_url":"https://github.com/UV-CDAT/uvcdat/issues/1585","id":109847762,"number":1585,"title":"EzTemplate object has no close function","user":{"login":"durack1","id":3229632,"avatar_url":"https://avatars.githubusercontent.com/u/3229632?v=3","gravatar_id":"","url":"https://api.github.com/users/durack1","html_url":"https://github.com/durack1","followers_url":"https://api.github.com/users/durack1/followers","following_url":"https://api.github.com/users/durack1/following{/other_user}","gists_url":"https://api.github.com/users/durack1/gists{/gist_id}","starred_url":"https://api.github.com/users/durack1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/durack1/subscriptions","organizations_url":"https://api.github.com/users/durack1/orgs","repos_url":"https://api.github.com/users/durack1/repos","events_url":"https://api.github.com/users/durack1/events{/privacy}","received_events_url":"https://api.github.com/users/durack1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/labels/VCS","name":"VCS","color":"0b02e1"}],"state":"closed","locked":false,"assignee":{"login":"doutriaux1","id":2781425,"avatar_url":"https://avatars.githubusercontent.com/u/2781425?v=3","gravatar_id":"","url":"https://api.github.com/users/doutriaux1","html_url":"https://github.com/doutriaux1","followers_url":"https://api.github.com/users/doutriaux1/followers","following_url":"https://api.github.com/users/doutriaux1/following{/other_user}","gists_url":"https://api.github.com/users/doutriaux1/gists{/gist_id}","starred_url":"https://api.github.com/users/doutriaux1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doutriaux1/subscriptions","organizations_url":"https://api.github.com/users/doutriaux1/orgs","repos_url":"https://api.github.com/users/doutriaux1/repos","events_url":"https://api.github.com/users/doutriaux1/events{/privacy}","received_events_url":"https://api.github.com/users/doutriaux1/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/UV-CDAT/uvcdat/milestones/12","html_url":"https://github.com/UV-CDAT/uvcdat/milestones/2.4","labels_url":"https://api.github.com/repos/UV-CDAT/uvcdat/milestones/12/labels","id":962007,"number":12,"title":"2.4","description":"","creator":{"login":"doutriaux1","id":2781425,"avatar_url":"https://avatars.githubusercontent.com/u/2781425?v=3","gravatar_id":"","url":"https://api.github.com/users/doutriaux1","html_url":"https://github.com/doutriaux1","followers_url":"https://api.github.com/users/doutriaux1/followers","following_url":"https://api.github.com/users/doutriaux1/following{/other_user}","gists_url":"https://api.github.com/users/doutriaux1/gists{/gist_id}","starred_url":"https://api.github.com/users/doutriaux1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doutriaux1/subscriptions","organizations_url":"https://api.github.com/users/doutriaux1/orgs","repos_url":"https://api.github.com/users/doutriaux1/repos","events_url":"https://api.github.com/users/doutriaux1/events{/privacy}","received_events_url":"https://api.github.com/users/doutriaux1/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":107,"state":"open","created_at":"2015-02-02T18:34:50Z","updated_at":"2015-10-09T21:43:30Z","due_on":"2015-09-18T07:00:00Z","closed_at":null},"comments":10,"created_at":"2015-10-05T17:36:37Z","updated_at":"2015-10-09T21:43:30Z","closed_at":"2015-10-09T21:43:30Z","body":"The `EzTemplate` object has no `close` or `exit` functions, so I am uncertain how to purge or manipulate an `EzTemplate` object during an interactive session once it is created (and previewed):\r\n\r\n```python\r\n>>> Canvas = EzTemplate.Multi(rows=2,columns=2)\r\n>>> Canvas.preview('Template4x4',bg=bg)\r\n>>> dir(Canvas)\r\n['__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__slots__', '__str__', '__subclasshook__', '_columns', '_getcolumns', '_getrows', '_gettemplate', '_rows', '_setcolumns', '_setrows', '_settemplate', '_template', 'clean', 'columns', 'get', 'id', 'legend', 'list', 'margins', 'preview', 'rows', 'spacing', 'template', 'template_names', 'x']\r\n>>> Canvas.clean()\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcsaddons/Multi.py\", line 229, in clean\r\n    self.x.removeP(t)\r\n  File \"/usr/local/uvcdat/2.4.0rc1/lib/python2.7/site-packages/vcs/Canvas.py\", line 1275, in removeP\r\n    return self.canvas.removeP(*args)\r\nAttributeError: 'module' object has no attribute 'removeP'\r\n```\r\nDuring the session above, a `VCS` canvas window appears, however I am unable to close this using the `X` (top right corner) or using a `Canvas.close()` (or equivalent, that I can find) on the commandline.\r\n"}}