{"action":"opened","issue":{"url":"https://api.github.com/repos/obspy/obspy/issues/1473","repository_url":"https://api.github.com/repos/obspy/obspy","labels_url":"https://api.github.com/repos/obspy/obspy/issues/1473/labels{/name}","comments_url":"https://api.github.com/repos/obspy/obspy/issues/1473/comments","events_url":"https://api.github.com/repos/obspy/obspy/issues/1473/events","html_url":"https://github.com/obspy/obspy/issues/1473","id":165116681,"number":1473,"title":"Problem with printing inventory objects","user":{"login":"krischer","id":800487,"avatar_url":"https://avatars.githubusercontent.com/u/800487?v=3","gravatar_id":"","url":"https://api.github.com/users/krischer","html_url":"https://github.com/krischer","followers_url":"https://api.github.com/users/krischer/followers","following_url":"https://api.github.com/users/krischer/following{/other_user}","gists_url":"https://api.github.com/users/krischer/gists{/gist_id}","starred_url":"https://api.github.com/users/krischer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krischer/subscriptions","organizations_url":"https://api.github.com/users/krischer/orgs","repos_url":"https://api.github.com/users/krischer/repos","events_url":"https://api.github.com/users/krischer/events{/privacy}","received_events_url":"https://api.github.com/users/krischer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/obspy/obspy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/obspy/obspy/milestones/12","html_url":"https://github.com/obspy/obspy/milestones/1.1.0","labels_url":"https://api.github.com/repos/obspy/obspy/milestones/12/labels","id":1383698,"number":12,"title":"1.1.0","description":"","creator":{"login":"megies","id":1842780,"avatar_url":"https://avatars.githubusercontent.com/u/1842780?v=3","gravatar_id":"","url":"https://api.github.com/users/megies","html_url":"https://github.com/megies","followers_url":"https://api.github.com/users/megies/followers","following_url":"https://api.github.com/users/megies/following{/other_user}","gists_url":"https://api.github.com/users/megies/gists{/gist_id}","starred_url":"https://api.github.com/users/megies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/megies/subscriptions","organizations_url":"https://api.github.com/users/megies/orgs","repos_url":"https://api.github.com/users/megies/repos","events_url":"https://api.github.com/users/megies/events{/privacy}","received_events_url":"https://api.github.com/users/megies/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":23,"state":"open","created_at":"2015-10-29T15:40:55Z","updated_at":"2016-07-12T16:05:03Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-07-12T16:05:03Z","updated_at":"2016-07-12T16:05:03Z","closed_at":null,"body":"```python\r\n>>> from obspy import read_inventory\r\n>>> inv = read_inventory(\"http://examples.obspy.org/IU_ULN.xml\")\r\n>>> print(inv)\r\n```\r\n\r\n```\r\n---------------------------------------------------------------------------\r\nTypeError                                 Traceback (most recent call last)\r\n<ipython-input-3-c3ac4c4e8a67> in <module>()\r\n      1 from obspy import read_inventory\r\n      2 inv = read_inventory(\"http://examples.obspy.org/IU_ULN.xml\")\r\n----> 3 print(inv)\r\n      4 inv.plot(projection=\"ortho\")\r\n\r\n/Users/lion/workspace/code/obspy/obspy/core/inventory/inventory.py in __str__(self)\r\n    234         ret_str += \"\\t\\tChannels (%i):\\n\" % len(contents[\"channels\"])\r\n    235         ret_str += \"\\n\".join(_textwrap(\r\n--> 236             \", \".join(_unified_content_strings(contents[\"channels\"])),\r\n    237             initial_indent=\"\\t\\t\\t\", subsequent_indent=\"\\t\\t\\t\",\r\n    238             expand_tabs=False))\r\n\r\n/Users/lion/workspace/code/obspy/obspy/core/inventory/util.py in _unified_content_strings(contents)\r\n    774 \r\n    775 def _unified_content_strings(contents):\r\n--> 776     contents_unique = sorted(set(contents), key=_seed_id_keyfunction)\r\n    777     contents_counts = [\r\n    778         (item, contents.count(item)) for item in contents_unique]\r\n\r\nTypeError: unorderable types: str() < int()\r\n\r\n\r\n```\r\n"}}
{"actor":{"display_login":"krischer"}}