Skip to content

I am passing the correct number of arguments, however stilling hitting "takes 7 arguments, but got 5 arguments" #221

@sramij-code

Description

@sramij-code

I am trying to invoke Objc from python; something which normally works for me. so I do the following: (stageA is an instance object)
err = stageA.runWithInputTex_inputROI_inputMetadata_first_layout_output_outputROI_(inputTex, inputROI, metadatadict, first, layout, outTex, outputROI)
or:
err = demosaicStage.runWithInputTex( inputTex, inputROI=inputROI, inputMetadata=metadatadict, first=first, layout=layout, output=outTex, outputROI=outputROI)
In both cases, I am hitting the following error:
TypeError: Method b'runWithInputTex:inputROI:inputMetadata:first:layout:output:outputROI:' takes 7 arguments, but got 5 arguments
And I don’t get it; since I am literally passing 7 arguments. looks like rubicon correctly identifies that there should be 7 arguments, but somehow it ignores 2 that I am passing in.
I am also sure it is calling my code, since If I rename any of the arguments, I start getting a different error:
No method was found starting with...
Any thoughts how can I debug whats going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA crash or error in behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions