Bug#1023920: asymptote-x11: xasy crashed when clicking on the grid button
Package: asymptote-x11
Version: 2.83+ds-1
Severity: important
X-Debbugs-Cc: none, Jean-Philippe Georget <debian@jpgeorget.net>
Dear Maintainer,
When I launch xasy without any argument and click on the "Toggle grid" button, xasy crashed instantly.
Then I obtain the following message:
Traceback (most recent call last):
File "/usr/share/asymptote/GUI/Window1.py", line 2233, in btnDrawGridOnClick
self.quickUpdate()
File "/usr/share/asymptote/GUI/Window1.py", line 1868, in quickUpdate
self.preDraw(self.mainCanvas) # coordinates/background
File "/usr/share/asymptote/GUI/Window1.py", line 2026, in preDraw
self.drawCartesianGrid(painter)
File "/usr/share/asymptote/GUI/Window1.py", line 1953, in drawCartesianGrid
preCanvas.drawLine(Qc.QLine(xCoord, -9999, xCoord, 9999))
TypeError: arguments did not match any overloaded call:
QLine(): too many arguments
QLine(QPoint, QPoint): argument 1 has unexpected type 'numpy.float64'
QLine(int, int, int, int): argument 1 has unexpected type 'numpy.float64'
QLine(QLine): argument 1 has unexpected type 'numpy.float64'
Abandon
What can I do to use this useful function?
Thank you
JP
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages asymptote-x11 depends on:
ii asymptote 2.83+ds-1+b1
ii librsvg2-bin 2.54.5+dfsg-1
ii python3 3.10.6-1
ii python3-cson 0.8-1+b3
ii python3-numpy 1:1.21.5-1+b1
ii python3-pyqt5 5.15.7+dfsg-2
ii python3-pyqt5.qtsvg 5.15.7+dfsg-2
asymptote-x11 recommends no packages.
Versions of packages asymptote-x11 suggests:
ii atril [pdf-viewer] 1.26.0-2
ii gv [pdf-viewer] 1:3.7.4-2+b1
ii mupdf [pdf-viewer] 1.20.3+ds1-1+b1
ii okular [pdf-viewer] 4:22.04.3-1
ii qpdfview [pdf-viewer] 0.4.18+ds-9
ii xpdf [pdf-viewer] 3.04+git20220601-1+b1
ii zathura-pdf-poppler [pdf-viewer] 0.3.0-1
-- no debconf information
Reply to: