-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
AugmentedDiff.get_state() returns False and/or raises ReadTimeout exception on Windows 7, Python 3.7.3 #11
Comments
AugmentedDiff.get_state()
returns False and/or raises ReadTimeout exception on Windows 7, Python 3.7.3
Hmm your assessment may very well be correct, I haven't tested on Windows. I'll see if I can get a chance to do that, I do have a windows (10) machine but would need to install a python developer environment.. If you can positively confirm that |
OK that gives me something to work with! Obviously I am abusing |
It looks like I need to replace |
This should be solved with #28 and the published 0.4. Lmk if there's still issues with it. |
Issue Description
I'm trying to follow the simple
AugmentedDiff
example from the readme. During my first attempt, theAugmentedDiff.get_state()
method returned False. On some subsequent attempts, the method raises an exception from therequests
module:Environment
Windows 7 (64-bit)
Python 3.7.3 (Anaconda Distribution)
conda 4.7.5
osmdiff 0.1.8 (pip install)
Workaround
The workaround seems to be using
requests
to get the augmented diff sequence number, then manually assign it to theAugmentedDiff.sequence_number
property.I believe the use of
os.path.join
in theAugmentedDiff.get_state
method is producing an invalid URL on Windows.The text was updated successfully, but these errors were encountered: