/srv/irclogs.ubuntu.com/2011/08/30/#ubuntu-installer.txt

evThanks for the fixes, stgraber08:28
jibelauto login is gone again on latest ISOs bug 83716512:26
ubot2`Launchpad bug 837165 in ubiquity ""Log in automatically" option in Ubiquity not honored by LightDM" [High,Confirmed] https://launchpad.net/bugs/83716512:26
evjibel: thanks, will get on that one today12:55
evcould've sworn there was a bug for the timezone map not defaulting to a location13:00
evbut I can't find it13:00
evhm13:00
CIA-31ubiquity: evand * r4901 trunk/ (debian/changelog ubiquity/plugins/ubi-timezone.py): Set the timezone location to the default.13:00
evoh yay, lightdm doesn't support a custom.conf13:24
jibelev, timezone without default location bug 83094013:28
ubot2`Launchpad bug 830940 in ubiquity "Where are you: No location selected by default" [Medium,Confirmed] https://launchpad.net/bugs/83094013:28
evah thanks13:31
CIA-31ubiquity: evand * r4902 trunk/debian/changelog: Add LP bug reference.13:32
stgraberev: yeah, the current way of doing things is to directly modify /etc/lightdm/lightdm.conf (which isn't shipped by any package)13:36
stgraberev: I already did that in casper, so I can have a look at doing it in ubiquity too if that helps13:36
evit's shipped by lightdm13:37
stgraberoh, is it now?13:37
evdpkg -S /etc/lightdm/lightdm.conf13:37
evlightdm: /etc/lightdm/lightdm.conf13:37
stgraberstgraber@castiana:/etc/lightdm$ dpkg -S /etc/lightdm/lightdm.conf13:37
stgraberdpkg-query: no path found matching pattern /etc/lightdm/lightdm.conf.13:37
evapparently so :-/13:37
evinteresting13:37
stgraberI know it used to, but I think robert dropped it so we can just generate it to set whatever defaults we need13:38
evoh, I'm a few versions behind13:38
evawesome13:38
stgraberthe postinst script actually moves lightdm.conf using dpkg-maintscript-helper when upgrading from very old version of the package. So it's possible dpkg thinks it's maintained if you upgrade from an old version of the package.13:39
stgrabermy laptop is running a clean install from last week and was updated yesterday13:39
stgraberev: so, want me to look at adding some lightdm.conf generation/update code to ubiquity? :)13:40
evthat's okay, already on it13:40
evcheers though13:40
stgraberok, cool13:40
evwelcome to tackle any of the rest of these though: https://bugs.launchpad.net/ubuntu/oneiric/+source/ubiquity  :)13:40
stgraberyeah, syncing all my images at the moment.13:43
stgraberyou don't happen to know how gtk css is working, do you? I spent/wasted a lot of time yesterday afternoon poking at bug 830923 :)13:44
ubot2`Launchpad bug 830923 in ubiquity "Create partition: FS and mount point lists not legible" [High,Confirmed] https://launchpad.net/bugs/83092313:44
stgraberI know where the bug is, just can't figure out the right way of fixing that css...13:44
stgrabergtk's lack of documentation (especially 3.0 + gi) is starting to get really annoying...13:46
evyeah, welcome to my hell over the past few months13:46
evit might be easier to just rework the actual UI, so that we can apply the CSS to a child of the window rather than the window itself13:46
evas I can't find a way to not have children inherit the properties of the parent13:47
kyleNstgraber, initial result is that ubiquity 2.7.20 fixed the problem. that is I have a first boot into oem-config.14:05
superm1ev, for the user-setup fix, could you plan to just adopt something like what casper does?  a bunch of derivatives that use lightdm do ship a file and the casper method does it correctly for both scenarios14:12
evsuperm1: already doing just that14:12
evjust verifying the fix:14:12
superm1cool14:12
evhttp://paste.ubuntu.com/678006/14:12
superm1that will be fine for mythbuntu, xubuntu will need to add a commented out #autologin-user= line to their default conf14:13
superm1charlie-tca, ^ any opinions there14:14
stgraberkyleN: good to hear14:14
stgraberev: http://paste.ubuntu.com/678010/ works for me but is a bit ugly. Should I commit that for now?14:14
evstgraber: yeah, do14:14
evthanks14:14
kyleNstgraber, can oem-config be told to run full screen?14:14
stgraberkyleN: no idea, sorry14:17
charlie-tcaYet another late change to lightdm?14:17
evkyleN: not without modification to ubiquity14:18
stgraberev, superm1: Too bad dealing with ini files in shell is a pain. Would have been quite easy to make something clean in python (as in, only change the required entries, add the sections when missing, ...) :)14:18
kyleNok14:19
evpatches welcome, should be fairly straightforward14:19
kyleNit seems (and always has) a little cramped14:19
kyleNI imagine its just a gtk window setting14:19
evstgraber: indeed, but for our shell pain we largely get someone else dealing with many of the lower level bits14:20
evkyleN: ubiquity is locked to a specific size at the moment because of bugs in a text wrapping workaround and, if memory serves, the way the user setup page is laid out14:20
superm1actually stgraber's method of just >>'ing into the file from casper might be better for user-setup14:20
superm1is the text wrapping still really a problem with gtk3 and pygi?14:21
evthese can probably go away with the move to GTK3, but probably in Peachy14:21
kyleNev, yes, gtk has never donw a great job with text wrapping14:21
kyleNgtk 214:21
superm1kyleN, if you ship less languages in your pool or image and turn on the option to only show installable languages, the first page fits more nicely14:22
charlie-tcaSo, what effect does this have on the beta1 images?14:22
charlie-tcaDo we have to get a patch in to be able to use them ?14:22
evsuperm1: I don't see the difference between >> + sed and cat <<EOF, can you elaborate?14:22
kyleNsuperm1, how do I: create that pool, and: turn on that option to only show installable? we have our own mechanisms for that that but if it is supported out of the box we should probably use that14:23
superm1ev, sed'ing depends on the #autologin-user being there.  xubuntu uses lightdm-set-default-session or so so they can't easily add commented out lines in their postinst14:23
superm1kyleN, i have no idea how you build your apt pool, only show installable languages is a preseedable option14:24
kyleNi can make an on-disk apt archive for lang packs. (we already do). We have a seperate program that runs after oem-config to install the one for the lang the user selected.14:25
kyleNsuperm1, but if oem-config already supports that, I'd like to know so we can consider migrating to this approach14:26
superm1oh yeah you don't need to run a separate program after that to install the language.  that's what oem config will do.  maybe something to clear the apt archive of the stuff you didn't need though14:27
superm1in my scenario all the languages stay on a recovery partition in case they recover later they get a chance to reinstall with all the same languages14:28
kyleNsuperm1, where does oem=config expect to find that on-disk archive? Can the location be preseeded?14:31
superm1oem-config doesn't look in a specific location currently, it expects to be part of the apt cache currently.14:31
superm1you can add it to the apt-cache as a source in /etc/apt/sources.list.d/ and apt-get update in an early command14:32
kyleNinteresting.14:35
kyleNour code does that too. and later we delete the on-disk archive, to free up space14:35
kyleNsuperm1, how does oem-config know which lang packs to install (they vary by lang)14:36
kyleN(and by installed pkgs in the system)14:36
superm1the language you pick on the first page will tell it which packs to install14:36
kyleNfor a given langauge, there are different sets of lang packs that need to be unstalled to support the current system.14:37
superm1can you elaborate on what you mean with an example?14:37
kyleNi wonder, does it use the check-language-support tool (from language-selector-common)?14:38
kyleNyes14:38
kyleNfor example, chinese langs reqiure input method pkgs, whereas French does not.14:38
kyleNeach language has different sets of writing aid packages as well14:38
superm1yeah the chinese langs also install the input method pkgs14:38
jibelev, bug 837288 on session start after an OEM installation.14:38
ubot2`Launchpad bug 837288 in ubiquity "oem-config-remove-gtk crashed with SystemExit in _on_failure(): 1" [Medium,New] https://launchpad.net/bugs/83728814:39
kyleNin addition, let's say you don'e have gnome installed, then you don't need to install the language-pack-gnome-XX pkg14:39
jibelev, I don't see any side effect though14:39
kyleNso the way to find the lang packs that should be installed for the Current system and Current langauges is with check-language-suport14:39
kyleNp14:39
evjibel: awesome14:39
kyleNand I wonder if oem-config uses that14:39
evwill look into it14:39
kyleNCurrent Langauge (not plural)14:40
superm1kyleN, it does use check-language-support14:40
kyleNnice14:40
kyleNi can't type my way out of a paper bag some days ;)14:40
superm1look at ubiquity/install_misc.py to see how it works14:40
kyleNthx14:40
jibelev, and on DVDs, there is no 'prepare for shipping' shortcut nor launcher during an OEM install14:41
stgraberev: starting to poke at bug 771401. I'll probably end up setting a maximum size of 8GB for any given install, that should be safe with our current images (even our biggest DVD should fit in that)14:46
ubot2`Launchpad bug 771401 in ubiquity "Ubiquity disk requirements are excessive" [Medium,Confirmed] https://launchpad.net/bugs/77140114:46
jibeloem-config packages are not on DVDs14:47
jibelor at least not installed14:47
evsuperm1: looking at the code for lightdm-set-defaults, I fail to see how it helps us here.  My code is busted though15:09
evjust wondering if it's worth the pain to do a check for the variable being set and either set it or write it for each one using sed and grep for lack of a better set of tools15:10
stgraberjibel: do you remember seeing that issue while testing? bug 80763615:12
ubot2`Launchpad bug 807636 in ubiquity "ubiquity doesn't show console when clicking in detailed view" [Medium,Triaged] https://launchpad.net/bugs/80763615:12
superm1ev, the code for lightdm-set-defaults doesnt' really help here, but i was meaning it might just be easiest to copy the casper code15:13
superm1it works for all the necessary scenarios15:13
jibelstgraber, this issue is fixed, but in return you win bug 83094615:14
ubot2`Launchpad bug 830946 in ubiquity "Nothing displayed on embedded terminal." [Medium,New] https://launchpad.net/bugs/83094615:14
stgraberjibel: great...15:14
stgrabercan we revert to having it not display anything, that issue seemed easier to fix ;)15:14
charlie-tcasuperm1: Xubuntu is not shipping any lightdm.conf file15:15
superm1charlie-tca, yeah you are, the postinst creates it15:16
superm1via lightdm-set-defaults15:16
stgraberedubuntu probably doesn't though, we only call lightdm-set-defaults if the user explicitly chooses to go with gnome session fallback15:17
kyleNhi folks. I dropped two oem-config pluging pages into place (and preseeded them). it worked in natty. now I get this bug: 83728815:29
kyleNspecifically this line in /var/log/oem-config.log:  Pango-WARNING **: error opening config file '/root/.pangorc': Permission non accordée15:30
kyleN(in english)15:30
evdon't worry about that one15:30
kyleNev, how do I get past it so I can test/use my plugins?15:31
evthe pango warning, that is15:31
evit always comes up15:31
kyleNok. so it is something else that is dying now that I've added my two plugins.15:31
evI'm looking into that bug next15:31
evcorrect15:31
kyleNok15:31
kyleNev: ah, global name 'Gtk' is not defined (in gtk_ui.py)15:33
stgraberkyleN: if 'DISPLAY' in os.environ: from gi.repository import Gtk, Gdk, GObject15:34
stgraberkyleN: do you have DISPLAY in your environment?15:34
kyleNstgraber, well, I can't get to a tty to check after the crash or before it.15:35
kyleNi am testing in a kvm vm.15:36
superm1the DISPLAY check is so that oem-config -q works15:36
kyleNhowever, when I boot in recovery mode, and echo $DISPLAY, it is not defined15:36
kyleNsuperm1, do you think the vm is implicated?15:37
kyleNi can test on hw15:37
kyleNif sensible15:37
superm1DISPLAY will only be in the environment if you're running in X, so you won't have DISPLAY in recovery mode15:38
kyleNright.15:38
ogra_hmm, is CIA broken or is it my local setup ?16:11
CIA-31ubiquity: evand * r4905 trunk/ (d-i/manifest debian/changelog):16:16
CIA-31ubiquity: Automatic update of included source packages: user-setup16:16
CIA-31ubiquity: 1.28ubuntu19.16:16
* ev kicks CIA-31 16:17
CIA-31ow16:17
evhe's alive, ogra_16:17
ogra_bah, then my side is broken ;(16:17
ogra_(i touch these branches so rarely i dont even know when it broke)16:18
CIA-31ubiquity: evand * r4906 trunk/debian/changelog: releasing version 2.7.2116:33
bdmurrayev: Does the syslog info regarding ubiquity no longer have the oem-config string in it?17:02
bdmurrayit used to say something like this with oem-config also in it17:04
bdmurrayAug 29 21:13:58 ubuntu ubiquity[2829]: Ubiquity 2.7.1717:04
evbdmurray: what would that give you?17:14
evwhen oem-config is running it writes to /var/log/oem-config.log17:14
bdmurrayev: well I was tagging bugs oem-config17:14
evso you could just look fro that17:14
evfor*17:14
bdmurrayev: okay, thanks17:15
CIA-31ubiquity: evand * r4907 trunk/ (3 files in 3 dirs): Add back accidentally deleted build_timezone_list call.17:20
kyleNstgraber, superm1, after a few python changes, my plugin pages work and all is well. thx17:23
superm1cool17:29
kyleNby the way, the main fix was to 'from gi.repository import Gtk' instead of simple import gtk (my head still swims in natty land ;)17:30
superm1yeah all plugins need to be converted to pygi now,17:33
CIA-31ubiquity: evand * r4908 trunk/debian/changelog: releasing version 2.7.2217:40
CIA-31ubiquity: evand * r4909 trunk/ (bin/oem-config-remove-gtk debian/changelog):18:02
CIA-31ubiquity: Use the correct API for manipulating the finished dialog for oem-18:02
CIA-31ubiquity: config-remove-gtk.18:02
CIA-31ubiquity: evand * r4910 trunk/debian/changelog: releasing version 2.7.2318:10
superm1ev, that fix is importing both gtk2 and gtk3 though no?18:11
evargh, damn18:12
evAptProgressDialog seems to use gtk2 internally18:12
superm1it shouldn't i'd think?  it's being imported from the aptdaemon gtk3widgets collection18:12
evyeah, I'm screwing this up somehow18:13
evdon't have time to investigate though as I have a gig to get to18:13
evbut I've asked pitti to kill that version18:13
CIA-31ubiquity: superm1 * r4911 ubiquity/ (bin/oem-config-remove-gtk debian/changelog): Use only gtk3 in oem-config-remove-gtk (2.7.23 was also using gtk2).18:57
CIA-31ubiquity: superm1 * r4912 ubiquity/ (debian/changelog src/panel/panel.c): Update the directory for the panel to search for indicators.19:04
CIA-31ubiquity: superm1 * r4913 ubiquity/debian/changelog: releasing version 2.7.2419:04
CIA-31debian-installer: cjwatson * r1525 ubuntu/debian/changelog: releasing version 20101020ubuntu6023:04

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