BoldingBruggeman / pyncview

PyNcView is a cross-platform NetCDF viewer written in Python. It provides an easy-to-use graphical user interface to the creation of animations and publication-quality figures.
GNU General Public License v2.0
18 stars 1 forks source link

Opening Settings menu/Figure Properties triggers error. Change of colomap doesn't work #15

Open JohannesTimm opened 3 months ago

JohannesTimm commented 3 months ago

Setup : Miniconda Setup from AMEMR Workshop System : Ubuntu 22.04.4

Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 882, in createEditor editor = createEditor(node,parent,self.properties) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 90, in createEditor editor = editorclass(parent,node,kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 109, in init xmlstore.gui_qt4.StringWithImageEditor.init(self,parent,node,items,**kwargs) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 808, in init self.setIconSize(QtCore.QSize(self.width,self.height)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QSize(): too many arguments QSize(w: int, h: int): argument 1 has unexpected type 'float' QSize(a0: QSize): argument 1 has unexpected type 'float' Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments Traceback (most recent call last): File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 910, in paint editorclass.displayValue(self,painter,option,index) File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 839, in displayValue qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlstore/gui_qt4.py", line 825, in getPixMap qPixMap = cls.createPixMap(value,width,height,dpi) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/johannes/miniconda3/envs/amemr/lib/python3.12/site-packages/xmlplot/gui_qt4.py", line 131, in createPixMap qImage = QtGui.QImage(stringBuffer, width, height, QtGui.QImage.Format_ARGB32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QImage(): too many arguments QImage(size: QSize, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(width: int, height: int, format: QImage.Format): argument 1 has unexpected type 'memoryview' QImage(data: typing.Optional[bytes], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[bytes], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(data: typing.Optional[PyQt5.sip.voidptr], width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float' QImage(xpm: List[str]): argument 1 has unexpected type 'memoryview' QImage(fileName: str, format: typing.Optional[str] = None): argument 1 has unexpected type 'memoryview' QImage(a0: QImage): argument 1 has unexpected type 'memoryview' QImage(variant: Any): too many arguments