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

Error on setparam in 0.4.1[78] #213

Open
ahupp opened this issue May 6, 2020 · 0 comments
Open

Error on setparam in 0.4.1[78] #213

ahupp opened this issue May 6, 2020 · 0 comments

Comments

@ahupp
Copy link
Owner

ahupp commented May 6, 2020

@mbarakaja reports:

I am not sure if this is related but my build started failing with this new version

h_inventory/fetch.py:131: in _validate
mimetype = magic.from_buffer(response.content, mime=True)
../../../virtualenv/python2.7.14/lib/python2.7/site-packages/magic.py:165: in from_buffer
m = _get_magic_type(mime)
../../../virtualenv/python2.7.14/lib/python2.7/site-packages/magic.py:139: in _get_magic_type
i = _instances[mime] = Magic(mime=mime)
../../../virtualenv/python2.7.14/lib/python2.7/site-packages/magic.py:76: in init
self.setparam(MAGIC_PARAM_NAME_MAX, 64)
../../../virtualenv/python2.7.14/lib/python2.7/site-packages/magic.py:113: in setparam
return magic_setparam(self.cookie, param, val)
../../../virtualenv/python2.7.14/lib/python2.7/site-packages/magic.py:322: in magic_setparam
return _magic_setparam(cookie, param, byref(v))
../../../virtualenv/python2.7.14/lib/python2.7/site-packages/magic.py:217: in errorcheck_negative_one
raise MagicException(err)
E MagicException: None

ttung pushed a commit to spacetx/slicedimage that referenced this issue May 26, 2020
doc_version should be of instance `version.Version`

Couple additional build-related issues:

1. hackery for Windows builds no longer necessary!
2. running into ahupp/python-magic#213, so pinning python-magic to an earlier version.
mattcai pushed a commit to spacetx/slicedimage that referenced this issue May 26, 2020
doc_version should be of instance `version.Version`

Couple additional build-related issues:

1. hackery for Windows builds no longer necessary!
2. running into ahupp/python-magic#213, so pinning python-magic to an earlier version.
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

No branches or pull requests

1 participant