{"action":"closed","issue":{"url":"https://api.github.com/repos/jkmacc-LANL/pisces/issues/8","labels_url":"https://api.github.com/repos/jkmacc-LANL/pisces/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jkmacc-LANL/pisces/issues/8/comments","events_url":"https://api.github.com/repos/jkmacc-LANL/pisces/issues/8/events","html_url":"https://github.com/jkmacc-LANL/pisces/issues/8","id":115989697,"number":8,"title":"mismatch between  util.py  and sqlalchemy ? ","user":{"login":"iceseismic","id":831424,"avatar_url":"https://avatars.githubusercontent.com/u/831424?v=3","gravatar_id":"","url":"https://api.github.com/users/iceseismic","html_url":"https://github.com/iceseismic","followers_url":"https://api.github.com/users/iceseismic/followers","following_url":"https://api.github.com/users/iceseismic/following{/other_user}","gists_url":"https://api.github.com/users/iceseismic/gists{/gist_id}","starred_url":"https://api.github.com/users/iceseismic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iceseismic/subscriptions","organizations_url":"https://api.github.com/users/iceseismic/orgs","repos_url":"https://api.github.com/users/iceseismic/repos","events_url":"https://api.github.com/users/iceseismic/events{/privacy}","received_events_url":"https://api.github.com/users/iceseismic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-09T23:16:51Z","updated_at":"2015-11-11T16:56:59Z","closed_at":"2015-11-11T16:56:59Z","body":"Hi,\r\nI'm hitting a small error -  could well be my own issue - I'm unsure : \r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"form_sqldb_from_db.py\", line 48, in <module>\r\n    class Site(css.Site):\r\n  File \"/sp/prj/tvz95/mypython2/lib64/python2.7/site-packages/pisces_db-0.2.1-py2.7-linux-x86_64.egg/pisces/schema/util.py\", line 456, in __init__\r\n    cls._attrname = {c.name: a for a,c in cls.__mapper__.c.items()} #{col_name: attr_name}\r\n  File \"/usr/lib64/python2.7/site-packages/sqlalchemy/util/_collections.py\", line 106, in __getattr__\r\n    raise AttributeError(key)\r\nAttributeError: items\r\n\r\n\r\nwhere on line 48 of form_sqldb_from_db.py I have :\r\n```python\r\nclass Site(css.Site):\r\n    __tablename__ = 'site'\r\n```\r\n\r\n\r\n\r\nAny ideas ?   Some kind of mismatch between  util.py  and  sqlalchemy ??\r\nAny suggestions very welcome \r\n\r\nStephen\r\n\r\n"}}