{"action":"created","issue":{"url":"https://api.github.com/repos/danielhrisca/asammdf/issues/50","repository_url":"https://api.github.com/repos/danielhrisca/asammdf","labels_url":"https://api.github.com/repos/danielhrisca/asammdf/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/danielhrisca/asammdf/issues/50/comments","events_url":"https://api.github.com/repos/danielhrisca/asammdf/issues/50/events","html_url":"https://github.com/danielhrisca/asammdf/issues/50","id":302578524,"number":50,"title":"Fix Mat file Export","user":{"login":"bhagivinni","id":17317535,"avatar_url":"https://avatars0.githubusercontent.com/u/17317535?v=4","gravatar_id":"","url":"https://api.github.com/users/bhagivinni","html_url":"https://github.com/bhagivinni","followers_url":"https://api.github.com/users/bhagivinni/followers","following_url":"https://api.github.com/users/bhagivinni/following{/other_user}","gists_url":"https://api.github.com/users/bhagivinni/gists{/gist_id}","starred_url":"https://api.github.com/users/bhagivinni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhagivinni/subscriptions","organizations_url":"https://api.github.com/users/bhagivinni/orgs","repos_url":"https://api.github.com/users/bhagivinni/repos","events_url":"https://api.github.com/users/bhagivinni/events{/privacy}","received_events_url":"https://api.github.com/users/bhagivinni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-06T06:24:55Z","updated_at":"2018-03-06T06:52:42Z","closed_at":null,"author_association":"NONE","body":"# Python version\r\n_Please run the following snippet and write the output here_\r\n```'\r\npython=2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]'\r\n'os=Windows-7-6.1.7601-SP1'\r\n```\r\n#  Code     \r\n```\r\n for file_name in os.listdir(dir_mdf_file):\r\n        mdf_parser = asammdf.mdf.MDF(name=file_name, memory='low', version='4.00')\r\n        mdf_file = mdf_parser.export('mat',file_name)\r\n\r\n```\r\n  ## \r\n  \r\n  ## Traceback\r\n\r\n ```\r\n (<type 'exceptions.TypeError'>, TypeError(\"'generator' object has no attribute '__getitem__'\",), <traceback object at 0x000000000E247A88>)\r\n```\r\n **Error 2:** \r\n `(<type 'exceptions.ValueError'>, ValueError('array-shape mismatch in array 7',), <traceback object at 0x0000000014D9B0C8>)`\r\n\r\n  \r\n# Description\r\nWhile trying to convert MDF files to .mat files using MDF module, I am getting these two errors.\r\nI am assuming that Error 2 may be because of NUMPY, can anyone help why this error comes while exporting?\r\nCan i get help on this?? \r\n"},"comment":{"url":"https://api.github.com/repos/danielhrisca/asammdf/issues/comments/370682173","html_url":"https://github.com/danielhrisca/asammdf/issues/50#issuecomment-370682173","issue_url":"https://api.github.com/repos/danielhrisca/asammdf/issues/50","id":370682173,"user":{"login":"danielhrisca","id":20952040,"avatar_url":"https://avatars1.githubusercontent.com/u/20952040?v=4","gravatar_id":"","url":"https://api.github.com/users/danielhrisca","html_url":"https://github.com/danielhrisca","followers_url":"https://api.github.com/users/danielhrisca/followers","following_url":"https://api.github.com/users/danielhrisca/following{/other_user}","gists_url":"https://api.github.com/users/danielhrisca/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhrisca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhrisca/subscriptions","organizations_url":"https://api.github.com/users/danielhrisca/orgs","repos_url":"https://api.github.com/users/danielhrisca/repos","events_url":"https://api.github.com/users/danielhrisca/events{/privacy}","received_events_url":"https://api.github.com/users/danielhrisca/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T06:52:42Z","updated_at":"2018-03-06T06:52:42Z","author_association":"OWNER","body":"Hello,\r\n\r\nIt would be better to post the full traceback so we can see exactly the line that triggers the exception.\r\n\r\nWhat numpy version do you have installed?"}}
{"actor":{"display_login":"danielhrisca"}}