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.

plugin Configure Hotkeys bug

See original GitHub issue
Python 3.8
Init: cuda_project_man
Startup: 560ms, plugins: 30ms (project_man 33ms)
Init: cuda_config_keys
Traceback (most recent call last):
  File "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 47, in dlg_config_keys
    CfgKeysDlg().show()
  File "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 144, in __init__
    m.ks2id     = M.prep_keys_info()
  File "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 81, in prep_keys_info
    cmdCNKKIs   = collect_keys()
  File "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 59, in collect_keys
    cmdinfos    = [('Commands'
  File "/home/user/.config/cudatext/py/cuda_config_keys/cd_config_keys.py", line 70, in <listcomp>
    ,f('{},{},{}', cmd['p_module'], cmd['p_method'], cmd['p_method_params']).rstrip(',')
KeyError: 'p_module'

@kvichans

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:33 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
kvichanscommented, May 25, 2020

Дальше я сам. Опубликую через полчаса

1reaction
kvichanscommented, May 25, 2020

Исправляю. Тестировать только у вас.

Замените в строке 74 if cmd['type']!='lexer' на if cmd['type'] not in ('lexer', 'openedfile', 'recentfile')

Помогло?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to change shortcut keys for actions in the layout view ...
Describe the bug. Actions available in "Print Composer" are missing in the "Keyboard Shortcuts" list. Even the actions to which hotkeys are ...
Read more >
Global hotkeys plugin, bug? - Audacious - Redmine
The thing is, for this particular plugin the config allows for two different assignments for the play and the pause. If I choose...
Read more >
Hotkey assignments lost when a plugin is disabled
Btw, a workaround is to save a copy of the .obsidian/config file before disabling a plugin, as that is where the hotkeys are...
Read more >
Custom Editor Keyboard Shortcuts not working when trying to ...
I'm developing a custom plugin and I wanted to set a keyboard shortcut to make it more accessible. I went to Editor Preferences...
Read more >
Solved: VSCO Keys plugin - Shortcut bug with Lightroom Cla...
Solved: Hi there, I've been using VSCO Keys for years now to set custom shortcuts which dramatically helps speeding up my editing flow....
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