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

Problems with Orca text setup (was Re: gnome-orca .2.22 about to enter unstable)



On Wed, Mar 12, 2008 at 03:43:58PM +0100, Mario Lang wrote:
 
> Just a quick notice to let you know ahead of time that I've
> just uploaded gnome-orca 2.22.0-1 to sid which will most probably
> be available through the mirrors from tomorrow morning (thursday) on.

Thanks to Mario for the excellent work on the Debian package. The package
installed and ran on my system without any problems.

The difficulties I encountered while initially setting up Orca are still
present, however.

If the following doesn't turn out to be a Debian-specific issue or something
wrong with the state of the packages on my system, I'll gladly file an Orca
bug report.

To describe the problem briefly, if I remove my ~/.orca directory to start
the configuration process from the beginning, run startx and then from a
separate virtual console run
DISPLAY=:0 orca -t
which I am told is supposed to work, I get a lengthy Python backtrace from
gnome-speech.

Running it with orca --disable=speech doesn't work either. However, under X I
can type alt-F2 orca --disable=speech <cr> and get into the Orca preferences
with the braille display.

Running orca (without --disable=speech) generates backtraces as well, which I
can't read, but I'm reasonably sure they are present because if I put orca in
my ~/.xsession file I get the back traces on the console and the X server
shuts down.

Attached to this message is a session log of my latest test, which shows the
backtraces.

I have Orca, Gnome-speech, eSpeak and Festival installed as well as BRLTTY.

Note: I've included orca-list in the CC field of this message, as this may or
may not be a Debian-specific problem. If anyone wants to complain about my
cross-posting, please consider that I thought about it carefully before doing
so. You're still entitled to complain though if you really want to.

Script started on Thu 13 Mar 2008 21:31:16 EST
jason@jdc:/tmp$ export DISPLAY=:0
jason@jdc:/tmp$ orca -t

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 846, in __speak
    return speaker.say(text)
AttributeError: 'NoneType' object has no attribute 'say'

Restarting speech...

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 1076, in reset
    self.__driver = self.__activateDriver(self.__iid)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 147, in __activateDriver
    isInitialized = driver.isInitialized()
COMM_FAILURE

Welcome to Orca setup.

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/orca.py", line 996, in _showPreferencesConsole
    module.showPreferencesUI()
  File "/var/lib/python-support/python2.4/orca/orca_console_prefs.py", line 435, in showPreferencesUI
    if not setupSpeech(prefsDict):
  File "/var/lib/python-support/python2.4/orca/orca_console_prefs.py", line 197, in setupSpeech
    len(workingFactories) > 1)
  File "/var/lib/python-support/python2.4/orca/orca_console_prefs.py", line 108, in sayAndPrint
    speech.speak(text, voice)
  File "/var/lib/python-support/python2.4/orca/speech.py", line 161, in speak
    _speechserver.speak(text, __resolveACSS(acss), interrupt)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 873, in speak
    self.__speak(text, acss, interrupt)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 820, in __speak
    speaker = self.__getSpeaker(acss)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 411, in __getSpeaker
    voices = self.__driver.getAllVoices()
AttributeError: 'NoneType' object has no attribute 'getAllVoices'


Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 846, in __speak
    return speaker.say(text)
AttributeError: 'NoneType' object has no attribute 'say'

Restarting speech...

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 1076, in reset
    self.__driver = self.__activateDriver(self.__iid)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 147, in __activateDriver
    isInitialized = driver.isInitialized()
COMM_FAILURE


Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/orca.py", line 958, in showPreferencesGUI
    module.showPreferencesUI()
  File "/var/lib/python-support/python2.4/orca/orca_gui_prefs.py", line 4544, in showPreferencesUI
    speech.speak(line)
  File "/var/lib/python-support/python2.4/orca/speech.py", line 161, in speak
    _speechserver.speak(text, __resolveACSS(acss), interrupt)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 873, in speak
    self.__speak(text, acss, interrupt)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 820, in __speak
    speaker = self.__getSpeaker(acss)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 411, in __getSpeaker
    voices = self.__driver.getAllVoices()
AttributeError: 'NoneType' object has no attribute 'getAllVoices'

jason@jdc:/tmp$ orca --disable=speech -t

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 846, in __speak
    return speaker.say(text)
AttributeError: 'NoneType' object has no attribute 'say'

Restarting speech...

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 1076, in reset
    self.__driver = self.__activateDriver(self.__iid)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 147, in __activateDriver
    isInitialized = driver.isInitialized()
COMM_FAILURE

Welcome to Orca setup.

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/orca/orca.py", line 996, in _showPreferencesConsole
    module.showPreferencesUI()
  File "/var/lib/python-support/python2.4/orca/orca_console_prefs.py", line 435, in showPreferencesUI
    if not setupSpeech(prefsDict):
  File "/var/lib/python-support/python2.4/orca/orca_console_prefs.py", line 197, in setupSpeech
    len(workingFactories) > 1)
  File "/var/lib/python-support/python2.4/orca/orca_console_prefs.py", line 108, in sayAndPrint
    speech.speak(text, voice)
  File "/var/lib/python-support/python2.4/orca/speech.py", line 161, in speak
    _speechserver.speak(text, __resolveACSS(acss), interrupt)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 873, in speak
    self.__speak(text, acss, interrupt)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 820, in __speak
    speaker = self.__getSpeaker(acss)
  File "/var/lib/python-support/python2.4/orca/gnomespeechfactory.py", line 411, in __getSpeaker
    voices = self.__driver.getAllVoices()
AttributeError: 'NoneType' object has no attribute 'getAllVoices'

Speech not available.
jason@jdc:/tmp$ exit

Script done on Thu 13 Mar 2008 21:32:28 EST

Reply to: