{"action":"created","issue":{"url":"https://api.github.com/repos/mikeshultz/xsd2pgsql/issues/1","repository_url":"https://api.github.com/repos/mikeshultz/xsd2pgsql","labels_url":"https://api.github.com/repos/mikeshultz/xsd2pgsql/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mikeshultz/xsd2pgsql/issues/1/comments","events_url":"https://api.github.com/repos/mikeshultz/xsd2pgsql/issues/1/events","html_url":"https://github.com/mikeshultz/xsd2pgsql/issues/1","id":216623902,"number":1,"title":"TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'","user":{"login":"amal-khailtash","id":667843,"avatar_url":"https://avatars1.githubusercontent.com/u/667843?v=3","gravatar_id":"","url":"https://api.github.com/users/amal-khailtash","html_url":"https://github.com/amal-khailtash","followers_url":"https://api.github.com/users/amal-khailtash/followers","following_url":"https://api.github.com/users/amal-khailtash/following{/other_user}","gists_url":"https://api.github.com/users/amal-khailtash/gists{/gist_id}","starred_url":"https://api.github.com/users/amal-khailtash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amal-khailtash/subscriptions","organizations_url":"https://api.github.com/users/amal-khailtash/orgs","repos_url":"https://api.github.com/users/amal-khailtash/repos","events_url":"https://api.github.com/users/amal-khailtash/events{/privacy}","received_events_url":"https://api.github.com/users/amal-khailtash/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-03-24T02:03:02Z","updated_at":"2017-03-24T13:28:42Z","closed_at":"2017-03-24T03:36:52Z","body":"Hi, I am trying to see if I can convert http://accellera.org/images/xmlschema/ipxact/1685-2014/catalog.xsd into pgsql (if it is possible) and I get the following error:\r\n\r\n$ python2 xsd2pgsql/xsd2pgsql.py catalog.xsd\r\nTraceback (most recent call last):\r\n  File \"xsd2pgsql/xsd2pgsql.py\", line 267, in <module>\r\n    result = look4element(XMLS, xsd, pg_normalize(f.name.split('.')[0]), fail=args.failOnBadType, normalize=norm)\r\n  File \"xsd2pgsql/xsd2pgsql.py\", line 123, in look4element\r\n    rez = look4element(ns, x, x.get('name') or parent, recurse_level + 1, fail=fail)\r\n  File \"xsd2pgsql/xsd2pgsql.py\", line 151, in look4element\r\n    rez = look4element(ns, x, x.get('name') or parent, recurse_level + 1, fail=fail)\r\n  File \"xsd2pgsql/xsd2pgsql.py\", line 155, in look4element\r\n    rez = look4element(ns, x, x.get('name') or parent, recurse_level + 1, fail=fail)\r\n  File \"xsd2pgsql/xsd2pgsql.py\", line 144, in look4element\r\n    cols += ''\r\nTypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/mikeshultz/xsd2pgsql/issues/comments/289022347","html_url":"https://github.com/mikeshultz/xsd2pgsql/issues/1#issuecomment-289022347","issue_url":"https://api.github.com/repos/mikeshultz/xsd2pgsql/issues/1","id":289022347,"user":{"login":"amal-khailtash","id":667843,"avatar_url":"https://avatars1.githubusercontent.com/u/667843?v=3","gravatar_id":"","url":"https://api.github.com/users/amal-khailtash","html_url":"https://github.com/amal-khailtash","followers_url":"https://api.github.com/users/amal-khailtash/followers","following_url":"https://api.github.com/users/amal-khailtash/following{/other_user}","gists_url":"https://api.github.com/users/amal-khailtash/gists{/gist_id}","starred_url":"https://api.github.com/users/amal-khailtash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amal-khailtash/subscriptions","organizations_url":"https://api.github.com/users/amal-khailtash/orgs","repos_url":"https://api.github.com/users/amal-khailtash/repos","events_url":"https://api.github.com/users/amal-khailtash/events{/privacy}","received_events_url":"https://api.github.com/users/amal-khailtash/received_events","type":"User","site_admin":false},"created_at":"2017-03-24T13:28:42Z","updated_at":"2017-03-24T13:28:42Z","body":"I forgot to mention that those are defined in other XSD files:  \"autoConfigure.xsd  catalog.xsd  commonStructures.xsd  fileType.xsd  identifier.xsd  simpleTypes.xsd  subInstances.xsd  xml.xsd\"\r\n\r\nsimpleTypes.xsd defines most of the types."}}
{"actor":{"display_login":"amal-khailtash"}}