Bug#859262: Re: freezes Orca screen reader

2017-05-03 Thread Alex ARNAUD

I am CC'ing the accessibility list hoping that they might have an
insight to what is happening.  I have quoted the original mail in full
below for their sake.


I'm not yet a Stretch user but the Orca developer has submitted a patch 
to fix this bug : take a look at 
.


Best regards.
--
Alex ARNAUD
Visual-Impairment Project Manager
Hypra - "Humanizing technology"



Bug#859262: Re: freezes Orca screen reader

2017-05-02 Thread Paul Gevers
Control: tags -1 pending
Control: owner -1

Hi all,

On 02-05-17 21:48, Joanmarie Diggs wrote:
> On 05/02/2017 03:26 PM, Paul Gevers wrote:
> 
>> @Joanmarie, did you get any feedback on the Orca list?
> 
> Nope. I take that to mean all is well.

If this bug doesn't receive negative feedback about my package, I'll try
to upload the fix to unstable tomorrow.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-05-02 Thread Joanmarie Diggs
On 05/02/2017 03:26 PM, Paul Gevers wrote:

> @Joanmarie, did you get any feedback on the Orca list?

Nope. I take that to mean all is well.
--joanie



Bug#859262: Re: freezes Orca screen reader

2017-05-02 Thread Paul Gevers
Hi all,

On 30-04-17 21:09, Joanmarie Diggs wrote:
> From your output I see you clicked on the Apply button in Synaptic, a
> bunch of events from DEAD accessible objects resulted, that Orca kept
> processing events, presented the window you Alt+Tabbed into, etc.
> 
> Having said that, if memory serves me, even before the changes I made,
> Orca kept processing events, and probably would have presented the
> window you Alt+Tabbed into. In other words, I don't know if, from the
> user's perspective, anything has changed. But it appears that I've done
> all I can do in Orca (i.e. handling the exceptions it's getting from
> AT-SPI2 as a result of querying Synaptic for information via AT-SPI2).

Just for the record, and I have no idea if it is relevant, but Synaptic
also makes the main Synaptic window and/or its menu items inaccessible
for the sighted people after pressing buttons. This is meant as feedback
that Synaptic is busy. Maybe this behavior has something to do with the
bug at hand (the one in AT-SPI2 I mean).

And I would still appreciate feedback on my package.

@Joanmarie, did you get any feedback on the Orca list?

Paul



signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-30 Thread Joanmarie Diggs
Thanks Paul.

>From your output I see you clicked on the Apply button in Synaptic, a
bunch of events from DEAD accessible objects resulted, that Orca kept
processing events, presented the window you Alt+Tabbed into, etc.

Having said that, if memory serves me, even before the changes I made,
Orca kept processing events, and probably would have presented the
window you Alt+Tabbed into. In other words, I don't know if, from the
user's perspective, anything has changed. But it appears that I've done
all I can do in Orca (i.e. handling the exceptions it's getting from
AT-SPI2 as a result of querying Synaptic for information via AT-SPI2).

--joanie


On 04/30/2017 02:38 PM, Paul Gevers wrote:
> Hi Joanmarie,
> 
> On Sat, 29 Apr 2017 11:51:28 -0400 Joanmarie Diggs 
> wrote:
>> I've asked on the Orca list for testing, and we have enough users that
>> use master and respond quite quickly to calls for testing, that we
>> should know soon enough.
> 
> As you have seen, I already created a Debian package with your commits
> included. Please find attached a debug log generated while running
> Synaptic with this new Orca package (3.22.2 based) and verify that it
> looks like intended now.
> 
> @all reading this bug, feedback is welcome.
> 
> Paul
> 
> P.S. I'll probably start working on getting Orca to produce sound on my
> laptop soon, so that I can actually test what I am doing ;)
> 



Bug#859262: Re: freezes Orca screen reader

2017-04-30 Thread Paul Gevers
Hi Joanmarie,

On Sat, 29 Apr 2017 11:51:28 -0400 Joanmarie Diggs 
wrote:
> I've asked on the Orca list for testing, and we have enough users that
> use master and respond quite quickly to calls for testing, that we
> should know soon enough.

As you have seen, I already created a Debian package with your commits
included. Please find attached a debug log generated while running
Synaptic with this new Orca package (3.22.2 based) and verify that it
looks like intended now.

@all reading this bug, feedback is welcome.

Paul

P.S. I'll probably start working on getting Orca to produce sound on my
laptop soon, so that I can actually test what I am doing ;)


debug-2017-04-30-20:20:31.out.xz
Description: application/xz


signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-29 Thread Mika Hanhijärvi

Hello




On 04/29/2017 09:42 PM, Paul Gevers wrote:

Hi Mika, Tim,

On 29-04-17 17:51, Joanmarie Diggs wrote:

And to prepare for fixes of the package in Debian (which is 3.22.2 and
will be extremely hard convince the release managers to update in this
stage due to the freeze), which fixes would we need to backport to fix
the issues identified so far?

commit ea02cc2d268348c22ffe8c23099f6b023d4c90a7
commit 382c5408afc7dd25f9b477a5e30c50ba917155c0
commit d51f87a7f000d099da98247dc7ca337b2b5483be
commit edbfafbd89409bfb1e4a4e3a9339c0b2de7435d6

I prepared and build¹ a Debian gnome-orca package with the above
mentioned upstream commits that should prevent Orca from freezing (or
appearing to do so). It would be great if you could install the deb²
(checksum below³) and report if it resolves your issues with Synaptic
(as my Orca installation isn't set-upped properly, I don't hear anything).

Paul

¹
http://debomatic-amd64.debian.net/distribution#testing/gnome-orca/3.22.2-3~debo1
²
http://debomatic-amd64.debian.net/debomatic/testing/pool/gnome-orca_3.22.2-3~debo1/gnome-orca_3.22.2-3~debo1_all.deb
³
paul@testavoira ~ $ sha256sum gnome-orca_3.22.2-3~debo1_all.deb
6d9c8bca6b211ac1570792dd66fde8a46cdf59a038b87a0d9bf16a43822e1887
gnome-orca_3.22.2-3~debo1_all.deb





Ok. I will try it now, thanks.



Bug#859262: Re: freezes Orca screen reader

2017-04-29 Thread Paul Gevers
Samuel,

On 29-04-17 17:51, Joanmarie Diggs wrote:
> I believe I've already said this, but I'll say it again: Getting to the
> bottom of the Synaptic and/or AT-SPI problem(s) should be done.

Do you think we should clone/open a bug for atspi? If so, what severity
level (assuming we can get orca in shape to behave in the current case)?
I would think the answer to the first question is yes, and to the second
question normal (at least < RC if we can fix Orca).

Do you think we should get Synaptic to behave better? I.e. file a bug
there? If so, do we (you?) understand the issue well enough to describe
it properly?

Paul



signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-29 Thread Paul Gevers
Hi Mika, Tim,

On 29-04-17 17:51, Joanmarie Diggs wrote:
>> And to prepare for fixes of the package in Debian (which is 3.22.2 and
>> will be extremely hard convince the release managers to update in this
>> stage due to the freeze), which fixes would we need to backport to fix
>> the issues identified so far?

> commit ea02cc2d268348c22ffe8c23099f6b023d4c90a7

> commit 382c5408afc7dd25f9b477a5e30c50ba917155c0

> commit d51f87a7f000d099da98247dc7ca337b2b5483be

> commit edbfafbd89409bfb1e4a4e3a9339c0b2de7435d6

I prepared and build¹ a Debian gnome-orca package with the above
mentioned upstream commits that should prevent Orca from freezing (or
appearing to do so). It would be great if you could install the deb²
(checksum below³) and report if it resolves your issues with Synaptic
(as my Orca installation isn't set-upped properly, I don't hear anything).

Paul

¹
http://debomatic-amd64.debian.net/distribution#testing/gnome-orca/3.22.2-3~debo1
²
http://debomatic-amd64.debian.net/debomatic/testing/pool/gnome-orca_3.22.2-3~debo1/gnome-orca_3.22.2-3~debo1_all.deb
³
paul@testavoira ~ $ sha256sum gnome-orca_3.22.2-3~debo1_all.deb
6d9c8bca6b211ac1570792dd66fde8a46cdf59a038b87a0d9bf16a43822e1887
gnome-orca_3.22.2-3~debo1_all.deb



signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-29 Thread Joanmarie Diggs
On 04/29/2017 10:55 AM, Paul Gevers wrote:

> And to prepare for fixes of the package in Debian (which is 3.22.2 and
> will be extremely hard convince the release managers to update in this
> stage due to the freeze), which fixes would we need to backport to fix
> the issues identified so far?

-
commit ea02cc2d268348c22ffe8c23099f6b023d4c90a7
Author: Joanmarie Diggs 
Date:   Sat Apr 29 11:38:17 2017 -0400

Handle yet another Atspi "The process appears to be hung" exception

commit 382c5408afc7dd25f9b477a5e30c50ba917155c0
Author: Joanmarie Diggs 
Date:   Sat Apr 29 11:28:17 2017 -0400

Add check for dead accessibles before attempting to generate
presentation

commit d51f87a7f000d099da98247dc7ca337b2b5483be
Author: Joanmarie Diggs 
Date:   Fri Apr 28 15:35:39 2017 -0400

Handle another Atspi "The process appears to be hung" exception

commit edbfafbd89409bfb1e4a4e3a9339c0b2de7435d6
Author: Joanmarie Diggs 
Date:   Thu Apr 27 06:35:11 2017 -0400

Return immediately in isLayoutOnly() if obj is dead
-

Note that 382c540 may need to be reverted. Hopefully not. But rather
than playing endless whac-a-mole with Atspi errors resulting from
whatever it is Synaptic is doing, I am sanity checking much earlier on
in the process. There is the possibility that doing so will cause other
badly-behaved apps to not be presented. :-/

I've asked on the Orca list for testing, and we have enough users that
use master and respond quite quickly to calls for testing, that we
should know soon enough.

I believe I've already said this, but I'll say it again: Getting to the
bottom of the Synaptic and/or AT-SPI problem(s) should be done.
(Something I'm afraid I don't have time for. Sorry!)

--joanie



Bug#859262: Re: freezes Orca screen reader

2017-04-29 Thread Paul Gevers
Hi Joanmarie,

On 28-04-17 21:46, Joanmarie Diggs wrote:
> Therefore, before you try to log other issues, would you mind pulling
> master or the gnome-3-24 branch so you have the latest?

I checked out the gnome-3-24 branch and tried to build¹ a Debian package
from that, that I could install. With that, I did again a run of
synaptic upgrade. Please find the attached debug log and hopefully it
contains more useful info.

And to prepare for fixes of the package in Debian (which is 3.22.2 and
will be extremely hard convince the release managers to update in this
stage due to the freeze), which fixes would we need to backport to fix
the issues identified so far?

Paul

¹
http://debomatic-amd64.debian.net/distribution#testing/gnome-orca/3.24.1~pre2-1


debug-2017-04-29-16:45:32.out.xz
Description: application/xz


signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-28 Thread Joanmarie Diggs
So I just handled the value-related "The process appears to be hung"
exception. I saw that you also had the name-related exception. But the
line number suggests to me that you don't have another change I made,
namely to return immediately in isLayoutOnly() if obj is dead. I'm not
positive, but I'm hopeful that check will prevent the name-related
exception. (And if not, I'd like to know that.)

Therefore, before you try to log other issues, would you mind pulling
master or the gnome-3-24 branch so you have the latest?

Thanks again!
--joanie

On 04/28/2017 03:08 PM, Paul Gevers wrote:
> Hi,
> 
> On 23-04-17 19:27, Paul Gevers wrote:
>> On 23-04-17 15:32, Joanmarie Diggs wrote:
>>> That segfault is an AT-SPI2 bug. And apparently an elusive one.
>>> https://bugzilla.gnome.org/show_bug.cgi?id=767074
>>
>> Just to get things straight, do you mean here that you do or that you
>> don't believe this segfault has anything to do with the current bug?
> 
> Pending an answer :)
> 
>> If not, I can try getting logs until I am not hit by this segfault AND
>> there is something more in the log than the already known issue.
> 
> Not sure if there is anything interesting in the log, but I have a new
> one where orca didn't crash. Does that help?
> 
> Paul
> 



Bug#859262: Re: freezes Orca screen reader

2017-04-28 Thread Joanmarie Diggs
It identifies an unhandled exception which I can handle. Again, that may
or may not magically make Orca present synaptic. Thanks for the log!
--joanie

On 04/28/2017 03:08 PM, Paul Gevers wrote:
> Hi,
> 
> On 23-04-17 19:27, Paul Gevers wrote:
>> On 23-04-17 15:32, Joanmarie Diggs wrote:
>>> That segfault is an AT-SPI2 bug. And apparently an elusive one.
>>> https://bugzilla.gnome.org/show_bug.cgi?id=767074
>>
>> Just to get things straight, do you mean here that you do or that you
>> don't believe this segfault has anything to do with the current bug?
> 
> Pending an answer :)
> 
>> If not, I can try getting logs until I am not hit by this segfault AND
>> there is something more in the log than the already known issue.
> 
> Not sure if there is anything interesting in the log, but I have a new
> one where orca didn't crash. Does that help?
> 
> Paul
> 



Bug#859262: Re: freezes Orca screen reader

2017-04-28 Thread Paul Gevers
Hi,

On 23-04-17 19:27, Paul Gevers wrote:
> On 23-04-17 15:32, Joanmarie Diggs wrote:
>> That segfault is an AT-SPI2 bug. And apparently an elusive one.
>> https://bugzilla.gnome.org/show_bug.cgi?id=767074
> 
> Just to get things straight, do you mean here that you do or that you
> don't believe this segfault has anything to do with the current bug?

Pending an answer :)

> If not, I can try getting logs until I am not hit by this segfault AND
> there is something more in the log than the already known issue.

Not sure if there is anything interesting in the log, but I have a new
one where orca didn't crash. Does that help?

Paul


debug-2017-04-28-20:43:12.out.xz
Description: application/xz


signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-23 Thread Paul Gevers
Hi Joanmarie,

On 23-04-17 15:32, Joanmarie Diggs wrote:
> That segfault is an AT-SPI2 bug. And apparently an elusive one.
> https://bugzilla.gnome.org/show_bug.cgi?id=767074

Just to get things straight, do you mean here that you do or that you
don't believe this segfault has anything to do with the current bug?

If not, I can try getting logs until I am not hit by this segfault AND
there is something more in the log than the already known issue.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-23 Thread Joanmarie Diggs
That segfault is an AT-SPI2 bug. And apparently an elusive one.
https://bugzilla.gnome.org/show_bug.cgi?id=767074

On 04/23/2017 04:46 AM, Paul Gevers wrote:
> Hi Joanmarie,
> 
> Yesterday, I send you a log while Synaptic had not much to do, because I
> ran it earlier the same day (so maybe the original issue wasn't there).
> Today I tried again, hoping that there were updates to apply, which
> there were. orca segfaulted on me. Please see the attached stack trace.
> Maybe it tells more than the one of yesterday.
> 
> paul@testavoira ~/tmp $ orca
> /usr/lib/python3/dist-packages/pyatspi/Accessibility.py:184: Warning:
> g_object_unref: assertion 'G_IS_OBJECT (object)' failed
>   Atspi.Event.host_application = property(fget=lambda x:
> x.source.get_application())
> Segmentation fault
> paul@testavoira ~/tmp $
> 
> For people normally running orca, would it get automatically restarted,
> such that it would appear to hang, will in reality it was restarting? Or
> is it more likely I experienced another bug, maybe related to debugging?
> Or maybe the behavior is slightly different between the Debian version
> and my (newer) version of orca.
> 
> Paul
> 



Bug#859262: Re: freezes Orca screen reader

2017-04-23 Thread Paul Gevers
Hi Joanmarie,

Yesterday, I send you a log while Synaptic had not much to do, because I
ran it earlier the same day (so maybe the original issue wasn't there).
Today I tried again, hoping that there were updates to apply, which
there were. orca segfaulted on me. Please see the attached stack trace.
Maybe it tells more than the one of yesterday.

paul@testavoira ~/tmp $ orca
/usr/lib/python3/dist-packages/pyatspi/Accessibility.py:184: Warning:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
  Atspi.Event.host_application = property(fget=lambda x:
x.source.get_application())
Segmentation fault
paul@testavoira ~/tmp $

For people normally running orca, would it get automatically restarted,
such that it would appear to hang, will in reality it was restarting? Or
is it more likely I experienced another bug, maybe related to debugging?
Or maybe the behavior is slightly different between the Debian version
and my (newer) version of orca.

Paul


debug-2017-04-23-10:33:17.out.xz
Description: application/xz


signature.asc
Description: OpenPGP digital signature


Bug#859262: Fwd: Re: Bug#859262: Re: freezes Orca screen reader

2017-04-22 Thread Joanmarie Diggs
Thanks! From a quick glance, Orca isn't frozen. Orca is still getting
and processing accessibility events even after that error. But it's
getting those events from defunct accessible objects, objects with
ROLE_INVALID, etc.

I'll take a longer look next week and handle the currently-unhandled
error. But the problem may persist. Orca cannot bring defunct/invalid
objects back from the dead; it can only try to gracefully step around
their bodies. Thus getting to the bottom of the Synaptic and/or AT-SPI2
issues needs to occur.

I'd be curious to know what happens if, when the Synaptic issue occurs,
you Alt+Tab into another accessible application. Does Orca present your
interactions with that app?

Thanks again!
--joanie

On 04/22/2017 03:25 PM, Paul Gevers wrote:
> Resending with Thunderbird mail.strictly_mime set to true, because your
> host refused my message. I hope this one reaches you. Reply-To set to
> the bug.
> 
> Paul
> 
> 
>  Forwarded Message ----
> Subject: Re: Bug#859262: Re: freezes Orca screen reader
> Date: Sat, 22 Apr 2017 21:07:08 +0200
> From: Paul Gevers <elb...@debian.org>
> To: Joanmarie Diggs <jdi...@igalia.com>, 859...@bugs.debian.org
> 
> Hi Joanmarie,
> 
> On 19-04-17 22:35, Joanmarie Diggs wrote:
>> Please send me a full debug.out, captured from Orca master or Orca
>> 3.24.x (i.e. current stable). Instructions here:
>> https://wiki.gnome.org/Projects/Orca/Debugging
> 
> I hope the attached log contains enough information for you to work it out.
> 
> Mind you, my Orca setup isn't speaking (as can be seen from the top of
> the log), but I think it captures the same error as reported in this bug
> already.
> 
> I created a Debian package for the 3.24 version which I build on
> debomatic¹ for this purpose.
> 
> Paul
> 
> ¹
> http://debomatic-amd64.debian.net/distribution#unstable/gnome-orca/3.24.0-1
> 



Bug#859262: Re: freezes Orca screen reader

2017-04-22 Thread Paul Gevers
Hi Joanmarie,

On 19-04-17 22:35, Joanmarie Diggs wrote:
> Please send me a full debug.out, captured from Orca master or Orca
> 3.24.x (i.e. current stable). Instructions here:
> https://wiki.gnome.org/Projects/Orca/Debugging

I hope the attached log contains enough information for you to work it out.

Mind you, my Orca setup isn't speaking (as can be seen from the top of
the log), but I think it captures the same error as reported in this bug
already.

I created a Debian package for the 3.24 version which I build on
debomatic¹ for this purpose.

Paul

¹
http://debomatic-amd64.debian.net/distribution#unstable/gnome-orca/3.24.0-1


debug-2017-04-22-20:54:19.out.xz
Description: application/xz


signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-19 Thread Joanmarie Diggs
On 04/19/2017 04:28 PM, Samuel Thibault wrote:
> Niels Thykier, on mer. 19 avril 2017 20:19:00 +, wrote:
>> Time to hunt for some dbus experts who can tell us why a process might
>> fail to respond to a ping.
> 
> Well, the application could simply be busy doing other stuff, like
> processing huge packages lists for synaptic.  And that's not a reason
> for Orca to freeze, for me that's the most important bug to fix: Orca
> shouldn't rely on applications behaving correctly.

Orca knows better than to do that. ;) There may be yet another bad
behavior that it's failing to handle.

Please send me a full debug.out, captured from Orca master or Orca
3.24.x (i.e. current stable). Instructions here:
https://wiki.gnome.org/Projects/Orca/Debugging

Thanks.
--joanie



Bug#859262: Re: freezes Orca screen reader

2017-04-19 Thread Samuel Thibault
Niels Thykier, on mer. 19 avril 2017 20:19:00 +, wrote:
> Time to hunt for some dbus experts who can tell us why a process might
> fail to respond to a ping.

Well, the application could simply be busy doing other stuff, like
processing huge packages lists for synaptic.  And that's not a reason
for Orca to freeze, for me that's the most important bug to fix: Orca
shouldn't rely on applications behaving correctly.

Samuel



Bug#859262: Re: freezes Orca screen reader

2017-04-19 Thread Niels Thykier
Paul Gevers:
> Hi
> 
> On 19-04-17 01:13, Niels Thykier wrote:
>> Reading the log file, we at least have one bug in Orca itself (a Python
>> "NameError").  I am not entirely sure whether this bug triggers the
>> "hung" process or the "hung" process triggers the "NameError".
> 
> Not sure if you (Niels) looked at the code, but when I look at it, that
> NameError is something that is not uncommon to happen as the whole
> exception handling is written exactly to handle that:
> https://sources.debian.net/src/gnome-orca/3.22.2-2/src/orca/generator.py/#L233
> 
> The "hung" happens in the exception handling (which in itself is also in
> a try/except block). To me (but I am not very good in Python and not at
> all familiar with Orca) it still looks like synaptic is doing something
> that in the end triggers a time out. I hope somebody with more Python
> and/or Orca knowledge can shine a light on this.
> 
> Paul
> 

Hi Paul,


I had a brief look at the code and:

 * You are right that the NameError is expected.  It appears to be some
   method for lazily loading/evaluating values.

 * The actual issue is the other stacktrace.

 * The exception appears to be thrown from accessing an attribute.  I am
   assuming that object/attribute is a reference to an GUI object in
   the synaptic process using a GLib/GTK protocol.

 * I have not seen that error before, but codesearch.d.n helpfully
   points us to [1].

 * From that, I found [2], which suggests atspi concludes synaptic to be
   hung because it does not respond to a dbus "ping" call to
   "org.freedesktop.DBus.Peer".  Not that it makes me any wiser as to
   why the problem occurs.

Time to hunt for some dbus experts who can tell us why a process might
fail to respond to a ping.

Thanks,
~Niels


[1]:
https://sources.debian.net/src/at-spi2-core/2.22.0-5/atspi/atspi-misc.c/?hl=1080#L1080

[2]:
https://sources.debian.net/src/at-spi2-core/2.22.0-5/atspi/atspi-misc.c/?hl=1080#L1028



Bug#859262: Re: freezes Orca screen reader

2017-04-19 Thread Paul Gevers
Hi

On 19-04-17 01:13, Niels Thykier wrote:
> Reading the log file, we at least have one bug in Orca itself (a Python
> "NameError").  I am not entirely sure whether this bug triggers the
> "hung" process or the "hung" process triggers the "NameError".

Not sure if you (Niels) looked at the code, but when I look at it, that
NameError is something that is not uncommon to happen as the whole
exception handling is written exactly to handle that:
https://sources.debian.net/src/gnome-orca/3.22.2-2/src/orca/generator.py/#L233

The "hung" happens in the exception handling (which in itself is also in
a try/except block). To me (but I am not very good in Python and not at
all familiar with Orca) it still looks like synaptic is doing something
that in the end triggers a time out. I hope somebody with more Python
and/or Orca knowledge can shine a light on this.

Paul



signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-18 Thread Niels Thykier
Control: reassign -1 gnome-orca
Control: affects -1 synaptic

Tim Retout:
> Hey,
> 
> I managed to reproduce this issue by:
> 
> 1) running orca and synaptic
> 2) clicking "Reload"
> 3) clicking "Mark all upgrades"
> 4) clicking "Apply" and proceeding to install ~12 packages.
> 
> Orca stopped speaking until synaptic was closed.
> 
> This only happened when upgrading via "Mark all upgrades"; I didn't
> seem to have the same problems when just installing a new package.
> 
> I'm attaching a log with various error messages that orca printed to
> the console; sorry I've not narrowed it down further yet!
> 
> Hope that helps,
> 

Thanks Tim, that is a very interesting log file.

Reading the log file, we at least have one bug in Orca itself (a Python
"NameError").  I am not entirely sure whether this bug triggers the
"hung" process or the "hung" process triggers the "NameError".

I am reassigning this bug to gnome-orca for now, so the maintainer of
orca can have a look at it.

@Orca maintainers: The Orca log shows:

"""
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/orca/generator.py", line 234, in
generate
result = eval(formatting, globalsDict)
  File "", line 1, in 
NameError: name 'ancestors' is not defined

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/orca/generator.py", line 245, in
generate
globalsDict[arg] = self._methodsDict[arg](obj, **args)
  File "/usr/lib/python3/dist-packages/orca/braille_generator.py", line
278, in _generateAncestors
and not self._script.utilities.isLayoutOnly(parent):
  File "/usr/lib/python3/dist-packages/orca/script_utilities.py", line
1203, in isLayoutOnly
elif obj.childCount == 1 and obj.name and obj.name == firstChild.name:
GLib.GError: atspi_error: The process appears to be hung. (1)

"""

Thanks,
~Niels



Bug#859262: Re: freezes Orca screen reader

2017-04-15 Thread Niels Thykier
Paul Gevers:
> Forwarding the request for information to the submitter directly, he may
> not be subscribed to this bug.
> 
> [...]
> 
> Paul
> 

Thanks for noticing I had missed that explicit CC.  :)

~Niels



Bug#859262: Re: freezes Orca screen reader

2017-04-15 Thread Paul Gevers
Forwarding the request for information to the submitter directly, he may
not be subscribed to this bug.

On 11-04-17 09:53, Niels Thykier wrote:
> On Tue, 04 Apr 2017 13:18:00 + Niels Thykier  wrote:
>> On Sat, 01 Apr 2017 13:54:17 +0300 Mika Hanhijärvi wrote:
>>> Package: synaptic
>>> Version: 0.84.2
>>> Severity: grave
>>>
>>
>>
>> Hi Mika,
>>
>> Sorry to hear that synaptic is causing you issues.
>>
>> I am CC'ing the accessibility list hoping that they might have an
>> insight to what is happening.  I have quoted the original mail in full
>> below for their sake.
>>
>> Thanks,
>> ~Niels
>>
>>
> 
> Hi Mika,
> 
> Would it be possible for you to take a screenshot of synaptic + orca
> when the problem occurs?  If we are lucky there might be an error
> message for us in it that orca is unable to read out loud.
> 
> Thanks,
> ~Niels

Paul



signature.asc
Description: OpenPGP digital signature


Bug#859262: Re: freezes Orca screen reader

2017-04-11 Thread Niels Thykier
On Tue, 04 Apr 2017 13:18:00 + Niels Thykier  wrote:
> On Sat, 01 Apr 2017 13:54:17 +0300 Mika Hanhijärvi wrote:
> > Package: synaptic
> > Version: 0.84.2
> > Severity: grave
> > 
> 
> 
> Hi Mika,
> 
> Sorry to hear that synaptic is causing you issues.
> 
> I am CC'ing the accessibility list hoping that they might have an
> insight to what is happening.  I have quoted the original mail in full
> below for their sake.
> 
> Thanks,
> ~Niels
> 
> 

Hi Mika,

Would it be possible for you to take a screenshot of synaptic + orca
when the problem occurs?  If we are lucky there might be an error
message for us in it that orca is unable to read out loud.

Thanks,
~Niels



Bug#859262: Re: freezes Orca screen reader

2017-04-04 Thread Niels Thykier
On Sat, 01 Apr 2017 13:54:17 +0300 Mika Hanhijärvi wrote:
> Package: synaptic
> Version: 0.84.2
> Severity: grave
> 


Hi Mika,

Sorry to hear that synaptic is causing you issues.

I am CC'ing the accessibility list hoping that they might have an
insight to what is happening.  I have quoted the original mail in full
below for their sake.

Thanks,
~Niels

(PS: Please CC me on replies if you need my attention.  I am not the
maintainer of synaptic)

On Sat, 01 Apr 2017 13:54:17 +0300 Mika Hanhijärvi wrote:
> Synaptic often freezes the Orca screen reader so that Orca speaks nothing 
> until
> Synaptic is closed. The same happens on both of my laptops running Debian
> Stretch.
> 
> I am blind so I have to use computer using Orca screen reader. It happens wery
> often that when I e.g click the Reload button in Synaptic, or select Reload
> from the Synaptic menu, then Orca screen reader stops speaking. Synapticdoes
> not freeze the whole desktop, just Orca.  This problem seems to happen
> randomly, sometimes it happens sometimes it does not. When Synaptic has
> finished reloading the package database information Orca may start speaking
> again, but often it does not. If it does not then I have to close the Synaptic
> by pressing alt + F4 after which Orca starts to speak again.
> 
> It also happens sometimes that if I have reloaded repository package database
> information and click Mark all updades after that then Orca stops speaking. On
> my second laptop it currently happens almost every time that Orca stops
> speaking when I click the Mark all updates or select it from the menu. Tkhat
> also seems to happen randomly, sometimes it happens sometimes not.
> 
> I have not noticed any problems like that when I have used other applications,
> this happns only when I am using Synaptic.
> 
> As I said I have two laptops running Debian Stretch and both have the same
> problems. Both laptops have been upgraded from Jessie to Stretch. The first
> laptop was almost clean Jessie installation before it was upgraded to Stretch,
> it still has wery little apps installed.
> 
> I am using Gnome desktop. I am blind so it is difficult for me to try to 
> figure
> out what is wrong. I I have used both espeak and espeak-ng speech synthetisers
> with Orca screen reader, the same problem exists notmatter which of those is 
> in
> use.
> 
> [...]