Open paulgevers opened 3 months ago
I'm trying to reproduce it with the interact
script, but I run into the following issue:
[...]
sleeping for 0.500000
sleeping for 0.500000
sleeping for 0.500000
sleeping for 0.500000
sleeping for 0.500000
sleeping for 0.500000
sleeping for 0.500000
Translation not found for "View"
Warning: /home/lars/git/liferea/./interact:147: The requested widget could not be focused: child with name="View":
main()
Traceback (most recent call last):
File "/home/lars/git/liferea/./interact", line 147, in <module>
main()
File "/home/lars/git/liferea/./interact", line 102, in main
click('View')
File "/usr/lib/python3/dist-packages/dogtail/procedural.py", line 364, in __call__
Click.node.click(button)
^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'click'
Is this some locale effect?
Also I cannot reproduce it manually.
Sorry, yes, I had to work around some changes. Can you try with the latest version if you didn't use that already: https://salsa.debian.org/debian/liferea/-/blob/master/debian/tests/interact?ref_type=heads
Wait, in that script I work around the crash with the <Control>w
lines so comment those out. (line 158, 159 and 160)
Thanks, that helped me overcome it. Now I'm running into negative coordinates on "Fullscreen" and after "Contents". Do you know why those happen?
Clicking on [menu | Help]
raw click on Help [menu | Help] at (593.5,229.5)
Mouse button 1 click at (593.5,229.5)
searching for descendent of [menu | Help]: child with name="Contents" (attempt 0)
Clicking on [menu item | Contents]
raw click on Contents [menu item | Contents] at (-2147483647.5,-2147483647.5)
Traceback (most recent call last):
File "/home/lars/git/liferea/./interact", line 170, in <module>
main()
File "/home/lars/git/liferea/./interact", line 115, in main
click('Contents')
File "/usr/lib/python3/dist-packages/dogtail/procedural.py", line 364, in __call__
Click.node.click(button)
File "/usr/lib/python3/dist-packages/dogtail/tree.py", line 466, in click
rawinput.click(clickX, clickY, button)
File "/usr/lib/python3/dist-packages/dogtail/rawinput.py", line 38, in click
checkCoordinates(x, y)
File "/usr/lib/python3/dist-packages/dogtail/rawinput.py", line 30, in checkCoordinates
raise ValueError("Attempting to generate a mouse event at negative coordinates: (%s,%s)" % (x, y))
ValueError: Attempting to generate a mouse event at negative coordinates: (-2147483647.5,-2147483647.5)
Do you know why those happen?
No. What I noticed (but I assume you too) is that while the test is running you have to stop your work, as it's dogtail is really interacting with your environment and if you move focus and/or mouse position, things go wrong.
Since a while I have an
autopkgtest
1 added to the Debian build ofliferea
. Most likely due to commit 5bf126b the test broke and due to the time_t transition that's currently ongoing I ignored the failure for some days. Today I debugged a bit, got the test to start up again and was surprised it causes a segmentation fault. As I was happily using 1.15.5 for daily use, it had to be something non-default. I figured out I could crash my normal instance too, if I opened multiple tabs (in my case,FAQ
,Help Contents
andQuick Reference
) and then quitliferea
. See the stack trace below.I hope this report is useful, should be easy to reproduce.