/srv/irclogs.ubuntu.com/2008/06/24/#ubuntu-installer.txt

=== cjwatson_ is now known as cjwatson
CIA-48console-setup: cjwatson * r71 ubuntu/debian/ (17 files in 2 dirs): merge from Debian 1.2502:35
CIA-48console-setup: cjwatson * r72 ubuntu/debian/changelog: releasing version 1.25ubuntu102:37
georgHi cjwatson08:11
georgthis is georg08:11
georgi am trying to install the desktop cd it's giving me the error like08:12
georgException in GTK frontend (invoking crash handler):08:12
georgJun 24 06:46:09 ubuntu ubiquity[7244]: Traceback (most recent call last):08:12
georgJun 24 06:46:09 ubuntu ubiquity[7244]:   File "/usr/lib/ubiquity/ubiquity/frontend/gtkui.py", line 1494, in watch_debconf_fd_helper08:12
georgJun 24 06:46:09 ubuntu ubiquity[7244]:     return callback(source, debconf_condition)08:12
georgJun 24 06:46:09 ubuntu ubiquity[7244]:   File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 177, in process_input08:12
georgJun 24 06:46:09 ubuntu ubiquity[7244]:     if not self.process_line():08:12
georgJun 24 06:46:09 ubuntu ubiquity[7244]:   File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 110, in process_line08:12
georgJun 24 06:46:09 ubuntu ubiquity[7244]:     return self.dbfilter.process_line()08:13
georgJun 24 06:46:09 ubuntu ubiquity[7244]:   File "/usr/lib/ubiquity/ubiquity/debconffilter.py", line 231, in process_line08:13
georgJun 24 06:46:09 ubuntu ubiquity[7244]:     if not input_widgets[0].run(priority, question):08:13
georgJun 24 06:46:09 ubuntu ubiquity[7244]:   File "/usr/lib/ubiquity/ubiquity/components/summary.py", line 55, in run08:13
georgJun 24 06:46:09 ubuntu ubiquity[7244]:     except DebconfError:08:13
georgJun 24 06:46:09 ubuntu ubiquity[7244]: NameError: global name 'DebconfError' is not defined08:13
georgcan u guide me how to rectify this08:13
georgcjwatson: can u guide me how to rectify this08:14
georgcjwatson: can u guide me how to rectify this08:19
georgcjwatson: can u able to reply me for this problem08:43
xivulonmorning davmor209:45
xivulonwas home late yesterday and while I managed to reproduce couldn't do much debugging09:45
davmor2xivulon: it's interesting though that the iso worked flawlessly it was only the cd that failed10:05
georgHi Cjwatson10:24
cjwatsongeorg: please don't repeat your problem over and over again10:50
cjwatsongeorg: your problem is fixed in Ubuntu 8.0410:50
cjwatsongeorg: it's bug 17744210:51
georgcjwatson: sorry for that10:51
georgfoe sending the problem again and agian10:52
georgThnaks for sending the reply i will go through the link10:53
xivulondavmor2 that is how I suspected, since I normally always tested the ISO and it used to worked10:57
xivulonI am quite sure that it is the same issue as we had in partman-auto-loop, I.E. some process grepping /proc/mounts by device AFTER grub-installer10:59
xivuloncjwatson could that be ^?10:59
cjwatsonI'm sorry, I have no context for this11:00
xivuloncjwatson we are investigating a ubiquity error when wubi is installed from CD (i.e. when it boots off files extracted into /ubuntu/install/cdrom)11:01
xivulonwhat happens is that in this case /isodevice/ubuntu/install/cdrom is bindmounted to /cdrom in the initrd (casper)11:01
CIA-48yaboot-installer: cjwatson * r261 ubuntu/debian/ (changelog control): Set Vcs-Bzr for Ubuntu.11:02
xivulonhence if you grep /proc/mounts filtering for the root device you get two lines instead of one11:02
xivulondavmor2 would you mind providing a link again to installation-logs.zip?11:03
davmor2xivulon: should bw www.davmor2.co.uk/installation-logs.zip if memory serves11:04
davmor2indeed it is :)11:04
xivulonthx11:04
davmor2AFK11:04
cjwatsonxivulon: certainly seems plausible11:11
=== davmor2 is now known as davmor2_away
CIA-48partman-basicfilesystems: cjwatson * r567 ubuntu/ (62 files in 3 dirs): merge from Debian 6011:38
CIA-48partman-basicfilesystems: cjwatson * r568 ubuntu/debian/changelog: releasing version 60ubuntu111:41
CIA-48net-retriever: cjwatson * r354 ubuntu/ (6 files in 3 dirs): merge from Debian 1.2212:04
xivuloncan other packages call ubiquity/scripts/install.py > statusChange(...) ?12:57
cjwatsonthat's not a public interface, no12:58
cjwatsonthings called by install.py should use the normal debconf progress interface12:58
xivulonstrange it seems that the only call comes from updateInterface, but that uses float(percent)12:59
cjwatsonwhat are you trying to do?13:00
xivulonso how can the casting int(percent) within statusChange fail13:00
xivulontracking the error by reading the code13:00
xivulonin my lunch break13:00
cjwatsonwould need to know what percent was, I guess13:01
cjwatsonthere are probably some floats that aren't castable to int, like not-a-number type things13:01
cjwatsonor infinity13:01
cjwatsonexactly how you'd get those from a string I'm not quite sure13:01
xivulonah of course13:01
cjwatson>>> int(float('infinity'))13:02
cjwatsonTraceback (most recent call last):13:02
cjwatson  File "<stdin>", line 1, in <module>13:02
cjwatsonOverflowError: cannot convert float infinity to long13:02
cjwatsonstill, I'd be extremely surprised if apt sent back infinity13:02
xivulonalso because the error should probably read "cannot convert float infinity to long"13:04
cjwatsonwhat error are you getting?13:06
xivulonhttp://paste.ubuntu.com/22590/13:07
cjwatsonoh, you misunderstood the trace13:07
cjwatsonthe error is not from casting to int13:07
cjwatsonI think you're reading the trace upside-down - the innermost frame is at the bottom13:08
cjwatsonnot sure what requires an integer there though13:09
xivulonops yes13:20
xivulonwell even worse, ("%s %s\n" % (command, ' '.join(map(str, params)))) what has that to do with ints?13:26
xivulonhmm lunchtime almosto over13:26
=== davmor2_away is now known as davmor2
davmor2xivulon: is there an new wubi to test yet?13:55
xivulondavmor2: not really, hadn't have time to debug yesterday much, and my little trial during lunch didn't go to far either13:56
xivulonwould need more debugging info, hopefully evand made some progress13:57
xivulondavmor2: it would still help a lot if you could check the other bugs with an ISO installation13:57
xivulonand provide feedback in each of the bugs13:58
davmor2xivulon: it just worked :)13:58
xivulondavmor2: here is a list of the relevant bugs13:58
xivulonhttp://ubuntuforums.org/showpost.php?p=5230609&postcount=213:58
davmor2But I'll do a quick tag through the bugs and see if any are still about :)13:58
xivulonin particular LP21734813:59
xivulonit is sufficient to install on a secondary disk (USB might do)14:00
davmor2xivulon: it did boot I have multiple hds 2 are on usb but they are detected and mounted14:00
xivulondavmor2: it is important to check whether wubi works when it is installed on (hd1) in grub terms14:01
davmor2xivulon: right so wubi needs to install on the second drive?14:01
xivulonyes please and then post a comment on 217348 as steve is waiting for it14:02
davmor2NP's14:02
xivulonmuch appreciated14:03
xivulonTo test 204128 wubi 503 has to be on a CD or you need to create your own CD by unpacking, replacing wubi.exe and packing back the ISO, then burning a CD14:05
xivulonthat requires vista with latest patches14:05
xivulonand wubi-selfextract.exe14:05
davmor2xivulon: is there a selfextract link?14:12
xivulondavmor2 http://wubi-installer.org/devel/minefield/wubi-selfextract.exe14:15
xivulonI had posted the instructions for repackaging an ISO somewhere...14:15
davmor2xivulon: so does the self extract need to be on the cd or the 503?  I'm losing the tread a bit?14:16
xivulonself-extract is rev503 but repackaged to that it is compressed self-extracting14:16
davmor2xivulon: I just use iso master it's a gui for editing iso's :)14:17
xivulonthat will do14:18
xivulonah the manual instructions are in the same bug: https://bugs.edge.launchpad.net/wubi/+bug/204128/comments/1914:18
davmor2no probs14:19
xivulondavmor2, cd extraction re 207137 / 230716 is ok  (apart of the fact that we hit the wall after grub-installer...) correct?14:23
xivulonwould you mind commenting in those bugs?14:24
xivulondavmor2, testing 236741 is also easy, when you install on a secondary drive, create a /ubuntu directory on the primary drive with some dummy files, uninstall and check that the first dir does not get deleted14:26
xivulonfor 223155 you need to run wubi (windows) with less than 256MB, you should see a warning but be able to continue the installation14:27
xivulonI guess that is about it14:28
davmor2xivulon: that could be an issue lowest spec machine I have has a gig14:28
xivulonnp14:28
xivulonevand can probably check that easily in vm14:29
evandindeed, added to my todo list.14:32
xivulonhi evand, any luch with the ubiquity issue?14:32
evandnot yet, though I have a few ideas that I'm going to try shortly.14:33
xivulonI didn't go too far myself, only insight is that it only happens when booting off extracted CD (/ubuntu/install/cdrom) while it works well when booting off an ISO14:34
xivulonI cannot run any test here, but if you can narrow down the scope I can try to go through the code and see if anything jumps out14:35
evandwhich I find to be horribly odd.  Perhaps this is a red herring.14:37
xivulonevand as explained above, I think some process might try to grep /proc/mounts by device, and it ends up with 2 lines instead of 114:40
xivulonI would not think the setup makes any difference other than for the bindmount14:41
xivulonyou might want to try to use a symlink in caper check_device as opposed to bindmount14:43
davmor2xivulon: cd re-created and burning I'll hit the nfs unclean with vista too:)14:48
xivulonevand, see if this helps: http://paste.ubuntu.com/22617/14:54
xivulonmostly a blind shot but it might help narrow down the issue14:55
davmor2xivulon: out of curiosity the 236741 but would that work on a second partition too?14:58
xivulondavmor2: yes, to test it you need to have two \ubuntu directories, on any "drive letter"14:59
xivulonthe uninstaller obviously only has to remove the correct one15:00
davmor2xivulon: cool I can test that on the vista machine too then :) Ah one cd so many uses :)15:00
xivulonas usual  please add a comment to the bug report15:00
davmor2just checking vista for updates first :)15:01
davmor2np's15:01
xivulonthat's like godot15:01
CIA-48partman-base: cjwatson * r95 ubuntu/ (11 files in 5 dirs): merge from Debian 12115:01
davmor2xivulon: vista up-to-date and partitioned now for wubi15:22
xivuloncool15:22
davmor2grrr wubi-selfextractor couldn't find wubi.exe15:25
xivulon?15:25
davmor2xivulon: Windows cannot find 'wubi.wxw'. Make sure you typed the name correctly, and then try again15:26
davmor2s/wxw/exe15:26
davmor2does the extractor need wubi.exe on the cd too?15:27
xivulonhm no the wubi-self extract is simply wubi compressed with 7z in self extracting mode. i.e. you should be able to run wubi-selfextract from hard disk as well just to test15:29
davmor2xivulon: ah hang on does it need to be called wubi-selfextract or can it be called wubi.exe?15:30
xivulonhmm I wouldn't think it matters, but I might have changed the makefile in 503 so that the internal name is different...15:31
xivulonlet me check15:32
davmor2I called it wubi.exe so it fell in line with umenu and then remembered that umenu wasn't working#15:32
xivulonah yes that is my fault15:33
xivulonskip that test for now, I will produce anothe self extract later on today15:34
davmor2when can we expect wubi-selfextract 504 then :)15:34
xivulontonight15:34
xivulonor earlier with evand help15:34
davmor2mail me at davmor2@gmail.com when It's up and get it asap and test it then :) in the mean time I'll drop 503 on a cd a test with that instead okay15:35
xivulonevand can you please apply the patch in https://bugs.edge.launchpad.net/wubi/+bug/242682 and rebuild wubi-selfextract?15:44
CIA-48anna: cjwatson * r411 ubuntu/debian/ (changelog po/am.po po/ml.po po/mr.po po/pa.po): merge from Debian 1.3215:46
CIA-48anna: cjwatson * r412 ubuntu/debian/changelog: releasing version 1.32ubuntu115:47
xivulondavmor2 in the meantime can you please test LP217348 LP207137+230716  23674115:48
davmor2yeap on it I'll still work through as much of the list as poss :)15:49
davmor2just made a new cd with 503 on it15:49
xivulona CD won't help without a working selfextract..15:50
davmor2Test on my xp box I'll try the vista either tonight or tomorrow :)15:51
xivulongreat thanks :)15:52
xivulonevand we'll need the localized version of XP for a few tests: 136682 222690 22325015:53
evand222690> You need someone with the French version of XP Home, which I do not have nor can I acquire, unfortunately.15:54
CIA-48partman-ext3: cjwatson * r737 ubuntu/debian/ (po/mr.po changelog po/ml.po po/pa.po): merge from Debian 5215:55
CIA-48partman-ext3: cjwatson * r738 ubuntu/debian/changelog: releasing version 52ubuntu115:57
evandxivulon: davmor2: http://people.ubuntu.com/~evand/wubi - built and uploaded15:57
davmor2evand: sorry is this the wubi-selfextract?15:58
evandYes15:58
davmor2evand: cool ta15:58
evandYou're welcome15:59
superm1evand, do you think you will still be able to get around to adding the fix for bug 219192 in?16:09
xivulonevand thanks a lot16:10
xivulonevand for 222690 I have already asked verrotin, but no feedback yet16:10
evandargh, that completely fell off my todo list.  No, I think it's too late to fix that in .1.16:13
superm1oh that's too bad :(16:13
xivulonevand did you try the casper fix ^ by any chance?16:13
evandreally sorry about that.  I'll make sure it gets in .2 as soon as it opens.16:13
evandxivulon: yes and it seems to work, but testing again.16:14
xivulonevand then it is certainly the bindmount creating issues, so you can either grep for /proc/mounts to find the offending program16:15
superm1evand, could you make sure that it's at least fixed in intrepid then in the short term so that when the dailies start coming out, they're ok?16:15
xivulonor leave the fix as is not sure if using symlink in casper as opposed to bindmount has any other sideeffect (cjwatson?)16:15
evandsuperm1: indeed, will do16:16
superm1thanks16:16
cjwatsonsymlink from where to where?16:17
cjwatsonI'm sorry, I'm not getting time to follow all of this as it goes past16:17
xivuloncjwatson http://paste.ubuntu.com/22617/16:17
xivulonwas a quick hack to see if the bindmount theory was correct16:18
evandhttp://evalicious.com/tmp/wubi-20080623-syslog-2.txt <- where the bug manifested.16:18
xivulonbut if the bindmount creates all those issues we might as well use a symlink unless there are objections of course16:18
cjwatsonyou need to be careful that the symlink will actually be resolvable in the new root (symlinks are resolved when they're used, not when they're created); furthermore, other things may well expect to be able to unmount /cdrom later, so you need to do end-to-end tests before doing this16:20
xivulonthose were the sort of objections I was looking for :P16:21
davmor2xivulon: evand: wubi is still dropping into initramfs on a dirty xp drive16:22
davmor2s/xp/ntfs16:22
xivulondavmor2: yes that is expected16:22
cjwatsonbind-mounts are resolved at mount time, so they avoid the typical sorts of issues you get when creating symlinks from the initramfs (which by definition is in a different root filesystem)16:22
xivulonas we don't have fsck.ntfs16:22
xivulondavmor2: you should at least see a more meaningful message, at least in recovery mode16:23
davmor2it's not in normal mode16:24
davmor2recovery yes16:24
xivuloncjwatson: well at least now we know that the bindmount is the issue, so grepping for /proc/mounts should help narrow down the options16:26
xivulonhmm don't see how that could work with a symlink: ./scripts/casper-bottom/05mountpoints:mount -n -o move /cdrom /root/cdrom16:31
xivulonevand are you sure it works?16:32
evandI'm in the process of testing it a second time.16:33
davmor2xivulon: 217348 this seems to be resolved now isn't it?  this is why you wanted a copy of the menu.lst isn't it?16:33
xivulonshould be16:34
davmor2you were happy with the menu.lst yesterday so I'm going to assume it's fixed looks the same today :)16:35
xivulondavmor2 can you please add some more context about the test, explain for instance that you installed wubi on a secondary hard disk and still booted (provide relevant menu.lst)16:35
xivulonthe test to be valid should be about a wubi installation on hard disk 2 as you might end up booting off hard disk 1 anyway since that is a normal fallback16:36
davmor2Argh mis-read it sorry I'll add in a bit need to do that one on the vista machine.  My own fault.16:37
davmor2224311 I don't have issues with16:38
davmor2227023 doesn't effect me either16:39
=== xivulon_ is now known as xivulon
xivulondavmor2: 224311 cannot be reproduced unless you have the buggy bios... but it important to check that the new grub4dos does not create regressions16:41
davmor2np's here :)16:41
xivulonsame story for 22702316:41
davmor2xivulon: other tests will need to wait till latter or in the morning depending on when I get back16:43
xivulondoes selfextract work now?16:43
xivulonnp16:43
xivulonthanks a bunch for everything16:44
xivulonops too late16:44
evandyeah, you're right.  Symlinks don't work as apt-setup wants to unmount and remount it.16:45
xivulonplus the mount -o move...16:46
xivulonso we know as much as before :(16:46
xivulonon a different topic, isn't an initrd panic message supposed to be visible also when not in recovery mode?16:47
evandwell no, we know that it does work (the install can proceed beyond that point without issue), so we know it's definitely an issue with using a bindmount for some strange reason.16:47
xivulonI can see that usplash gets killed16:47
evandNot sure offhand.16:48
xivulonhmm but doesn't casper bottom 05 try to mount move /cdrom to /root/cdrom? surely that must fail when cdrom is a symlink16:49
xivulonevand any progress?22:32
xivulonevand I updated to wubi 504 to fix 24268222:51
bdmurrayevand: is there a test case for bug 241420 at all?22:52
bdmurrayxivulon: hi!22:52
xivulonbdmurray, hi22:52
xivulonbdmurray, I commented on 204128 testing22:53
xivulonas you can see that would require creating an ISO (must be latest daily 8.04.1) with the new wubi-selfextract22:54
bdmurrayright, I'd forgotten about using wubi.exe on the hard drive not being a good test.  :(22:54
xivulonwell np, wubi-selfextract 503 was not working anyway :P22:55
xivulonnew one (504) should be good22:55
xivulonnote that the linux side installation will not complete, but that should not be relevant for that bug22:56
xivulonlinux side installation now only works when using an iso22:56

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!