Personal tools
Document Actions

RSS reader don't work

Up to Tux gadgets

RSS reader don't work

Posted by Florian Joncour at December 26. 2007

When I'm lauching tuxgdg, I got this error:


error when attempt to import wizard library in the main file
Error importing RSS.py module.
Error importing RSS.py module.
Error importing RSS.py module.


And so I can't add RSS feed, tuxgdg freeze.


Thank you


Re: RSS reader don't work

Posted by jerome at December 27. 2007

Hi Florian,


Can you delete the gadget and restart the manager to trying to reproduce the bug, I need more information to try fix it.
Many thank's. In all cases you can send me a mail with your remarks.

jerome.

Re: RSS reader don't work

Posted by Florian Joncour at December 27. 2007

I've found the problem.


RSS.py except when declaring class with python 2.4


It work well with python 2.5






In python 2.4, I've this error message:


  File "./RSS.py", line 180
    class dictionnary_rules():
                            ^
SyntaxError: invalid syntax






But, I've also this error when I'm lauching "show/afficher" in interface:


/opt/tuxdroid/apps/tux_framework/libs/SimpleGladeApp.py:335: GtkWarning: gtk_text_buffer_get_insert: assertion `GTK_IS_TEXT_BUFFER (buffer)' failed
  return gtk.glade.XML(self.glade_path, root, domain)
/opt/tuxdroid/apps/tux_framework/libs/SimpleGladeApp.py:335: GtkWarning: gtk_text_buffer_get_iter_at_mark: assertion `GTK_IS_TEXT_MARK (mark)' failed
  return gtk.glade.XML(self.glade_path, root, domain)
/opt/tuxdroid/apps/tux_framework/libs/SimpleGladeApp.py:335: GtkWarning: _gtk_text_layout_get_block_cursor: assertion `layout != NULL' failed
  return gtk.glade.XML(self.glade_path, root, domain)
/opt/tuxdroid/apps/tux_framework/libs/SimpleGladeApp.py:335: GtkWarning: gtk_text_layout_get_cursor_locations: assertion `layout != NULL' failed
  return gtk.glade.XML(self.glade_path, root, domain)
/opt/tuxdroid/apps/tux_framework/libs/SimpleGladeApp.py:335: GtkWarning: gdk_window_invalidate_rect: assertion `window != NULL' failed
  return gtk.glade.XML(self.glade_path, root, domain)
/opt/tuxdroid/apps/tux_framework/libs/GdgObject.py:117: GtkWarning: gtk_tree_view_column_cell_layout_pack_start: assertion `! gtk_tree_view_column_get_cell_info (column, cell)' failed
  lab.set_justify(gtk.JUSTIFY_LEFT)


Re: RSS reader don't work

Posted by jerome at December 27. 2007

Many thank's for your help ;)




To the first, Now that you've found in witch conditions appear this bug, I will able to fix it in some times. I'm using 2.5 version of gtk, that's why I was not able to find this kind of bugs.


The second is not a bug, just some warnings messages from GTK, Rémi has the same problem with the TreeView object, for the moment, I think it's not important trying to fix this warning messages because that is not really a bug.




In all cases, If you find any others bugs, you can send me an email to forward it. I'll get all information more fast.


Powered by Ploneboard
You are here: Home Forum Tux gadgets RSS reader don't work

Powered by Plone CMS, the Open Source Content Management System