-
Notifications
You must be signed in to change notification settings - Fork 134
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
Error when calculating recent_cutoff #141
Comments
I tried this on the following environments: python 2.7 on LXSS (Ubuntu on Windows 10) All give identical error. |
Lines 589 and 590
Full routine from arrow.py
|
The issues lies with the latest version of the 'Arrow' library that has removed deprecated functionality that Shreddit was still using. I have replaced the removed call with the correct one, and it seems to be working again. PR #142 |
Tested and can confirm the workaround does it, hopefully when it's released next it'll backfill to everyone else also. |
How can I apply this latest workaround? My new install of shreddit is failing with this error. Thanks. |
Done - working. Thanks so much. I love shreddit. |
I tried to refactor to use timedelta instead but I really don't know what I'm doing (I'm more of a PHP guy) and this error still ends up being thrown.
When I installed it, the following versions of the dependencies were installed
arrow-0.14.5 backports-abc-0.5 backports.functools-lru-cache-1.5 futures-3.3.0 idna-2.7 praw-6.3.1 prawcore-1.0.1 python-dateutil-2.8.0 shreddit-6.0.7 singledispatch-3.4.0.3 tornado-5.1.1 update-checker-0.16 websocket-client-0.56.0
Is this something changed in arrow that's impacting the script?
The text was updated successfully, but these errors were encountered: