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

Legion command is nonfunctional after Caster v 0.5.7 and to current release. #387

Closed
LexiconCode opened this issue Feb 12, 2019 · 17 comments
Labels
Invalid A ticket that was created but was invalidated by OP

Comments

@LexiconCode
Copy link
Member

LexiconCode commented Feb 12, 2019

Reproduce issue on Windows 10 64-bit

  1. Start Dragon
  2. Say the the legion command

Expected results

  • boxes appear around text

Actual results

  • The command is recognized
  • The Legion command fails silently with no error message.
  • The Legion dll is not terminated properly.

For reference
Legion DPI fix #223
LoadLibrary path fix #222
Legion Enhancement, Cheat sheet update, and more #220

@LexiconCode LexiconCode added the Bug Unexpected behavior from existing features. label Feb 12, 2019
@kendonB
Copy link
Collaborator

kendonB commented May 7, 2019

This seems to work at the moment for me on my Windows 10 machine.

@LexiconCode
Copy link
Member Author

Test in the morning if it works for on my end.

@seekM
Copy link
Contributor

seekM commented May 7, 2019

Doesn't work for me:

action: Exception from function mouse_alternates:
Traceback (most recent call last):
  File "C:\dev\Python27\lib\site-packages\dragonfly\actions\action_function.py", line 136, in _execute
    self._function(**arguments)
  File "C:\dev\Natlink-User\Caster\castervoice\lib\navigation.py", line 66, in mouse_alternates
    ls = LegionScanner()
  File "C:\dev\Natlink-User\Caster\castervoice\asynch\mouse\legion.py", line 161, in __init__
    self.setup_dll()
  File "C:\dev\Natlink-User\Caster\castervoice\asynch\mouse\legion.py", line 171, in setup_dll
    sys.getfilesystemencoding()))
  File "C:\dev\Python27\Lib\ctypes\__init__.py", line 444, in LoadLibrary
    return self._dlltype(name)
  File "C:\dev\Python27\Lib\ctypes\__init__.py", line 366, in __init__
    self._handle = _dlopen(self._name, mode)
WindowsError: [Error 126] The specified module could not be found
action.exec: Execution failed: Function(mouse_alternates): [Error 126] The specified module could not be found
Activate Legion

This is different from

The Legion command fails silently with no error message.

though.

@LexiconCode
Copy link
Member Author

Doesn't work for me:

To fix ERROR:action.exec:Execution failed: Function(mouse_alternates): [Error 126] The specified module could not be found. Install Microsoft Visual C++ Redistributable Packages for Visual Studio 2013 (x86).

@LexiconCode
Copy link
Member Author

Retesting the behavior still as described in the OP.

@seekM
Copy link
Contributor

seekM commented May 7, 2019

Install Microsoft Visual C++ Redistributable Packages for Visual Studio 2013 (x86).

Thanks, this did the trick for me. legion command is recognized, boxes appear around text. However, further command aren't recognized. I probably experience #500?

@kendonB
Copy link
Collaborator

kendonB commented May 12, 2019

I'm back on my Windows 7 computer and I now find that the "Legion" command does nothing...

@LexiconCode
Copy link
Member Author

LexiconCode commented May 12, 2019

Out of curiosity what is your screen resolution and DPI on your 7 windows machine?

My current setup running 4K with 150 percent DPI. Wonder if it could be related to DPI / resolution. So I'll test that out on Tuesday or Monday.

@kendonB
Copy link
Collaborator

kendonB commented May 13, 2019

image

@kendonB
Copy link
Collaborator

kendonB commented May 13, 2019

image

@kendonB
Copy link
Collaborator

kendonB commented May 15, 2019

I have changed my VirtualBox displays to be full-screen so that they are both 1920 x 1080. The Legion command still does nothing

@LexiconCode
Copy link
Member Author

LexiconCode commented May 15, 2019

Here's an interesting find. I discovered that I did not have Redistributable Packages for Visual Studio 2013 (x86). nor did it help to install it. So I decided to uninstall all versions of Redistributable Packages for Visual Studio then restart the computer and test.

Even with all Redistributable Packages for Visual Studio removed I still get the behavior described in the op when I should be receiving ERROR:action.exec:Execution failed: Function(mouse_alternates): [Error 126] The specified module could not be found

@kendonB
Copy link
Collaborator

kendonB commented May 18, 2019

I'm installing Caster on a fresh Windows 10 Virtualbox, right next to my Windows 7 virtual box. I now have Legion working great, after installing the 2013 visual studio redistributable packages. Googlers should note well that this is a different package to that some people require to get Natlink working, despite the naming conventions of the files themselves being the same.

@LexiconCode LexiconCode added Invalid A ticket that was created but was invalidated by OP and removed Bug Unexpected behavior from existing features. labels May 22, 2019
@LexiconCode
Copy link
Member Author

I will close issue given that is working for everybody else.

@kendonB
Copy link
Collaborator

kendonB commented May 22, 2019

At some point I will experiment with removing the VS packages on my win7 computer and seeing which (if any) is breaking it.

@kendonB
Copy link
Collaborator

kendonB commented Jun 4, 2019

@seekM you mentioned legion isn't working for you again. Can you try uninstalling all your Visual C++ packages and then reinstalling Microsoft Visual C++ Redistributable Packages for Visual Studio 2013 (x86)?

@LexiconCode
Copy link
Member Author

I ended up ended up reformatting my desktop and I no longer have issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid A ticket that was created but was invalidated by OP
Projects
None yet
Development

No branches or pull requests

3 participants