> Date: Sat, 14 Aug 2010 19:50:05 +0000
> From: [email protected]
> To: [email protected]
> Subject: [Bug 471437] Re:  IndexError: list assignment index out of range
> 
> I think it is a translation problem.
> 
> I did what Kanor told us to do here 
> http://forum.ubuntu-fr.org/viewtopic.php?id=410923&p=2
> and now Openastro can launch itself
> 
> -----------------------------------
> 
> You have to change some code in the file /usr/bin/openastro.py
> 
> Console :
> 
> sudo gedit  /usr/bin/openastro.py
> 
> Look for these lines :
> 
> try:
>   TRANSLATION["default"] = gettext.translation("openastro",TDomain)
> except IOError:
>   TRANSLATION["default"] = 
> gettext.translation("openastro",TDomain,languages=['en'])
>   print "OpenAstro.org has not yet been translated in your language!"
> 
> And change them for these lines :
> 
> #try:
> #  TRANSLATION["default"] = gettext.translation("openastro",TDomain)
> #except IOError:
> TRANSLATION["default"] = 
> gettext.translation("openastro",TDomain,languages=['en'])
> #  print "OpenAstro.org has not yet been translated in your language!"
> 
> It is a encoding problem
> 
> next time you lauch OpenAstro, do it this way in console:
> 
> openastro.py --dbcheck
> 
> -- 

Cheers for the tip. I did everything described, and now I get yet
another different bug:

Traceback (most recent call last):
  File "/usr/local/bin/openastro.py", line 6068, in <module>
    db = openAstroSqlite()
  File "/usr/local/bin/openastro.py", line 678, in __init__
    self.cursor.execute(sql,values)
sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a 
text_factory that can interpret 8-bit bytestrings (like text_factory = str). It 
is highly recommended that you instead just switch your application to Unicode 
strings.

... ;P

-- 
 IndexError: list assignment index out of range
https://bugs.launchpad.net/bugs/471437
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to