Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

[BUG] selfstat does not print wierd letters. #55

Foxboron opened this Issue Jan 19, 2013 · 6 comments


None yet
2 participants

Foxboron commented Jan 19, 2013

$ python selfstats-script.py --back 60 m --showtext
<RowID> <Starting date and time> <Duration> <Process> <Window title> <Number of keys pressed> <Decrypted text>
1 2013-01-19 01:46:31.587000 6s 3148566 "MINGW32:/c/Python27/Scripts" 11 Traceback (most recent call last):
  File "selfstats-script.py", line 8, in <module>
    load_entry_point('selfspy==0.3.0', 'console_scripts', 'selfstats')()
  File "build\bdist.win32\egg\selfspy\stats.py", line 540, in main
  File "build\bdist.win32\egg\selfspy\stats.py", line 185, in do
  File "build\bdist.win32\egg\selfspy\stats.py", line 306, in show_rows
  File "c:\Python27\lib\codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

The keys supplied was:
charmap = [u"\xf8",u"\xd8",u"\xe6",u"\xc6",u"\xe5",u"\xc5"]


gurgeh commented Mar 11, 2013

Yes, I see this bug too. It used to work. I'll fix it.


Foxboron commented Mar 11, 2013

Awesome. Then i just need to solve the problem where everything slows down and windows support is fixed 👯


Foxboron commented Apr 8, 2013

Any updates?


gurgeh commented Apr 15, 2013

I finally fixed this. It works for me in the latest version. Please confirm.


Foxboron commented Apr 15, 2013

Works! Now i can clean out the last bugs and you will have a windows version up and running soon :)


gurgeh commented Apr 15, 2013


@gurgeh gurgeh closed this Apr 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment