ewerybody / a2

Autohotkey module managing and developing framework.
GNU General Public License v3.0
63 stars 10 forks source link

Module 'gtranslate' crashes when enabling it #190

Closed sirtet closed 4 years ago

sirtet commented 4 years ago

image

Steps to Reproduce

  1. Install A2
  2. enable gtranslate
  3. see the crash report
ewerybody commented 4 years ago

Ah alright! Dang, thats already been solved! See I just need to deploy a new version of a2.modules.

btw: You can actually Ctrl+C on an error-popup like that to get the whole content. No need to make a screenshot! ;)

ewerybody commented 4 years ago

Alright. I pushed a new version of a2.modules you know how to update right? Can you check? @sirtet?

sirtet commented 4 years ago

Yes. Updating the module removed the error. But it's not really working. With marked text somewhere, i never get any reaction, withoult anything marked, i sometimes get the popup asking for a string, but mostly not. Seems erratic as to when it works, i see no pattern. Also, when i got the prompt and translate, whichever direction, the answer is always just the input, no translation... [EDIT] Ah, i think i found the pattern. With the defauld RAlt nothing happens. With Lalt, EN-DE works. but when you try to quit with enter or esc. it executes DE-EN which returns the original if no translation was found... (i would expect an error, maybe the api gives none?) Also, i noticed i could have the same hotkey for both directions, without getting a warning about it. First i thought this triggered the double execution, but no, it happens with different hotkeys too...