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

AttributeError: 'PyTraceObject' object has no attribute 'encoding' #2

Open
jacksonofalltrades opened this issue Feb 24, 2016 · 0 comments

Comments

@jacksonofalltrades
Copy link

Hi,

I realize this probably isn't a real issue with your library, but I could find very few references to this PyTraceObject anywhere on the internet, and this seems like the most relevant site I could find.

I am trying to so some networking using Python's HTTPAuthConnection (it's a file sharing app using the WebDAV protocol). On Windows 10 64-bit VM, things work fine, but when using a real machine, I am getting the above error in certain circumstances (I'm not entirely sure what the differences are in circumstance that lead to this, which is what makes this so hard to debug).

Since you appear to have defined this object (PyTraceObject), is there any chance you might know what could be causing this problem or how to resolve, or at least, debug it?

My full stack trace is as follows:
File "smartshare\core\dav.py", line 75, in connect
File "site-packages\webdav\WebdavClient.py", line 389, in readProperties
File "site-packages\davlib.py", line 208, in propfind
File "site-packages\webdav\Connection.py", line 125, in _request
File "site-packages\webdav\Connection.py", line 158, in __evaluateResponse
File "site-packages\webdav\WebdavResponse.py", line 113, in str
AttributeError: 'PyTraceObject' object has no attribute 'encoding'

Our application is making use of the following library:
https://pypi.python.org/pypi/Python_WebDAV_Library

and it is in this library as you can see above, where the problem is occurring.

Any advice or assistance would be most greatly appreciated!

Thanks,
-Dave Jackson
Green Mars Consulting

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

1 participant