Bug 1973397 - Orca does not start, either talk, in Fedora rawhide.
Summary: Orca does not start, either talk, in Fedora rawhide.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: orca
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F35BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2021-06-17 18:18 UTC by Francisco Tissera
Modified: 2021-09-18 20:27 UTC (History)
11 users (show)

Fixed In Version: orca-41~rc-2.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-16 23:54:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Francisco Tissera 2021-06-17 18:18:48 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Hello there,

After upgrading to fedora rawhide, I am encountering the following problem: orca does not start, or if it starts, it doesn't talk.
I have tried the following ways to enable orca:
- The keyboard shorcut, super alt S,
- alt f2, orca, enter,
- opening terminal, and typing orca.
All those ways didn't work.
I filed a bug against speech-dispatcher, but the maintainers of speechd have let me know that it's not a problem regarding speech-dispatcher.

Comment 1 Ben Cotton 2021-08-10 13:08:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 2 Geraldo Simião 2021-09-09 16:44:12 UTC
tested some new F35 iso (0831 and 0906) and orca really does not run.

Comment 3 Kalev Lember 2021-09-10 08:24:46 UTC
Looks like this is a regression from switch to Python 3.10 in F35. I've posted a MR upstream that should fix this: https://gitlab.gnome.org/GNOME/orca/-/merge_requests/118

Comment 4 Fedora Blocker Bugs Application 2021-09-10 13:29:05 UTC
Proposed as a Freeze Exception for 35-beta by Fedora user bcotton using the blocker tracking app because:

 This bugfix represents an accessibility enhancement that cannot be fixed on upgrade (because it is needed on the installer)

Comment 5 Kalev Lember 2021-09-10 13:44:24 UTC
Should be hopefully fixed in orca-41~rc-2.fc35 (I don't have sound in my VM so not 100% sure, but the python traceback is gone at least)

Comment 6 Fedora Update System 2021-09-10 13:45:53 UTC
FEDORA-2021-c104728b9a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c104728b9a

Comment 7 Fedora Update System 2021-09-10 13:46:10 UTC
FEDORA-2021-c104728b9a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c104728b9a

Comment 8 Geraldo Simião 2021-09-10 15:08:07 UTC
Updated the F35work image today and tried to run again orca, but still dont work.
package version: orca-41~rc-1.fc35.noarch


the command journalctl -f returned this:

set 10 12:02:58 f35-workstation systemd[1330]: Started Application launched by gnome-shell.
set 10 12:02:58 f35-workstation systemd[1330]: Started Application launched by gnome-shell.
set 10 12:03:10 f35-workstation systemd[1330]: Started Application launched by gnome-session-binary.
set 10 12:03:10 f35-workstation systemd[1330]: Started Application launched by gnome-session-binary.
set 10 12:03:10 f35-workstation systemd[1330]: Started Application launched by gnome-session-binary.
set 10 12:03:10 f35-workstation systemd[1330]: Started Application launched by gnome-session-binary.
set 10 12:03:11 f35-workstation python3[3132]: detected unhandled Python exception in 'orca'
set 10 12:03:11 f35-workstation systemd[1]: Started dbus-:1.15-org.freedesktop.problems.
set 10 12:03:11 f35-workstation audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dbus-:1.15-org.freedesktop.problems@1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]: Traceback (most recent call last):
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/bin/orca", line 283, in <module>
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     sys.exit(main())
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/bin/orca", line 280, in main
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     return orca.main()
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/orca.py", line 818, in main
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     init(pyatspi.Registry)
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/orca.py", line 613, in init
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     loadUserSettings()
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/orca.py", line 428, in loadUserSettings
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     script = _scriptManager.getDefaultScript()
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/script_manager.py", line 216, in getDefaultScript
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     script = default.Script(app)
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/scripts/default.py", line 91, in __init__
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     script.Script.__init__(self, app)
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/script.py", line 112, in __init__
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     self.brailleGenerator = self.getBrailleGenerator()
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/script.py", line 171, in getBrailleGenerator
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     return braille_generator.BrailleGenerator(self)
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/braille_generator.py", line 64, in __init__
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     generator.Generator.__init__(self, script, "braille")
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/generator.py", line 81, in __init__
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     [z for z in [getattr(self, y).__get__(self, self.__class__) for y in [x for x in dir(self) if x.startswith(METHOD_PREFIX)]] if isinstance(z, collections.Callable)]:
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:   File "/usr/lib/python3.10/site-packages/orca/generator.py", line 81, in <listcomp>
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]:     [z for z in [getattr(self, y).__get__(self, self.__class__) for y in [x for x in dir(self) if x.startswith(METHOD_PREFIX)]] if isinstance(z, collections.Callable)]:
set 10 12:03:11 f35-workstation orca-autostart.desktop[3132]: AttributeError: module 'collections' has no attribute 'Callable'
set 10 12:03:16 f35-workstation systemd[1330]: app-gnome-gnome\x2dcontrol\x2dcenter-3077.scope: Consumed 2.526s CPU time.

Comment 9 Geraldo Simião 2021-09-10 15:20:27 UTC
After updating orca to the new version (orca-41~rc-2.fc35.noarch) it still doesn't talk, but at least the log changed:

set 10 12:16:58 f35-workstation systemd[1328]: Started Application launched by gnome-shell.
set 10 12:16:58 f35-workstation systemd[1328]: Started Application launched by gnome-shell.
set 10 12:16:59 f35-workstation systemd[1328]: Starting Accessibility services bus...
set 10 12:16:59 f35-workstation systemd[1328]: Started Accessibility services bus.
set 10 12:16:59 f35-workstation at-spi-bus-launcher[2375]: Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +15: Eavesdropping is deprecated and ignored
set 10 12:16:59 f35-workstation at-spi-bus-launcher[2375]: Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +17: Eavesdropping is deprecated and ignored
set 10 12:16:59 f35-workstation dbus-broker-lau[2375]: Ready
set 10 12:16:59 f35-workstation systemd[1328]: Started dbus-:1.104-org.a11y.atspi.Registry.
set 10 12:16:59 f35-workstation at-spi2-registryd[2410]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
set 10 12:17:08 f35-workstation systemd[1328]: Started Application launched by gnome-session-binary.
set 10 12:17:08 f35-workstation systemd[1328]: Started Application launched by gnome-session-binary.
set 10 12:17:08 f35-workstation systemd[1328]: Started Application launched by gnome-session-binary.
set 10 12:17:08 f35-workstation systemd[1328]: Started Application launched by gnome-session-binary.
set 10 12:17:09 f35-workstation orca-autostart.desktop[2462]: Warning:          Could not load keyboard geometry for :0
set 10 12:17:09 f35-workstation orca-autostart.desktop[2462]:                   BadName (named color or font does not exist)
set 10 12:17:09 f35-workstation orca-autostart.desktop[2462]:                   Resulting keymap file will not describe geometry
set 10 12:17:21 f35-workstation systemd[1328]: app-gnome-gnome\x2dcontrol\x2dcenter-2362.scope: Consumed 2.583s CPU time.
set 10 12:17:40 f35-workstation systemd[1328]: Started VTE child process 2474 launched by gnome-terminal-server process 2178.
set 10 12:18:50 f35-workstation chronyd[745]: Selected source 200.160.7.186 (2.fedora.pool.ntp.org)

Comment 10 Fedora Update System 2021-09-10 22:11:34 UTC
FEDORA-2021-c104728b9a has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c104728b9a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c104728b9a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Adam Williamson 2021-09-10 22:55:03 UTC
+3 in https://pagure.io/fedora-qa/blocker-review/issue/441 , marking accepted.

Comment 12 Kalev Lember 2021-09-13 13:22:20 UTC
(In reply to Geraldo Simião from comment #9)
> After updating orca to the new version (orca-41~rc-2.fc35.noarch) it still
> doesn't talk, but at least the log changed:

OK, so that should mean that the python 3.10 compatibility issue is fixed, but something else is still not working right. Can you try if it works any better in the X11 session?

Comment 13 Geraldo Simião 2021-09-13 20:04:54 UTC
(In reply to Kalev Lember from comment #12)
> (In reply to Geraldo Simião from comment #9)
> > After updating orca to the new version (orca-41~rc-2.fc35.noarch) it still
> > doesn't talk, but at least the log changed:
> 
> OK, so that should mean that the python 3.10 compatibility issue is fixed,
> but something else is still not working right. Can you try if it works any
> better in the X11 session?

no, on X11 not working either.
tried to start and then stop orca, this is the journalctl -f output:

set 13 17:02:40 fedora systemd[1384]: Started Application launched by gnome-session-binary.
set 13 17:02:41 fedora chronyd[741]: Selected source 45.11.105.253 (2.fedora.pool.ntp.org)
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: atk_state_set_contains_state: assertion 'ATK_IS_STATE_SET (set)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: gtk_container_forall: assertion 'GTK_IS_CONTAINER (container)' failed
set 13 17:02:42 fedora gnome-control-c[2708]: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
set 13 17:03:04 fedora orca-autostart.desktop[2777]: 17:03:04.768979 - EVENT MANAGER: No focus
set 13 17:03:05 fedora orca-autostart.desktop[2777]: 17:03:05.124136 - EVENT MANAGER: Attempted dequeue, but the event queue is empty
set 13 17:03:08 fedora gnome-session[1550]: gnome-session-binary[1550]: WARNING: Not able to stop app from its condition: Not running
set 13 17:03:08 fedora gnome-session-binary[1550]: WARNING: Not able to stop app from its condition: Not running
set 13 17:03:10 fedora systemd[1384]: app-gnome-gnome\x2dcontrol\x2dcenter-2708.scope: Consumed 3.218s CPU time.

Comment 14 Kalev Lember 2021-09-13 20:37:37 UTC
Ah hm. I am out of ideas what's going on here.

Comment 15 Kalev Lember 2021-09-13 21:08:31 UTC
Can you test if speech-dispatcher is working? I suspect that orca is working fine, but speech-dispatcher that orca uses is failing to speak.

dnf install /usr/bin/spd-say
spd-say hello

Comment 16 Fedora Update System 2021-09-14 18:59:33 UTC
FEDORA-2021-c104728b9a has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c104728b9a

Comment 17 Fedora Update System 2021-09-16 17:00:16 UTC
FEDORA-2021-c104728b9a has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c104728b9a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c104728b9a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Adam Williamson 2021-09-16 17:20:36 UTC
With all latest F35 updates - including all the GNOME 41 rc1 updates - orca does seem to work for me.

Comment 19 Fedora Update System 2021-09-16 23:54:59 UTC
FEDORA-2021-c104728b9a has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Geraldo Simião 2021-09-17 12:16:10 UTC
I must be missing something, because it still doesn't work for me.
Will try a different approach now and see what happens...

Comment 21 Kalev Lember 2021-09-17 12:58:56 UTC
I suspect you have something else going on that's no longer an orca issue. Can you get _any_ sound at all? If yes, can you try the spd-say command from above to attempt to narrow the issue down a bit?

Comment 22 Geraldo Simião 2021-09-17 17:29:49 UTC
(In reply to Kalev Lember from comment #21)
> I suspect you have something else going on that's no longer an orca issue.
> Can you get _any_ sound at all? If yes, can you try the spd-say command from
> above to attempt to narrow the issue down a bit?

I can see and hear YT videos, can access online radios and the sound is great. 
I did the commands: dnf install /usr/bin/spd-say
and then: spd-say hello
but hear no hello.

Comment 23 Geraldo Simião 2021-09-17 19:07:06 UTC
IT WORKED NOW Gentlemans!
I tested in real hardware an live-session from this image: Fedora-Workstation-Live-x86_64-35-20210917.n.0 and orca said all just fine.
Then a changed the language support to pt-BR and do login again and it worked fine too.

Strange that with this same image, doing the same on a VM (kvm/qemu/virt-manager UEFI) it doesn't work (but with F34, F33 and F32, all worked fine at the same VM configs.)

Well. thanks. :D

Comment 24 Kalev Lember 2021-09-18 20:27:00 UTC
Ah, awesome that you got it working!

I am not sure what's going on in the VM, but it looks like it could be an issue with speech-dispatcher since you say that spd-say doesn't speak. (spd-say is a test program for speech-dispatcher, which is a component that orca uses to output speech.) If you want to investigate it further, maybe file a ticket against speech-dispatcher?

Anyway, glad you got it working on real hardware!


Note You need to log in before you can comment on or make changes to this bug.