Cura: [master] Cura does not start due to missing "self" in MachineManager

Created on 21 Aug 2020  路  2Comments  路  Source: Ultimaker/Cura

Application
Tested on 6b8fe48ddd1195dd80850df48360dafbc59116bd of master.

Platform
Arch Linux x64

Printer
Occurs with default configuration ("Backup and Reset Configuration")

Reproduction steps

  1. Launch Cura

Actual results
Fatal error occurs during "Loading UI stage"

Log file

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/cura/Settings/MachineManager.py", line 628, in extruderPositionsWithNonActiveIntent
    global_container_stack = _application.getGlobalContainerStack()
NameError: name '_application' is not defined

Additional information
Recommended change:
https://github.com/Ultimaker/Cura/blob/6b8fe48ddd1195dd80850df48360dafbc59116bd/cura/Settings/MachineManager.py#L627-L628
Change _application.getGlobalContainerStack() to self._application.getGlobalContainerStack() as in the rest of the file

FixeSolved Bug

Most helpful comment

All 2 comments

Yeah, i made a stupid copy-paste mistake. Shame on me!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thopiekar picture thopiekar  路  3Comments

mnswamp1 picture mnswamp1  路  3Comments

konvoj picture konvoj  路  3Comments

dstulken picture dstulken  路  3Comments

wi1k1n picture wi1k1n  路  3Comments