[orca-list] traceback in firefox



Hi all.

Using ubuntu 11.10, unity 2d, latest orca built from master and FF 11.0, I found the following traceback when doing a search in google.

vvvvv PROCESS <ENUM ATSPI_KEY_PRESSED_EVENT OF TYPE EVENTTYPE> 'h' (43) vvvvv
LOCUS OF FOCUS: app='Firefox' name='Google' role='link'
                event=None
Object deemed to be useless: [section | ]
Object deemed to be useless: [section | ]

PREPARATION TIME: 0.0012
generate braille for focused app.name='Firefox' name='Google' role='link' state='enabled focusable horizontal opaque sensitive showing visible selectable text' relations='' (args={'formatType': 'focused', 'useDefaultFormatting': False, 'includeContext': False, 'role': <enum ATSPI_ROLE_LINK of type Role>, 'mode': 'braille', 'recursing': True}) using '[Link(obj, asString(currentLineText) or asString(displayedText) or asString(name))]'
GENERATION  TIME: 0.0030  ---->  currentLineText=['Google']
COMPLETION  TIME: 0.0045
generate braille results:
  Link: 'Google', 0

PREPARATION TIME: 0.0011
generate braille for unfocused app.name='Firefox' name='None' role='image' state='enabled horizontal opaque sensitive showing visible' relations='' (args={'formatType': 'unfocused', 'useDefaultFormatting': False, 'includeContext': False, 'role': <enum ATSPI_ROLE_IMAGE of type Role>, 'mode': 'braille', 'recursing': True}) using '(imageLink and [Link(obj, (asString(label + displayedText) or asString(name)) + " " + asString(value + roleName))] or [Component(obj, asString(label + displayedText + value + roleName))])' GENERATION TIME: 0.0004 ----> imageLink=<Accessible object at 0x32f7d70 (AtspiAccessible at 0x336a410)>
GENERATION  TIME: 0.0009  ---->  label=[]
GENERATION  TIME: 0.0005  ---->  displayedText=[]
GENERATION  TIME: 0.0014  ---->  name=['webhp']
GENERATION  TIME: 0.0004  ---->  value=['']
GENERATION  TIME: 0.0005  ---->  roleName=['Image']
COMPLETION  TIME: 0.0058
generate braille results:
  Link: 'webhp Image', 0

PREPARATION TIME: 0.0011
generate braille for unfocused app.name='Firefox' name='Search' role='entry' state='editable enabled focusable horizontal opaque sensitive showing single line visible selectable text' relations='' (args={'formatType': 'unfocused', 'useDefaultFormatting': False, 'includeContext': False, 'role': Role(79L), 'mode': 'braille', 'recursing': True}) using '[Text(obj, asString(label + placeholderText), asString(eol))] + (required and [Region(" " + asString(required))]) + (readOnly and [Region(" " + asString(readOnly))])'
GENERATION  TIME: 0.0019  ---->  label=[]
GENERATION  TIME: 0.0004  ---->  placeholderText=[]
GENERATION  TIME: 0.0003  ---->  eol=[u' $l']
GENERATION  TIME: 0.0043  ---->  required=[]
Gecko - isReadOnlyTextArea=False for app.name='Firefox' name='Search' role='entry' state='editable enabled focusable horizontal opaque sensitive showing single line visible selectable text' relations=''
GENERATION  TIME: 0.0055  ---->  readOnly=[]
COMPLETION  TIME: 0.0178
generate braille results:
  Text: 'linux weekly news $l', -1
BRAILLE LINE:  'Google webhp Image linux weekly news $l'
     VISIBLE:  'Google webhp Image linux weekly ', cursor=1

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/orca/input_event.py", line 513, in processInputEvent
    consumed = self.function(script, inputEvent)
File "/usr/local/lib/python2.7/dist-packages/orca/structural_navigation.py", line 313, in goNext
    self.structuralNavigation.goObject(self, True)
File "/usr/local/lib/python2.7/dist-packages/orca/structural_navigation.py", line 895, in goObject
    structuralNavigationObject.present(obj, arg)
File "/usr/local/lib/python2.7/dist-packages/orca/structural_navigation.py", line 2708, in _headingPresentation
    self._presentObject(obj, characterOffset)
File "/usr/local/lib/python2.7/dist-packages/orca/scripts/toolkits/Gecko/structural_navigation.py", line 165, in _presentObject
    self._script.speakContents(contents)
File "/usr/local/lib/python2.7/dist-packages/orca/scripts/toolkits/Gecko/script.py", line 5297, in speakContents
    clumped = self.clumpUtterances(utterances)
File "/usr/local/lib/python2.7/dist-packages/orca/scripts/toolkits/Gecko/script.py", line 5263, in clumpUtterances
    for [element, acss] in utterances:
ValueError: too many values to unpack

^^^^^ PROCESS <ENUM ATSPI_KEY_PRESSED_EVENT OF TYPE EVENTTYPE> 'h' (43) ^^^^^

To reproduce:
1. in firefox press ctrl+k and type:
'linux weekly news'
without the quotations.
2. Press enter.
3. after the page is loaded press the h key.

At least in my machine I found the above trace in debug output file of orca.
Thanks.



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