Skip to content

1.3.7rc1 - frozendict update #6

Description

@Desterly

Before final release and the flood of issues come in, the 1.3.7rc has switched to utilizing a frozendict which causes issues with the ETA plugin:

2018-03-20 07:37:47,590 - octoprint.plugins.detailedprogress - INFO - Caught an exception 'frozendict' object does not support item assignment
Traceback:Traceback (most recent call last):
  File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_detailedprogress/__init__.py", line 45, in do_work
    currentData = self._sanitize_current_data(currentData)
  File "/home/pi/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint_detailedprogress/__init__.py", line 54, in _sanitize_current_data
    currentData["progress"]["printTimeLeft"] = currentData["job"]["estimatedPrintTime"]
TypeError: 'frozendict' object does not support item assignment

This is preventing updates from occurring and during a print status always shows "Stabilizing"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions