Orange Forum • View topic - Exception: QImage is a private method

Exception: QImage is a private method

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

Exception: QImage is a private method

Postby awalczak » Tue Jul 31, 2007 14:01

Observed on debian testing.
Python 2.4.
orange: orange-linux-snap-2007-07-31.tgz
python-qwt4 4.2.2-1

When I tried to add LinearProjection to canvas I have got the following:

Unhandled exception of type exceptions.AttributeError occured at 14:58:53:
File: in line 261
Function name: addWidget
Code: newwidget = orngCanvasItems.CanvasWidget(self.signalManager, self.canvas, self.canvasView, widget, self.canvasDlg.defaultPic, self.canvasDlg)
File: in line 287
Function name: __init__
Code: self.instance = eval(code)
File: in line 207
Function name: __init__
Code: self.activateLoadedSettings()
File: in line 216
Function name: activateLoadedSettings
Code: dlg = self.createColorDialog()
File: in line 476
Function name: createColorDialog
Code: c.setColorSchemas(self.colorSettings, self.selectedSchemaIndex)
File: in line 468
Function name: setColorSchemas
Code: self.paletteSelected()
File: in line 519
Function name: paletteSelected
Code: self.setCurrentState(schema)
File: in line 480
Function name: setCurrentState
Code: self.__dict__[name+"View"].setPalette1(palette)
File: in line 327
Function name: setPalette1
Code: image = QImage(bmp, dx, dy, 8, signedPalette(palette), 256, QImage.LittleEndian) # palette should be 32 bit, what is not so on some platforms (Mac) so we force it
Exception type: exceptions.AttributeError
Exception value: QImage is a private method

Return to Bugs