Many are focusing on the three warning messages in the top. For everyone the issue seems to be slightly different. For me gwibber was failing in the line 284 of /usr/lib/python2.6/dist-packages/gwibber/gwui.py
Failing error was:
File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 284, in render
self.load_html_string(content, "file://%s/" % os.path.dirname(template_path))
TypeError: WebKitWebView.load_html_string() argument 1 must be string without null bytes, not str
I did some debugging and found that the content has null in it.... I added a line before the line 284 to remove null:
(Sorry - I don't know python but my programming sense made me do this - probably there may be a better way)
# line added
content = content.replace("\0","")
# existing line
self.load_html_string(content, "file://%s/" % os.path.dirname(template_path))
Many are focusing on the three warning messages in the top. For everyone the issue seems to be slightly different. For me gwibber was failing in the line 284 of /usr/lib/ python2. 6/dist- packages/ gwibber/ gwui.py python2. 6/dist- packages/ gwibber/ gwui.py" , line 284, in render load_html_ string( content, "file://%s/" % os.path. dirname( template_ path)) load_html_ string( ) argument 1 must be string without null bytes, not str
Failing error was:
File "/usr/lib/
self.
TypeError: WebKitWebView.
I did some debugging and found that the content has null in it.... I added a line before the line 284 to remove null: replace( "\0","" ) html_string( content, "file://%s/" % os.path. dirname( template_ path))
(Sorry - I don't know python but my programming sense made me do this - probably there may be a better way)
# line added
content = content.
# existing line
self.load_
After that everything worked great for me.
Hari Gangadharan