68Duck / PiDMX

Python dmx controller interface with Pyqt5 and raspberry pi
0 stars 0 forks source link

Error when rig "test" is opened #58

Closed 68Duck closed 2 years ago

68Duck commented 3 years ago

<class 'AttributeError'> 'RGB6Channel' object has no attribute 'lightInformation' <traceback object at 0x00E1AFE8> Traceback (most recent call last): File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\openRigWindow.py", line 58, in openButtonClicked self.openRig() File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\openRigWindow.py", line 95, in openRig self.displayOnWindow(self.newLight,xpos,ypos,lightType,startChannel) File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\openRigWindow.py", line 99, in displayOnWindow self.visualLightDisplay.createLightFromSavedRig(light,xpos,ypos,lightType,channel) File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\lightDisplayWindow.py", line 365, in createLightFromSavedRig self.newLight = DatabaseDisplayLight(xpos,ypos,channel,self.lightDisplay,self) File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\displayLightTypes.py", line 120, in init self.lightInformation = light.lightInformation AttributeError: 'RGB6Channel' object has no attribute 'lightInformation' <class 'AttributeError'> 'RGB6Channel' object has no attribute 'lightInformation' <traceback object at 0x00E1AD88> Traceback (most recent call last): File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\openRigWindow.py", line 58, in openButtonClicked self.openRig() File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\openRigWindow.py", line 95, in openRig self.displayOnWindow(self.newLight,xpos,ypos,lightType,startChannel) File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\openRigWindow.py", line 99, in displayOnWindow self.visualLightDisplay.createLightFromSavedRig(light,xpos,ypos,lightType,channel) File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\lightDisplayWindow.py", line 365, in createLightFromSavedRig self.newLight = DatabaseDisplayLight(xpos,ypos,channel,self.lightDisplay,self) File "C:\Users\Joshu\OneDrive\Documents\python new comp\dmxTest\PiDMX\PiDMX\displayLightTypes.py", line 120, in init self.lightInformation = light.lightInformation AttributeError: 'RGB6Channel' object has no attribute 'lightInformation'

68Duck commented 2 years ago

Only happens when swapping between rigs e.g. houseMusic to test?

68Duck commented 2 years ago

Issue fixed