When trying to start Blockstack core server_version = 0.17.0.9 issues TypeError

TypeError ‘NoneType’ object has no attribute 'getitem’
For Linux Ubuntu
I checked the blockstack/server.ini and all parameters look complete.
It was working before we updated the core version.
Any ideas how to solve it?
Here is the debug info when running <<blockstack-core --debug start

Cheers,
Phillip

[2017-10-23 18:37:25,407] [DEBUG] [spv:103] (4193.140021364868864) Using mainnet
[2017-10-23 18:37:25,459] [DEBUG] [blockstackd:2575] (4193.140021364868864) Working dir: /home/proe/.blockstack-server
[2017-10-23 18:37:25,460] [DEBUG] [config:1270] (4193.140021364868864) Load config from ‘/home/proe/.blockstack-server/blockstack-server.ini’
[2017-10-23 18:37:25,460] [ERROR] [config:988] (4193.140021364868864) 'blockstack-client’
Traceback (most recent call last):
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/config.py”, line 986, in get_config
opts = configure(config_file=path, interactive=interactive)
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/config.py”, line 297, in configure
all_opts = read_config_file(config_path=config_file, set_migrate=set_migrate)
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/config.py”, line 847, in read_config_file
if ret[‘blockstack-client’][‘server’] == ‘node.blockstack.org’:
KeyError: 'blockstack-client’
Traceback (most recent call last):
File “/usr/local/bin/blockstack-core”, line 42, in
run_blockstackd()
File “/usr/local/lib/python2.7/dist-packages/blockstack/blockstackd.py”, line 2798, in run_blockstackd
argparser = setup( return_parser=True )
File “/usr/local/lib/python2.7/dist-packages/blockstack/blockstackd.py”, line 2581, in setup
opts = configure( interactive=True )
File “/usr/local/lib/python2.7/dist-packages/blockstack/lib/config.py”, line 1274, in configure
blockstack_opts_defaults = default_blockstack_opts( config_file=config_file )
File “/usr/local/lib/python2.7/dist-packages/blockstack/lib/config.py”, line 1171, in default_blockstack_opts
host, port = url_to_host_port( hp )
File “/usr/local/lib/python2.7/dist-packages/blockstack_client/utils.py”, line 181, in url_to_host_port
port = conf[‘port’]
TypeError: ‘NoneType’ object has no attribute ‘getitem’

Hey @proe, blockstack-core requires blockstack to be set up and configured.

Can you try the following?

$ blockstack setup

You will be prompted to create a CLI wallet. The command will generate and populate ~/.blockstack/. Once that’s done, blockstack-core --debug start should work.

Hope this helps!

Permission problems. Solved.

1 Like