Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AuthorizationError config.json #2

Open
ryanjh opened this issue Jul 10, 2019 · 0 comments
Open

AuthorizationError config.json #2

ryanjh opened this issue Jul 10, 2019 · 0 comments

Comments

@ryanjh
Copy link

ryanjh commented Jul 10, 2019

I followed the instructions of "Getting to Blinky" and run the command on Windows 10. It complains about some errors related to config.json file.

[Command]
samples_nrf52832\pre_compiled\blinky> jumper run --fw blinky.bin --gpio --platform nrf52832

[Logs]
+------------------------------------------------+
| Update available from 0.3.66 to 0.3.90 |
| Run pip install jumper --upgrade to update |
+------------------------------------------------+
Error: Authorization failed. Check the token in your config.json file
Traceback (most recent call last):
File "C:\Python27\Scripts\jumper-script.py", line 11, in
load_entry_point('jumper==0.3.66', 'console_scripts', 'jumper')()
File "c:\python27\lib\site-packages\jumper_main_.py", line 72, in main
return command_run(args)
File "c:\python27\lib\site-packages\jumper_main_.py", line 64, in command_run
return run(args)
File "c:\python27\lib\site-packages\jumper_main_.py", line 38, in run
return vlab_runner.start(args)
File "c:\python27\lib\site-packages\jumper\vlab_runner.py", line 96, in start
vlab = init_vlab(args)
File "c:\python27\lib\site-packages\jumper\vlab_runner.py", line 42, in init_vlab
code_coverage=args.code_coverage
File "c:\python27\lib\site-packages\jumper\vlab.py", line 153, in init
self.init_web_app_with_token(token, force_config)
File "c:\python27\lib\site-packages\jumper\vlab.py", line 219, in _init_web_app_with_token
self._web_api = JemuWebApi(jumper_token=secret_token, local_jemu=self._local_jemu)
File "c:\python27\lib\site-packages\jumper\jemu_web_api.py", line 64, in init
raise AuthorizationError("Error: Authorization failed. Check the token in the config.json file.")
jumper.jemu_web_api.AuthorizationError: Error: Authorization failed. Check the token in the config.json file.
Exception AttributeError: "'JemuWebApi' object has no attribute '_threads'" in <bound method JemuWebApi.del of <jumper.jemu_web_api.JemuWebApi object at 0x0000000004D07358>> ignored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant