{"action":"created","issue":{"url":"https://api.github.com/repos/silx-kit/pyFAI/issues/1049","repository_url":"https://api.github.com/repos/silx-kit/pyFAI","labels_url":"https://api.github.com/repos/silx-kit/pyFAI/issues/1049/labels{/name}","comments_url":"https://api.github.com/repos/silx-kit/pyFAI/issues/1049/comments","events_url":"https://api.github.com/repos/silx-kit/pyFAI/issues/1049/events","html_url":"https://github.com/silx-kit/pyFAI/issues/1049","id":391051974,"node_id":"MDU6SXNzdWUzOTEwNTE5NzQ=","number":1049,"title":"[diff_map]","user":{"login":"kif","id":1018880,"node_id":"MDQ6VXNlcjEwMTg4ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/1018880?v=4","gravatar_id":"","url":"https://api.github.com/users/kif","html_url":"https://github.com/kif","followers_url":"https://api.github.com/users/kif/followers","following_url":"https://api.github.com/users/kif/following{/other_user}","gists_url":"https://api.github.com/users/kif/gists{/gist_id}","starred_url":"https://api.github.com/users/kif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kif/subscriptions","organizations_url":"https://api.github.com/users/kif/orgs","repos_url":"https://api.github.com/users/kif/repos","events_url":"https://api.github.com/users/kif/events{/privacy}","received_events_url":"https://api.github.com/users/kif/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-14T10:25:57Z","updated_at":"2018-12-14T10:45:21Z","closed_at":null,"author_association":"MEMBER","body":"running in python3 there is a string conversion error:\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/threading.py\", line 914, in _bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python3.5/threading.py\", line 862, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"/usr/lib/python3/dist-packages/pyFAI/gui/diffmap_widget.py\", line 447, in process\r\n    self.radial_data = diffmap.init_ai()\r\n  File \"/usr/lib/python3/dist-packages/pyFAI/diffmap.py\", line 385, in init_ai\r\n    self.makeHDF5(rewrite=False)\r\n  File \"/usr/lib/python3/dist-packages/pyFAI/diffmap.py\", line 320, in makeHDF5\r\n    processgrp[\"program\"] = numpy.array([numpy.str_(i) for i in sys.argv])\r\n  File \"/usr/lib/python3/dist-packages/h5py/_hl/group.py\", line 291, in __setitem__\r\n    ds = self.create_dataset(None, data=obj, dtype=base.guess_dtype(obj))\r\n  File \"/usr/lib/python3/dist-packages/h5py/_hl/group.py\", line 106, in create_dataset\r\n    dsid = dataset.make_new_dset(self, shape, dtype, data, **kwds)\r\n  File \"/usr/lib/python3/dist-packages/h5py/_hl/dataset.py\", line 100, in make_new_dset\r\n    tid = h5t.py_create(dtype, logical=1)\r\n  File \"h5py/h5t.pyx\", line 1530, in h5py.h5t.py_create (/build/h5py-gWjLYu/h5py-2.7.1/h5py/h5t.c:17861)\r\n  File \"h5py/h5t.pyx\", line 1552, in h5py.h5t.py_create (/build/h5py-gWjLYu/h5py-2.7.1/h5py/h5t.c:17681)\r\n  File \"h5py/h5t.pyx\", line 1613, in h5py.h5t.py_create (/build/h5py-gWjLYu/h5py-2.7.1/h5py/h5t.c:17640)\r\nTypeError: No conversion path for dtype: dtype('<U17')\r\n```"},"comment":{"url":"https://api.github.com/repos/silx-kit/pyFAI/issues/comments/447287755","html_url":"https://github.com/silx-kit/pyFAI/issues/1049#issuecomment-447287755","issue_url":"https://api.github.com/repos/silx-kit/pyFAI/issues/1049","id":447287755,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzI4Nzc1NQ==","user":{"login":"vallsv","id":7579321,"node_id":"MDQ6VXNlcjc1NzkzMjE=","avatar_url":"https://avatars0.githubusercontent.com/u/7579321?v=4","gravatar_id":"","url":"https://api.github.com/users/vallsv","html_url":"https://github.com/vallsv","followers_url":"https://api.github.com/users/vallsv/followers","following_url":"https://api.github.com/users/vallsv/following{/other_user}","gists_url":"https://api.github.com/users/vallsv/gists{/gist_id}","starred_url":"https://api.github.com/users/vallsv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vallsv/subscriptions","organizations_url":"https://api.github.com/users/vallsv/orgs","repos_url":"https://api.github.com/users/vallsv/repos","events_url":"https://api.github.com/users/vallsv/events{/privacy}","received_events_url":"https://api.github.com/users/vallsv/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T10:45:21Z","updated_at":"2018-12-14T10:45:21Z","author_association":"COLLABORATOR","body":"Hmmm, but it's not obvious. I dont know the text encoding of `sys.argv` in python2 is known."}}
{"actor":{"display_login":"vallsv"}}