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

Plugin does not load #22

Closed
mullahfaizal opened this issue Oct 1, 2021 · 5 comments · Fixed by #23
Closed

Plugin does not load #22

mullahfaizal opened this issue Oct 1, 2021 · 5 comments · Fixed by #23
Assignees
Labels
category: bug Something isn't working

Comments

@mullahfaizal
Copy link

Tried using Python 3.8 and 3.9, latest ape.

$ ape plugins add vyper
WARNING: $GITHUB_ACCESS_TOKEN not set, skipping 2nd class plugins
Install unknown 3rd party plugin 'ape_vyper'? [y/N]: y
INFO: Installing ape_vyper...
$ ape plugins list
WARNING: Error loading plugin package 'ape_vyper'
WARNING: $GITHUB_ACCESS_TOKEN not set, skipping 2nd class plugins
INFO: No plugins installed
$ ape compile
WARNING: Error loading plugin package 'ape_vyper'
WARNING: No compilers detected for the following extensions: .vy

I don't have this issue with solidity

@fubuloubu
Copy link
Member

@unparalleled-js 🤔 I believe we need a way to expose what these errors are via logging in ape core so it's easier to track down what the issues are in the plugin

@fubuloubu
Copy link
Member

@mullahfaizal note what is happening here is that the plugin is currently not compatible with ape core, and so loading the plugin is skipped, meaning that the compiler for .vy files are not available when you execute the ape compile command.

We will work on a fix for this plugin so that it is compatible with the latest ape core cc @sabotagebeats

@fubuloubu fubuloubu added the category: bug Something isn't working label Oct 4, 2021
@sabotagebeats
Copy link
Contributor

@mullahfaizal note what is happening here is that the plugin is currently not compatible with ape core, and so loading the plugin is skipped, meaning that the compiler for .vy files are not available when you execute the ape compile command.

We will work on a fix for this plugin so that it is compatible with the latest ape core cc @sabotagebeats

@fubuloubu I believe this is a breaking change in Ape 0.1.0-alpha.24. Compilation of vyper files does work in the current docker apeworx distro for version Ape 0.1.0-alpha.23. cc @unparalleled-js

@mullahfaizal as a workaround please try using ape version 0.1.0-alpha.23 until this bug is resolved.

@antazoey
Copy link
Member

antazoey commented Oct 4, 2021

Yep, ape core CLI tooling is currently moving around, changing.

@antazoey
Copy link
Member

antazoey commented Oct 5, 2021

@unparalleled-js 🤔 I believe we need a way to expose what these errors are via logging in ape core so it's easier to track down what the issues are in the plugin

ApeWorX/ape#175

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

Successfully merging a pull request may close this issue.

4 participants