KxSystems / embedPy

Allows the kdb+ interpreter to call Python functions
https://code.kx.com/q/interfaces
Apache License 2.0
87 stars 42 forks source link

TypeError: __init__() missing 2 required positional arguments #65

Closed bemoregt closed 5 years ago

bemoregt commented 5 years ago

Hi, @sv @abalkin @sashkab @simongarland @jimdigriz

I met this error when run.

kerb:stitcher mun$ kerb:stitcher mun$ python3 alignImagesRansac.py ./images ./images/3.png ./images/ Traceback (most recent call last): File "alignImagesRansac.py", line 360, in AlignImagesRansac(sys.argv[1:]) TypeError: init() missing 2 required positional arguments: 'key_frame' and 'output_dir' kerb:stitcher mun$

What's wrong with me?

from @bemoregt.

jimdigriz commented 5 years ago

I am somewhat confused as I cannot see anything embedPy related here; as your report is missing a lot of detail all I can do is suggest opening an issue over at https://github.com/cbuntain/stitcher; I am only guessing what is in your mun directory and that you may be trying to use alignImagesRansac.py?

Looking at the forks of this project, it looks like you are not the only one, https://github.com/cbuntain/stitcher/network and maybe I would recommend you try out https://github.com/m3d/stitcher/commit/ac562b30d373702a733a01004995de8c04a289d9 and https://github.com/kausic94/stitcher/commit/9437f31da2e64925f5796593890d00e743a900c6.

If this is not your problem, and you believe it is embedPy related, please provide details on how (preferably an empty VM or Python environment) we can replicate your problem at our end. Thanks

elopezaguilera commented 5 years ago

Closing this issue. Details haven't been given to replicate the problem. Feel free to open a new issue with some details to replicate it if problem persist.