BirthT / BeltPrinterSlicing

This is a plugin for using a belt printer with the latest Cura.
GNU Lesser General Public License v3.0
19 stars 11 forks source link

Crash in Cura 4.9 #3

Closed CircuitSetup closed 3 years ago

CircuitSetup commented 3 years ago

Getting this error in Cura 4.9:

Traceback (most recent call last):
  File "C:\Program Files\Ultimaker Cura 4.9.0\plugins\CuraEngineBackend\CuraEngineBackend.py", line 248, in forceSlice
    self.slice()
  File "C:\Users\John\AppData\Roaming\cura\4.9\plugins\BeltPrinterSlicing\CuraEngineBackendPatches.py", line 43, in slice
    active_build_plate = self._backend._application.getMultiBuildPlateModel().activeBuildPlate
AttributeError: 'CuraEngineBackend' object has no attribute '_application'
CircuitSetup commented 3 years ago

looks like self._application was changed to application in CuraEngineBackend.py

KobayashiRui commented 3 years ago

Thank you for the issue. I’m working on it. Please wait for a little while longer.

deftdawg commented 3 years ago

@CircuitSetup grab the version of CuraEngineBackend.py in my branch and drop it into your BeltPrinterSlicing plugins folder and you should be good to go.

Hopefully @KobayashiRui can do a release to include the fix soon. 😄

CircuitSetup commented 3 years ago

Thanks @deftdawg, this works for me! Thanks!

KobayashiRui commented 3 years ago

@deftdawg Thanks for the nice fix.