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

Settings are not saved/changed #56

Closed
JosvdP opened this issue Dec 8, 2016 · 7 comments
Closed

Settings are not saved/changed #56

JosvdP opened this issue Dec 8, 2016 · 7 comments

Comments

@JosvdP
Copy link

JosvdP commented Dec 8, 2016

I run the latest version of the Telegram plugin (1.4.0) on the latest version of Octoprint (1.3.0) and I can't save/change my settings for some reason.

I've managed to add my Telegram Token and save the settings but now it doesn't accept anymore changes to the Telegram settings.

I've tried to reinstall the plugin but it remembered my old token settings so it wasn't fully uninstalled? Is this an issue with permissions on the settings file?

@JosvdP
Copy link
Author

JosvdP commented Dec 8, 2016

Luckily I was smart enough to opt-in for the logging errors in main octoprint log and I found the following info in the log:

2016-12-08 21:37:25,602 - octoprint.server.api.settings - ERROR - Could not save settings for plugin Telegram Notifications (1.4.0)
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/server/api/settings.py", line 386, in _saveSettings
    plugin.on_settings_save(data["plugins"][plugin_id])
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 722, in on_settings_save
    if data['chats']:
KeyError: 'chats'
2016-12-08 21:37:47,788 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/__init__.py:562: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if source == target:

2016-12-08 21:37:47,790 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/util/__init__.py:580: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if value_source != value_target:

2016-12-08 21:43:16,164 - octoprint.server.api.settings - ERROR - Could not save settings for plugin Telegram Notifications (1.4.0)
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/server/api/settings.py", line 386, in _saveSettings
    plugin.on_settings_save(data["plugins"][plugin_id])
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 722, in on_settings_save
    if data['chats']:
KeyError: 'chats'

@Psycomy
Copy link

Psycomy commented Dec 8, 2016

Hello I have the same problem. I can't save the settings.

2016-12-08 23:01:57,263 - octoprint.server.api.settings - ERROR - Could not save settings for plugin Telegram Notifications (1.4.0)
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.3.0-py2.7.egg/octoprint/server/api/settings.py", line 386, in _saveSettings
    plugin.on_settings_save(data["plugins"][plugin_id])
  File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 722, in on_settings_save
    if data['chats']:
KeyError: 'chats'

@foosel
Copy link
Contributor

foosel commented Dec 9, 2016

Probably a duplicate of #44. Sent a PR to fix that last week (see #53).

@ReneJurack
Copy link

I have this problem as well, since updating octoprint.

@saxos1983
Copy link

I patched the code with #44 and the problem is solved so far. I hope they will review the pull request and merge it into the code.

@JosvdP
Copy link
Author

JosvdP commented Dec 12, 2016

I patched the code with #44 as well but I cannot edit a user settings by clicking the pencil icon. Nothing seems to happens when I click it.

@SillyHats
Copy link

SillyHats commented Jul 9, 2018

I am having this same issue with OctoPrint 1.3.8 and Telegram Notifications 1.4.2
Something seems to have broken in one of the updates since #53

2018-07-09 16:37:36,865 - octoprint.environment - INFO - Detected environment is Python 2.7.13 under Linux (linux2). Details: | hardware: | cores: 4 | freq: 1200.0 | ram: 918192128 | os: | id: linux | platform: linux2 | plugins: | octopi_support: | model: 3B | revision: a22082 | version: 0.15.1 | python: | pip: 9.0.3 | version: 2.7.13 | virtualenv: /home/pi/oprint 2018-07-09 16:37:36,876 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets... 2018-07-09 16:37:36,894 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache... 2018-07-09 16:37:37,124 - octoprint.server - INFO - Shutting down intermediary server... 2018-07-09 16:37:37,453 - octoprint.server - INFO - Intermediary server shut down 2018-07-09 16:37:37,456 - octoprint.events - INFO - Processing startup event, this is our first event 2018-07-09 16:37:37,489 - octoprint.events - INFO - Adding 1 events to queue that were held back before startup event 2018-07-09 16:37:37,509 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue... 2018-07-09 16:37:37,652 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid 2018-07-09 16:37:37,930 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid 2018-07-09 16:37:37,933 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue 2018-07-09 16:37:37,951 - octoprint.util.connectivity_checker - INFO - Connectivity changed from online to offline 2018-07-09 16:37:38,859 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "CR-10" for _http._tcp 2018-07-09 16:37:38,881 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "CR-10" for _octoprint._tcp 2018-07-09 16:37:38,902 - octoprint.server - INFO - Listening on http://127.0.0.1:5000 2018-07-09 16:37:39,155 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid 2018-07-09 16:37:39,212 - octoprint.plugins.roomtemp - INFO - This is not a Raspberry Pi - Plugin halted 2018-07-09 16:37:40,079 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid 2018-07-09 16:37:41,253 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip 2018-07-09 16:37:41,441 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip 2018-07-09 16:37:41,889 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip 2018-07-09 16:37:41,948 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip 2018-07-09 16:37:42,371 - octoprint.util.pip - INFO - Using "/home/pi/oprint/bin/python2 -m pip" as command to invoke pip 2018-07-09 16:37:43,011 - octoprint.server.util.sockjs - INFO - New connection from client: 127.0.0.1 2018-07-09 16:37:43,514 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:37:43,529 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 25.75ms 2018-07-09 16:37:46,549 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.85ms 2018-07-09 16:37:46,619 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 23.32ms 2018-07-09 16:37:46,639 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 17.10ms 2018-07-09 16:37:46,703 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 20.75ms 2018-07-09 16:37:46,722 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.83ms 2018-07-09 16:37:46,774 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.59ms 2018-07-09 16:37:46,790 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.44ms 2018-07-09 16:37:46,847 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.40ms 2018-07-09 16:37:46,865 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.68ms 2018-07-09 16:37:46,917 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.46ms 2018-07-09 16:37:46,934 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.14ms 2018-07-09 16:37:46,985 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.24ms 2018-07-09 16:37:47,000 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.87ms 2018-07-09 16:37:47,068 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.68ms 2018-07-09 16:37:47,084 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.75ms 2018-07-09 16:37:47,271 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 16.29ms 2018-07-09 16:37:47,311 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.55ms 2018-07-09 16:37:47,348 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.44ms 2018-07-09 16:37:47,384 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.68ms 2018-07-09 16:37:47,403 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.88ms 2018-07-09 16:37:47,457 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.56ms 2018-07-09 16:37:47,472 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.61ms 2018-07-09 16:37:47,506 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.52ms 2018-07-09 16:37:47,560 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.29ms 2018-07-09 16:37:47,596 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.21ms 2018-07-09 16:37:47,617 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 18.43ms 2018-07-09 16:37:47,652 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.62ms 2018-07-09 16:37:47,686 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.74ms 2018-07-09 16:37:47,737 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.97ms 2018-07-09 16:37:47,753 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.51ms 2018-07-09 16:37:47,788 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.89ms 2018-07-09 16:37:47,839 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.92ms 2018-07-09 16:37:47,854 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.42ms 2018-07-09 16:37:48,143 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.13ms 2018-07-09 16:37:48,160 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.61ms 2018-07-09 16:37:48,199 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.38ms 2018-07-09 16:37:48,235 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.22ms 2018-07-09 16:37:48,251 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.76ms 2018-07-09 16:37:48,268 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.56ms 2018-07-09 16:37:48,555 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.63ms 2018-07-09 16:37:48,574 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.79ms 2018-07-09 16:37:48,576 - octoprint.util.pip - INFO - pip installs to /home/pi/oprint/lib/python2.7/site-packages/ (writable -> yes), --user flag needed -> no, virtual env -> yes 2018-07-09 16:37:48,585 - octoprint.util.pip - INFO - ==> pip ok -> yes 2018-07-09 16:37:48,599 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 21.17ms 2018-07-09 16:37:48,644 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.07ms 2018-07-09 16:37:48,701 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 24.11ms 2018-07-09 16:37:48,890 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk 2018-07-09 16:37:49,134 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 11.12ms 2018-07-09 16:37:49,407 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.83ms 2018-07-09 16:37:49,426 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 16.12ms 2018-07-09 16:37:49,441 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.33ms 2018-07-09 16:37:49,475 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.10ms 2018-07-09 16:37:49,490 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.02ms 2018-07-09 16:37:49,505 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.35ms 2018-07-09 16:37:49,643 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 21.48ms 2018-07-09 16:37:49,658 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.02ms 2018-07-09 16:37:49,690 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.45ms 2018-07-09 16:37:49,707 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.47ms 2018-07-09 16:37:49,777 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.91ms 2018-07-09 16:37:49,813 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 17.30ms 2018-07-09 16:37:49,838 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 17.66ms 2018-07-09 16:37:49,873 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.81ms 2018-07-09 16:37:49,888 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.61ms 2018-07-09 16:37:49,903 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.32ms 2018-07-09 16:37:49,992 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.44ms 2018-07-09 16:37:50,046 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 16.67ms 2018-07-09 16:37:50,078 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.27ms 2018-07-09 16:37:50,093 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.56ms 2018-07-09 16:37:50,143 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.94ms 2018-07-09 16:37:50,179 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.36ms 2018-07-09 16:37:50,194 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.41ms 2018-07-09 16:37:50,245 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.07ms 2018-07-09 16:37:50,288 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.04ms 2018-07-09 16:37:50,326 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.55ms 2018-07-09 16:37:50,346 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 17.40ms 2018-07-09 16:37:50,372 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 21.14ms 2018-07-09 16:37:50,443 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.21ms 2018-07-09 16:37:50,460 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.55ms 2018-07-09 16:37:50,494 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.33ms 2018-07-09 16:37:50,509 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.70ms 2018-07-09 16:37:50,547 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.54ms 2018-07-09 16:37:50,643 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.54ms 2018-07-09 16:37:50,819 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 135.89ms 2018-07-09 16:37:50,834 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.65ms 2018-07-09 16:37:50,868 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.24ms 2018-07-09 16:37:50,895 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.28ms 2018-07-09 16:37:50,948 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.67ms 2018-07-09 16:37:50,964 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.38ms 2018-07-09 16:37:50,982 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.86ms 2018-07-09 16:37:51,038 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.03ms 2018-07-09 16:37:51,091 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.45ms 2018-07-09 16:37:51,123 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.05ms 2018-07-09 16:37:51,139 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.40ms 2018-07-09 16:37:51,154 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.03ms 2018-07-09 16:37:51,207 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.14ms 2018-07-09 16:37:51,256 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.49ms 2018-07-09 16:37:51,290 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.08ms 2018-07-09 16:37:51,308 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.93ms 2018-07-09 16:37:51,358 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.45ms 2018-07-09 16:37:51,373 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.46ms 2018-07-09 16:37:51,443 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.86ms 2018-07-09 16:37:51,459 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.61ms 2018-07-09 16:37:51,471 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.153 2018-07-09 16:37:51,591 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.35ms 2018-07-09 16:37:51,625 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.93ms 2018-07-09 16:37:51,639 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 11.87ms 2018-07-09 16:37:51,724 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.02ms 2018-07-09 16:37:51,739 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.07ms 2018-07-09 16:37:51,770 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.92ms 2018-07-09 16:37:51,787 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.83ms 2018-07-09 16:37:51,855 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.48ms 2018-07-09 16:37:51,887 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.52ms 2018-07-09 16:37:51,902 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.30ms 2018-07-09 16:37:51,936 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.22ms 2018-07-09 16:37:51,951 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.37ms 2018-07-09 16:37:51,966 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.05ms 2018-07-09 16:37:52,051 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.22ms 2018-07-09 16:37:52,100 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.15ms 2018-07-09 16:37:52,133 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.24ms 2018-07-09 16:37:52,148 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.91ms 2018-07-09 16:37:52,202 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 17.41ms 2018-07-09 16:37:52,235 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.39ms 2018-07-09 16:37:52,251 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.21ms 2018-07-09 16:37:52,300 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.03ms 2018-07-09 16:37:52,332 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.73ms 2018-07-09 16:37:52,365 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.34ms 2018-07-09 16:37:52,401 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.85ms 2018-07-09 16:37:52,432 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.34ms 2018-07-09 16:37:52,482 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.47ms 2018-07-09 16:37:52,498 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.95ms 2018-07-09 16:37:52,513 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.36ms 2018-07-09 16:37:52,548 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.54ms 2018-07-09 16:37:52,580 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 11.99ms 2018-07-09 16:37:52,594 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 11.87ms 2018-07-09 16:37:52,662 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.27ms 2018-07-09 16:37:52,677 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 11.90ms 2018-07-09 16:37:52,710 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.21ms 2018-07-09 16:37:52,743 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.94ms 2018-07-09 16:37:52,760 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.90ms 2018-07-09 16:37:52,776 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.69ms 2018-07-09 16:37:52,829 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 17.59ms 2018-07-09 16:37:52,845 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.14ms 2018-07-09 16:37:52,862 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.49ms 2018-07-09 16:37:53,020 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.70ms 2018-07-09 16:37:53,052 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.08ms 2018-07-09 16:37:53,070 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.59ms 2018-07-09 16:37:53,119 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.01ms 2018-07-09 16:37:53,151 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.39ms 2018-07-09 16:37:53,185 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.75ms 2018-07-09 16:37:53,217 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.48ms 2018-07-09 16:37:53,233 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.10ms 2018-07-09 16:37:53,285 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.32ms 2018-07-09 16:37:53,300 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.40ms 2018-07-09 16:37:53,315 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.47ms 2018-07-09 16:37:53,348 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.28ms 2018-07-09 16:37:53,431 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.17ms 2018-07-09 16:37:53,447 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.98ms 2018-07-09 16:37:53,515 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.54ms 2018-07-09 16:37:53,546 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.19ms 2018-07-09 16:37:53,567 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 18.50ms 2018-07-09 16:37:53,600 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.69ms 2018-07-09 16:37:53,616 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.86ms 2018-07-09 16:37:53,631 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.06ms 2018-07-09 16:37:54,045 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.94ms 2018-07-09 16:37:54,094 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.01ms 2018-07-09 16:37:54,127 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.60ms 2018-07-09 16:37:54,141 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.00ms 2018-07-09 16:37:54,173 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.11ms 2018-07-09 16:37:54,189 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.63ms 2018-07-09 16:37:54,223 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.86ms 2018-07-09 16:37:54,254 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.05ms 2018-07-09 16:37:54,287 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.42ms 2018-07-09 16:37:54,321 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.67ms 2018-07-09 16:37:54,353 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.37ms 2018-07-09 16:37:54,402 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.34ms 2018-07-09 16:37:54,418 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.39ms 2018-07-09 16:37:54,439 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 17.56ms 2018-07-09 16:37:54,453 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 11.97ms 2018-07-09 16:37:54,502 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.37ms 2018-07-09 16:37:54,537 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.41ms 2018-07-09 16:37:54,552 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.03ms 2018-07-09 16:37:54,585 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.17ms 2018-07-09 16:37:54,619 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.99ms 2018-07-09 16:37:54,636 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.64ms 2018-07-09 16:37:54,650 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.04ms 2018-07-09 16:37:54,724 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 20.38ms 2018-07-09 16:37:54,774 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.36ms 2018-07-09 16:37:54,802 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:37:54,805 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 10.99ms 2018-07-09 16:37:54,841 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.59ms 2018-07-09 16:37:54,857 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.94ms 2018-07-09 16:37:54,873 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.92ms 2018-07-09 16:37:54,942 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.57ms 2018-07-09 16:37:54,976 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.00ms 2018-07-09 16:37:54,991 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.34ms 2018-07-09 16:37:55,042 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.25ms 2018-07-09 16:37:55,093 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.48ms 2018-07-09 16:37:55,131 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.58ms 2018-07-09 16:37:55,165 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.67ms 2018-07-09 16:37:55,198 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.24ms 2018-07-09 16:37:55,231 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.82ms 2018-07-09 16:37:55,247 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.89ms 2018-07-09 16:37:55,264 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.27ms 2018-07-09 16:37:55,279 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.22ms 2018-07-09 16:37:55,368 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.61ms 2018-07-09 16:37:55,384 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.21ms 2018-07-09 16:37:55,401 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.03ms 2018-07-09 16:37:55,482 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.35ms 2018-07-09 16:37:55,514 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.54ms 2018-07-09 16:37:55,585 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.55ms 2018-07-09 16:37:55,618 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.39ms 2018-07-09 16:37:55,651 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.23ms 2018-07-09 16:37:55,667 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.44ms 2018-07-09 16:37:55,734 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.44ms 2018-07-09 16:37:55,769 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.14ms 2018-07-09 16:37:55,785 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.49ms 2018-07-09 16:37:55,863 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 23.29ms 2018-07-09 16:37:55,880 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.76ms 2018-07-09 16:37:55,895 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.19ms 2018-07-09 16:37:55,946 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.51ms 2018-07-09 16:37:55,996 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.33ms 2018-07-09 16:37:56,012 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.88ms 2018-07-09 16:37:56,045 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.91ms 2018-07-09 16:37:56,077 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.11ms 2018-07-09 16:37:56,094 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.16ms 2018-07-09 16:37:56,111 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.73ms 2018-07-09 16:37:56,177 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.70ms 2018-07-09 16:37:56,193 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.41ms 2018-07-09 16:37:56,244 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.01ms 2018-07-09 16:37:56,261 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.25ms 2018-07-09 16:37:56,313 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.25ms 2018-07-09 16:37:56,345 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.02ms 2018-07-09 16:37:56,378 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.88ms 2018-07-09 16:37:56,395 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.88ms 2018-07-09 16:37:56,446 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.55ms 2018-07-09 16:37:56,461 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.12ms 2018-07-09 16:37:56,513 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.38ms 2018-07-09 16:37:56,534 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 18.45ms 2018-07-09 16:37:56,566 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.80ms 2018-07-09 16:37:56,581 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.20ms 2018-07-09 16:37:56,615 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.47ms 2018-07-09 16:37:56,792 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.68ms 2018-07-09 16:37:56,809 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.81ms 2018-07-09 16:37:56,861 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.28ms 2018-07-09 16:37:56,877 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.17ms 2018-07-09 16:37:56,893 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.16ms 2018-07-09 16:37:56,983 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.39ms 2018-07-09 16:37:57,036 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.48ms 2018-07-09 16:37:57,068 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.58ms 2018-07-09 16:37:57,085 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.32ms 2018-07-09 16:37:57,117 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.87ms 2018-07-09 16:37:57,168 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.02ms 2018-07-09 16:37:57,184 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.02ms 2018-07-09 16:37:57,199 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.46ms 2018-07-09 16:37:57,233 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.43ms 2018-07-09 16:37:57,249 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.51ms 2018-07-09 16:37:57,324 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 18.61ms 2018-07-09 16:37:57,375 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.93ms 2018-07-09 16:37:57,407 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.49ms 2018-07-09 16:37:57,443 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.39ms 2018-07-09 16:37:57,475 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.92ms 2018-07-09 16:37:57,491 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.34ms 2018-07-09 16:37:57,542 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 14.65ms 2018-07-09 16:37:57,574 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.05ms 2018-07-09 16:37:57,608 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.73ms 2018-07-09 16:37:57,623 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.64ms 2018-07-09 16:37:57,676 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 12.68ms 2018-07-09 16:37:57,709 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.28ms 2018-07-09 16:37:57,742 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.45ms 2018-07-09 16:37:57,864 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Detecting serial port" 2018-07-09 16:37:57,949 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 15.13ms 2018-07-09 16:37:57,990 - tornado.access - WARNING - 409 GET /api/printer (127.0.0.1) 13.62ms 2018-07-09 16:37:58,009 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial port" to "Opening serial port" 2018-07-09 16:37:58,016 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial port" to "Detecting baudrate" 2018-07-09 16:37:58,038 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2018-07-09 16:37:58,249 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting baudrate" to "Operational" 2018-07-09 16:37:58,259 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2018-07-09 16:38:02,142 - octoprint.util.comm - INFO - Printer reports firmware name "Marlin V1; Sprinter/grbl mashup for gen6" 2018-07-09 16:38:34,886 - octoprint.util.comm - INFO - Changing monitoring state from "Operational" to "Printing" 2018-07-09 16:38:34,919 - octoprint.util.comm - INFO - M110 detected, setting current line number to 0 2018-07-09 16:41:54,616 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:41:54,621 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 18.82ms 2018-07-09 16:42:05,666 - octoprint.plugins.telegram - ERROR - Not saving token because it doesn't seem to have the right format. 2018-07-09 16:42:06,654 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:42:08,245 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:42:08,248 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 11.28ms 2018-07-09 16:42:08,580 - octoprint.plugins.telegram - DEBUG - Testing token 2018-07-09 16:42:13,480 - octoprint.plugins.telegram - DEBUG - Testing token ***ACTUAL API TOKEN WAS HERE*** 2018-07-09 16:42:14,153 - octoprint.plugins.telegram - DEBUG - getMe returned: {u'ok': True, u'result': {u'username': u'CephalopodBot', u'first_name': u'OctoPrint', u'is_bot': True, u'id': 526602342}} 2018-07-09 16:42:14,154 - octoprint.plugins.telegram - DEBUG - getMe status code: 200 2018-07-09 16:42:14,156 - octoprint.plugins.telegram - DEBUG - Starting listener. 2018-07-09 16:42:14,158 - octoprint.plugins.telegram.listener - DEBUG - Try first connect. 2018-07-09 16:42:16,560 - octoprint.plugins.telegram - DEBUG - getMe returned: {u'ok': True, u'result': {u'username': u'CephalopodBot', u'first_name': u'OctoPrint', u'is_bot': True, u'id': 526602342}} 2018-07-09 16:42:16,561 - octoprint.plugins.telegram - DEBUG - getMe status code: 200 2018-07-09 16:42:16,563 - octoprint.plugins.telegram.listener - DEBUG - Setting status: Connected as @CephalopodBot. 2018-07-09 16:42:16,565 - octoprint.plugins.telegram.listener - DEBUG - Listener is running. 2018-07-09 16:42:16,566 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 0... 2018-07-09 16:42:17,036 - octoprint.plugins.telegram.listener - DEBUG - Ignoring message because first_contact is True. 2018-07-09 16:42:17,042 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:42:17,053 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:42:18,093 - octoprint.plugins.telegram - DEBUG - Saving data: {u'token': u'***ACTUAL API TOKEN WAS HERE***'} 2018-07-09 16:42:19,016 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:42:21,087 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:42:21,090 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 12.74ms 2018-07-09 16:42:21,511 - octoprint.plugins.telegram - DEBUG - Testing token ***ACTUAL API TOKEN WAS HERE*** 2018-07-09 16:42:47,899 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:43:18,381 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:43:48,862 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:44:19,430 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:44:49,879 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:45:20,425 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:45:50,943 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:46:21,472 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:46:51,965 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:47:18,640 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:22,448 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:47:52,992 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:47:53,292 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:53,323 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:53,665 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:53,737 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:48:23,568 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:48:40,839 - octoprint.plugins.telegram - DEBUG - Testing token ***ACTUAL API TOKEN WAS HERE*** 2018-07-09 16:48:40,865 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:48:40,869 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 14.29ms 2018-07-09 16:48:54,304 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:49:24,931 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1...

AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:41:54,621 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 18.82ms 2018-07-09 16:42:05,666 - octoprint.plugins.telegram - ERROR - Not saving token because it doesn't seem to have the right format. 2018-07-09 16:42:06,654 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:42:08,245 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:42:08,248 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 11.28ms 2018-07-09 16:42:08,580 - octoprint.plugins.telegram - DEBUG - Testing token 2018-07-09 16:42:13,480 - octoprint.plugins.telegram - DEBUG - Testing token ***ACTUAL API TOKEN WAS HERE*** 2018-07-09 16:42:14,153 - octoprint.plugins.telegram - DEBUG - getMe returned: {u'ok': True, u'result': {u'username': u'CephalopodBot', u'first_name': u'OctoPrint', u'is_bot': True, u'id': 526602342}} 2018-07-09 16:42:14,154 - octoprint.plugins.telegram - DEBUG - getMe status code: 200 2018-07-09 16:42:14,156 - octoprint.plugins.telegram - DEBUG - Starting listener. 2018-07-09 16:42:14,158 - octoprint.plugins.telegram.listener - DEBUG - Try first connect. 2018-07-09 16:42:16,560 - octoprint.plugins.telegram - DEBUG - getMe returned: {u'ok': True, u'result': {u'username': u'CephalopodBot', u'first_name': u'OctoPrint', u'is_bot': True, u'id': 526602342}} 2018-07-09 16:42:16,561 - octoprint.plugins.telegram - DEBUG - getMe status code: 200 2018-07-09 16:42:16,563 - octoprint.plugins.telegram.listener - DEBUG - Setting status: Connected as @CephalopodBot. 2018-07-09 16:42:16,565 - octoprint.plugins.telegram.listener - DEBUG - Listener is running. 2018-07-09 16:42:16,566 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 0... 2018-07-09 16:42:17,036 - octoprint.plugins.telegram.listener - DEBUG - Ignoring message because first_contact is True. 2018-07-09 16:42:17,042 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:42:17,053 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:42:18,093 - octoprint.plugins.telegram - DEBUG - Saving data: {u'token': u'***ACTUAL API TOKEN WAS HERE***'} 2018-07-09 16:42:19,016 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:42:21,087 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:42:21,090 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 12.74ms 2018-07-09 16:42:21,511 - octoprint.plugins.telegram - DEBUG - Testing token ***ACTUAL API TOKEN WAS HERE*** 2018-07-09 16:42:47,899 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:43:18,381 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:43:48,862 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:44:19,430 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:44:49,879 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:45:20,425 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:45:50,943 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:46:21,472 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:46:51,965 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:47:18,640 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:22,448 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:47:52,992 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:47:53,292 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:53,323 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:53,665 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:47:53,737 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:48:23,568 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:48:40,839 - octoprint.plugins.telegram - DEBUG - Testing token ***ACTUAL API TOKEN WAS HERE*** 2018-07-09 16:48:40,865 - octoprint - ERROR - Exception on /api/plugin/telegram [GET] Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/home/pi/oprint/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/server/api/__init__.py", line 68, in pluginData response = api_plugin.on_api_get(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_telegram/__init__.py", line 858, in on_api_get 'bind_cmd':[k for k, v in self.tcmd.commandDict.iteritems() if 'bind_none' not in v ], AttributeError: 'NoneType' object has no attribute 'commandDict' 2018-07-09 16:48:40,869 - tornado.access - ERROR - 500 GET /api/plugin/telegram?bindings=true (127.0.0.1) 14.29ms 2018-07-09 16:48:54,304 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:49:24,931 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:49:55,461 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:50:26,070 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:50:56,590 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:51:27,128 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:52:07,681 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:52:18,605 - octoprint.util.connectivity_checker - INFO - Connectivity changed from offline to online 2018-07-09 16:52:18,614 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:52:18,734 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid 2018-07-09 16:52:19,594 - octoprint.plugins.pluginmanager - INFO - Loaded notice data from disk, was still valid 2018-07-09 16:52:21,418 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk 2018-07-09 16:52:21,453 - tornado.access - WARNING - 403 GET /plugin/softwareupdate/check (127.0.0.1) 16.41ms 2018-07-09 16:52:24,767 - octoprint.server.heartbeat - INFO - Server heartbeat <3 2018-07-09 16:52:38,636 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:53:09,162 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:53:39,788 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:54:10,296 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:54:40,938 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:55:11,525 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:55:42,091 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:56:12,652 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:56:34,787 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:56:34,799 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:56:34,994 - octoprint.plugins.telegram - DEBUG - Exception: 'NoneType' object has no attribute 'msgCmdDict' 2018-07-09 16:56:43,248 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:57:13,916 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1... 2018-07-09 16:57:44,565 - octoprint.plugins.telegram.listener - DEBUG - listener: sending request with offset 1...

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

6 participants