Open ali-fairbrass opened 8 years ago
Happens occasionally. Shows error below:
AttributeError` Traceback (most recent call last) C:\Users\Imogen\Documents\GitHub\AudioTagger\AudioTagger\audiotagger.py in toggl eLabels(self) 1161 activeLabel = 0 1162 else: -> 1163 activeLabel = self.findNextLabelInTime(self.activeLabel) 1164 if activeLabel is None: 1165 activeLabel = 0 C:\Users\Imogen\Documents\GitHub\AudioTagger\AudioTagger\audiotagger.py in findN extLabelInTime(self, currentActiveLabel) 1144 1145 diff = self.getLabelTimeValue(labelRect) - \ -> 1146 self.getLabelTimeValue(self.labelRects[currentActive Label]) 1147 1148 if diff > 0: C:\Users\Imogen\Documents\GitHub\AudioTagger\AudioTagger\audiotagger.py in getLa belTimeValue(self, labelRect) 1132 1133 def getLabelTimeValue(self, labelRect): -> 1134 return labelRect.rect().x() 1135 1136 def findNextLabelInTime(self, currentActiveLabel): AttributeError: 'NoneType' object has no attribute 'rect'
Happens occasionally. Shows error below: