djfun / audio-visualizer-python

a little GUI tool to render visualization videos of audio files
Other
238 stars 57 forks source link

Color issue #64

Closed ExperiBass closed 2 years ago

ExperiBass commented 6 years ago

When I click the box by the text that says Visualizer:, AVP crashes with this message:

Traceback (most recent call last):
  File "main.py", line 172, in <lambda>
    window.pushButton_visColor.clicked.connect(lambda: self.pickColor('vis'))
  File "main.py", line 307, in pickColor
    color = QtGui.QColorDialog.getColor()
AttributeError: module 'PyQt5.QtGui' has no attribute 'QColorDialog'
Abort trap: 6
the7erm commented 2 years ago

I'm having the same issue.

tassaron commented 2 years ago

Ah, it seems they moved QColorDialog from QtGui into QtWidgets. The equivalent line of code in v2 of the application is here.

The project is no longer dormant and I am currently working on the stability of v2 so it can be merged into the main (master) branch. Sorry for letting you down! For what it's worth, I'm now making a firm commitment to this project. I'll respond to any future issues within 48 hours.