Comments (5)
Hi, have you installed EOSIO after building it?
If not, you need to do it like this:
sudo ./eosio_install.sh
Please let me know if it helped.
from eosfactory.
Yes I have done that.
from eosfactory.
Mine looks like this:
# {
# "EOSIO_SOURCE_DIR": "/mnt/x/Workspaces/EOS/eos",
# "EOSIO_EOSFACTORY_DIR": "/mnt/x/Workspaces/EOS/eosfactory",
# "EOSIO_DATA_DIR": "/mnt/x/Workspaces/EOS/eosfactory/build/daemon/data-dir/",
# "EOSIO_CONFIG_DIR": "/mnt/x/Workspaces/EOS/eosfactory/build/daemon/data-dir/",
# "KEOSD_WALLET_DIR": "${HOME}/eosio-wallet/",
# "nodeExe": "/mnt/x/Workspaces/EOS/eos/build/programs/nodeos/nodeos",
# "cleosExe": "/mnt/x/Workspaces/EOS/eos/build/programs/cleos/cleos",
# "genesisJson": "/mnt/x/Workspaces/EOS/eosfactory/build/daemon/data-dir/genesis.json",
# "EOSIO_DAEMON_ADDRESS": "127.0.0.1:8888",
# "EOSIO_KEY_PRIVATE": "5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3",
# "EOSIO_KEY_PUBLIC": "EOS6MRyAjQq8ud7hVNYcfnVPJqcVpscN5So8BhtHuGYqET5GDW5CV",
# "EOSIO_WALLET_ADDRESS": "127.0.0.1:8888",
# "EOSIO_DAEMON_NAME": "nodeos",
# "EOSIO_WASM_CLANG": "/home/sygnet/opt/wasm/bin/clang",
# "EOSIO_BOOST_INCLUDE_DIR": "/home/sygnet/opt/boost/include",
# "EOSIO_WASM_LLVM_LINK": "/home/sygnet/opt/wasm/bin/llvm-link",
# "EOSIO_WASM_LLC": "/home/sygnet/opt/wasm/bin/llc",
# "EOSIO_S2WASM": "/usr/local/bin/eosio-s2wasm",
# "EOSIO_WAST2WASM": "/usr/local/bin/eosio-wast2wasm",
# "sharedMemory": "200",
# "contractWorkspace": "/mnt/x/Workspaces/EOS/contracts",
# "workspaceEosio": "/mnt/x/Workspaces/EOS/eos/build/contracts/"
# }
Some of your paths seem to be relative, instead of absolute, e.g.
"EOSIO_SOURCE_DIR": "../eos",
"nodeExe": "../eos/build/programs/nodeos/nodeos",
"cleosExe": "../eos/build/programs/cleos/cleos",
Please let me know the content of your ~/.profile
file (or source ~/.bash_profile
if you are on a MacOS). I mean the bottom part where EOSFactory paths are defined, run nano ~/.profile
(or nano ~/.bash_profile
if you are on a MacOS)
Mine looks like this:
export EOSIO_SOURCE_DIR=/mnt/x/Workspaces/EOS/eos
export EOSIO_EOSFACTORY_DIR=/mnt/x/Workspaces/EOS/eosfactory
export U_HOME=/home/sygnet
export eosf=/mnt/x/Workspaces/EOS/eosfactory/teos/build/teos/teos
export EOSIO_CONTRACT_WORKSPACE=/mnt/x/Workspaces/EOS/contracts
export PYTHONPATH=/mnt/x/Workspaces/EOS/eosfactory/pyteos:/mnt/x/Workspaces/EOS/eosfactory/tests:
If you have relative paths there, try to remove all those export statements and reinstall EOSFactory by running:
./build.sh -e /mnt/d/Workspaces/EOS/eos -w /mnt/d/Workspaces/EOS/contracts
Of course change the paths to fit your configuration and make sure to use absolute paths. I'm assuming here that your problems are caused by using relative paths during EOSFactory installation.
When EOSFactory is reinstalled make sure to run source ~/.profile
(or source ~/.bash_profile
if you are on a MacOS).
Let me know if it helped.
from eosfactory.
Thank you so much, yes the issue was the relative path I had for "nodeExe" and "cleosExe".
I should probably open a new issue for this, and I am sorry but I really need to figure out all the steps for how to run on Jungle with EOSFactory. I saw that you omitted some detail in your summary...
"To complete the process, use the suggested account name and public keys (ignore the private keys) to register a new account on a public testnet. This account will serve as a master account for the EOSFactory testnet object.
NOTE: Make sure to use the testnet’s faucet to fund the newly created account with enough liquid EOS to be able to spawn other accounts, delegate CPU & NET and buy RAM for them.
When you are ready, type go to let the script verify that the newly created account has been registered properly with the testnet. Once this is done, the script proceeds to register the testnet with EOSFactory."
I'm sorry, but would it be possible to be a bit more verbose in your tutorial?
from eosfactory.
To register an account on the Jungle testnet, you need to come up with an account name and and two public keys. EOSFactory gives you those, so that you can copy them into the Create Account form on the Jungle website.
Next, you need to fund the newly created account using the Faucet form on the Jungle website.
Next, switch back to EOSFactory, type go
to finish the proces and let EOSFactory verify that the new account was successfully registered on the testnet.
Feel free to ask any further questions.
from eosfactory.
Related Issues (20)
- Should force unique be set by default? HOT 2
- Set custom permission seems not working HOT 16
- Support of secondary index query? HOT 1
- Running Hello World test fails with error HOT 2
- Can't install eosfactory HOT 3
- Isn't data folder created before installing? HOT 15
- Compile multiple contracts HOT 6
- Unable to install on master HOT 2
- Not receiving console output with force unique HOT 5
- Failed to kill nodeos. HOT 1
- changing http-server-address HOT 1
- unrecognised option 'bnet-endpoint' HOT 4
- Can't run install.sh within a virtualenv HOT 1
- unable to run unit tests HOT 1
- Account does not have public and private key information HOT 1
- There is no push_action to Eosio account objects HOT 1
- Compiler warnings aren't displayed when compiling through eosfactory.build HOT 4
- Node restart a lot of times when start a test (MacOS) HOT 10
- KeyError: 'inline_traces' thrown from gather_console_output function in cleos.py HOT 1
- any news ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eosfactory.