user@computer:~$ python /usr/share/apport/package-hooks/chromium-browser.py
Traceback (most recent call last):
  File "/usr/share/apport/package-hooks/chromium-browser.py", line 269, in 
<module>
    print '[%s]\n%s\n' % (key, report[key])
  File "/usr/lib/python2.7/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 300: 
ordinal not in range(128)
user@computer:~$ echo $HOME
/home/user
user@computer:~$ cd $HOME/.config/chromium/Default
user@computer:~/.config/chromium/Default$ ls -l Preferences
-rw------- 1 user user 6945 2011-04-13 22:58 Preferences
user@computer:~/.config/chromium/Default$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> HOME = os.getenv("HOME")
>>> HOME
'/home/user'

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/759635

Title:
  apport ERROR: hook /usr/share/apport/package-hooks//chromium-
  browser.py crashed

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to