Unix locales vs Unicode (‘ascii’ codec can’t encode character…)

You might get unusual errors about Unicode and inability to convert to ASCII. Programs might just crash at random. Those are often simple to fix — all you need is correct locale configuration. Has this ever happened to you? Traceback (most recent call last): File “aogonek.py”, line 1, in <module> print(u’u0105′) UnicodeEncodeError: ‘ascii’ codec can’t […]

Read More

New project: upass — console UI for pass

pass is the standard Unix password manager. And I just wrote a slightly friendlier, clickier interface with urwid and Python. Project page Screenshots GitHub Downloads (PyPI) upass is using urwid, which means it has a friendly full-screen console interface. It shows your directory structure (with flattened subdirectories) and calls pass when requested. (It does not […]

Read More