Skip to content

discord webhook stops working after Python 3 upgrade #128

Description

@sysop255
2021-12-06 20:06:10,042 - octoprint.plugins.Octoslack - DEBUG - Event: Connected, NotificationEnabled: True, CommandEnabled: False, OverrideNotificationEnabledCheck: False, LastProcessedKey: Connected, LastProcessedTime: 0, MinNotificationInterval: 0, Payload: {'port': 'VIRTUAL', 'baudrate': 115200}
2021-12-06 20:06:10,043 - octoprint.plugins.Octoslack - DEBUG - Updating Event last processed time: Connected, LastProcessedKey: Connected, NewLastProcessedTime: 1638839170.043059
2021-12-06 20:06:10,046 - octoprint.plugins.Octoslack - DEBUG - Printer data: {'state': {'text': 'Operational', 'flags': {'operational': True, 'printing': False, 'cancelling': False, 'pausing': False, 'resuming': False, 'finishing': False, 'closedOrError': False, 'error': False, 'paused': False, 'ready': True, 'sdReady': True}, 'error': ''}, 'job': {'file': {'name': None, 'path': None, 'display': None, 'origin': None, 'size': None, 'date': None}, 'estimatedPrintTime': None, 'averagePrintTime': None, 'lastPrintTime': None, 'filament': None, 'user': None}, 'currentZ': None, 'progress': {'completion': None, 'filepos': None, 'printTime': None, 'printTimeLeft': None, 'printTimeLeftOrigin': None}, 'offsets': {}, 'resends': {'count': 0, 'transmitted': 5, 'ratio': 0}}
2021-12-06 20:06:10,122 - octoprint.plugins.Octoslack - ERROR - Error processing event: Connected, Error: 'ValueError' object has no attribute 'message'
  File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint_Octoslack/__init__.py", line 1627, in process_slack_event
  File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint_Octoslack/__init__.py", line 1221, in handle_event
  File "/home/pi/OctoPrint/venv/lib/python3.7/site-packages/octoprint_Octoslack/__init__.py", line 1639, in process_slack_event
2021-12-06 20:06:10,159 - octoprint.plugin - DEBUG - Calling on_event on Octoslack
2021-12-06 20:06:10,412 - octoprint.plugin - DEBUG - Calling on_event on Octoslack

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions