We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
in telegram message history:
while in logs:
2018-01-10 04:11:59,686 - TwitterForwarderBot - DEBUG - No new updates found. 2018-01-10 04:12:02,492 - TwitterForwarderBot - DEBUG - Getting updates: [434142446] None None 2018-01-10 04:12:03,170 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while processing the update Traceback (most recent call last): File "/home/webadmin/www/console/telegram/chat-crypto/telegram-twitter-forwarder-bot/venv/lib/python3.5/site-packages/telegram/ext/dispatcher.py", line 203, in process_update handler.handle_update(update, self) File "/home/webadmin/www/console/telegram/chat-crypto/telegram-twitter-forwarder-bot/venv/lib/python3.5/site-packages/telegram/ext/commandhandler.py", line 86, in handle_update return self.callback(dispatcher.bot, update, **optional_args) File "/home/webadmin/www/console/telegram/chat-crypto/telegram-twitter-forwarder-bot/util.py", line 14, in wrapper return f(bot, update, *args, **kwargs) File "/home/webadmin/www/console/telegram/chat-crypto/telegram-twitter-forwarder-bot/commands.py", line 268, in cmd_verify cmd_set_timezone(bot, update, [tz_name]) File "/home/webadmin/www/console/telegram/chat-crypto/telegram-twitter-forwarder-bot/util.py", line 14, in wrapper return f(bot, update, *args, **kwargs) File "/home/webadmin/www/console/telegram/chat-crypto/telegram-twitter-forwarder-bot/commands.py", line 298, in cmd_set_timezone tz = timezone(tz_name) File "/home/webadmin/www/console/telegram/chat-crypto/telegram-twitter-forwarder-bot/venv/lib/python3.5/site-packages/pytz/__init__.py", line 173, in timezone if zone.upper() == 'UTC': AttributeError: 'NoneType' object has no attribute 'upper' 2018-01-10 04:12:12,503 - TwitterForwarderBot - DEBUG - No new updates found.
The text was updated successfully, but these errors were encountered:
To avoid this error you need to change default timezone in Twitter settings, otherwise Twitter API won't return time_zone parameter when
time_zone
telegram-twitter-forwarder-bot/commands.py
Line 262 in bbb75b5
Settings list before changing default timezone:
Settings list after changing default timezone:
I think we need to add this to Readme or check in code for 'time_zone' parameter existence
Sorry, something went wrong.
I've updated pytz alongside other dependencies. Maybe this is fixed now.
No branches or pull requests
in telegram message history:
while in logs:
The text was updated successfully, but these errors were encountered: