Description of problem: When opening the revelation applet menu, it asks for a password and then crashes with a stack backtrace. Version-Release number of selected component (if applicable): revelation-0.4.11-4.1.x86_64 How reproducible: Always Steps to Reproduce: 1. Run applet. Open menu. 2. 3. Actual results: Crash. Expected results: Menu appears. Additional info: The password file was copied from a F9 system running the same version of revelation. The exception is: Traceback (most recent call last): File "/usr/libexec/revelation-applet", line 301, in __cb_icon_buttonpress self.entry_menu(data.time) File "/usr/libexec/revelation-applet", line 542, in entry_menu if self.__require_file() == False: File "/usr/libexec/revelation-applet", line 478, in __require_file return self.file_open(self.config.get("file")) File "/usr/libexec/revelation-applet", line 627, in file_open return self.__file_load(file, password) File "/usr/libexec/revelation-applet", line 358, in __file_load self.entrymenu = self.__generate_entrymenu(self.entrystore) File "/usr/libexec/revelation-applet", line 391, in __generate_entrymenu item = ui.ImageMenuItem(type(e) == entry.FolderEntry and ui.STOCK_FOLDER or e.icon, e.name) File "/usr/lib64/python2.5/site-packages/revelation/ui.py", line 1261, in __init__ self.image = self.get_children()[1] IndexError: list index out of range I think its missing the folder icon it was using.
lovely I'll try to track it down. It might take me a couple of days I need to get a new rawhide install going. -jef
I get a similar traceback on a fresh rawhide install after adding a few entries to the password database: Traceback (most recent call last): File "/usr/libexec/revelation-applet", line 261, in __cb_file_content_changed self.__file_load(self.datafile.get_file(), self.datafile.get_password()) File "/usr/libexec/revelation-applet", line 358, in __file_load self.entrymenu = self.__generate_entrymenu(self.entrystore) File "/usr/libexec/revelation-applet", line 391, in __generate_entrymenu item = ui.ImageMenuItem(type(e) == entry.FolderEntry and ui.STOCK_FOLDER or e.icon, e.name) File "/usr/lib/python2.5/site-packages/revelation/ui.py", line 1261, in __init__ self.image = self.get_children()[1] IndexError: list index out of range
It's worth noting that I can hit "Continue" and the applet still works, kinda. It can look up passwords, anyway.
Okay I think I have a patch which fixes it. Just going to test the number of children. I think something in the gtk bindings changed and the image child is no longer aways being added and only added when actually defined. I need to confirm with some low level testing of the gtk bindings outside the scope of revelation. I should be pushing a build today with the patch.
Built in rawhide, should be available soon.
Yep, confirm fixed.