question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ERROR: test_big_arrays (test_io.TestSavezLoad) on OS X + Python 3.3

See original GitHub issue

Reported by Piet van Oostrum on the mailing list against 1.8.0rc1 on OS X with Python 3.3:

======================================================================
ERROR: test_big_arrays (test_io.TestSavezLoad)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/testing/decorators.py", line 146, in skipper_func
    return f(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/tests/test_io.py", line 149, in test_big_arrays
    np.savez(tmp, a=a)
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/npyio.py", line 530, in savez
    _savez(file, args, kwds, False)
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/npyio.py", line 589, in _savez
    format.write_array(fid, np.asanyarray(val))
  File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/numpy/lib/format.py", line 417, in write_array
    fp.write(array.tostring('C'))
OSError: [Errno 22] Invalid argument

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:29 (22 by maintainers)

github_iconTop GitHub Comments

3reactions
matrixisecommented, Oct 19, 2018

Hi all,

Could you try this issue with the last version of Python 3.6, 3.7 and 3.8a because I think to have fixed the issue on OSX with this PR (https://github.com/python/cpython/pull/1705).

I have an other PR for 2.7, but this one is not yet ready 😕

Thank you for your feedback.

1reaction
charriscommented, Jun 7, 2018

Looks like this isn’t going to get fixed upstream anytime soon. Anyone know the latest status?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Release Python 3.3.4
Python 3.3.4. Release Date: Feb. 9, 2014. fixes several security and a lot of overall bug fixes found in Python 3.3.3.
Read more >
Python 3 segmentation fault on OS X Mavericks - Stack Overflow
I have been experiencing segmentation faults when using Python 3 on OS X Mavericks. Any suggestions on how to resolve this? I have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found