Re: [orca-list] trace back when loading the default profile



Have you done anything with your message catalogues lately?
It appears that you'll need to recompile a .mo file for Orca.
I haven't done gettext stuff in a while, but I think it's something like :
msgfmt -o /path/to/machine_object.mo /path/to/portable_object.po

Bill
On 05/18/13 09:37, José Vilmar Estácio de Souza wrote:
Hi all.
I work with two profiles in orca, one that configures orca to speak english and other that configures orca to speak portuguese. What is happenning is that everytime I load the profile that configures orca to speak english, I receive a trace back.

vvvvv PROCESS <ENUM ATSPI_KEY_PRESSED_EVENT OF TYPE PYATSPIEVENTTYPE> 'P' (33) vvvvv

Traceback (most recent call last):
File "/usr/lib/python3.3/site-packages/orca/input_event.py", line 497, in processInputEvent
    consumed = self.function(script, inputEvent)
File "/usr/lib/python3.3/site-packages/orca/scripts/default.py", line 2056, in cycleSettingsProfile
    _settingsManager.setProfile(profileID, updateLocale=True)
File "/usr/lib/python3.3/site-packages/orca/settings_manager.py", line 386, in setProfile
    orca_i18n.setLocaleForNames(newVoiceLocale)
File "/usr/lib/python3.3/site-packages/orca/orca_i18n.py", line 84, in setLocaleForNames
    setModuleLocale(module, newLocale)
File "/usr/lib/python3.3/site-packages/orca/orca_i18n.py", line 65, in setModuleLocale translation = gettext.translation('orca', localedir, languages=[newLocale])
  File "/usr/lib/python3.3/gettext.py", line 401, in translation
    raise IOError(ENOENT, 'No translation file found for domain', domain)
FileNotFoundError: [Errno 2] No translation file found for domain: 'orca'

^^^^^ PROCESS <ENUM ATSPI_KEY_PRESSED_EVENT OF TYPE PYATSPIEVENTTYPE> 'P' (33) ^^^^^

This is with orca 3.8.0 but also happens with orca built from master.

This did not happen until recently.
Thanks.




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