Bug#1078244: Fwd: testing/sid: upgrade atspi to version 2.53.1-1 break orca on my system

Samuel Thibault sthibault at debian.org
Thu Aug 8 22:02:05 BST 2024


Package: at-spi2-core
Version: 2.53.1-1
Severity: grave

----- Forwarded message from Jérémy Prego <jeremy-lists at jeremyp3.fr> -----

From: Jérémy Prego <jeremy-lists at jeremyp3.fr>
To: debian-accessibility at lists.debian.org
Subject: testing/sid: upgrade atspi to version 2.53.1-1 break orca on my system
Date: Thu, 8 Aug 2024 15:32:13 +0200

Hello,

I don't know if this is the right way to report my bug, but I discovered that
updating the atspi2 stack to version 2.53.1-1 prevents orca from starting with
a python error :

> $ orca
> Traceback (most recent call last):
>   File "/usr/bin/orca", line 50, in <module>
>     from orca import script_manager
>   File "/usr/lib/python3/dist-packages/orca/script_manager.py", line 42,
> in <module>
>     from .scripts import apps, default, sleepmode, toolkits
>   File "/usr/lib/python3/dist-packages/orca/scripts/default.py", line 47,
> in <module>
>     from orca import script
>   File "/usr/lib/python3/dist-packages/orca/script.py", line 49, in
> <module>
>     from . import braille_generator
>   File "/usr/lib/python3/dist-packages/orca/braille_generator.py", line
> 44, in <module>
>     from .braille_rolenames import shortRoleNames
>   File "/usr/lib/python3/dist-packages/orca/braille_rolenames.py", line
> 187, in <module>
>     Atspi.Role.PUSH_BUTTON: _("btn"),
>     ^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: type object 'Role' has no attribute 'PUSH_BUTTON'. Did you
> mean: 'SPIN_BUTTON'?
> jeremy at jerem-debian:~ $ orca --replace
> Traceback (most recent call last):
>   File "/usr/bin/orca", line 50, in <module>
>     from orca import script_manager
>   File "/usr/lib/python3/dist-packages/orca/script_manager.py", line 42,
> in <module>
>     from .scripts import apps, default, sleepmode, toolkits
>   File "/usr/lib/python3/dist-packages/orca/scripts/default.py", line 47,
> in <module>
>     from orca import script
>   File "/usr/lib/python3/dist-packages/orca/script.py", line 49, in
> <module>
>     from . import braille_generator
>   File "/usr/lib/python3/dist-packages/orca/braille_generator.py", line
> 44, in <module>
>     from .braille_rolenames import shortRoleNames
>   File "/usr/lib/python3/dist-packages/orca/braille_rolenames.py", line
> 187, in <module>
>     Atspi.Role.PUSH_BUTTON: _("btn"),
>     ^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: type object 'Role' has no attribute 'PUSH_BUTTON'. Did you
> mean: 'SPIN_BUTTON'?

I'm pasting below the list of packages I have to install for accessibility, I
hope I haven't forgotten any.

> ii  at-spi2-common              2.53.1-1 all          Assistive Technology
> Service Provider Interface (common files)
> ii  at-spi2-core                2.53.1-1     amd64 Assistive Technology
> Service Provider Interface (D-Bus core)
> ii  gir1.2-atk-1.0:amd64        2.53.1-1     amd64        ATK
> accessibility toolkit (GObject introspection)
> ii  gir1.2-atspi-2.0:amd64      2.53.1-1     amd64 Assistive Technology
> Service Provider (GObject introspection)
> ii  libatk-adaptor:amd64        2.53.1-1     amd64        AT-SPI 2 toolkit
> bridge
> ii  libatk-bridge2.0-0t64:amd64 2.53.1-1     amd64        AT-SPI 2 toolkit
> bridge - shared library
> ii  libatk1.0-0t64:amd64        2.53.1-1     amd64        ATK
> accessibility toolkit
> ii  libatspi2.0-0t64:amd64      2.53.1-1     amd64 Assistive Technology
> Service Provider Interface - shared library

downgrade from "gir1.2-atspi-2.0" to launch orca again



----- End forwarded message -----

-- 
Samuel
<y> ça gaze ?
<l> prout
 -+- #ens-mim - ouvrez les fenêtres ! -+-



More information about the Pkg-a11y-devel mailing list