{"action":"created","issue":{"url":"https://api.github.com/repos/dmnfarrell/pandastable/issues/42","repository_url":"https://api.github.com/repos/dmnfarrell/pandastable","labels_url":"https://api.github.com/repos/dmnfarrell/pandastable/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/dmnfarrell/pandastable/issues/42/comments","events_url":"https://api.github.com/repos/dmnfarrell/pandastable/issues/42/events","html_url":"https://github.com/dmnfarrell/pandastable/issues/42","id":183809339,"number":42,"title":"AttributeError: 'Table' object has no attribute 'tablecolheader'","user":{"login":"Ismael-VC","id":4594825,"avatar_url":"https://avatars.githubusercontent.com/u/4594825?v=3","gravatar_id":"","url":"https://api.github.com/users/Ismael-VC","html_url":"https://github.com/Ismael-VC","followers_url":"https://api.github.com/users/Ismael-VC/followers","following_url":"https://api.github.com/users/Ismael-VC/following{/other_user}","gists_url":"https://api.github.com/users/Ismael-VC/gists{/gist_id}","starred_url":"https://api.github.com/users/Ismael-VC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ismael-VC/subscriptions","organizations_url":"https://api.github.com/users/Ismael-VC/orgs","repos_url":"https://api.github.com/users/Ismael-VC/repos","events_url":"https://api.github.com/users/Ismael-VC/events{/privacy}","received_events_url":"https://api.github.com/users/Ismael-VC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T21:35:11Z","updated_at":"2016-10-26T21:16:48Z","closed_at":"2016-10-20T12:46:07Z","body":"I get this error with this script:\r\n\r\n```python\r\nfrom tkinter import Tk, Frame, mainloop\r\nfrom pandastable import Table\r\n\r\n\r\ndef main():\r\n    root = Tk()\r\n    frame = Frame(root)\r\n           \r\n    table = Table(frame)\r\n    table.importCSV(\"pacientes.csv\")\r\n    table.show()\r\n    #table.redraw()\r\n\r\n    mainloop()\r\n\r\n        \r\nif __name__ == '__main__':\r\n    main()\r\n\r\n```\r\n\r\n```python\r\nrunfile('C:/Users/personal/Documents/Python Scripts/pacientes.py', wdir='C:/Users/personal/Documents/Python Scripts/Pacientes')\r\nTraceback (most recent call last):\r\n\r\n  File \"<ipython-input-2-0da4d8efad79>\", line 1, in <module>\r\n    runfile('C:/Users/personal/Documents/Python Scripts/pacientes.py', wdir='C:/Users/personal/Documents/Python Scripts/Pacientes')\r\n\r\n  File \"C:\\Users\\personal\\Anaconda3\\lib\\site-packages\\spyder\\utils\\site\\sitecustomize.py\", line 866, in runfile\r\n    execfile(filename, namespace)\r\n\r\n  File \"C:\\Users\\personal\\Anaconda3\\lib\\site-packages\\spyder\\utils\\site\\sitecustomize.py\", line 102, in execfile\r\n    exec(compile(f.read(), filename, 'exec'), namespace)\r\n\r\n  File \"C:/Users/personal/Documents/Python Scripts/pacientes.py\", line 18, in <module>\r\n    main()\r\n\r\n  File \"C:/Users/personal/Documents/Python Scripts/pacientes.py\", line 10, in main\r\n    table.importCSV(\"pacientes.csv\")\r\n\r\n  File \"C:\\Users\\personal\\Anaconda3\\lib\\site-packages\\pandastable\\core.py\", line 2907, in importCSV\r\n    self.updateModel(model)\r\n\r\n  File \"C:\\Users\\personal\\Anaconda3\\lib\\site-packages\\pandastable\\core.py\", line 2822, in updateModel\r\n    self.tablecolheader.destroy()\r\n\r\nAttributeError: 'Table' object has no attribute 'tablecolheader'\r\n```"},"comment":{"url":"https://api.github.com/repos/dmnfarrell/pandastable/issues/comments/256479600","html_url":"https://github.com/dmnfarrell/pandastable/issues/42#issuecomment-256479600","issue_url":"https://api.github.com/repos/dmnfarrell/pandastable/issues/42","id":256479600,"user":{"login":"Ismael-VC","id":4594825,"avatar_url":"https://avatars.githubusercontent.com/u/4594825?v=3","gravatar_id":"","url":"https://api.github.com/users/Ismael-VC","html_url":"https://github.com/Ismael-VC","followers_url":"https://api.github.com/users/Ismael-VC/followers","following_url":"https://api.github.com/users/Ismael-VC/following{/other_user}","gists_url":"https://api.github.com/users/Ismael-VC/gists{/gist_id}","starred_url":"https://api.github.com/users/Ismael-VC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ismael-VC/subscriptions","organizations_url":"https://api.github.com/users/Ismael-VC/orgs","repos_url":"https://api.github.com/users/Ismael-VC/repos","events_url":"https://api.github.com/users/Ismael-VC/events{/privacy}","received_events_url":"https://api.github.com/users/Ismael-VC/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T21:16:48Z","updated_at":"2016-10-26T21:16:48Z","body":"@dmnfarrell thanks for your comment, I'm not very used to `tkinter` yet, I've made a hello world example at #45."}}
{"actor":{"display_login":"Ismael-VC"}}