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

set_logger_callback(None) does not work #190

Closed
wonder-sk opened this issue Oct 18, 2022 · 0 comments · Fixed by #192
Closed

set_logger_callback(None) does not work #190

wonder-sk opened this issue Oct 18, 2022 · 0 comments · Fixed by #192
Labels
bug Something isn't working pygeodiff

Comments

@wonder-sk
Copy link
Contributor

It is not possible to set no logger callback with the python API:

  File "test.py", line 36, in __init__
    self.geodiff.set_logger_callback(None)
  File "/usr/local/lib/python3.8/dist-packages/pygeodiff-2.0.1-py3.8-linux-x86_64.egg/pygeodiff/main.py", line 33, in set_logger_callback
    return self.clib.set_logger_callback(callback)
  File "/usr/local/lib/python3.8/dist-packages/pygeodiff-2.0.1-py3.8-linux-x86_64.egg/pygeodiff/geodifflib.py", line 180, in set_logger_callback
    self.callbackLogger = cFuncType(callback)
TypeError: argument must be callable or integer function address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pygeodiff
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant