Skip to content

Error with a few things in 0.2.0 #9

@importUsername

Description

@importUsername

Well then... I'm seeing some weird stuff...

First off, it said that I'm the first node on the network and asked for my ip address. Then when I gave it my ip, it gave me this error:

Traceback (most recent call last):
File "zcoin.py", line 98, in
zc.normal()
File "zcoin.py", line 85, in normal
coin_count.send()
File "/Users/-----/Desktop/zCoin-master 7/coin_count.py", line 21, in send
out = json.loads(out)
File "/Users/-----/anaconda/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/Users/-----/anaconda/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer

Also in the shell it lists the command 'update' but says that its unknown syntax when its entered.

Using the command addr gives this error:

Traceback (most recent call last):
File "shell.py", line 76, in
zc().cmdloop()
File "/Users/-----/anaconda/lib/python2.7/cmd.py", line 142, in cmdloop
stop = self.onecmd(line)
File "/Users/-----/anaconda/lib/python2.7/cmd.py", line 221, in onecmd
return func(arg)
File "shell.py", line 39, in do_addr
addr = config.wallet.find("data", "all")[0]['addr']
KeyError: 'addr'

running miner.py gave this error:

Traceback (most recent call last):
File "miner.py", line 23, in
mine()
File "miner.py", line 11, in mine
diff = json.loads(diff)['difficulty']
File "/Users/-----/anaconda/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/Users/-----/anaconda/lib/python2.7/json/decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer

so.... yea

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions