[orca-devel] traceback when debugging eclipse
- From: jose vilmar estacio de souza <vilmar informal com br>
- To: orca devel <orca-devel-list gnome org>
- Subject: [orca-devel] traceback when debugging eclipse
- Date: Fri, 18 Jun 2010 08:39:28 -0300
Hi all.
I am not sure if this the correct place to post this kind of error.
While debugging the script of eclipse I found a traceback call.
I think that it is not related to the new script.
vvvvv PROCESS OBJECT EVENT window:activate vvvvv
OBJECT EVENT: window:activate detail=(0,0,Debug
- teste/src/Ts2.java - Eclipse SDK )
app.name='Eclipse' name='Debug - teste/src/Ts2.java - Eclipse SDK '
role='frame' state='active enabled resizable sensitive showing visible'
relations=''
ACTIVE SCRIPT: Eclipse (module=orca.scripts.apps.Eclipse.script)
(reason=window:activate event)
Looking for settings at app-settings.Eclipse.py...
...found app-settings.Eclipse.py
LOCUS OF FOCUS: app='Eclipse' name='Debug - teste/src/Ts2.java - Eclipse
SDK ' role='frame'
event='window:activate'
generate braille for focused app.name='Eclipse' name='Debug -
teste/src/Ts2.java - Eclipse SDK ' role='frame' state='active enabled
resizable sensitive showing visible' relations='' (args={'formatType':
'focused', 'role': ROLE_FRAME, 'mode': 'braille', 'recursing': True})
using '(includeContext and (ancestors
+ (rowHeader and [Region(" " +
asString(rowHeader))]) + (columnHeader
and [Region(" " + asString(columnHeader))])
+ (radioButtonGroup and [Region(" " + asString(radioButtonGroup))])
+ [Region(" ")])
or []) + [Component(obj,
asString(((label + displayedText) or name) + value + roleName +
alertAndDialogCount))] + (nodeLevel and [Region(" " +
asString(nodeLevel))])'
includeContext=True
generate braille for focused app.name='Eclipse' name='Eclipse'
role='application' state='' relations='' (args={'formatType': 'focused',
'role': ROLE_APPLICATION, 'mode': 'braille', 'includeContext': False,
'recursing': True}) using '[Component(obj,
asString(label + displayedText + value + roleName + required))]'
label=[]
displayedText=['Eclipse']
---------> QUEUEING EVENT object:text-caret-moved
---------> QUEUEING EVENT object:text-changed:delete
---------> QUEUEING EVENT object:text-changed:insert
---------> QUEUEING EVENT object:text-caret-moved
---------> QUEUEING EVENT object:text-caret-moved
---------> QUEUEING EVENT object:text-changed:delete
---------> QUEUEING EVENT object:text-changed:insert
value=['']
roleName=['Application']
required=[]
generate braille results:
Component: 'Eclipse Application', 0
ancestors=[<orca.braille.Component instance at 0x33c6248>]
rowHeader=[]
columnHeader=[]
radioButtonGroup=[]
label=[]
displayedText=['Debug - teste/src/Ts2.java - Eclipse SDK ']
value=['']
roleName=['Frame']
Finding top-level object for source.name=Debug - teste/src/Ts2.java -
Eclipse SDK
alertAndDialogCount=[]
nodeLevel=[]
generate braille results:
Component: 'Eclipse Application', 0
Region: ' ', 0
Component: 'Debug - teste/src/Ts2.java - Eclipse SDK Frame', 0
BRAILLE LINE: 'Eclipse Application Debug - teste/src/Ts2.java - Eclipse
SDK Frame'
VISIBLE: 'Debug - teste/src/Ts2.java - Ecl', cursor=1
---------> QUEUEING EVENT focus:
generate speech for unfocused app.name='Eclipse' name='Debug -
teste/src/Ts2.java - Eclipse SDK ' role='frame' state='active enabled
resizable sensitive showing visible' relations='' (args={'recursing':
True, 'priorObj': None, 'role': ROLE_FRAME, 'mode': 'speech',
'formatType': 'unfocused'}) using 'newAncestors + newRowHeader +
newColumnHeader + newRadioButtonGroup + labelAndName + allTextSelection
+ roleName + unfocusedDialogCount + availability + newNodeLevel +
unselectedCell + (tutorial and (pause + tutorial) or [])'
newAncestors=[]
newRowHeader=[]
newColumnHeader=[]
newRadioButtonGroup=[]
labelAndName=['Debug - teste/src/Ts2.java - Eclipse SDK ']
allTextSelection=[]
roleName=['frame']
Finding top-level object for source.name=Debug - teste/src/Ts2.java -
Eclipse SDK
---------> QUEUEING EVENT object:state-changed:showing
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'
generate speech results:
^^^^^ PROCESS OBJECT EVENT window:activate ^^^^^
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]