/srv/irclogs.ubuntu.com/2008/01/08/#ubuntu-installer.txt

mebrowncjwatson, welcome back.00:22
mebrownevand, cjwatson  We are going to be going with an explicit echo "d-i languagechooser/language-name ..." | debconf-set-selections00:22
mebrownthe main thing that I was concerned about (for my information), was why my offline testing didnt work00:23
mebrownwhen I did the debconf-set-selections and ran "oem-config" in an already-installed OS, it never worked. But when I did the exact same script as part of post-install script it worked00:24
twbcjwatson: I've had problems recently with Gutsy, it seems by default /etc/network/interfaces last line, "iface eth0 inet dhcp" is commented out.  Any idea what's going on?05:40
twbI vaguely suspect NM because it has caused problems for me on Debian.05:40
twb(i.e. prejudice)05:41
cjwatsontwb: it's intentionally commented out if (and only if) network-manager is going to be installed, because otherwise they interfere09:37
xivuloncjwatson re city selector interface in ubiquity, I was looking this video http://www.youtube.com/watch?v=YrFz7IxXppU (1m10s)10:40
cjwatsonxivulon: you sure that's the right one? that's 3m20s and is about kwin composite effects10:44
xivulonyep go to 1min 10 sec10:44
xivulonit's just the idea of the magnifier, does not need composite to be implemented10:44
xivulonif you have 2 images of different resolution should be easy to put togethter10:45
cjwatsonah. somebody with time is welcome to try it :-)10:45
xivulononce I am in a good shape with wubi i'll give it a go, that should be pygtk correct?11:02
cjwatsonyes11:15
cjwatsonor in the underlying C code11:15
mptxivulon, yes, that's kind of like what I suggested at UDS -- when you're outside the map area you see the whole map, but when you're inside the area you're auto-scrolling through a zoomed-in version11:34
xivulonmpt I'll see if I can implement a sample11:38
mptSo, if the map area is X pixels wide and Y high11:39
mptWhen you're hovering over (0,0), the area should show a zoomed-in version of the ((0,0), (X/n, Y/n)) part of the map11:40
xivulonyep11:41
mptWhen you're hovering over (X,Y) (the bottom-right pixel), the area should show a zoomed-in version of the ((X-X/n, Y-Y/n), (X,Y)) part of the map11:42
mptetc11:42
mptWhere n = 2 or thereabouts11:42
twbcjwatson: on the host in question, NM *was* installed, but nis didn't work at all until I uncommented the configuration in /etc/network/interfaces.12:12
twbI imagine from the user's report that ypbind just sat there until it timed out and was backgrounded.  Certainly logging in as root to enable /e/n/interfaces took deciseconds.12:13
twbPerhaps NM simply doesn't work with NIS, or NM is activated after NIS.12:14
cjwatsonit wouldn't surprise me if hardly anyone else has tried NM with NIS12:15
twbGrumble12:57
sorenYeah. NIS only really works if you expect to always be connected to the same network. network-manager is made for the exact opposite use case.12:58
twb...and yet NM is installed by default12:59
twbI guess I must have told the users to install NIS by hand.12:59
sorenAnd nis isn't.12:59
twbI can tell them to purge nm at the same time12:59
tjaaltonI'm having hard time installing hardy atm. netboot fails with "Couldn't find task {minimal,standard}"13:09
tjaaltonprobably known already?13:09
twbThat sounds like a bashism13:09
twb(Just guessing, really.)13:10
tjaaltonthere are two errors, one with "minimal", the other with "standard" :)13:10
twbOh, never mind then.13:10
tjaaltonI tried to be clever..13:10
=== cjwatson_ is now known as cjwatson
cjwatsonwhich mirror?13:14
cjwatsonthose tasks seem to exist in the master archive13:15
tjaaltonlocal, I'll update it again..13:15
cjwatsoncheck for Task: lines in the Packages file13:16
cjwatsonalso check syslog to ensure it did actually find your mirror successfully; I could imagine that that error might happen if apt-setup broke somehow13:16
tjaaltonnow it fails to find kernel modules :)13:22
tjaaltonbut it does use our mirror13:22
tjaaltonso d-i just needs an upload to use -3?14:17
CIA-48debian-installer: cjwatson * r865 ubuntu/ (10 files in 4 dirs): * Move to 2.6.24-3 kernels.14:19
tjaaltonhehe14:19
CIA-48debian-installer: cjwatson * r865 ubuntu/ (10 files in 4 dirs): * Move to 2.6.24-3 kernels.14:19
cjwatsonha, timing14:19
cjwatsonthe second one was because CIA said ENOSPC (at the remote end I assume) and I didn't bother checking whether the message had actually made it14:20
CIA-48debian-installer: cjwatson * r866 ubuntu/debian/changelog: releasing version 20070308ubuntu2514:24
evandregarding scrolling a zoomed tzmap, I'm actually working on that functionality now (while I work on more important things), as I have to work with the tzmap to fit ubiquity in 800x600 anyway.15:16
xivulonevand in the scheme suggested by mpt the map does not pan and there are no scrollbars/buttons, have a look at the video15:41
xivulonI can send you some cairo/pygtk code in the coming days if you wish15:41
evandmpt: can you clarify?  Are you talking about the entire map being zoomed in or just a boxed portion, like a magnifying glass?15:43
mptxivulon, I'm not sure what you mean by "the map does not pan"15:43
mptbut I agree it shouldn't have scrollbars/buttons15:43
xivulonmagnifying glass15:43
mptbut the magnifying glass area being the map area itself15:44
xivulonwhile the full world does not move15:44
evandmy plan was to make the map permanently zoomed in, and have the map move as you move toward an edge.  I thought this was in line with what we discussed at UDS, someone please correct me if I'm wrong.15:44
evandto further clarify, there would be no scrollbars15:44
mptevand, my suggestion was to have the map zoomed out when you're not mousing over it, and zoomed in when you are15:45
xivulonI guess I resumed the original mpt proposal after looking at the video15:45
mptI probably didn't express myself very well15:45
mptI could draw some sketches if it would help :-)15:45
xivulonevand see http://www.youtube.com/watch?v=YrFz7IxXppU15:45
xivulon1min 10 sec15:45
evandmpt: if you have the time it would be very much appreciated.  We lost some of the notes from that session and I've been working off of memory.15:46
evandxivulon: I already watched it.  I see what you're saying, but that's fundamentally different from what I thought was the plan.  But I'll wait for mpt's sketch before I assume I know exactly what that was :)15:48
* mpt should have brought his inky pen to the office15:51
mptevand, e-mailed16:12
evandmpt: thanks, that definitely helps!16:16
evanddo you mind if I put this on the specification?16:16
xivulonI have started a pygtk widget if it is of any help16:17
mptevand, that's fine16:18
mebrownevand, ping.16:19
mebrownevand, are there any plans to make the preseed file language independent?16:19
evandmebrown: can you elaborate?  You can preseed when locale is set to something other than English, you just use the English keys in your preseed file.16:22
mebrownevand, there are several places in the preseed where the string value is equal to what the GUI displays16:23
mebrownevand, and if you change language those parts of the preseed brak16:23
mebrownbreak16:23
evandhttps://wiki.ubuntu.com/HardyUbiquityUsability has been updated.  Thanks again mpt.16:23
mebrownspecifically partitioning and X16:23
evandmebrown: Are you sure these are not broken elsewhere?  I was able to preseed partitioner questions when using debian-installer/locale=zh_CN16:25
mebrownevand, I had a working preseed. Exactly one change to language broke it. (fails at partitioning)16:25
mebrownI saw something somewhere about them being locale specific16:25
evandhrmm16:26
mebrownhttp://pastebin.com/m758c0d2e16:26
mebrownthe preseed in question16:26
mebrownwhen I change locale to zh_CN, partitioning fails (7.10, here)16:27
mebrownIt will be a couple weeks before I can start testing hardy16:27
=== cjwatson_ is now known as cjwatson
cjwatsonpartman is special, in every sense of the word16:29
evandhaha16:29
cjwatsonbut you should be able to work around it by preseeding the Chinese equivalent16:29
cjwatsonwhich is obviously annoyingly unreliable, but should be a workaround16:29
mebrowncjwatson, something like a feature request:16:30
mebrownspecify preseed language independent of installer langauge16:30
evanddon't you need to preseed partman-auto/disk, or does it assume you mean the first one it finds?16:30
mebrownindependent of final system locale16:30
cjwatsonmebrown: yes, I am definitely familiar with the issue, it's just complex to fix16:30
cjwatsonit is ONLY the partitioner16:30
cjwatsonand only when you're asking it to partition free space as opposed to the whole disk16:31
mebrowncjwatson, any way to just call 'gettext' on any of the string values that need localization?16:31
cjwatsonif you're partitioning the whole disk, as Evan says, you use partman-auto/disk which doesn't require i18n16:31
mebrowncjwatson, now thats funny.16:31
cjwatsonmebrown: the installer doesn't use gettext, and not really16:31
cjwatsonI can try to find you a better workaround16:31
evandah, which would explain why it worked for me.16:31
mebrowncjwatson, I think we discussed this before, but I dont have a bug open: would like to be able to specify partitioning better in preseed.16:32
mebrownright now, I have an early_script that does the partitioning16:32
mebrownwhich is just wonky16:32
mebrownand: we have had a couple things pop up on our mailing list16:32
cjwatsonthe right fix is to make it possible to preseed it as biggest_free (the underlying identifier) rather than as "Guided - use the largest continuous free space"16:32
mebrowncjwatson, agreed on that part, except:16:32
mebrownfor our factory install, I know that I want to keep /dev/sda1 and /dev/sda2 and blow away everything else16:33
mebrownand on the mailing lists, some people want to install to things like LVM or even encrypted lvm16:33
mebrownand would be nice if they could specify that in the preseed.16:33
cjwatsonright, I'm sorry but it'll be a while before we have that (not enough people are working on the partitioner as yet); it certainly isn't just you asking for that kind of thing :-/16:34
mebrowncjwatson, well, we have a working solution right now, so it is a feature request wishlist item16:34
mebrowncjwatson, and it would be nice if the (I count 4) places in the preseed where it is locale-sensitive could be fixed16:34
mebrownso I can just specify locale in the preseed.16:34
mebrownand then...16:35
mebrownfix up firstboot so I dont have to separately specify language/keyboard there.16:35
cjwatsonI see 2 in yours, one of which is unnecessary16:35
mebrown?16:35
mebrown2 partitioning and 2 xorg16:35
cjwatsonpartman-auto/init_automatically_partition (necessary) and partman-auto/choose_recipe (you're just preseeding the default, so why bother?)16:35
cjwatsonare you *sure* those xorg questions are locale-sensitive? that very much surprises me16:36
mebrownso it should work ok if I remove the choose_recipe? I dont have a test system handy now, will test later.16:36
mebrowncjwatson, an assumption on my part16:36
mebrownthey *look* similar to the partitioning stuff16:37
cjwatsonthey do, but it's the underlying code that matters. partitioning only suffers from this because the underlying code is very very weird and nonstandard.16:37
cjwatson(because it's trying to solve complex problems and doing stuff that the debconf system wasn't really designed to do)16:38
cjwatsonyou can definitely remove partman-auto/choose_recipe16:38
mebrownok16:38
cjwatsonon oem-config, yes, though that will happen first. I asked evand to take care of that one.16:39
cjwatsonI left a comment in /lib/partman/lib/base.sh a while back about the problem you're running into16:40
mebrownjust have it come up by default in the system language? (/etc/defaults/locale)16:40
cjwatson        # TODO: This can be preseeded without having to use translated16:40
cjwatson        # values (which are often inappropriate for preseeding across many16:40
cjwatson        # machines due to including e.g. disk capacities) but it's nasty;16:40
cjwatson        # you have to use runes like16:40
cjwatson        # "20some_device__________/var/lib/partman/devices/=dev=sda".16:40
cjwatson        # We could do with an abbreviated syntax.16:40
cjwatsonmebrown: something needs to take care of copying the question in; once that happens it will work16:40
cjwatsonthe problem is that nothing copies preseeding across for the benefit of oem-config16:41
mebrownbut, question:16:41
mebrownI was on an installed, running system16:41
mebrownand was running oem-config manually to test16:41
mebrownand when I ran echo ... | debconf-set-selections16:41
mebrownit had no effect16:41
cjwatsonyou said you were preseeding languagechooser/language-name. I really recommend not doing that. The variable exposed for preseeding is debian-installer/locale.16:42
cjwatsonI suspect some slight difference around there was your problem16:42
evandthe suggestion of languagechooser/language-name was my fault16:42
cjwatsonlanguagechooser/language-name gets set internally by localechooser depending on the exact code path you hit and is not guaranteed to respect preseeding16:42
mebrownevand, no it wasnt.16:43
evandit wasn't?16:43
mebrownevand, I was reading the code and that is what I came up with16:43
mebrownbefore you made your suggestion on sat morning, I had been playing around for hours on friday with that variable16:43
evandah, fair enough16:43
mebrownI just never got it to work until your suggestion to do it in post16:43
cjwatsonI agree with doing it in a post-install script for now16:44
cjwatsonbut we'll fix the bug that requires that16:44
mebrowncjwatson, the code already went to the factory, as we were over our deadline. we are using languagechooser/language-name for now.16:44
mebrownok16:44
mebrowncjwatson, so: the final solution to this (implemented for hardy?) is that I can set debian-installer/locale and get everything to Just Work(TM)?16:45
mebrownDo I need to open up any launchpads on these?16:46
cjwatsonI've filed bug 18129116:48
ubotuLaunchpad bug 181291 in oem-config "preseeded locale etc. not propagated to oem-config" [Undecided,New] https://launchpad.net/bugs/18129116:48
cjwatsonand tentatively assigned to evand since he said yesterday that was ok16:49
evandyup, already working on it16:49
cjwatsonmebrown: though I have not yet tested it, it's my belief that setting debian-installer/locale in a post-install script will work fine even for gutsy. Yes, the intent for hardy is that just setting debian-installer/locale in the preseed file should work without further post-install fiddling.16:49
cjwatson(regardless of exactly how that is achieved)16:50
mebrownso: another bug about the localized partitioning to make it complete?16:50
mebrownthanks for the help. (especially saturday help from evand)16:51
evandanytime16:51
mebrownnext thing I noticed while working on this:16:52
mebrownthe list of keyboard layouts is not localized.16:52
mebrownwhich was great for me testing, but would suck if you *only* speak mandarin16:52
mebrownand also: I did a *quick* test, so I may have gotten it wrong, but I tried to enter chinese chars in the last screen (and only screen that accepts keyboard input, thankfully) for username and it didnt work.16:54
cjwatsonyes, a bug on partman-base about the general mess that is partman preseeding would be good16:56
cjwatsonkeyboard layout localisation is known and indeed is a blocker to Debian switching to the same system16:57
cjwatsonbug 12752816:57
ubotuLaunchpad bug 127528 in console-setup "keyboard layout chooser not localized" [Wishlist,Confirmed] https://launchpad.net/bugs/12752816:57
cjwatsonwhat went wrong with Chinese entry on the username page? was the problem that it didn't have a working input method (my suspicion) or did it let you enter Chinese characters but then break?16:58
mebrownI could not find a way to even enter chinese chars16:59
mebrownI dont know chinese, but iirc, <ctrl>-space normally turns into chinese mode17:00
mebrownand then you can enter gobbledy-gook17:00
mebrownquestion: where to enter bugs in partman-base?17:01
mebrown"partman-base does not use Launchpad as its bug tracker."17:01
cjwatson/ubuntu/+source/partman-base rather than /partman-base17:02
cjwatsonor start at bugs.launchpad.net/ubuntu and enter partman-base as the source package17:02
cjwatsonctrl-space requires an input method to be active. I strongly suspect that oem-config isn't activating one. (That's a bug, and one I hadn't heard of before now, so yes, please do file it ...)17:03
mebrownhttps://bugs.launchpad.net/dell/+bug/18129617:09
ubotuLaunchpad bug 181296 in partman-base "partman preseeding should not require localized strings" [Undecided,New]17:09
UbotwoLaunchpad bug 181296 in partman-base "partman preseeding should not require localized strings" [Undecided,New]17:09
xivuloncjwatson, mpt, evand, have done a preliminary widget for the location selector21:33
xivulonhttp://paste.ubuntu-nl.org/51260/21:33
xivulonYou need the pixmap http://codebrowse.launchpad.net/~ubuntu-installer/ubiquity/trunk/download/supermario%40portablemario-20071225071604-qg5aa8kt510412xl/world_map960.png-20060222230952-12b3a9101a91fc15/world_map-960.png21:36
xivulonwithin the same directory21:36
cjwatsoncool; it's for evand to deal with though :)21:48
evandheh, indeed and thanks.  I'll take a look at it after I finish up an email to ubuntu-devel-discuss.21:59
xivulonhttp://paste.ubuntu-nl.org/51266/22:10
xivulonadded click event22:10
xivulonevand, you owe me a beer then22:11
xivulonI'll settle if you merge in the wubi tagged bugs though ;)22:11
xivulondraw_map is a sink of resource (don't think there is a need to re-render the background at each refresh) if that is optimized responsiveness will improve22:20
xivulonhttp://paste.ubuntu-nl.org/51267/22:26
xivulonlast22:26
xivulonevand, cjwaton have moved the map widget code to https://code.launchpad.net/~ubuntu-installer/ubiquity/zoom-map-widget23:58
xivuloncjwatson23:58

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