-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
ValueError: stat: path too long for Windows #45
Comments
Is this issue going to be addressed somehow? I am still having it.
|
Unfortunately I have no way to test on Windows right now. |
Hi @stchris - I've experimented with this issue on Windows 10 (after experiencing it myself) and can confirm that this occurs within the I've raised a PR to address the issue, however rather than hard-coding a present length for checking against, I simply used the try-except technique mentioned by @int19h. Hope this helps! |
Thank you all for your input and sorry for taking so long to respond. First of all I moved to Github Actions in #82 , so at least running unit tests on Windows is now again possible. Second of all I would like to address the fix by providing three separate functions instead of |
Oftenly with long XML strings it won't parse using the command
untangle.parse(xmlstring)
So, to make this work I first convert the string to an element tree, save it as a temp file and read the file like
untangle.parse(xmlfile)
Not sure if this is the way to go. Once I got the xml in an element tree I could access the objects I want, but I like the untangle framework more. Therefor submitting this issue
The text was updated successfully, but these errors were encountered: