Skip to content

Instantly share code, notes, and snippets.

@michwill
Created August 25, 2019 10:40
Show Gist options
  • Save michwill/8878497263aa145cc9a4d9dbbe9432bd to your computer and use it in GitHub Desktop.
Save michwill/8878497263aa145cc9a4d9dbbe9432bd to your computer and use it in GitHub Desktop.
nucypher stake new-stakeholder fails
$ nucypher stake new-stakeholder --provider ipc:///home/michwill/.ethereum/goerli/geth.ipc --poa
The Holder of Stakes.
Traceback (most recent call last):
File "/home/michwill/Projects/nucypher-kms/nucypher/cli/characters/stake.py", line 134, in stake
registry_filepath=registry_filepath)
File "/home/michwill/Projects/nucypher-kms/nucypher/config/node.py", line 322, in from_configuration_file
assembled_params = cls.assemble(filepath=filepath, **overrides)
File "/home/michwill/Projects/nucypher-kms/nucypher/config/characters.py", line 277, in assemble
payload = cls._read_configuration_file(filepath=filepath)
File "/home/michwill/Projects/nucypher-kms/nucypher/config/base.py", line 208, in _read_configuration_file
with open(filepath, 'r') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/michwill/.local/share/nucypher/stakeholder.json'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/bin/nucypher", line 11, in <module>
load_entry_point('nucypher', 'console_scripts', 'nucypher')()
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/lib/python3.6/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/michwill/.local/share/virtualenvs/nucypher-kms-5SSQ9ZHE/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/michwill/Projects/nucypher-kms/nucypher/cli/config.py", line 219, in wrapper
return func(config, *args, **kwargs)
File "/home/michwill/Projects/nucypher-kms/nucypher/cli/characters/stake.py", line 137, in stake
config_file=config_file)
File "/home/michwill/Projects/nucypher-kms/nucypher/cli/actions.py", line 228, in handle_missing_configuration_file
config_file_location = config_file or character_config_class.DEFAULT_CONFIG_FILE_LOCATION
AttributeError: type object 'StakeHolderConfiguration' has no attribute 'DEFAULT_CONFIG_FILE_LOCATION'
Sentry is attempting to send 0 pending error messages
Waiting up to 2.0 seconds
Press Ctrl-C to quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment