Griffith - media collection manager
May 21, 2012, 08:07:16 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: New mailing lists,
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: [SOLVED] aspell: No word lists can be found for the language "pt_PT".  (Read 2343 times)
ViGiLnT
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: November 28, 2005, 10:35:01 PM »

  File "/usr/bin/griffith", line 615, in ?
    griffith = Griffith()
  File "/usr/bin/griffith", line 598, in __init__
    initialize.initialize_gtkspell(self)
  File "/usr/lib/griffith/initialize.py", line 382, in initialize_gtkspell
    self.obs_spell = gtkspell.Spell(self.e_obs)
gobject.GError: aspell: No word lists can be found for the language "pt_PT".

I cant start griffith. I can't go past this error.

I'm using the last version available: 0.5.1-1

How can I solve this problem ?
« Last Edit: September 18, 2006, 02:49:16 PM by POX » Logged
POX
Administrator
Hero Member
*****
Offline Offline

Posts: 512



View Profile WWW
« Reply #1 on: November 29, 2005, 03:22:11 PM »

try to install "aspell-pt" package and let us know if it solved the problem
Logged

Please, feel free to correct my English.
ViGiLnT
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: November 29, 2005, 11:22:56 PM »

Thanks for the reply.

I already solved the problem. I got help from an ubuntu forum.

I changed this in initialize.py file:

Code:
ef initialize_gtkspell(self):
    global spell_support
    if self.posix and spell_support:
        if self.config.get('use_gtkspell', False) == 'False':
            if self.config.get('spell_notes', True) == 'False':
                self.obs_spell = gtkspell.Spell(self.e_obs)
                try:
                    self.obs_spell.set_language(self.config.get('spell_lang', 'en'))
                except:
                    self.obs_spell.set_language('en')
                    gutils.info(self, _("Language not available. Defaulting to english."), self.w_preferences)
                    self.config['spell_lang'] = 'en'
                    self.config.save()
        if self.config.get('spell_plot', True)=='False':
            self.plot_spell = gtkspell.Spell(self.e_plot)         
            try:
                self.plot_spell.set_language(self.config.get('spell_lang', 'en'))
            except:
                self.plot_spell.set_language('en')       
    else:
        gdebug.debug("Spellchecker is not available")

Where is now " =='False' ", it was " =='True' "

But I've got another question:

When I export the database to html, griffith creates two .xml files and a dir with the movie covers, but when I try to open the .xml firefox gives this error:

Code:
XML Parsing Error: not well-formed
Location: file:///home/insomnia/Desktop/page_1.xml
Line Number 20, Column 20:        <seen>Sim</seen><@classification>

Is this normal?  Huh
Logged
POX
Administrator
Hero Member
*****
Offline Offline

Posts: 512



View Profile WWW
« Reply #3 on: November 29, 2005, 11:35:24 PM »

[code]
XML Parsing Error: not well-formed
Location: file:///home/insomnia/Desktop/page_1.xml
Line Number 20, Column 20:
Logged

Please, feel free to correct my English.
POX
Administrator
Hero Member
*****
Offline Offline

Posts: 512



View Profile WWW
« Reply #4 on: December 05, 2005, 01:12:20 AM »

I've fixed XML template few days ago (see SVN), but exporting function still need some fixes (f.e. "&" should be replaced with &and;)
« Last Edit: December 05, 2005, 01:14:01 AM by pox » Logged

Please, feel free to correct my English.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!