Comments (13)
First, you don't have to run 00_common.sh, you may source it but in general, 00_common.sh is only called from the other scripts.
Do you have a common.inc somewhere? All entries in there overwrite your entries in the 00_common.sh.
from scripts.
Can you please download the version from the testnet folder here and rerun it? This should now output the path the script is looking for.
https://github.com/gitmachtl/scripts/blob/master/cardano/testnet/00_common.sh
from scripts.
from scripts.
Hi @gitmachtl, I updated the script and the issue persisted but now with your path output I worked out your problem. Your script automatically adjusts the path from defined path to a altered path including a "/cardano/" directory. This does not exist in my case. See below;
My defined path in the common.sh = "/home/cnode/config/mainnet-shelley-genesis.json"
The path that it's being output when error = "/home**/cardano/**cnode/config/mainnet-shelley-genesis.json"
from scripts.
Attempting to run commands for eg. 02_genPaymentAddrOnly.sh myWallet cli ls -al
Presents me with the same error, what shall I do to fix this?
from scripts.
This is strange because there is no hardcoded directory in any of those scripts.
Do you have a common.inc file in your script directory, in your current directory or a .common.inc file in your $HOME directory?
from scripts.
Any news about your issue?
from scripts.
Any news about your issue?
Hi, I sent an email. It mustnt of gone through it appears. I'll screenshot and send here directly
from scripts.
Not that I can see no.. where else can I look for such a file. It may be clashing with your script perhaps? Here's all my directories. Unless I'm missing something. I really hope you can help me get to the bottom of this. Thank you
from scripts.
from scripts.
OH lol, I'll have a look into that file and adjust file path if referenced in there. Sorry to be all newbie at this. I am familiar with linux to an extent.
Would you mind educating me on the purpose of this file and its point in linking to other scripts?
from scripts.
you can delete this file if you don't need it. the common.inc
and .common.inc
files are here for you to help you storing your personal settings. you can adjust them of course in the 00_common.sh, but if you update the scripts the 00_common.sh will be overwritten with a new version with more features. so to keep your personal settings you can have a common.inc
file in a subdirectory somewhere together with your keys and addresses for example. the 00_common.sh reaches out on every call to include those files before execution. so if you wanna safe your cardano-cli/node path for example or your genesis path and be able to do easy script updates, you can put theses values into the common.inc and it will not be overwritten by a scripts-update.
from scripts.
from scripts.
Related Issues (20)
- Error when running 01_queryAddress.sh HOT 2
- Error Formatting HOT 3
- Trying to Mint Asset with Custom MetaData - Error Building Raw TX Data HOT 2
- Error with workaround on get_currentTip function HOT 5
- Error using workoffline REREG HOT 6
- cardano 1.32.1 support HOT 1
- Error: Extended public key export cancelled by user HOT 5
- Byron addresses not recognised anymore HOT 1
- Error: Failed to decode neither the cli's serialisation format nor the ledger's CDDL serialisation format. HOT 11
- ERROR (Code 1) ! when sending tokens HOT 7
- Last step of stakepool creation HOT 2
- Filename of resolved handle address displayed instead of handle in 01_sendlovelaces.sh HOT 4
- Git clone installation instructions HOT 2
- mktemp param order raise error on macosx
- Create the StakePool with multiple owners HW-Wallet-Owner-Keys (Ledger) HOT 2
- Error - destiantion address can't be resolved. Script 01_queryAddress.sh HOT 5
- Some Scripts Have Empty TTL HOT 2
- How to rotate KES Key in offline mode ? HOT 13
- Catalyst vote registration - Ledger-Cardano-App 6.0.3 is unavailable HOT 6
- Script compatibility with latest major upgrade Cardano node 8.7.2 and future 9.0 ? HOT 2
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 scripts.