Comments (23)
Looks like it might be caused by this: https://sourceforge.net/p/pywin32/bugs/748/
Will try downgrading to Python 3.5
from px.
Have confirmed that it's the bug linked above. Downgrading to Python 3.5 has fixed my issue, so will close.
from px.
Shouldn't we keep this open until it's fixed upstream?
from px.
@jinder Please consider changing to 'open' until fixed.
from px.
Reopened
from px.
Looks like this could be fixed if Px switches to winkerberos, per the link to the pywin32 issue. I'm not sure if it's worth the effort but open to suggestions.
from px.
I confirm the issue. Is there another workaround apart from downgrading python?
from px.
Just for kicks, I tried this with Python 3.6.1 and 3.6.2. I tried with pywin32 v220 as well as v221 and it's still broken. The fix is required within win32security.pyd which is C code and not easy to work around.
from px.
Thanks to help from the winkerberos team, Px works with winkerberos so Python 3.6+ is now supported.
pywin32 SSPI is still supported so if winkerberos isn't available, Px will fall back to pywin32 as long as the Python version is < 3.6.
from px.
Given Px now works around this issue by using winkerberos, I propose marking this as fixed. Feedback appreciated.
from px.
So I had to bring back pywin32 for NTLM auth since winkerberos was failing for some NTLM use cases. Some folks may still run into this issue. The recommendation is to upgrade your Python to the latest version since a fix is in place.
from px.
@genotrance I still got this issue with latest px code. My python is 36-64. How could i fix it?
from px.
Is it possible to update your Python to latest version somehow? Also install latest version of pywin32?
from px.
I know it is broken on 3.6.1 and 3.6.2. I haven't tried 3.6.3 but I'm currently running 3.6.4 and don't see the issue anymore.
from px.
I checked my python version , it's 3.6.6. Is there any way to fix it?
from px.
I found this issue happens more when there's multi clients connected through proxy.
from px.
What version of pywin32 do you have installed? I have 222. Also is your Python 32-bit or 64-bit? Miniconda or Python.org?
from px.
pywin32=223, python is 3.6.6-64 bit from python.org
from px.
@genotrance any suggestion?
from px.
@lvfanqie: can you check if this issue helps? Looks like older version of 220 was also present in the path.
from px.
@genotrance my win32api version is '223'. How could I check pywintype version? I got following errors:
import pywintypes
fixed_file_info = win32api.GetFileVersionInfo(pywintypes.file, '\')
Traceback (most recent call last):
File "", line 1, in
pywintypes.error: (1813, 'GetFileVersionInfo:GetFileVersionInfoSize', 'The specified resource type cannot be found in the image file.')
from px.
I tried and no idea :(
Another option is to pip remove pywin32
and then reinstall and see if it helps any. I don't have a 64-bit Python setup so unsure if this is broken or an install issue.
from px.
unfortunately, I tried reinstall the pywin32 but still get the same issue.
from px.
Related Issues (20)
- `curl: (56) Proxy CONNECT aborted` error with px 0.8 when using curl.exe HOT 7
- 'Requires libcurl' when using 'tools.py --libcurl' HOT 1
- Installing fails with: Invalid numerical argument /Werror=incompatible-pointer-types. HOT 1
- px.exe 18 security vendors and no sandboxes flagged this file as malicious HOT 25
- Support for macOS Ventura 13.4? HOT 4
- Spaces in PAC proxy list cause blank proxies to be added HOT 2
- Is there a way to restart the proxy (Windows)? HOT 7
- Windows Defender "Threat Found" display HOT 4
- keyring_jeepney broken HOT 2
- Support for keyrings.cryptfile HOT 4
- Logging Directory <> Working Directory HOT 4
- Win11 - The publisher could not be verified HOT 1
- Does this tool support Kerberos authentication to a corporate Web proxy ? HOT 1
- Timeout and connection reset HOT 2
- Allow for multiple listen interfaces HOT 3
- using domain names in the allow list HOT 1
- libcrypto-1_1.dll version 1.1.1q with vulnerabilites HOT 4
- px 0.8.4: PAC configuration seems to cause unstable behaviour HOT 4
- HTTP POST and PUT not working since data rewind is not supported HOT 1
- Unclear listen setting HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from px.