{"action":"reopened","issue":{"url":"https://api.github.com/repos/adamreeve/npTDMS/issues/35","labels_url":"https://api.github.com/repos/adamreeve/npTDMS/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/adamreeve/npTDMS/issues/35/comments","events_url":"https://api.github.com/repos/adamreeve/npTDMS/issues/35/events","html_url":"https://github.com/adamreeve/npTDMS/issues/35","id":98763664,"number":35,"title":"IOError from np.fromfile() when running tests","user":{"login":"pdunc","id":8146251,"avatar_url":"https://avatars.githubusercontent.com/u/8146251?v=3","gravatar_id":"","url":"https://api.github.com/users/pdunc","html_url":"https://github.com/pdunc","followers_url":"https://api.github.com/users/pdunc/followers","following_url":"https://api.github.com/users/pdunc/following{/other_user}","gists_url":"https://api.github.com/users/pdunc/gists{/gist_id}","starred_url":"https://api.github.com/users/pdunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdunc/subscriptions","organizations_url":"https://api.github.com/users/pdunc/orgs","repos_url":"https://api.github.com/users/pdunc/repos","events_url":"https://api.github.com/users/pdunc/events{/privacy}","received_events_url":"https://api.github.com/users/pdunc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-03T15:00:46Z","updated_at":"2015-08-04T22:46:55Z","closed_at":null,"body":"Having an issue running the test suite - this is running in a `venv` with `numpy 1.9.2` and `pandas 0.16.1` installed.\r\n\r\n```E\r\n\r\nError\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\pduncan\\AppData\\Local\\Continuum\\Anaconda\\lib\\unittest\\case.py\", line 329, in run\r\n    testMethod()\r\n  File \"C:\\Users\\pduncan\\PycharmProjects\\npTDMS\\nptdms\\test\\tdms_test.py\", line 178, in test_data_read\r\n    tdmsData = test_file.load()\r\n  File \"C:\\Users\\pduncan\\PycharmProjects\\npTDMS\\nptdms\\test\\tdms_test.py\", line 77, in load\r\n    return tdms.TdmsFile(self.file, *args, **kwargs)\r\n  File \"C:\\Users\\pduncan\\PycharmProjects\\npTDMS\\nptdms\\tdms.py\", line 149, in __init__\r\n    self._read_segments(file)\r\n  File \"C:\\Users\\pduncan\\PycharmProjects\\npTDMS\\nptdms\\tdms.py\", line 183, in _read_segments\r\n    segment.read_raw_data(tdms_file)\r\n  File \"C:\\Users\\pduncan\\PycharmProjects\\npTDMS\\nptdms\\tdms.py\", line 537, in read_raw_data\r\n    obj._read_values(f, endianness))\r\n  File \"C:\\Users\\pduncan\\PycharmProjects\\npTDMS\\nptdms\\tdms.py\", line 859, in _read_values\r\n    return np.fromfile(file, dtype=dtype, count=self.number_values)\r\nIOError: first argument must be an open file\r\n-------------------- >> begin captured logging << --------------------\r\nnptdms.tdms: DEBUG: Reading segment at 0\r\nnptdms.tdms: DEBUG: Property kTocDAQmxRawData is False\r\nnptdms.tdms: DEBUG: Property kTocNewObjList is True\r\nnptdms.tdms: DEBUG: Property kTocBigEndian is False\r\nnptdms.tdms: DEBUG: Property kTocInterleavedData is False\r\nnptdms.tdms: DEBUG: Property kTocMetaData is True\r\nnptdms.tdms: DEBUG: Property kTocRawData is True\r\nnptdms.tdms: DEBUG: Reading metadata at 28\r\nnptdms.tdms: DEBUG: Creating a new segment object\r\nnptdms.tdms: DEBUG: Reading metadata for object /'Group'\r\nnptdms.tdms: DEBUG: Object has no data in this segment\r\nnptdms.tdms: DEBUG: Reading 2 properties\r\nnptdms.tdms: DEBUG: Property prop (tdsTypeString): value\r\nnptdms.tdms: DEBUG: Property num (tdsTypeI32): 10\r\nnptdms.tdms: DEBUG: Creating a new segment object\r\nnptdms.tdms: DEBUG: Reading metadata for object /'Group'/'Channel1'\r\nnptdms.tdms: DEBUG: Object data type: tdsTypeI32\r\nnptdms.tdms: DEBUG: Object number of values in segment: 2\r\nnptdms.tdms: DEBUG: Reading 0 properties\r\nnptdms.tdms: DEBUG: Creating a new segment object\r\nnptdms.tdms: DEBUG: Reading metadata for object /'Group'/'Channel2'\r\nnptdms.tdms: DEBUG: Object data type: tdsTypeI32\r\nnptdms.tdms: DEBUG: Object number of values in segment: 2\r\nnptdms.tdms: DEBUG: Reading 2 properties\r\nnptdms.tdms: DEBUG: Property wf_start_offset (tdsTypeDoubleFloat): 0.0\r\nnptdms.tdms: DEBUG: Property wf_increment (tdsTypeDoubleFloat): 0.1\r\nnptdms.tdms: INFO: Read metadata: Took 3.00894216235 ms\r\nnptdms.tdms: INFO: Allocate space: Took 0.060221352437 ms\r\nnptdms.tdms: DEBUG: Reading 16 bytes of data at 241 in 1 chunks\r\nnptdms.tdms: DEBUG: Data is contiguous\r\nnptdms.tdms: INFO: Read data: Took 0.273121545464 ms\r\n--------------------- >> end captured logging << ---------------------\r\n```"}}