Skip to content

"Ghost" arguments are being passed to method calls! #137

Closed

Description

@mrigankpawagi

I am working with the latest commit in cinder/3.10. I am running some scripts that depend on the aiohttp, aiosignal and lxml packages (among others). However, for many (though not all) method calls inside these packages, I am getting TypeErrors of the following nature.

TypeError: feed_data() takes exactly 1 positional argument (1152921504606846977 given)

Notice the arbitrarily large number. I am however able to fix this error by changing method calls from self.method(args) to self.method.__call__(args). I have seen this issue with both methods without arguments and methods with (a few) arguments.

Is this issue known? Is there some other way to get around this problem? I am working on a minimal example.

Activity

  1. tekknolagi commented on May 19, 2024

    @tekknolagi
    Contributor

    See also #131

  2. tekknolagi commented on May 19, 2024

    @tekknolagi
    Contributor

    and #129

  3. tekknolagi commented on May 19, 2024

    @tekknolagi
    Contributor
  4. mrigankpawagi commented on May 20, 2024

    @mrigankpawagi
    Author

    Thanks for directing me to those links, @tekknolagi. I suppose there is no solution from Cinder at the moment --should I just stick to __call__ for now?

  5. tekknolagi commented on May 20, 2024

    @tekknolagi
    Contributor

    I don't know, I'm afraid. I've since left the Cinder team and all I can contribute to this discussion is that it seems vectorcall/nargsf related. I would recommend trying to rebuild your C extensions for Cinder and see if that fixes things.

  6. mrigankpawagi commented on May 20, 2024

    @mrigankpawagi
    Author

    Okay, I will try that. Thanks for your time! I will close this issue for now.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions