Re: [orca-devel] traceback when debugging eclipse



Hey José.

> I am not sure if this the correct place to post this kind of error.

Heh. Me neither. <grins>  Actually, in this case either list is fine. To
a certain extent, I think we're all still in the process of defining
which list is for what.

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]