I created a version of pygrub in /usr/local/bin which I could change to
python2.5 and use for debugging purposes.  It was a copy of the version
in /usr/bin.  To make sure I have the right version I moved pygrub out
of /usr/bin and did an apt-get reinstall xen-utils-3.3.  This
reinstalled version 3.3.0-1ubuntu9.3.  I verified that pygrub was
changed to python2.5 (meaning my statement about 2.6 being the default
was incorrect above).

However the same results are obtained through the following:

# python2.5 /usr/bin/pygrub rawimagefile
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/bin/pygrub", line 660, in <module>
    chosencfg = run_grub(file, entry, fs)
  File "/usr/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

# python2.6 /usr/bin/pygrub rawimagefile
Traceback (most recent call last):
  File "/usr/bin/pygrub", line 26, in <module>
    import fsimage
ImportError: No module named fsimage

I am certainly open to the idea that this is some problem on my system
so if someone running Xen on Ubuntu 9.04 could try these commands that
would be helpful.  To confirm the version of pygrub here is the md5sum:

md5sum /usr/bin/pygrub 
c5af85e5f126aea39aa989ef0ffd32ec  /usr/bin/pygrub

Also this is an amd64 system.

** Changed in: xen-3.3 (Ubuntu)
       Status: Invalid => New

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to