/srv/irclogs.ubuntu.com/2013/08/27/#kubuntu-devel.txt

soeegood morning06:27
lordievaderGood morning.07:59
=== ghostcube_ is now known as ghostcube
Riddellouch, my dentist had a break down half way through drilling out my tooth :(09:13
Riddellshadeslayer: they did one a couple of years ago too, I've got the files if you want them09:14
smartboyhwRiddell, LOL09:16
shadeslayerRiddell: I see, well, I still have to watch the rest of that one09:27
shadeslayerI watched 30 mins of it, then I started to have a headache09:27
smartboyhwshadeslayer, oh:(09:37
=== 20WACYJOB is now known as toscalix
smartboyhwRiddell, you are a Debian developer right?09:58
Riddellsmartboyhw: not I10:03
smartboyhwRiddell, :O10:04
shadeslayerScottK: has rights I believe10:04
* smartboyhw wants somebody to sponsor his first package into Debian....10:04
Riddellsmartboyhw: what's the lucky package?10:05
smartboyhwRiddell, zbackup10:05
smartboyhwIt's a new one, so it's a good opportunity to train it out my packaging skills10:06
smartboyhw(Albeit it's quite an easy one)10:06
shadeslayerokay I think login is faster if cache is populated from the install10:08
yofelfor kde it will be, cache generation takes quite a while10:10
Riddellshadeslayer: what's your current method?10:12
shadeslayerRiddell: http://paste.kde.org/p171e1662/10:13
shadeslayerRiddell: though I can remove the dir creation stuff by running kbuildsycoca4 twice , once before I copy the cache, and once I copy it10:13
* smartboyhw forgotten the command to check copyright again, yofel10:14
smartboyhwIDIOT10:14
shadeslayerwhich is what I'm trying right now10:14
shadeslayersmartboyhw: licensecheck10:14
yofel^10:14
shadeslayerheh, also missing a ] in the subprocess.call10:15
Riddellsmartboyhw: also run suspicious-source10:19
smartboyhwRiddell, yeah?10:20
shadeslayerRiddell: sebas agreed that copying the cache should work10:20
Riddellsmartboyhw: so you don't let in any non-preferred modifiable form files10:24
shadeslayeryofel: does python have a method to copy all files matching a regex?10:40
shadeslayerthen I can just copy over *.kcache10:40
RiddellI don't think so, you can use a shell call or just match the files in python easy enough10:41
Riddellsubprocess.call("cp * foo/", shell=True)10:42
RiddellI think10:42
shadeslayerah yes, shell call is probably easier10:42
yofelpython has a glob module I think that you could use, but shell would be easier10:43
=== ghostcube_ is now known as ghostcube
Riddellhi manchicken 12:07
manchickenHiya12:07
BluesKaj'Morning all12:10
shadeslayerxnox: ping12:17
shadeslayerxnox: is there a way I can extract the name of the live session user?12:17
yofel$USER, no?12:18
shadeslayerubiquity will be running as root12:19
shadeslayerso won't $USER be root?12:19
shadeslayerproblem is : cache_path = subprocess.getoutput('kde4-config --path cache') : gives me the cache of the root user12:19
shadeslayerwhich does not have the cache files12:19
shadeslayerbut the live user does12:20
xnoxshadeslayer: class DM has self.username, there is also get_casper('USERNAME', default_username)12:20
xnoxshadeslayer: SUDO_USER should be defined in the environment as well.12:20
xnox(SUDO_USER used in a couple of places in the installer itself)12:21
xnoxshadeslayer: else fallback to root, as e.g. it is valid to run ubiquity as root with no "normal" accounts.12:21
shadeslayerxnox: I don't wnat to fallback to root because it doesn't have the KDE cache files populated :)12:22
xnoxshadeslayer: or simply use the drop privileges decorator, to executed something as a mere mortal.12:22
shadeslayeraha12:22
shadeslayerthat sounds better12:22
xnoxshadeslayer: preexec_fn=misc.drop_all_privileges12:22
shadeslayerxnox: can drop_privileges be used in scripts/plugininstall.py ?12:22
xnoxno idea =)(12:23
xnoxno idea =)12:23
xnoxshadeslayer: try and see what breaks =)12:23
shadeslayerlol12:23
shadeslayerxnox: once dropped, can I elevate again?12:23
shadeslayer( doesn't seem like it )12:23
shadeslayerxnox: v12:27
shadeslayererm12:27
shadeslayerxnox: http://paste.kde.org/p699b323c/12:27
shadeslayerxnox: only problematic line is line 1012:27
shadeslayerneed to figure out how to run that as the live user12:28
xnoxshadeslayer: drop_privileges is for running stuff as $user in the live session, not in target.12:28
shadeslayeraha, there's a regain priviliges12:30
shadeslayerxnox: right, I understand12:30
shadeslayerxnox: btw, do you have an idea if populating the xapian cache on the target system has been investigated?13:02
xnoxshadeslayer: which xapian cache? i thought on ubuntu cds it does happen at the end when software-centre is configured.13:05
xnox - the apt-xapian cache that is.13:05
shadeslayeryes, that's the one I'm talking about13:05
shadeslayerxnox: is that generic or specific to the ubuntu CD>13:05
shadeslayeror even the package13:05
xnoxno idea, I just know that it happens =)13:05
shadeslayerheh =)13:06
xnoxshadeslayer: so apt-xapian-index is purged from target with a comment that it will be reindexed later.13:09
shadeslayeryes I saw that13:09
shadeslayersomething along the lines of "Once the target systems apt is fully configured we will re index"13:09
xnoxshadeslayer: are you just pondering or you did live-session install, then mounted /target and saw there is no apt-xapian inde?13:15
shadeslayerxnox: installing to check if my guess is correct13:15
shadeslayerxnox: atleast from the logs I don't think it's doing anything related to the apt xapian index13:15
smartboyhwAnyone here have any ideas as to which team in Debian should I join?13:22
shadeslayerthe KDE one?13:26
smartboyhwshadeslayer, except the KDE one?13:26
shadeslayernot the GNOME one?13:27
smartboyhwshadeslayer, I know nothing about GNOME:P13:27
shadeslayerI bet apachelogger can enlighten you about it13:27
smartboyhwshadeslayer, oh13:28
apacheloggerhttp://wstaw.org/m/2013/08/27/plasma-desktopyY2304.png phonon5 playing video13:28
smartboyhwapachelogger, shadeslayer say you can enlighten me on above topic^13:28
apacheloggerGNOME is awesome.13:29
smartboyhwapachelogger, ......13:29
apacheloggerall the Enlightenment you need13:29
smartboyhwapachelogger, .................13:29
BluesKajapachelogger, bah :)13:29
apacheloggeror perhaps you should have a look at your Windows 13:29
shadeslayerI heard they tried to remove middle click paste13:29
apacheloggerto see an Apple falling from a tree, landing on a Bee13:30
smartboyhwapachelogger, you are obviously answering the wrong question...13:30
shadeslayerand then it was reverted13:30
apacheloggersmartboyhw: yeah, because there was no question13:30
smartboyhwapachelogger, um the question is <smartboyhw> Anyone here have any ideas as to which team in Debian should I join?13:30
apacheloggeror there was one, and that one I cannot answer as I am not in any debian team13:30
smartboyhwapachelogger, oh13:30
shadeslayerhttps://git.gnome.org/browse/gnome-settings-daemon/commit/plugins/xsettings/gsd-xsettings-manager.c?id=696e04d41a485f84870a98c85b819979928b69e913:30
smartboyhwshadeslayer, can you get somebody who can ACTUALLY answer?:13:30
smartboyhw:P13:30
apacheloggerso shadeslayer #fail 13:30
BluesKajhow about the debiam kde team , if there is one :)13:31
shadeslayerwhat13:31
shadeslayerBluesKaj: ofcourse there is one :P13:31
apacheloggerI heared they all switched to fedora13:32
BluesKajyeah , no kidding '13:32
smartboyhwOK, so you want me all to switch to Debian and do packaging work there instead of here?:P13:32
BluesKajI see alot of fewrora users in #kde13:32
BluesKajoops fedora13:32
* BluesKaj needs more coffee13:33
BluesKajso fedora must have problems on kde13:33
smartboyhwBluesKaj, :O13:34
apacheloggeror they have users13:35
apacheloggertrolololo13:35
shadeslayer^^13:36
smartboyhwapachelogger, shadeslayer so, the Debian Qt/KDE team?13:36
shadeslayer¯\_(ツ)_/¯13:37
smartboyhwshadeslayer, OK, what the hell is that?13:37
shadeslayerI don't know 13:38
smartboyhwshadeslayer, huh13:38
smartboyhwTHen why are you typing that?13:38
smartboyhwIt's a Japanese word + arms13:38
shadeslayeryes, I know, I just used it as a substitute for IDK since it better conveys what I wanted to say13:39
smartboyhwshadeslayer, ..............................................................................................................................................................................................................................................................................13:39
apacheloggerit's an emoticon that's what it is13:44
BluesKajlook s like , "I have no idea"  :)13:45
smartboyhwIt looks like to me as \o/13:46
jussiit looks like *shrug*13:49
shadeslayerhalp http://paste.kde.org/~shadeslayer/p3fda168e/13:57
shadeslayercauses crash : http://paste.ubuntu.com/6032727/13:57
shadeslayerline 958 ^^13:57
* Riddell tunes into http://summit.ubuntu.com/uds-1308/meeting/21887/intro-and-keynote/13:58
* smartboyhw too13:58
RiddellAug 27 13:50:17 kubuntu ubiquity:   File "/usr/share/ubiquity/plugininstall.py", line 167413:58
RiddellAug 27 13:50:17 kubuntu ubiquity:     universal_newlines=True).communicate()[0].strip('\n')13:58
shadeslayeryes13:58
Riddellshadeslayer: invalid syntax13:58
shadeslayerwhy?13:58
Riddellshadeslayer: missing comma13:59
Riddellpreexec_fn=misc.drop_privileges13:59
Riddellthere ^^13:59
shadeslayer%$^%*&13:59
smartboyhwshadeslayer, CALM DOWN14:00
shadeslayermy brain hurts14:00
shadeslayerpython is driving me crazy14:00
* smartboyhw drives shadeslayer even more crazy14:01
shadeslayer/o\14:03
* smartboyhw thinks shadeslayer should be sent to "Tsing Shan" (a.k.a. hospital for crazy people)14:04
shadeslayer-.-14:13
shadeslayerthe cp command still doesn't work :/14:13
shadeslayerhmm14:41
shadeslayerxnox: I don't think drop_priviliges is working14:41
xnoxshadeslayer: define not work =) on kubuntu cd, it will correctly drop priviliges to the live-cd kubuntu user.14:42
shadeslayerxnox: http://paste.kde.org/~shadeslayer/p5bae65c4/14:43
shadeslayerthat's the code14:43
shadeslayerin syslog I see "Building KDE cache from"14:44
shadeslayerno path14:44
xnoxcheck /var/log/installer/dm anything there?14:44
shadeslayernot really no14:45
shadeslayerhttp://paste.ubuntu.com/603289514:46
shadeslayerxnox: ^^14:47
xnoxshadeslayer: at least on ubuntu, ubiquity bootted with debug-ubiquity parameter allows ctrl-alt-t to bring up the terminal with the same environment as the installer, for you to test what (if anything) is wrong with that call.14:49
shadeslayerhmm14:50
shadeslayernope14:50
shadeslayernothing14:50
shadeslayerxnox: you mean ubiquity --debug right?14:50
BluesKajctrl+alt+t hasn't worked here for ages14:51
* xnox has no idea about kde frontend. but it does work in ubuntu.14:51
xnoxshadeslayer: no, debug-ubiquity as kernel boot arg, cause you want it in ubiquity-dm, not in the live session.14:51
hggdhjust a Q, are you folks aware that apport-kde is seg-faulting?14:54
shadeslayeraha14:54
shadeslayerxnox: but my code is only meant to be run in the live session14:55
xnoxshadeslayer: what do you mean by live session? installer should do everything regardless if it was run from live session or from ubiquity-dm session.14:57
xnoxshadeslayer: probably environment variables are missing, as we use pkexec and it clears environment, and when you drop priviliges back the environment will not be the same.14:58
shadeslayerxnox: no no, this code should only be run when on the live session14:58
xnoxshadeslayer: why does it need to be run anyway then?14:58
* xnox doesn't understand, if you are generating caches, you should chroot into /target and regenerate caches there.14:58
xnoxshadeslayer: do note that your live session != the target installed environment....14:58
shadeslayerxnox: yes I know, what I'm doing is copying caches from the live-session to the target14:59
xnoxdon't do that.14:59
xnoxchroot into target and regenerate them.15:00
xnoxshadeslayer: what does it gain you?15:00
shadeslayerhmm, kind of difficult since there's no command to generate the cache on the target via command line that I know of15:00
shadeslayerxnox: login time15:00
shadeslayeror atleast it seems to me that login is faster if I copy the cache15:00
shadeslayer*first login15:00
xnoxshadeslayer: well the caches are generated somehow, if it's not exposed yet, make it exposed.15:00
shadeslayerxnox: they're most likely generated programatically15:01
shadeslayerxnox: for eg the plasma theme cache15:01
shadeslayeror the icon cache15:01
shadeslayercombined, the compromise about 90 MB's15:01
xnoxbenchmark it. I don't like something that only works via one method vs the other.15:01
shadeslayerhm, I see15:02
xnoxtalk to kde upstream, maybe they can expose cache generation.15:02
shadeslayer*nod*15:02
xnoxshadeslayer: for example icon caches should be all up to date globally, as we preserve time stamps during livefs build.15:04
shadeslayernot really, if I understand this correctly, KDE caches icons in /var/tmp/kdecache-USER/15:05
shadeslayersince you don't know the value of USER, the file is not there on the target system15:05
smartboyhwDOH, Google doesn't allow me to join the vUDS hangouts since I'm < 18:(15:18
shadeslayerlol?15:19
smartboyhwshadeslayer, true15:20
smartboyhwIt is actually Google's policy15:20
BluesKajhave patience smartboyhw . you'll be 18 someday :)15:23
smartboyhwBluesKaj, what? That's 3 YEARS, for holy's sake15:23
smartboyhwAnd that's 36 vUDS...15:24
shadeslayerI sure hope not15:24
* shadeslayer is still rooting for in person UDS to come back15:24
BluesKajlike the saying goes , patience is a virtue15:25
* smartboyhw wrote http://smartboyhwubuntu.wordpress.com/2013/08/27/google-please-let-me-join-vuds/ in fury15:25
yofelwrite vUDS-use-something-other-than-google instead15:26
yofelthen Scott could join too15:26
shadeslayer^^15:27
smartboyhwyofel, wait, why Scott can't?15:27
shadeslayerIt's proprietary15:27
shadeslayersame reason I try and actively avoid it15:27
yofelsmartboyhw: he doesn't agree with google's TOS afaik15:27
smartboyhwyofel, oh:)15:27
shadeslayerand that as well ^^15:27
smartboyhwshadeslayer, yofel updated15:28
smartboyhwAt least pleading Ubuntu to change15:28
shadeslayerI am unsure why they did not go with mumble15:28
shadeslayerI don't think video is *that* important15:28
yofelwell, video *is* nice15:30
yofelit does give it a bit more personal feeling15:30
smartboyhwBut, this TOS is :(15:30
* smartboyhw has to re-consider whether he will be trying to join Google in the future15:30
smartboyhwshadeslayer, yofel their answer: "NO SOLUTION TO THIS"15:38
smartboyhwAnd they seem to stick to Video more15:38
* yofel expected that15:38
smartboyhwyofel, next thing you know from popey and IdleOne: Why not lie?:P15:41
smartboyhwNext thing you know from slangasek and rbasak: Go and write one yourself -.-15:42
shadeslayerxnox: fwiw the xapian-apt index is not created on kubuntu15:58
shadeslayerthere is no /target/var/lib/apt-xapian-index15:58
xnoxbut daily cron will create it.15:58
shadeslayerxnox: do you think we should prepopulate it from the installer ?15:59
xnoxshadeslayer: not sure.16:00
shadeslayerso, where is this db used?16:00
shadeslayermuon?16:00
shadeslayerJontheEchidna: ^ ?16:00
shadeslayerapol: ^^16:00
smartboyhwlibqapt?16:01
shadeslayerwell, it's probably implemented in libqapt, but the question is whether muon uses it16:01
apolit does16:01
yofelI think the issue was our language selector16:01
apolfor searching16:01
yofelthat doesn't work without the index16:01
shadeslayerah hmm, the trello card gives no reasons why each one of those caches should be populated16:02
shadeslayerjust says that they should be16:02
soeehiho18:05
skellatHey Riddell, can you spare a moment?18:35
skellatWhen you have the chance Riddell, please ping infinity & slangasek over -release with the amount of alphas and betas Kubuntu want to participate in during the T cycle.  It would help them with a bit of their discussion from a short session about schedule planning.18:38
* skellat wanders off18:38
=== claydoh_ is now known as claydoh
Riddellskellat: all of them I think19:52
skellatRiddell: Just please make sure to ping infinity & slangasek directly in -release with that.  knome did so for us and I think I need to track down gilir perhaps yet too.20:41
=== dantti_laptop|2 is now known as dantti_laptop

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