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

vyper.exceptions.TypeCheckFailure: pack_arguments did not return a value #2520

Closed
Eniola4031 opened this issue Nov 3, 2021 · 6 comments · Fixed by #2526
Closed

vyper.exceptions.TypeCheckFailure: pack_arguments did not return a value #2520

Eniola4031 opened this issue Nov 3, 2021 · 6 comments · Fixed by #2526
Assignees
Labels
bug Bug that shouldn't change language semantics when fixed.

Comments

@Eniola4031
Copy link

Version Information

  • vyper Version (output of vyper --version): 0.2.16
  • OS: osx
  • Python Version (output of python --version): python3

I tried to compile my codes using "vyper file_name.vy" and this is the error I get

Please include information like:

*Error compiling: bounty.v
Screenshot 2021-11-03 at 9 42 39 PM
y
vyper.exceptions.TypeCheckFailure: pack_arguments did not return a value

This is an unhandled internal compiler error. Please create an issue on Github to notify the developers.

  • vyper
  • the code that caused the failure (see this link for help with formatting code)
  • please try running your example with the --debug flag turned on

How can it be fixed?

Fill this in if you know how to fix it.
Screenshot 2021-11-03 at 9 42 39 PM

@fubuloubu
Copy link
Member

you might be missing the return value from the interface, or the fact that you're re-using the same interface that we have defined internally might be causing problems.

@charles-cooper
Copy link
Member

Also maybe try v0.3.0?

@Eniola4031
Copy link
Author

@fubuloubu I am new to vyper and only trying to implement the withdraw and deposit functions by interfacing the safeTransferFrom function from ERC721. Do you mind simplifying please?

@Eniola4031
Copy link
Author

@charles-cooper o.2.16 is the latest release

@charles-cooper
Copy link
Member

On v0.3.0 this throws

  File "/home/charles/.venvs/vyper/lib/python3.8/site-packages/vyper-0.3.0-py3.8.egg/vyper/old_codegen/external_call.py", line 124, in _external_call_helper
    assert len(contract_sig.args) == len(args_lll)

which is probably a dup of #2374

@charles-cooper charles-cooper added the bug Bug that shouldn't change language semantics when fixed. label Nov 4, 2021
@charles-cooper charles-cooper self-assigned this Nov 4, 2021
@charles-cooper
Copy link
Member

closing as this is a dup of #2374

By the way @Eniola4031 v0.3.0 is the latest release but as of yesterday we did not have the binaries uploaded to github. This has been corrected and you can view the released binaries here https://github.com/vyperlang/vyper/releases/tag/v0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug that shouldn't change language semantics when fixed.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants