local variable 'globalmounts' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mic2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mic2
When I try to use mic2 ( ) in Ubuntu Natty, using the regular Natty package (0.23.0), I get a Python error. Maybe it's fixed in 0.24.x, though that's not packaged for Ubuntu Natty yet.
This is the full output:
[murrayc@
[sudo] password for murrayc:
+======
| WARNING: this script is very dangerous, it may damage your system data, |
| so please use it carefully and read this warning seriously. |
| |
| mic-chroot will create some temporary directories under /var/tmp, their names |
| look like 'mic-tmp-*', mic-chroot also creates a directory to save image |
| file system for chroot. For such directories, please use mic-rm-chroot-dir to |
| remove, otherwise, you may remove your whole system by 'rm -rf <yourdir>' if you |
| terminate mic-chroot because of some exceptions or unknown errors, the root |
| cause is mic-chroot will bind mount / to chroot directory, exceptional |
| terminations didn't unmount it, so you may damage your system, we have warned you. |
| Please use it very very carefully, and don't use 'rm -rf' for such directories, |
| instead, use 'mic-rm-chroot-dir' |
+======
Launching shell. Exit to continue.
-------
bind_mount: /proc -> /home/murrayc/
bind_mount: /proc/sys/
bind_mount: /sys -> /home/murrayc/
bind_mount: /dev -> /home/murrayc/
bind_mount: /dev/pts -> /home/murrayc/
bind_mount: /dev/shm -> /home/murrayc/
bind_mount: /var/lib/dbus -> /home/murrayc/
bind_mount: /var/run/dbus -> /home/murrayc/
bind_mount: / -> /home/murrayc/
bind_mount: /lib/modules/
bind_mount: /lib/modules/
bind_mount: /lib/modules/
bind_mount: /lib/modules/
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
chroot.
File "/usr/lib/
cleanup_
UnboundLocalError: local variable 'globalmounts' referenced before assignment
Status changed to 'Confirmed' because the bug affects multiple users.