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


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

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

Started byPaul Gevers <elbrus@debian.org>
First post2024-09-26 10:40 +0200
Last post2024-10-27 00:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  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

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

FromPaul Gevers <elbrus@debian.org>
Date2024-09-26 10:40 +0200
SubjectBug#1082785: dogtail breaks liferea autopkgtest: AttributeError: 'NoneType' object has no attribute 'value'
Message-ID<JqScx-eVwt-11@gated-at.bofh.it>

[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

[toc] | [next] | [standalone]


#1218021

FromSamuel Thibault <sthibault@debian.org>
Date2024-10-27 00:40 +0200
Message-ID<JBXBT-4rbd-1@gated-at.bofh.it>
In reply to#1214307
Control: forwarded 1082785 https://gitlab.com/dogtail/dogtail/-/merge_requests/40
Control: tags 1082785 + pending

Hello,

Paul Gevers, le dim. 20 oct. 2024 15:46:07 +0200, a ecrit:
> On Thu, 26 Sep 2024 10:30:14 +0200 Paul Gevers <elbrus@debian.org> wrote:
> > Source: dogtail, liferea
> > Control: found -1 dogtail/1.0.0-3
> > Control: found -1 liferea/1.15.7-1
> 
> > 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:
> I have marked the autopkgtest in liferea as flaky until this bug is fixed in
> dogtail (or shown that it's not a bug in dogtail). Hence I reassign the bug
> exclusively to dogtail now.

It was indeed a bug in dogtail 1.0.0, submitted the fix upstream, and
will upload a fixed version 1.0.0-4.

Samuel

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web