dictation-toolbox / Caster

Dragonfly-Based Voice Programming and Accessibility Toolkit
Other
339 stars 121 forks source link

Github automation not working on Python 3 #807

Open kendonB opened 4 years ago

kendonB commented 4 years ago

Describe the bug The "checkout pull request" and "update pull request" commands do not work when using Python 3.

To Reproduce Steps to reproduce the behavior (be sure to include the exact command phrase you are using):

  1. Run Caster using Python 3 (Kaldi)
  2. Navigate to https://github.com/dictation-toolbox/Caster/pull/802 in your browser.
  3. Say "checkout pull request".

I get this error and git bash opens but nothing happens:

Chrome: checkout [this] pull request [locally]
DEBUG:action.exec:Executing action: 'github_checkoutupdate_pull_request'() ({'_grammar': Grammar(g26), '_rule': ChromeRule(google chrome), '_node': Node: Alternative(...), ['checkout', 'pull', 'request'], 'n': 1, 'm': '', 'nth': ''})
DEBUG:action.exec:Executing action: ['c-l/20'] (None)
DEBUG:action.exec:Executing action: ['c-c'] (None)
DEBUG:action.exec:Executing action: Pause('0') (None)
AHK_PATH = C:\Program Files\AutoHotkey\AutoHotkey.exe
Error:C:\Users\kmbel\Documents\caster\castervoice\lib\github_automation.ahk neither returned 'activated' nor 'does not exist'
Fallback: load new instance of :MINGW64
Error: git terminal took too long to load for script:C:\Users\kmbel\Documents\caster\castervoice\lib\github_automation.ahk

Expected behavior Git bash opens and prints the fetch and checkout commands as normal.

System:

kendonB commented 4 years ago

@codingApprentice do you know what's going on here?