daid / LegacyCura

Read this, it's important! NEW CURA DEVELOPMENT IS HAPPENING AT https://github.com/Ultimaker/Cura, this is the Cura 15.04 archive. Cura 2.1 and newer is on the Ultimaker github.
https://www.ultimaker.com/pages/our-software
586 stars 431 forks source link

Cura 14.10-RC3: Plugins #983

Open Salandora opened 9 years ago

Salandora commented 9 years ago

Hello,

Today I updated to the 14.10-RC3 version of Cura and noticed that when using any Plugin, no matter which one, the Slice won't end. After restarting with a terminal open I get the following output:

Exception in thread Thread-59:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/share/cura/Cura/util/sliceEngine.py", line 394, in _watchProcess
    pluginError = pluginInfo.runPostProcessingPlugins(self._result)
  File "/usr/share/cura/Cura/util/pluginInfo.py", line 134, in runPostProcessingPlugins
    data = gcode.read()
  File "/usr/share/cura/Cura/util/bigDataStorage.py", line 25, in read
    ret = self._active.read(size)
TypeError: an integer is required

Greetings Salandora

Salandora commented 9 years ago

Me again sorry,

a little fix I use now is in bigDataStorage.py line 25 from:

def read(self, size=None):

to:

def read(self, size=16384):

This at least let's me slice again.

MoonCactus commented 8 years ago

FYI I had the same issue with 14.10-RC4 on Kubuntu. and your fix works for me also (thanks)