[orca-list] traceback while debugging eclipse script



Hi all.
I found the following traceback messages while debugging the script of
eclipse.

Traceback (most recent call last):
  File
"/data/software/orca/dev/lib/python2.6/site-packages/orca/generator.py",
line 234, in generate
    result = eval(format, globalsDict)
  File "<string>", line 1, in <module>
  File
"/data/software/orca/dev/lib/python2.6/site-packages/orca/braille.py",
line 497, in __init__
    Region.__init__(self, string, cursorOffset, expandOnCursor)
  File
"/data/software/orca/dev/lib/python2.6/site-packages/orca/braille.py",
line 356, in __init__
    self.rawLine = string.decode("UTF-8").strip("\n")
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x88 in position 0:
unexpected code byte

generate braille results:




ancestors=[<orca.braille.Component instance at 0x1b8e680>,
<orca.braille.Region instance at 0x1b8e7a0>, <orca.braille.Component
instance at 0x1b8e6c8>, <orca.braille.Region instance at 0x1aed830>,
<orca.braille.Component instance at 0x1b8e170>, <orca.braille.Region
instance at 0x1aed6c8>, <orca.braille.Component instance at 0x1b85f80>]
rowHeader=[]
columnHeader=[]
radioButtonGroup=[]



generate braille for focused app.name='ˆ' name='None' role='table cell'
state='active enabled focusable focused selectable selected sensitive
showing transient visible' relations='node child of'
(args={'readingRow': True, 'formatType': 'focused', 'role':
'REAL_ROLE_TABLE_CELL', 'mode': 'braille', 'recursing': True}) using
'(tableCell2ChildToggle + tableCell2ChildLabel)
 or (cellCheckedState                              +
(columnHeaderIfToggleAndNoText and [Region(" "), Component(obj,
asString(columnHeaderIfToggleAndNoText))])
+ ((realActiveDescendantDisplayedText and [Component(obj,
asString(realActiveDescendantDisplayedText))])
       or (imageDescription and [Region(" "), Component(obj,
asString(imageDescription))]))                              +
(realActiveDescendantRoleName and [Component(obj,
(realActiveDescendantDisplayedText and " " or "") +
asString(realActiveDescendantRoleName))])                              +
(expandableState and [Region(" " + asString(expandableState))])
                     + (required and [Region(" " +
asString(required))]))                          or ([Component(obj,"")])'
tableCell2ChildToggle=[]
tableCell2ChildLabel=[]
cellCheckedState=[]
columnHeaderIfToggleAndNoText=[]
realActiveDescendantDisplayedText=['Syntax error on token "ppublic",
public expected']
realActiveDescendantRoleName=[]
expandableState=[]
required=[]
generate braille results:
  Component: 'Syntax error on token "ppublic", public expected', 0




tableCellRow=[<orca.braille.Component instance at 0x1b8e8c0>]
nodeLevel 1
nodeLevel 2
nodeLevel=['TREE LEVEL 2']
generate braille results:
  Component: 'Java - teste/src/Ts2.java - Eclipse SDK  Frame', 0
  Region: ' ', 0
  Component: 'ScrollPane', 0
  Region: ' ', 0
  Component: 'ScrollPane', 0
  Region: ' ', 0
  Component: 'TreeTable', 0
  Region: ' ', 0
  Component: 'Syntax error on token "ppublic", public expected', 0
  Region: ' TREE LEVEL 2', 0




BRAILLE LINE:  'Java - teste/src/Ts2.java - Eclipse SDK  Frame
ScrollPane ScrollPane TreeTable Syntax error on token "ppublic", public
expected TREE LEVEL 2'
     VISIBLE:  'Syntax error on token "ppublic",', cursor=1





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]