You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using PyNcView for the first time and everything worked so far until I got to the properties window.
As soon as I scroll down or do something else, I get the following error message:
File "C:\Users\Julia\anaconda3\lib\site-packages\xmlstore\gui_qt4.py", line 910, in paint
editorclass.displayValue(self,painter,option,index)
File "C:\Users\Julia\anaconda3\lib\site-packages\xmlstore\gui_qt4.py", line 839, in displayValue
qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi)
File "C:\Users\Julia\anaconda3\lib\site-packages\xmlstore\gui_qt4.py", line 825, in getPixMap
qPixMap = cls.createPixMap(value,width,height,dpi)
File "C:\Users\Julia\anaconda3\lib\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: bytes, width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float'
QImage(data: PyQt5.sip.voidptr, width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float'
QImage(data: bytes, width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float'
QImage(data: 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
It appears independently of the coordinates and the sliced dimensions I am looking at of the GETM warner test case.
Now I found out I can ignore it and at some point it disappears, but still wanted to tell you.
The text was updated successfully, but these errors were encountered:
The same error message has just appeared for me, too, just after I've installed the latest versions of PyNcView and xmlplot. The error occurred on two different computers with different operating systems.
I still have an older installation of pyncview 0.99.34, where the error does not occur. The older version uses on my computer Qt: 5.12.8 and PyQt5: 5.14.1; my new installation uses Qt: 5.15.8 and PyQt5: 5.15.9.
Could you have a look at this, @jornbr?
Thanks a lot!
I am using PyNcView for the first time and everything worked so far until I got to the properties window.
As soon as I scroll down or do something else, I get the following error message:
File "C:\Users\Julia\anaconda3\lib\site-packages\xmlstore\gui_qt4.py", line 910, in paint
editorclass.displayValue(self,painter,option,index)
File "C:\Users\Julia\anaconda3\lib\site-packages\xmlstore\gui_qt4.py", line 839, in displayValue
qPixMap = cls.getPixMap(value,cls.width,cls.height,dpi)
File "C:\Users\Julia\anaconda3\lib\site-packages\xmlstore\gui_qt4.py", line 825, in getPixMap
qPixMap = cls.createPixMap(value,width,height,dpi)
File "C:\Users\Julia\anaconda3\lib\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: bytes, width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float'
QImage(data: PyQt5.sip.voidptr, width: int, height: int, format: QImage.Format): argument 2 has unexpected type 'float'
QImage(data: bytes, width: int, height: int, bytesPerLine: int, format: QImage.Format): argument 2 has unexpected type 'float'
QImage(data: 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
It appears independently of the coordinates and the sliced dimensions I am looking at of the GETM warner test case.
Now I found out I can ignore it and at some point it disappears, but still wanted to tell you.
The text was updated successfully, but these errors were encountered: