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

bpgl_algo ImportError #119

Closed
NoahRJohnson opened this issue Aug 16, 2021 · 2 comments
Closed

bpgl_algo ImportError #119

NoahRJohnson opened this issue Aug 16, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@NoahRJohnson
Copy link
Contributor

`(src) user@23b7bdc9dd09:/src$ python3
Python 3.8.8 (default, Feb 24 2021, 21:46:12)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import vxl.contrib.bpgl.algo as bpgl_algo
Traceback (most recent call last):
File "", line 1, in
File "/install/lib/python3/site-packages/vxl/contrib/bpgl/algo/init.py", line 1, in
from ._bpgl_algo import *
ImportError: arg(): could not convert default argument into a Python object (type not registered yet?). Compile in debug mode for more information.`

@NoahRJohnson NoahRJohnson added the bug Something isn't working label Aug 16, 2021
@NoahRJohnson NoahRJohnson self-assigned this Aug 16, 2021
@drewgilliam
Copy link
Member

Compiling in debug mode gives a more specific traceback

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/install/lib/python3/site-packages/vxl/contrib/bpgl/algo/__init__.py", line 2, in <module>
    from ._bpgl_algo import *
ImportError: arg(): could not convert default argument 'target_window: vgl_box_2d<int>' in method '<class 'vxl.contrib.bpgl.algo._bpgl_algo.rectify_image_pair_affine'>.process' into a Python object (type not registered yet?)

@drewgilliam
Copy link
Member

fixed with PR #122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants