View Single Post
Old 02-09-2012, 02:07 PM   #268
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736094
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Alright folks, I'm back. Sorry for having been quiet for so long, I was offline for some time because of something personal.

Anyway, I'm trying to catch up on the discussion.

@JustAMan: Bookmarks are displayed in the browser, at least for me. I actually think that it's a good idea to keep some, but to localize others (for example, I replaced google.com by google.de in the german translation, and bbc.co.uk by spiegel.de)

@eureka: After the latest git pull, the js tool doesn't work for me anymore:

Code:
$ python tool/js_resources/ compile -s ../kindle-touch-l10n-tx-full/src/5.0.3/waf/ -d /tmp/loc-js/
Traceback (most recent call last):
  File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/home/cl/kindle-touch/localization/kindle-touch-l10n/tool/js_resources/__main__.py", line 132, in <module>
    args.cmd.execute(args)
  File "tool/js_resources/lib/cli_commands.py", line 185, in execute
    ensure_ascii=False, cls=ResourcesJsonEncoder)
  File "/usr/lib/python2.6/json/__init__.py", line 181, in dump
    fp.write(chunk)
  File "/usr/lib/python2.6/codecs.py", line 686, in write
    return self.writer.write(data)
  File "/usr/lib/python2.6/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)

$ python --version
Python 2.6.5
Any clue?

@all: Daily snapshots have been broken for a few days. I'm currently working on fixing this, so new snapshots should appear again starting tomorrow. They might include waf/pillow, or they might not... Depends on whether I get the integration to work.
ixtab is offline   Reply With Quote