| Summary: | [abrt] gnome-activity-journal-0.6.0-2.fc15: lexer.py:146:get_tokens:TypeError: decode() argument 1 must be string, not None | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vlad <krnlbg> |
| Component: | gnome-activity-journal | Assignee: | Mads Villadsen <maxx> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dakingun, maxx |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:269cf8dd03437fe9f3ba5064d4724fc00ac6b941 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-30 15:41:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 648215 *** |
abrt version: 2.0.1 architecture: x86_64 cmdline: python /usr/bin/gnome-activity-journal component: gnome-activity-journal executable: /usr/bin/gnome-activity-journal kernel: 2.6.38.5-24.fc15.x86_64 os_release: Fedora release 15 (Lovelock) package: gnome-activity-journal-0.6.0-2.fc15 reason: lexer.py:146:get_tokens:TypeError: decode() argument 1 must be string, not None time: Sun May 15 16:15:50 2011 uid: 500 username: krnlbg backtrace: :lexer.py:146:get_tokens:TypeError: decode() argument 1 must be string, not None : :Traceback (most recent call last): : File "/usr/share/gnome-activity-journal/src/activity_widgets.py", line 766, 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 733, in pixbuf : return self.content_obj.thumbview_pixbuf : File "/usr/share/gnome-activity-journal/src/content_objects.py", line 57, in __get__ : value = self.method(instance) : File "/usr/share/gnome-activity-journal/src/content_objects.py", line 343, 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 648, in get_pixbuf_from_uri : pb = gfile.get_thumbnail(size=size) : File "/usr/share/gnome-activity-journal/src/common.py", line 831, in get_thumbnail : thumb = create_text_thumb(self, size, 1) : File "/usr/share/gnome-activity-journal/src/common.py", line 505, in create_text_thumb : content = highlight(content, lexer, formatter) : File "/usr/lib/python2.7/site-packages/pygments/__init__.py", line 86, in highlight : return format(lex(code, lexer), formatter, outfile) : File "/usr/lib/python2.7/site-packages/pygments/__init__.py", line 45, in lex : return lexer.get_tokens(code) : File "/usr/lib/python2.7/site-packages/pygments/lexer.py", line 146, in get_tokens : text = text.decode(enc['encoding']) :TypeError: decode() argument 1 must be string, not None : :Local variables in innermost frame: :text: '' :self: <pygments.lexers.TextLexer> :enc: {'confidence': 0.0, 'encoding': None} :chardet: <module 'chardet' from '/usr/lib/python2.7/site-packages/chardet/__init__.pyc'> :unfiltered: False