Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1214307

Bug#1082785: dogtail breaks liferea autopkgtest: AttributeError: 'NoneType' object has no attribute 'value'

From Paul Gevers <elbrus@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1082785: dogtail breaks liferea autopkgtest: AttributeError: 'NoneType' object has no attribute 'value'
Date 2024-09-26 10:40 +0200
Message-ID <JqScx-eVwt-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: dogtail, liferea
Control: found -1 dogtail/1.0.0-3
Control: found -1 liferea/1.15.7-1
Severity: serious
Tags: sid trixie
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

[Disclaimer: I'm the maintainer of liferea and wanted to package a new 
version, which failed salsa-ci. Judging from the stack trace this 
appears to me a bug in dogtail.]

With a recent upload of dogtail the autopkgtest of liferea fails in 
testing when that autopkgtest is run with the binary packages of dogtail 
from unstable. It passes when run with only packages from testing. In 
tabular form:

                        pass            fail
dogtail                from testing    1.0.0-3
liferea                from testing    1.15.7-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of dogtail to 
testing [1]. Due to the nature of this issue, I filed this bug report 
against both packages. Can you please investigate the situation and 
reassign the bug to the right package?

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=dogtail

https://ci.debian.net/data/autopkgtest/testing/amd64/l/liferea/52299434/log.gz

  78s Searching for child of [desktop frame | main]: 
'net.sourceforge.liferea' application (attempt 0)
  78s Pressing keys 'F11' into [application | net.sourceforge.liferea]
  78s Node is not focusable; trying key combo anyway
  78s Searching for descendant of [application | 
net.sourceforge.liferea]: child with name='Help Contents' (attempt 0)
  78s Clicking on [page tab | Help Contents]
  78s raw click on Help Contents [page tab | Help Contents] at (462.0,85.0)
  78s Mouse button 1 click at (462.0,85.0)
  78s Pressing keys '<Control>w' into [application | 
net.sourceforge.liferea]
  78s Node is not focusable; trying key combo anyway
  78s Pressing keys '<Control>w' into [application | 
net.sourceforge.liferea]
  78s Node is not focusable; trying key combo anyway
  78s Pressing keys '<Control>w' into [application | 
net.sourceforge.liferea]
  78s Node is not focusable; trying key combo anyway
  78s Searching for child of [desktop frame | main]: 
'net.sourceforge.liferea' application (attempt 0)
  78s Searching for descendant of [application | 
net.sourceforge.liferea]: child with name='Subscriptions' (attempt 0)
  78s Clicking on [menu | Subscriptions]
  78s Traceback (most recent call last):
  78s   File 
"/tmp/autopkgtest-lxc.u2_q61ww/downtmp/build.x5N/src/debian/tests/interact", 
line 170, in <module>
  78s     main()
  78s   File 
"/tmp/autopkgtest-lxc.u2_q61ww/downtmp/build.x5N/src/debian/tests/interact", 
line 164, in main
  78s     click('Subscriptions')
  78s   File "/usr/lib/python3/dist-packages/dogtail/procedural.py", 
line 451, in __call__
  78s     Click.node.click(button)
  78s   File "/usr/lib/python3/dist-packages/dogtail/tree.py", line 715, 
in click
  78s     clickX = self.position[0] + self.size[0] / 2
  78s              ^^^^^^^^^^^^^
  78s   File "/usr/lib/python3/dist-packages/dogtail/tree.py", line 588, 
in position
  78s     base_x, base_y = get_current_x_window_position()
  78s                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  78s   File "/usr/lib/python3/dist-packages/dogtail/utils.py", line 
507, in get_current_x_window_position
  78s     window_id = 
root.get_full_property(d.intern_atom('_NET_ACTIVE_WINDOW'), 
X.AnyPropertyType).value[0]
  78s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  78s AttributeError: 'NoneType' object has no attribute 'value'
  78s  78s Traceback (most recent call last):
  78s   File 
"/tmp/autopkgtest-lxc.u2_q61ww/downtmp/build.x5N/src/debian/tests/interact", 
line 170, in <module>
  78s     main()
  78s   File 
"/tmp/autopkgtest-lxc.u2_q61ww/downtmp/build.x5N/src/debian/tests/interact", 
line 83, in main
  78s     subprocess.check_call(
  78s   File "/usr/lib/python3.12/subprocess.py", line 413, in check_call
  78s     raise CalledProcessError(retcode, cmd)
  78s subprocess.CalledProcessError: Command '['xvfb-run', 
'--auto-servernum', 
'/tmp/autopkgtest-lxc.u2_q61ww/downtmp/build.x5N/src/debian/tests/interact']' 
returned non-zero exit status 1.
  78s /tmp/autopkgtest-lxc.u2_q61ww/downtmp/wrapper.sh: Killing leaked 
background processes: 7935  78s     PID TTY      STAT   TIME COMMAND
  78s    7935 ?        SLl    0:00 
/usr/lib/x86_64-linux-gnu/webkit2gtk-4.1/WebKitNetworkProcess 7 120 122
  78s autopkgtest [18:08:55]: test interact

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1082785: dogtail breaks liferea autopkgtest: AttributeError: 'NoneType' object has no attribute 'value' Paul Gevers <elbrus@debian.org> - 2024-09-26 10:40 +0200
  Bug#1082785: dogtail breaks liferea autopkgtest: AttributeError: 'NoneType' object has no attribute 'value' Samuel Thibault <sthibault@debian.org> - 2024-10-27 00:40 +0200

csiph-web