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

TypeError: constructFunction() got an unexpected keyword argument 'force_extension' #15

Open
PiRK opened this Issue Aug 20, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@PiRK

PiRK commented Aug 20, 2018

On AppVeyor (Windows), with the recent pre-release version 3.1.3b1:

File "C:\projects\silx\venv_test\lib\site-packages\silx\gui\_glutils\gl.py", line 50, in <module>
    import OpenGL.GL as _GL
  File "C:\projects\silx\venv_test\lib\site-packages\OpenGL\GL\__init__.py", line 6, in <module>
    from OpenGL.GL.images import *
  File "C:\projects\silx\venv_test\lib\site-packages\OpenGL\GL\images.py", line 628, in <module>
    suffix, arrayConstant, getattr(GL_1_1,functionName),
  File "C:\projects\silx\venv_test\lib\site-packages\OpenGL\GL\images.py", line 578, in typedImageFunction
    if baseFunction:
  File "C:\projects\silx\venv_test\lib\site-packages\OpenGL\platform\baseplatform.py", line 382, in __nonzero__
    self.load()
  File "C:\projects\silx\venv_test\lib\site-packages\OpenGL\platform\baseplatform.py", line 397, in load
    force_extension = self.force_extension,
TypeError: constructFunction() got an unexpected keyword argument 'force_extension'
@t20100

This comment has been minimized.

t20100 commented Aug 30, 2018

Once this is overcome, there is an issue on Windows with numpy.float128 and numpy.complex256 which are not defined.

@totaam

This comment has been minimized.

totaam commented Nov 21, 2018

This commit already takes care of both the float128 / complex256 issue and the force_extension unexpected keyword argument: 7c066a2
I think this ticket can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment