Skip to content

unsupported operand type(s) for +: 'float' and 'NoneType' #43

@GregValiant

Description

@GregValiant

Hi Aldo.
This came up on one of the forums (Reddit?). I was not able to reproduce it then but it came up today on a "One at a Time" a project of my own.
"...\ZOffsetPlugin\ZOffsetPlugin.py", line 144, in _filterGcode
2024-07-18 20:07:00,446 - ERROR - [MainThread] UM.Qt.Bindings.OutputDeviceManagerProxy._writeToDevice [163]: adjusted_z = round(float(result.group(2)) + z_offset_value, 5)
2024-07-18 20:07:00,446 - ERROR - [MainThread] UM.Qt.Bindings.OutputDeviceManagerProxy._writeToDevice [163]: TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'

It was necessary to un-install the plugin so I could save the project file.
GL1000 Bar Clamp.zip

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