talonhub / community

Voice command set for Talon, community-supported.
MIT License
638 stars 782 forks source link

Warnings and errors when saving CSV files #609

Open nriley opened 3 years ago

nriley commented 3 years ago
2021-10-03 11:48:41 DEBUG [~] resource (search_engines.csv) -> user.knausj_talon.code.websites_and_search_engines
2021-10-03 11:48:41 DEBUG [~] resource (search_engines.csv) -> user.knausj_talon.code.websites_and_search_engines
2021-10-03 11:48:41 DEBUG [~] resource (search_engines.csv) -> user.knausj_talon.code.websites_and_search_engines
2021-10-03 11:48:41 WARNING lists: skipped because they have no matching declaration: (user.website, user.search_engine)
2021-10-03 11:48:42 WARNING lists: skipped because they have no matching declaration: (user.website, user.search_engine)
2021-10-03 11:48:42 WARNING lists: skipped because they have no matching declaration: (user.website, user.search_engine)
2021-10-03 11:48:42 DEBUG [~] resource (search_engines.csv) -> user.knausj_talon.code.websites_and_search_engines
2021-10-03 11:48:42 WARNING lists: skipped because they have no matching declaration: (user.website, user.search_engine)
2021-10-03 11:48:42 WARNING lists: skipped because they have no matching declaration: (user.website, user.search_engine)
2021-10-03 11:48:42 WARNING lists: skipped because they have no matching declaration: (user.website, user.search_engine)
2021-10-03 11:49:39 DEBUG [~] resource (words_to_replace.csv) -> user.knausj_talon.code.vocabulary
2021-10-03 11:49:39 DEBUG [~] resource (words_to_replace.csv) -> user.knausj_talon.code.vocabulary
2021-10-03 11:49:39 DEBUG [~] resource (words_to_replace.csv) -> user.knausj_talon.code.vocabulary
2021-10-03 11:49:39 WARNING lists: skipped because they have no matching declaration: (user.vocabulary)
2021-10-03 11:49:39 WARNING lists: skipped because they have no matching declaration: (user.vocabulary)
2021-10-03 11:49:40 DEBUG [~] resource (words_to_replace.csv) -> user.knausj_talon.code.vocabulary

file_extensions.csv is the worst:

2021-10-03 11:53:15 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.create_spoken_forms
2021-10-03 11:53:15 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' user.knausj_talon.code.extensions:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:131| 
KeyError: 'Action \'user.create_spoken_forms_from_list\' is not declared in a Module, despite being implemented in Module("user.knausj_talon.code.create_spoken_forms")'
2021-10-03 11:53:15 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.extensions
2021-10-03 11:53:15 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' user.knausj_talon.code.extensions:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:132| 
KeyError: "Action 'user.create_spoken_forms_from_list' is not declared."
2021-10-03 11:53:15 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   24:            lib/python3.9/threading.py:930* # cron thread
   23:            lib/python3.9/threading.py:973* 
   22:            lib/python3.9/threading.py:910* 
   21:                         talon/cron.py:155| 
   20:                         talon/cron.py:106| 
   19:                           talon/fs.py:64 | 
   18:                           talon/fs.py:57 | 
   17:               talon/scripting/rctx.py:233| # 'fs' user.knausj_talon.code.extensions:on_change()
   16:               app/resources/loader.py:689| 
   15:               app/resources/loader.py:655| 
   14:               talon/scripting/rctx.py:111| 
   13:               talon/scripting/rctx.py:62 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:77 | 
   10:           talon/scripting/registry.py:245| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:126| 
NotImplementedError: Action 'user.create_spoken_forms_from_list' exists but the Module method is empty and no Context reimplements it
2021-10-03 11:53:15 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.create_spoken_forms
2021-10-03 11:53:15 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' main:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:131| 
KeyError: 'Action \'user.create_spoken_forms_from_list\' is not declared in a Module, despite being implemented in Module("user.knausj_talon.code.create_spoken_forms")'
2021-10-03 11:53:15 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.extensions
2021-10-03 11:53:15 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' main:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:132| 
KeyError: "Action 'user.create_spoken_forms_from_list' is not declared."
2021-10-03 11:53:15 WARNING lists: skipped because they have no matching declaration: (user.file_extension)
2021-10-03 11:53:15 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   24:            lib/python3.9/threading.py:930* # cron thread
   23:            lib/python3.9/threading.py:973* 
   22:            lib/python3.9/threading.py:910* 
   21:                         talon/cron.py:155| 
   20:                         talon/cron.py:106| 
   19:                           talon/fs.py:64 | 
   18:                           talon/fs.py:57 | 
   17:               talon/scripting/rctx.py:233| # 'fs' main:on_change()
   16:               app/resources/loader.py:689| 
   15:               app/resources/loader.py:655| 
   14:               talon/scripting/rctx.py:111| 
   13:               talon/scripting/rctx.py:62 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:77 | 
   10:           talon/scripting/registry.py:245| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:126| 
NotImplementedError: Action 'user.create_spoken_forms_from_list' exists but the Module method is empty and no Context reimplements it
2021-10-03 11:53:15 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.create_spoken_forms
2021-10-03 11:53:15 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' user.knausj_talon.code.extensions:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:131| 
KeyError: 'Action \'user.create_spoken_forms_from_list\' is not declared in a Module, despite being implemented in Module("user.knausj_talon.code.create_spoken_forms")'
2021-10-03 11:53:16 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.extensions
2021-10-03 11:53:16 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' user.knausj_talon.code.extensions:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:132| 
KeyError: "Action 'user.create_spoken_forms_from_list' is not declared."
2021-10-03 11:53:16 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   24:            lib/python3.9/threading.py:930* # cron thread
   23:            lib/python3.9/threading.py:973* 
   22:            lib/python3.9/threading.py:910* 
   21:                         talon/cron.py:155| 
   20:                         talon/cron.py:106| 
   19:                           talon/fs.py:64 | 
   18:                           talon/fs.py:57 | 
   17:               talon/scripting/rctx.py:233| # 'fs' user.knausj_talon.code.extensions:on_change()
   16:               app/resources/loader.py:689| 
   15:               app/resources/loader.py:655| 
   14:               talon/scripting/rctx.py:111| 
   13:               talon/scripting/rctx.py:62 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:77 | 
   10:           talon/scripting/registry.py:245| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:126| 
NotImplementedError: Action 'user.create_spoken_forms_from_list' exists but the Module method is empty and no Context reimplements it
2021-10-03 11:53:16 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.create_spoken_forms
2021-10-03 11:53:16 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' main:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:131| 
KeyError: 'Action \'user.create_spoken_forms_from_list\' is not declared in a Module, despite being implemented in Module("user.knausj_talon.code.create_spoken_forms")'
2021-10-03 11:53:16 DEBUG [~] resource (file_extensions.csv) -> user.knausj_talon.code.extensions
2021-10-03 11:53:16 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   25:            lib/python3.9/threading.py:930* # cron thread
   24:            lib/python3.9/threading.py:973* 
   23:            lib/python3.9/threading.py:910* 
   22:                         talon/cron.py:155| 
   21:                         talon/cron.py:106| 
   20:                           talon/fs.py:64 | 
   19:                           talon/fs.py:57 | 
   18:               talon/scripting/rctx.py:233| # 'fs' main:on_change()
   17:               app/resources/loader.py:689| 
   16:               app/resources/loader.py:653| 
   15:               app/resources/loader.py:439| 
   14:               talon/scripting/rctx.py:218| 
   13:               talon/scripting/rctx.py:68 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:78 | 
   10:           talon/scripting/registry.py:281| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:132| 
KeyError: "Action 'user.create_spoken_forms_from_list' is not declared."
2021-10-03 11:53:16 ERROR cb error topic="update_decls" cb=<function update_lists at 0x112182f70>
   24:            lib/python3.9/threading.py:930* # cron thread
   23:            lib/python3.9/threading.py:973* 
   22:            lib/python3.9/threading.py:910* 
   21:                         talon/cron.py:155| 
   20:                         talon/cron.py:106| 
   19:                           talon/fs.py:64 | 
   18:                           talon/fs.py:57 | 
   17:               talon/scripting/rctx.py:233| # 'fs' main:on_change()
   16:               app/resources/loader.py:689| 
   15:               app/resources/loader.py:655| 
   14:               talon/scripting/rctx.py:111| 
   13:               talon/scripting/rctx.py:62 | 
   12:                              <string>:1  | 
   11:             talon/scripting/module.py:77 | 
   10:           talon/scripting/registry.py:245| 
    9:           talon/scripting/registry.py:218| 
    8:           talon/scripting/dispatch.py:105| 
    7:           talon/scripting/dispatch.py:144| 
    6:           talon/scripting/dispatch.py:135| 
    5: -----------------------------------------# cron thread
    4:               talon/scripting/rctx.py:233| # 'update_decls' user.knausj_talon.lang.talon.talon:update_lists()
    3: user/knausj_talon/lang/talon/talon.py:46 | ] = actions.user.create_spoken_forms_f..
    2:            talon/scripting/actions.py:52 | 
    1:            talon/scripting/actions.py:126| 
NotImplementedError: Action 'user.create_spoken_forms_from_list' exists but the Module method is empty and no Context reimplements it
codecat555 commented 2 years ago

See https://github.com/talonvoice/talon/issues/451.

xavier630 commented 1 year ago

I ran into this too after upgrading Talon and pulling the latest knausj.

It manifested as the appswitcher focus {app} not working.

It was resolved by restarting Talon.

lunixbochs commented 1 year ago

mitigated on latest talon beta, should be fully fixed by https://github.com/knausj85/knausj_talon/pull/1199