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

ClickByVoice , unimacrotest fails topchild #35

Closed
dougransom opened this issue Dec 21, 2022 · 2 comments
Closed

ClickByVoice , unimacrotest fails topchild #35

dougransom opened this issue Dec 21, 2022 · 2 comments
Assignees

Comments

@dougransom
Copy link
Member

skipping unchanged loaded module: _unimacrotest Traceback (most recent call last): File "C:\Users\doug\AppData\Local\Programs\Python\Python310-32\lib\site-packages\unimacro\natlinkutilsbj.py", line 548, in beginCallback self.callIfExists("gotBegin", (moduleInfo,) ) File "C:\Users\doug\code\dt\natlinkcore\src\natlinkcore\natlinkutils.py", line 367, in callIfExists return func(*argList) File "C:\Users\doug\AppData\Local\Programs\Python\Python310-32\lib\site-packages\unimacro\unimacrogrammars\_clickbyvoice.py", line 97, in gotBegin if progInfo.topchild == 'child': AttributeError: 'ProgInfo' object has no attribute 'topchild'. Did you mean: 'toporchild'?

@dougransom
Copy link
Member Author

I think this is happening in many grammars

leDefault: C:\Users\doug\OneDrive\doug\Unimacro\enx_inifiles_folders.ini (mode: edit, openWith: None)
filepath unimacroactions: |""C:\Users\doug\OneDrive\doug\Unimacro\enx_inifiles_folders.ini""|
on_begin_callback called with: moduleInfo: ('C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe', 'ClickByVoice , unimacrotest fails topchild · Issue #35 · dictation-toolbox/unimacro and 5 more pages - Personal - Microsoft\u200b Edge', 397332)
Traceback (most recent call last):
File "C:\Users\doug\AppData\Local\Programs\Python\Python310-32\lib\site-packages\unimacro\natlinkutilsbj.py", line 548, in beginCallback
self.callIfExists("gotBegin", (moduleInfo,) )
File "C:\Users\doug\code\dt\natlinkcore\src\natlinkcore\natlinkutils.py", line 367, in callIfExists
return func(*argList)
File "C:\Users\doug\AppData\Local\Programs\Python\Python310-32\lib\site-packages\unimacro\unimacrogrammars_clickbyvoice.py", line 97, in gotBegin
if progInfo.topchild == 'child':
AttributeError: 'ProgInfo' object has no attribute 'topchild'. Did you mean: 'toporchild'?
on_change_callback called with: "mic", "off"
on_change_callback called with: "mic", "on"

quintijn added a commit to dougransom/unimacro that referenced this issue Dec 22, 2022
@quintijn
Copy link
Collaborator

if fixed, will be in installer at next release

dougransom added a commit to dougransom/unimacro that referenced this issue Sep 20, 2023
…tten a few things to do wtih entry points Doug was experimenting with.

Squashed commit of the following:

commit f976efd
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Sep 1 16:55:59 2023 +0200

    several changes, work in progress

commit 93a8fb1
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Feb 25 16:28:25 2023 +0100

    added dependency pysimplegui

commit 2f0b195
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Feb 25 16:26:50 2023 +0100

    several changes _control, also new InputBox, based on pysimplegui!

commit e05ce8b
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Feb 23 17:54:49 2023 +0100

    some progress in _control grammar

commit 3d36c47
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Jan 14 12:59:21 2023 +0100

    test_grammar_control.py works sofar, also exclusive grammars (making _control also exclusive).

commit 599689f
Merge: 1224471 38e4782
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Jan 13 17:19:13 2023 +0100

    Merge branch 'control_grammars' of github.com:dougransom/unimacro into control_grammars

commit 1224471
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Jan 13 17:19:05 2023 +0100

    working a bit on _control and the testing, (test_grammar_control.py)

commit 38e4782
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 15:04:48 2023 -0800

    renamed

commit a8814f6
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 15:01:01 2023 -0800

    renamed

commit 661301c
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 14:59:00 2023 -0800

    commented environment spec

commit ca81d12
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 14:53:58 2023 -0800

    psudo bump release

commit 88e728b
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 14:39:57 2023 -0800

    updated action checkout

commit e50909c
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 14:34:28 2023 -0800

    get url from environment for pypi

commit 97dbc9f
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 14:21:35 2023 -0800

    tweak test publish.

commit dc12b4a
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 13:59:43 2023 -0800

    Rename python-flit-publish.yml to python-flit-test-publish.yml

commit 7c76d97
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 13:52:25 2023 -0800

    Delete testresult.txt

commit 3e5032e
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 10 13:48:59 2023 -0800

    Rename python-publish.yml to python-flit-publish.yml

commit 0b981fa
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Tue Jan 10 14:48:37 2023 +0100

    work in progress, unimacro improving, but not faultless yet...

commit 90171f5
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Jan 7 15:48:46 2023 +0100

    enabled the first test again...

commit 1bfa511
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Jan 7 15:45:58 2023 +0100

    progress on test_grammar_control.py...

commit 6deadcf
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Jan 7 12:20:40 2023 +0100

    putting default ini files of test grammar files

commit 8c11cee
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Fri Jan 6 08:21:22 2023 -0800

    brought over initial github actions

commit 6d12fb8
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Fri Jan 6 08:07:07 2023 -0800

    removed extraneous f

commit 6fe068d
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Fri Jan 6 07:46:17 2023 -0800

    removed blank line

commit fa3838a
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Fri Jan 6 07:45:02 2023 -0800

    test with adding a grammar ini file

commit f013fb6
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Fri Jan 6 06:23:39 2023 -0800

    new test

commit ac95421
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Jan 6 12:30:09 2023 +0100

    several, but fix getRegisteredGrammarNames call

commit e7cfda4
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Jan 5 17:39:16 2023 +0100

    improving getting all UnimacroGrammars (allGrammarXObjects), making is a class variable instead of global.

commit d7fd8f5
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Wed Jan 4 09:48:34 2023 -0800

    no tracebacks on import of tests;  pytest in project root runs tests in src/unimacro/unimacro_test/ and test/.

commit bd468b4
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Jan 3 08:23:07 2023 -0800

    updated to use extension point natlink.grammars

commit 60b4dec
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sun Jan 1 09:32:55 2023 -0800

    used the pytest folders

commit 43ce695
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sun Jan 1 09:16:29 2023 -0800

    templatized unimacro user dir, vocola user dir

commit d3c4d00
Merge: d879331 95638c4
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sun Jan 1 08:42:48 2023 -0800

    merge

commit d879331
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sun Jan 1 08:38:01 2023 -0800

    fixture added.

commit 6380905
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sat Dec 31 12:19:05 2022 -0800

    checkpoint

commit 19aa4e6
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sat Dec 31 12:08:34 2022 -0800

    checkpoint

commit 3b7d25b
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sat Dec 31 11:34:34 2022 -0800

    checkpoint

commit ae45233
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sat Dec 31 09:43:56 2022 -0800

    Ok a bit of progress

commit fdaced1
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Sat Dec 31 08:43:34 2022 -0800

    some progress

commit 95638c4
Merge: 167fa14 f2d855b
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Dec 29 17:43:06 2022 +0100

    Merge branch 'control_grammars' of github.com:dougransom/unimacro into control_grammars

commit 167fa14
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Dec 29 17:42:52 2022 +0100

    print line included

commit f2d855b
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Thu Dec 29 06:43:05 2022 -0800

    updated entry point to natlink.extension

commit 35922ab
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Dec 24 15:33:20 2022 +0100

    lots of things, now testing _control (new module test_grammar_control.py

commit 56d1f48
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Dec 22 16:11:39 2022 +0100

    add new timer trick to (nearly obsolete) grammar solitaire.py

commit 21ed832
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Dec 22 16:04:26 2022 +0100

    provide the default icons for the natlink.setTrayIcon command (in natlink). See issue dictation-toolbox/natlink#152

commit c22ecbd
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Dec 22 16:02:00 2022 +0100

    fixed dictation-toolbox#35 and a few other things.

commit 778f74e
Merge: dad81e9 b67905f
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Wed Dec 21 20:07:54 2022 +0100

    Merge branch 'fix_unimacro_basics' of github.com:dougransom/unimacro into fix_unimacro_basics

commit dad81e9
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Wed Dec 21 20:07:39 2022 +0100

    fixing some issues with _repeat.py

commit b67905f
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Wed Dec 21 10:52:32 2022 -0800

    extensions

commit 97ffbcf
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Tue Dec 20 15:09:13 2022 +0100

    working on _folders mainly

commit 3289c04
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Wed Dec 7 17:57:12 2022 +0100

    some changes and type in _folders.

commit 6f651e0
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Dec 3 16:40:30 2022 +0100

    timer multiplexing works for folders and repeat grammar

commit 74d22fb
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Dec 1 16:49:55 2022 +0100

    a big stroke towards all the unimacro grammars working

commit 19fc76e
Merge: d73098c 4703c05
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Nov 26 15:38:33 2022 +0100

    Merge branch 'dictation-toolbox:master' into fix_unimacro_basics

commit d73098c
Merge: 77ac3eb b813b91
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Nov 26 15:35:02 2022 +0100

    Merge branch 'master' into fix_unimacro_basics

commit 77ac3eb
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Nov 17 15:36:53 2022 +0100

    bump to 4.1.4

commit 8da111e
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Tue Nov 15 17:51:30 2022 +0100

    some changes in _general.py

commit abc1b37
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Oct 27 12:55:01 2022 +0200

    work in progress on unimacro grammars and bump to 4.1.3

commit d7ba47f
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Tue Oct 25 16:48:50 2022 +0200

    work on _general.py, fixes in _lines.py

commit 3a5d4a0
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Oct 22 18:23:00 2022 +0200

    small things _lines.py

commit c33b52c
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Oct 22 17:44:38 2022 +0200

    improving relative line numbers, and testing the getLineRelativeTo function

commit 8d75c68
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Oct 22 15:43:46 2022 +0200

    making _lines work, also relative numbers (modulo 100) for Komodo, Visual Studio and Excel

commit 6162dc2
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Sat Oct 22 11:44:08 2022 +0200

    actionclasses are now in dtactions.unimacro

commit b29b8dc
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Oct 21 12:25:04 2022 +0200

    _latex.py works for most things, I believe.
    small things in _lines.py

commit cfc632d
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Oct 21 10:37:22 2022 +0200

    several changes _latex.py

commit 04feb80
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Thu Oct 20 16:41:26 2022 +0200

    several things...

commit 86c3463
Merge: b7304eb f3bd1ad
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Thu Oct 20 07:15:56 2022 -0700

    Merge branch 'fix_unimacro_basics' of github.com:dougransom/unimacro into fix_unimacro_basics

commit b7304eb
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Thu Oct 20 07:15:13 2022 -0700

    mock folder

commit f3bd1ad
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Wed Oct 19 18:06:55 2022 +0200

    working on _latex.py, clipboard functions should be moved to dtactions.natlinkclipboard!!

commit b799547
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Wed Oct 19 16:50:11 2022 +0200

    working on show all grammars of _control.py

commit 40dee25
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Tue Oct 18 19:20:06 2022 +0200

    testing test_grammar_tasks seems to work!!!

commit c687955
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Oct 18 10:02:26 2022 -0700

    added comment about my task.

commit 879c93d
Merge: 2e36c5c f743728
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Oct 18 09:58:20 2022 -0700

    Merge branch 'fix_unimacro_basics' of github.com:dougransom/unimacro into fix_unimacro_basics

commit 2e36c5c
Merge: 34a89e4 fe3e38b
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Oct 18 09:55:34 2022 -0700

    Merge branch 'fix_unimacro_basics' of github.com:dougransom/unimacro into fix_unimacro_basics

commit f743728
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Mon Oct 17 18:09:40 2022 +0200

    struggling with BrowsableGrammar
    details forward _tasks.py
    starting test_grammar_tasks.py (with little luck)

commit fe3e38b
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Wed Oct 12 12:24:44 2022 +0200

    working on getting "show all grammars" work...

commit dad4f6f
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Wed Oct 12 12:11:04 2022 +0200

    struggling with show all grammars (grammar _control)

commit 28a7a4a
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Sep 23 16:20:09 2022 +0200

    import change

commit 33fcd60
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Sep 23 16:18:54 2022 +0200

    working on _tasks grammar

commit c28a589
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Sep 23 13:32:49 2022 +0200

    "show all grammars" now opens pywin32 window, but no further data

commit 0cef0c0
Author: Quintijn Hoogenboom <q.hoogenboom@antenna.nl>
Date:   Fri Sep 23 12:32:04 2022 +0200

    pylinting and fix import paths

commit 34a89e4
Author: Doug Ransom <doug.ransom@gmail.com>
Date:   Tue Aug 30 13:05:56 2022 -0700

    tweaked readme, removed build cruft
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

2 participants