forknote / cryptonote-generator

Generate Cryptonote coin with 1 command
104 stars 211 forks source link

SyntaxError: invalid syntax #68

Closed samvicky26 closed 6 years ago

samvicky26 commented 6 years ago

C:\Users\sam\Downloads\cryptonote-generator-master>bash generator.sh -f config.json File "lib/environment_variables.py", line 11 print "export " + str(prefix) + str(key) + "=(" + " ".join(json.dumps(str(item)) for item in value) + ")" ^ SyntaxError: invalid syntax Remove temporary files...

@pmitchev

samvicky26 commented 6 years ago

looks like installing python 3.6.4 caused it, uninstalled it and installed python 2.7.9.But getting this error

C:\Users\sam\Downloads\cryptonote-generator-master>bash generator.sh -f configs/forknote.json Updating bytecoin... Already up to date. Make temporary bytecoin copy... Personalize base coin source... Execute /c/Users/sam/Downloads/cryptonote-generator-master/extensions/core/bytecoin.json

samvicky26 commented 6 years ago

I found the error bytecoin dev changed the repo address, that's why. please update the address

lucydjo commented 6 years ago

Can u explain how to fix ? Thx

pmitchev commented 6 years ago

I am modifying the code now to get it working

hamzatrq commented 6 years ago

Hi @pmitchev I have tried the command you mentioned bash generator -f "config_file_path" -b "frozen-master"

But -b is not an option in the generator. I am getting the following output generator.sh: illegal option -- b Usage: generator.sh [-h] [-f FILE] [-c ] Reads a config file and creates and compiles Cryptonote coin. "config.json" as default

-h          display this help and exit
-f          config file
-c          compile arguments

Remove temporary files...

pmitchev commented 6 years ago

You are right. It looks like it's still not pushed to the repo

pmitchev commented 6 years ago

fixed: https://github.com/forknote/cryptonote-generator/commit/7d29d1c1d9b64c26863fa2483a9aa5163bf1d3dc