Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved support for Windows, updates to dataset.meta_to_json() #26

Merged
merged 5 commits into from
Dec 2, 2020

Conversation

matthoendorf
Copy link

@matthoendorf matthoendorf commented Oct 28, 2020

  • Fixed TypeError: LoadLibrary() argument 1 must be str, not None when using read_spss() and write_spss() on Windows. Force msvcrt as libc if os.name == 'nt'.
  • Fixed TypeError: Object of type int64 is not JSON serializable when using dataset.meta_to_json(). Integers were being stored as numpy data type. Solution from https://stackoverflow.com/a/57915246.
  • Fixed AttributeError: 'str' object has no attribute 'json' when using dataset.meta_to_json(). When setting the json path, ''.json() should be ''.join().
  • Fixed issue with invalid ioLocale for English on Windows
  • Fixed issue with errcheck() on fdopen()

@geirfreysson
Copy link
Collaborator

The tests have all passed, let me pull this locally and test some spss reading on the mac and if that all works then I'll merge - hopefully before the weekend.

@MrBlackespresso
Copy link

hi guys, thanks for the updates on the savReaderWriter issues with Windows systems, took me hours to debug, but after the tweaks to header.py and generic.py it works on win 10. Can you please merge Matt's revisions? thanks again

@geirfreysson geirfreysson merged commit 39ca188 into Quantipy:master Dec 2, 2020
@geirfreysson geirfreysson mentioned this pull request Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants