Closed ineiti closed 11 months ago
Can you retry with pydantic<2 ?
That seems to work better - now I get another error:
ERROR: (ApeAttributeError) '<ConfigManager project=apetest>' has no attribute '_plugin_configs'
Is there something wrong with my ape-config.yaml
?
name: sismondi_nft
plugins:
- name: solidity
version: 0.6.0
- name: hardhat
- name: ens
- name: etherscan
version: ">=0.6.2,<0.7"
- name: ape-ganache
dependencies:
- OpenZeppelin/openzeppelin-contracts@4.4.1
OK, I think I should've used ape compile .
This brings up yet another error:
File "/apetest/.devbox/virtenv/python310Packages.pip/.venv/lib/python3.10/site-packages/ape/__init__.py", line 109
print inspect.getdoc(self._tasks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
Is ape
written for python 2.7?
OK, re-installing, using python3.11
, and running ape compile .
, I now get a simple
Segmentation fault: 11
I don't know if that's better or not.
Is
ape
written for python 2.7?
It is not. I have no idea how you are getting these errors.
Wait - are you using the right ape?
We have no line in our code from file ape/__init__.py
with this line:
print inspect.getdoc(self._tasks)
I am guessing that's a different ape?
I am guessing that's a different ape?
Yes, that was a stupid error on my side, really sorry! I used pip install ape
.
When I correctly use pip install eth-ape
, I get the segmentation fault.
I'll open a new issue with the updated error.
Closed in favour of #1763
Environment information
ape
and plugin versions:ape-config.yaml
(NOTE: do not post anything private like RPC urls or secrets!):What went wrong?
I tried to follow https://docs.apeworx.io/ape/stable/userguides/compile.html and tried to run the
Compile Source Code
example at the end of the page, but get an error.Then I tried to compile a simple contract using
but I get the same error:
I'm using the following
devbox.json
: