Public bug reported: I believe this is an issue with the python 2.5 to 2.6 change and may indicate other bugs. Also, pygrub works fine in Ubuntu 8.10 but not at all in Ubuntu 9.04 so this is clearly a severe regression and thus qualifies for a stable release update.
--- pygrub with python 2.6 (which is how it ships): Traceback (most recent call last): File "/usr/local/bin/pygrub", line 26, in <module> import fsimage ImportError: No module named fsimage The python-xen-3.3 package provides /usr/lib/python2.5/site- packages/fsimage.so but not a module for python 2.6. So one way to potentially fix this bug is to provide a fsimage module for python 2.6. --- pygrub with python 2.5 (since the fsimage module is present): WARNING:root:Unknown image directive quiet WARNING:root:Unknown image directive quiet WARNING:root:Unknown image directive quiet WARNING:root:Unknown image directive quiet WARNING:root:Unknown image directive quiet WARNING:root:Unknown image directive quiet Traceback (most recent call last): File "/usr/local/bin/pygrub", line 660, in <module> chosencfg = run_grub(file, entry, fs) File "/usr/local/bin/pygrub", line 513, in run_grub curses.wrapper(run_main) File "/usr/lib/python2.5/curses/wrapper.py", line 47, in wrapper stdscr.keypad(0) UnboundLocalError: local variable 'stdscr' referenced before assignment This looks like a bug in the python curses library but I haven't investigated in depth. ** Affects: xen-3.3 (Ubuntu) Importance: Undecided Status: New ** Tags: server sru virtualization xen -- pygrub broken in xen-3.3 under Ubuntu 9.04 https://bugs.launchpad.net/bugs/395321 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