Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144641 - RTamd64 - GLI partitioning code dumps traceback
Summary: RTamd64 - GLI partitioning code dumps traceback
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-21 06:46 UTC by Simon Stelling (RETIRED)
Modified: 2006-08-21 07:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Stelling (RETIRED) gentoo-dev 2006-08-21 06:46:28 UTC
(Using amd64 livecd 48c4536699d325524321c0ee6736b78a)

The partitioning code just dumped a traceback. I'm not sure why exactly, it sometimes works and sometimes it breaks... Until I can reproduce the bug constantly, you'll have to do with the log I guess :(

GLI: August 21 2006 01:08:43 - partition(): Processing /dev/sda...
GLI: August 21 2006 01:08:43 -   Partition 3 has origminor 3...saving start sector 180040455 and end sector 320159384GLI: August 21 2006 01:08:43 -   Partition 6 has origminor 6 and it being resized...saving start sector 262325448
GLI: August 21 2006 01:08:43 - _partition_delete_step(): Deleting partitions that aren't being resized
GLI: August 21 2006 01:08:43 -   Ignoring old minor 6 to resize later
GLI: August 21 2006 01:08:43 -   No match in new layout for old minor 5...deleting
GLI: August 21 2006 01:08:43 - _partition_delete_step(): logicals for extended part 3: [5, 6]
GLI: August 21 2006 01:08:43 - _partition_delete_step(): newminor is 5
GLI: August 21 2006 01:08:43 - _partition_delete_step(): newminor is 6
GLI: August 21 2006 01:08:43 -   Logical partition 6 to be resized...can't delete extended
GLI: August 21 2006 01:08:43 -   No match in new layout for old minor 2...deleting
GLI: August 21 2006 01:08:43 -   No match in new layout for old minor 1...deleting
GLI: August 21 2006 01:08:43 - _partition_resize_step(): Resizing partitions
GLI: August 21 2006 01:08:44 - _find_current_minor_for_part(): looking at minor 0.03125...start sector is 63...looking for 262325448
GLI: August 21 2006 01:08:44 - _find_current_minor_for_part(): looking at minor 3...start sector is 180040455...looking for 262325448
GLI: August 21 2006 01:08:44 - _find_current_minor_for_part(): looking at minor 4.125...start sector is 180040518...looking for 262325448
GLI: August 21 2006 01:08:44 - _find_current_minor_for_part(): looking at minor 5...start sector is 262325448...looking for 262325448
GLI: August 21 2006 01:08:50 - This is a bad thing. An exception occured outside of the normal install errors. The error was: 'global name 'part' is not defined'
GLI: August 21 2006 01:08:50 - Traceback (most recent call last):
GLI: August 21 2006 01:08:50 - File "/opt/installer/GLIClientController.py", line 197, in run
    self._install_steps[self._install_step]['function']()
GLI: August 21 2006 01:08:50 - File "/opt/installer/templates/x86ArchitectureTemplate.py", line 449, in partition
    self._partition_resize_step(parted_disk, device, oldparts, newparts)
GLI: August 21 2006 01:08:50 - File "/opt/installer/templates/x86ArchitectureTemplate.py", line 237, in _partition_resize_step
    parted_fs = parted_disk.get_partition(part).geom.file_system_open()
GLI: August 21 2006 01:08:50 - NameError: global name 'part' is not defined
GLI: August 21 2006 01:08:50 - DEBUG: waiting at top of 'while' loop in CC in secondary thread...waiting to start step 1, Mount local partitions
GLI: August 21 2006 01:08:50 - DEBUG: install_failed_cleanup(): gathering mounts to unmount
GLI: August 21 2006 01:08:50 - DEBUG: install_failed_cleanup(): running: umount -l
GLI: August 21 2006 01:08:50 - DEBUG: install_failed_cleanup(): running: cp /tmp/compile_output.log /tmp/compile_output.log.failed then removing /tmp/compile_output.log
Comment 1 Preston Cody (RETIRED) gentoo-dev 2006-08-21 06:49:06 UTC
Please attach the installprofile you used and your partitioning layout before the error.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-08-21 07:41:05 UTC
In CVS.