Can´t load genesis block: Fatal: invalid character 'ÿ' looking for beginning of value

rehcasrehcas Member Posts: 3
when i try to load the genesis block this error occurs
.\geth --genesis genesis_block.json
I0730 21:53:40.071699 23068 backend.go:289] Protocol Versions: [61 60], Network Id: 1
Fatal: invalid character 'ÿ' looking for beginning of value
Fatal: invalid character 'ÿ' looking for beginning of value

can anybody help?
thanks ....

Best Answer

Answers

  • robomantis77robomantis77 Member Posts: 4
    freefavors: ~ $ ls
    Applications Backup Documents README.md Web caches genesis_block.json get-pip.py mk_genesis_block.py
    freefavors: ~ $
    freefavors: ~ $ geth --genesis /home/freefavors/genesis_block.json console
    I0730 20:32:09.475217 1855 flags.go:378] WARNING: No etherbase set and no accounts found as default
    I0730 20:32:09.484625 1855 backend.go:289] Protocol Versions: [61 60], Network Id: 1
    Fatal: unexpected end of JSON input
  • pfedotovskypfedotovsky Member Posts: 1
    I also had this issue. Try changing file encoding to ANSI and also convert all line ending to UNIX style ones ("\n"). You can do this via Notepad++.
Sign In or Register to comment.