[Bug] Applications seems to be crashing when trying to load image
It seems that application started crashing when loading images. I just installed application and started playing around a little and it seems that preview of picture stopped working and now application started crashing.
QSplitter::replaceWidget: Trying to replace a widget with itself QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it? Traceback (most recent call last): File "/opt/venvs/open-numismat/lib/python3.10/site-packages/OpenNumismat/ListView.py", line 1122, in paint image.loadFromData(obverse_data) TypeError: 'PySide6.QtGui.QImage.loadFromData' called with wrong argument types: PySide6.QtGui.QImage.loadFromData(str) Supported signatures: PySide6.QtGui.QImage.loadFromData(Union[PySide6.QtCore.QByteArray, bytes], Optional[bytes] = None) Opening in existing browser session. Segmentation fault (cuimhne dumpáilte)
Tried to build application from scratch on linux, and deb file was created, but running it doesn't even open application...
Ok. So I found the problem... I chaged by tree (on left side) to have just following structure: ROOT -> Country -> Year and this is when problem started happeing... When I added another level ROOT -> Country -> Year -> Type it started working again...
Maybe tree implementation needs to be checked.