[Bug 214267] Re: gtk-builder-convert crashes when converting menus
** Changed in: gtk Importance: Unknown => Medium -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
It would be really nice if the fix in the current gtk-builder-convert python script could be backported to Hardy. -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
this is still a problem, i am using hardy on amd64. -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
** Changed in: gtk Status: Unknown => Fix Released -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
the bug is similar to http://bugzilla.gnome.org/show_bug.cgi?id=523932 and should be fixed in intrepid, feel free to reopen if you still get the issue though ** Changed in: gtk+2.0 (Ubuntu) Importance: Undecided => Low Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs) Status: New => Fix Released ** Also affects: gtk via http://bugzilla.gnome.org/show_bug.cgi?id=523932 Importance: Unknown Status: Unknown -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
The best fix I've found for is changing the convert script at line 425 to read: properties['stock_id'] = get_property_node(node, 'label') I don't know if that's what was intended originally, but the script seems to refer to things my glade files never contain. -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
** Description changed: + Hi, + + I think what I have is the same bug. The trace seems to confirm the + remarks from James White. + This is the info I get: File "/usr/bin/gtk-builder-convert", line 745, in sys.exit(main(sys.argv)) File "/usr/bin/gtk-builder-convert", line 733, in main conv.parse_file(input_filename) File "/usr/bin/gtk-builder-convert", line 161, in parse_file self._parse() File "/usr/bin/gtk-builder-convert", line 259, in _parse self._convert(node.getAttribute("class"), node) File "/usr/bin/gtk-builder-convert", line 284, in _convert self._convert_menu(node) File "/usr/bin/gtk-builder-convert", line 342, in _convert_menu item = self._convert_menuitem(uimgr, obj_node) File "/usr/bin/gtk-builder-convert", line 378, in _convert_menuitem item = self._convert_menuitem(uimgr, obj_node) File "/usr/bin/gtk-builder-convert", line 374, in _convert_menuitem self._add_action_from_menuitem(uimgr, obj_node) File "/usr/bin/gtk-builder-convert", line 425, in _add_action_from_menuitem properties['stock_id'] = child UnboundLocalError: local variable 'child' referenced before assignment THIS ONLY HAPPENS WHEN I AM CONVERTING AN APPLICATION WITH A MENU BAR Running ubuntu hardy LTS any help would be great thanks! ProblemType: Crash Architecture: amd64 Date: Tue Apr 8 18:20:47 2008 DistroRelease: Ubuntu 8.04 ExecutablePath: /usr/bin/gtk-builder-convert InterpreterPath: /usr/bin/python2.5 NonfreeKernelModules: ath_hal nvidia Package: libgtk2.0-dev 2.12.9-2ubuntu2 PackageArchitecture: amd64 ProcCmdline: python /usr/bin/gtk-builder-convert tutorial.glade tutorial.xml ProcEnviron: SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games LANG=en_US.UTF-8 PythonArgs: ['/usr/bin/gtk-builder-convert', 'tutorial.glade', 'tutorial.xml'] SourcePackage: gtk+2.0 Title: gtk-builder-convert crashed with UnboundLocalError in _add_action_from_menuitem() Uname: Linux 2.6.24-15-generic x86_64 UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
Hi, another newb with the same problem. I commented out all of the menuitem in my .glade file and it built and compiled fine. Then I moved my comment lines until I isolated the problem. Glade is adding a property called "use_stock" to the GtkImageMenuItem that doesn't seem to belong. By commenting out that property line, everything works fine (at least so far as I have coded - my menus don't actually DO anything yet). [code] True gtk-new True [/code] -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
I am on amd64/hardy/gtk2.0/python2.5 as well and get the same error message i think with the same glade file being converted. -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
** Tags removed: need-duplicate-check -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 214267] Re: gtk-builder-convert crashes when converting menus
** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/13265496/Dependencies.txt ** Attachment added: "ProcMaps.txt" http://launchpadlibrarian.net/13265497/ProcMaps.txt ** Attachment added: "ProcStatus.txt" http://launchpadlibrarian.net/13265498/ProcStatus.txt ** Attachment added: "Traceback.txt" http://launchpadlibrarian.net/13265499/Traceback.txt ** Visibility changed to: Public -- gtk-builder-convert crashes when converting menus https://bugs.launchpad.net/bugs/214267 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs