Traceback (most recent call last): File "/usr/share/gnome-activity-journal/src/activity_widgets.py", line 574, in on_render pixbuf_w = self.pixbuf.get_width() if self.pixbuf else 0 File "/usr/share/gnome-activity-journal/src/activity_widgets.py", line 541, in pixbuf return self.content_obj.thumbview_pixbuf File "/usr/share/gnome-activity-journal/src/content_objects.py", line 55, in __get__ value = self.method(instance) File "/usr/share/gnome-activity-journal/src/content_objects.py", line 338, in thumbview_pixbuf thumbview_pixbuf, isthumb = common.PIXBUFCACHE.get_pixbuf_from_uri(self.uri, SIZE_LARGE, iconscale=0.1875, w=SIZE_THUMBVIEW[0], h=SIZE_THUMBVIEW[1]) File "/usr/share/gnome-activity-journal/src/common.py", line 638, in get_pixbuf_from_uri pb = gfile.get_thumbnail(size=size) File "/usr/share/gnome-activity-journal/src/common.py", line 801, in get_thumbnail thumb = create_text_thumb(self, size, 1) File "/usr/share/gnome-activity-journal/src/common.py", line 495, in create_text_thumb content = highlight(content, lexer, formatter) File "/usr/lib/pymodules/python2.6/pygments/__init__.py", line 86, in highlight return format(lex(code, lexer), formatter, outfile) File "/usr/lib/pymodules/python2.6/pygments/__init__.py", line 45, in lex return lexer.get_tokens(code) File "/usr/lib/pymodules/python2.6/pygments/lexer.py", line 146, in get_tokens text = text.decode(enc['encoding']) TypeError: decode() argument 1 must be string, not None