Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JohannesTimm opened this issue Jul 12, 2024 · 0 comments

Comments

@JohannesTimm
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant