Re: [orca-devel] traceback when debugging eclipse
- From: jose vilmar estacio de souza <vilmar informal com br>
- To: Joanmarie Diggs <joanmarie diggs gmail com>
- Cc: orca devel <orca-devel-list gnome org>
- Subject: Re: [orca-devel] traceback when debugging eclipse
- Date: Fri, 18 Jun 2010 11:15:56 -0300
Hi.
I have not found a way to reproduce the problem consistently.
It seems the problem only happens after the first run of the eclipse,
but I need to confirm.
While testing I found more messages, although I think that they are not
related directly with orca.
They were not present in the orca debug output, they were printed in the
console.
** (orca:4898): WARNING **: Trying to register gtype 'WnckWindowState'
as enum when in fact it is of type 'GFlags'
** (orca:4898): WARNING **: Trying to register gtype 'WnckWindowActions'
as enum when in fact it is of type 'GFlags'
** (orca:4898): WARNING **: Trying to register gtype
'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line
48, in apport_excepthook
if not enabled():
TypeError: 'NoneType' object is not callable
Original exception was:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/pyatspi/registry.py", line 218,
in notifyEvent
return self.registry.handleDeviceEvent(ev, self)
File "/usr/lib/python2.6/dist-packages/pyatspi/registry.py", line 604,
in handleDeviceEvent
traceback.print_exc()
TypeError: 'NoneType' object is not callable
In a future message I will report another problem that may have
something to do with this problem.
Thanks.
On 06/18/2010 09:22 AM, Joanmarie Diggs wrote:
> Hey again.
>
> Can you reliably make this problem occur? The reason I ask is that the
> call to child.getRole() is in a for loop which is iterating over each
> child in app. Therefore, child should not be None. So I can add a sanity
> check to make the traceback not appear, but I'd really like to know what
> child is (or in this case, what child was) and why it's gone away.
>
> I've opened https://bugzilla.gnome.org/show_bug.cgi?id=621985 for the
> issue.
>
> Thanks again!
> --joanie
>
>> Anyhoo, regarding this:
>>
>>> Traceback (most recent call last):
>>> File
>>> "/data/software/orca/dev/lib/python2.6/site-packages/orca/generator.py",
>>> line 248, in generate
>>> globalsDict[arg] = self._methodsDict[arg](obj, **args)
>>> File
>>> "/data/software/orca/dev/lib/python2.6/site-packages/orca/speech_generator.py",
>>> line 1168, in _generateUnfocusedDialogCount
>>> self._script.utilities.unfocusedAlertAndDialogCount(obj)
>>> File
>>> "/data/software/orca/dev/lib/python2.6/site-packages/orca/script_utilities.py",
>>> line 1441, in unfocusedAlertAndDialogCount
>>> if child.getRole() == pyatspi.ROLE_ALERT or \
>>> AttributeError: 'NoneType' object has no attribute 'getRole'
>>
>> Looks like we're simply missing a sanity check. I'll take a look.
>>
>> Thanks!
>> --joanie
>>
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]