question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

profile logins-list crashes

See original GitHub issue

I was just trying out this tool when I found one of the commands causes a crash to stack trace. I thought it might have been because I was using a read only token but switching to a read-write token for all scopes didn’t fix it.

Redacted stack trace:

Traceback (most recent call last):
  File "[home]\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "[home]\appdata\local\programs\python\python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "[home]\AppData\Local\Programs\Python\Python39\Scripts\linode-cli.exe\__main__.py", line 7, in <module>
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\__init__.py", line 436, in main
    cli.handle_command(parsed.command, parsed.action, args)
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\cli.py", line 556, in handle_command
    operation.process_response_json(result.json(), self.output_handler)
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\operation.py", line 230, in process_response_json
    handler.print(self.response_model, json)
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\output.py", line 45, in print
    self._table_output(header, data, columns, title, to)
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\output.py", line 87, in _table_output
    content.append([attr.render_value(model) for attr in columns])
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\output.py", line 87, in <listcomp>
    content.append([attr.render_value(model) for attr in columns])
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\response.py", line 45, in render_value
    value = self._get_value(model)
  File "[home]\appdata\local\programs\python\python39\lib\site-packages\linodecli\response.py", line 30, in _get_value
    value = value[part]
KeyError: 'data'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Dorthucommented, Dec 7, 2020

This behavior was caused by a spec error. The API spec was updated here: https://github.com/linode/linode-api-docs/pull/370. Once that’s merged, the new CLI release should correct this behavior.

0reactions
LBGarbercommented, Sep 6, 2022

Thanks for the info! I’ll go ahead and close out this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Outlook profile keeps crashing for a user - Microsoft Community
Hello, i have a user who one day reported that his outlook is not working anymore, it started giving him the "Outlook cant...
Read more >
Profile crashing or automatically logging… - Apple Community
Question: Q: Profile crashing or automatically logging out ... We have a late 2012 27" iMac running macOS Sierra 10.12.3. We have two...
Read more >
FXIOS-295 ⁃ App crash when changing text size #6271 - GitHub
On Release 23.0, the app does not crash but the bookmark panel closes. ┆I... ... Merge branch 'main' into vphong/loginslist-tests
Read more >
1564074 - Delay on displaying the "Saved logins" autocomplete with ...
Summary: Delay on displaying the "Saved logins" list in the Login form → Delay on displaying the "Saved logins" autocomplete with dozens of...
Read more >
[desktop] Bugs logged by Desktop Release QA in the last 7 days
Internet Explorer but they won't appear in Saved Logins list. Firefox: Security ... NEW - https://bugzil.la/1589083 - Crash in [@ shutdownhang |
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found