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

Show Active Grammars, Show All Grammars Broken #7

Closed
dougransom opened this issue Nov 22, 2020 · 5 comments
Closed

Show Active Grammars, Show All Grammars Broken #7

dougransom opened this issue Nov 22, 2020 · 5 comments

Comments

@dougransom
Copy link
Member

This appears to be because pywin32 command line arguments appear to be ignored.
mhammond/pywin32#1620

In the meantime any code calling pythonwin.exe will not work.

@dougransom
Copy link
Member Author

pywin32 have addressed the problem (though i haven't tried the fix), probably easiest to way until there is a new release of pywin32 we can install with pip.

@dougransom
Copy link
Member Author

``I tried an updated version of pywin32. It was able to start (I think) but then there is a trace back in natlink:

Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Python38-32\lib\site-packages\Pythonwin\pywin\framework\startup.py", line 62, in <module> __import__(moduleName) File "C:\Users\dougr\OneDrive\doug\dication_toolbox\Unimacro\src\unimacro\BrowseGrammarApp.py", line 54, in <module> from natlinkutils import * File "C:\Users\dougr\OneDrive\doug\dication_toolbox\natlink\MacroSystem\core\natlinkutils.py", line 89, in <module> import natlinkmain File "C:\Users\dougr\OneDrive\doug\dication_toolbox\natlink\MacroSystem\core\natlinkmain.py", line 1010, in <module> start_natlink() File "C:\Users\dougr\OneDrive\doug\dication_toolbox\natlink\MacroSystem\core\natlinkmain.py", line 955, in start_natlink changeCallback('user', natlink.getCurrentUser()) natlink.NatError: Calling getCurrentUser is not allowed before calling natConnect

@dougransom
Copy link
Member Author

You can download can updated pywin32 from https://github.com/mhammond/pywin32/pull/1622/checks download the artifacts, extract the files from zip, they are prebuilt binaries.

pip install --force-reinstall .\pywin32-300.1-cp38-cp38-win32.whl

@quintijn
Copy link
Collaborator

pythonwin is not used any more. pywin32 is! Doug, can we close this issue?

@quintijn
Copy link
Collaborator

this can become a new issue together with #33
I close this one...

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