Hi, I can confirm this bug on current Debian Sid, Python 3.10 and python3-wxgtk4.0 4.0.7.
Am 04.06.22 um 10:24 schrieb PhotoFilmStrip: > As a quick fix you might edit the file > "/home/gravis/pfs/photofilmstrip/gui/ImageSectionEditor.py" on line 675. > Change the line: > img = self._wxImg.Scale(width, height) > to > img = self._wxImg.Scale(int(round(width)), int(round(height))) I tried that fix, it solves that issue but then another one pops up: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/photofilmstrip/gui/PnlPfsProject.py", line 501, in OnLvPicsSelectionChanged self._OnPicsSelectionChanged(selItems, selPics) File "/usr/lib/python3/dist-packages/photofilmstrip/gui/PnlSlideshow.py", line 127, in _OnPicsSelectionChanged self.bitmapLeft.SetSection(wx.Rect(*selPics[0].GetStartRect())) TypeError: Rect(): arguments did not match any overloaded call: overload 1: too many arguments overload 2: argument 2 has unexpected type 'float' overload 3: argument 1 has unexpected type 'int' overload 4: argument 1 has unexpected type 'int' overload 5: argument 1 has unexpected type 'int' overload 6: argument 1 has unexpected type 'int' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/photofilmstrip/gui/ImageSectionEditor.py", line 221, in OnPaint self.__DrawSection(dc) File "/usr/lib/python3/dist-packages/photofilmstrip/gui/ImageSectionEditor.py", line 150, in __DrawSection sectRect = self.__SectRectToClientRect() File "/usr/lib/python3/dist-packages/photofilmstrip/gui/ImageSectionEditor.py", line 140, in __SectRectToClientRect sectRect = wx.Rect(left + (self._sectRect.GetLeft() * self._zoom), TypeError: Rect(): arguments did not match any overloaded call: overload 1: too many arguments overload 2: argument 1 has unexpected type 'float' overload 3: argument 1 has unexpected type 'float' overload 4: argument 1 has unexpected type 'float' overload 5: argument 1 has unexpected type 'float' overload 6: argument 1 has unexpected type 'float' > I have a look at the issue myself and try to publish a fix. Please ping me when that's done. Best wishes -- .''`. Philipp Huebner <debala...@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F `. `'` `-
OpenPGP_signature
Description: OpenPGP digital signature