/srv/irclogs.ubuntu.com/2016/05/05/#ubuntu-desktop.txt

=== JanC is now known as Guest15498
=== JanC_ is now known as JanC
Laneyhidehi08:05
willcookeg'mornin' Laney08:12
Laneyhi willcooke08:14
Laneywhat go?08:14
willcookelast day of UOS08:14
willcookehuzzah08:14
willcookethink I'm going to get a hair cut this morning08:14
Laneychanging the world one hangout at a time08:14
willcookeyou knowns it08:14
willcookeknows08:14
Laneyvoted yet?08:14
willcookeoh yes!  that too08:14
willcookeI shall do so on my hair to get a hair cut I think08:15
Laneyi went to a hustings last night08:15
willcookeI have seen none of the candidates canvasing at all08:15
Laneysome protesters disrupted it at the end08:15
willcookeyay!08:15
Laneyother than that it was the worst08:15
LaneyI'm going to spoil my ballot08:15
* Laney looks at chrisccoulson 08:15
willcookeAwesome!08:15
willcookegoing for the classic "cock and balls"?08:16
Laneyhaha08:16
LaneyI was thinking about appealing to the conscience of the counter08:16
willcooke:D08:16
Laney"get up and leave the room now"08:16
willcooketake the ballots with you and throw them in a pond08:16
Laneybloody PCCs08:17
Laneyanything interesting is "operational" and not a matter for them08:17
davmor2willcooke: he's a geek he can't throw, he'll wind up keeping hold of it and throw himself in the pond. Laney don't listen to willcooke he's just trying to get you wet08:18
willcookeI meant the counter08:18
LaneyI could put a steak on a stick and tempt them all into the pond08:19
davmor2willcooke: see that's how a geeks brain works :D08:19
Laneyor maybe my ballot on a rope dnangling over the pond would be more attractive to an election counter08:20
* Laney votes for davmor2 instead08:21
davmor2Laney: Europe is already broke they don't need my help ;)08:23
willcookegoing to get a haircut, bbl08:30
Laneyhf08:30
* Laney gets trello-y08:58
willcookebah, closed09:03
willcookeI'll try again tomorrow09:04
=== Drac0 is now known as Guest65030
willcookescrew this, I'm buying an Intel wifi card09:23
willcookeoh, 3 quid on ebay09:25
willcookeshould have done this a long time ago09:25
andyrockmorning all09:35
Laneyxnox: NEO doesn't support 4096R?09:38
Laneyhi andyrock!09:38
willcookehi andyrock09:39
chrisccoulsonHI Laney09:45
chrisccoulsonI'm not even bothering with that today - I think it's only PCC elections here.09:45
chrisccoulsonI don't even know where my polling station is ;)09:46
Laneythat's all we have too09:48
Laneynice walk in the sun if nothing else09:48
willcookeman, what is up with the progressbars09:57
willcookethe styling isn't being applied properly, and the background colour seems to be defaulting to transparent09:58
willcookeI've checked the theme, and the CSS is correct and does apply in the inspector09:58
willcookeso must be a specificity thing (again)09:58
attenteLaney: hey, so g-s is blocked from being sru'd because of this apparently: https://errors.ubuntu.com/problem/58f08ffc3281621f3df0ae8b636df69edadf0f02. it doesn't seem like it was introduced in the version just uploaded, but it seems like it might be occurring more often than before10:34
Laneyattente: did you get one of those automated emails?10:37
attenteLaney: yeah10:38
Laneyholy early morning10:38
Laneyattente: doesn't look like a regressio nto me10:38
LaneyI'd reply and say that10:38
Laneydon't know what the problem is though, do you?10:38
Laneyno TagF?10:39
attentehard to tell...10:40
Laneymight be sensible to check that10:40
Laneylike maybe if the PkgF.Open fails10:43
Laneyfile:///usr/share/doc/libapt-pkg-doc/html/classFileFd.xhtml10:43
Laneyit returns a bool10:43
attentenot sure how TagF can be invalid here10:44
LaneyI think just check at 376 and fail with an error if the Open() doesn't work10:46
Laneycan't think of another reason10:46
attentewouldn't the backtrace fail in the Jump function?10:46
Laneyother than trying to make a tagfile from a not opened FileFD10:46
Laneyor a malloc failure or something10:49
=== hikiko is now known as hikiko|off
GunnarHjHi Laney, and chance you can sponsor bug #1575555?11:54
ubot5bug 1575555 in fonts-noto-cjk (Ubuntu Xenial) "Chrome/Chromium use "Thin" as default font weight" [Medium,In progress] https://launchpad.net/bugs/157555511:54
LaneyGunnarHj: I can look after lunch11:57
Laneyis it just a case of backporting y to x?11:57
GunnarHjLaney: Great. Yes, backporting or upload from PPA - your choise.11:57
Laneyk11:58
pittiGood morning12:10
willcookemorning pitti12:17
pittihey willcooke12:20
willcookeattente, around?13:17
dholbachwillcooke, attente: have you seen something like http://paste.ubuntu.com/16237898/ with gnome-software already?13:18
dholbachdpm, ^13:18
dholbachit looks like I get no apt/dpkg results13:19
attentewillcooke: hey13:19
willcookeheh, so basically, what dholbach said :)13:19
willcookeI'm just running through some troubleshooting with dpm now13:19
dholbachah ok13:19
willcookedholbach, is it broken for both of you?  cos wfm13:20
attentecan you try running it with a strace+grep to see what file it's trying to open?13:20
dpmattente, willcooke, is this the right version? http://pastebin.ubuntu.com/16237931/13:20
dpmwillcooke, yeah, we were on a call preparing the demo and it's broken for both of us13:21
willcookedpm, correct version13:21
dpmattente, http://pastebin.ubuntu.com/16237826/13:21
willcookedpm, what does "snap find hello" return?13:21
dpmName         Version  Summary13:22
dpmhello-world  6.0      Hello world example13:22
attentedpm: does this still happen after killing it and re-starting?13:22
dpmattente, yes, tried to killall and restart multiple times13:23
dholbachattente, output of strace -eopen,stat gnome-software (http://paste.ubuntu.com/16237969/)13:23
willcookedpm, what app are you searching for?13:23
attentedpm: can you try doing an apt-cache update and restarting?13:23
dpmwillcooke, I was just searching "calculator"13:23
dpmattente, restarting what?13:24
attentedpm: restarting gnome-software13:24
dpmattente, I guess you mean 'apt update'? Tried that already13:25
dholbachapt update and restarting gnome-software doesn't help in my case13:25
willcookedpm "snap find calculator" == "no snaps found for calculator"13:25
attenteyeah, sorry13:25
attenteapt update13:25
dholbachI also tried to remove cache/config files of gnome-software, just to be sure it wasn't some old broken config13:25
dholbachbut that also didn't help13:25
dholbachdid we catch other bugs which said "failed to start fwupd" somewhere?13:26
dpmwillcooke, I think that's a known bug with the 'find' CLI command, as the snap name is 'ubuntu-calculator-app', but up until today g-s found it by just searching for "calculator"13:26
seb128good afternoon desktopers!13:26
dholbachsalut seb12813:26
willcookedpm,  and so if you search for "ubuntu-cal" in g-s what happens?13:27
seb128hey dholbach13:27
seb128dpm, I joined in the middle, but substring matching for g-s/snap query never worked, if that's the topic13:27
dpmwillcooke, that shows me 2 results now13:27
dholbachseb128, tout est cassé :)13:27
dpmhey seb128, afternoon!13:27
seb128dholbach, oui, snapcrap fault!  ;-)13:28
dholbachhaha13:28
dholbachfor me gnome-software shows no apt/dpkg apps at all13:28
dholbachjust the snaps I have installed13:28
xnoxLaney, v4 yes, previous no.13:28
dpmseb128, it did work, I have proof! :)13:28
xnoxLaney, hence it's my sub-key only at 2k13:28
dpmseb128, -> https://developer.ubuntu.com/en/desktop/get-started/13:28
xnoxxnox, so yeah.13:28
Laneyxnox: no neo v4 though?13:29
xnoxLaney, not yet13:29
seb128dpm, maybe before snappy->snapd13:29
xnoxthey switched the vendor and rumour has it, the nfc v4 (or i guess v5 will come)13:29
seb128dpm, in any case it's a store issue, not a g-s one13:29
Laneynice13:29
seb128dholbach, weird, do you have a debuglog to share?13:29
seb128the channel is more active that I though13:30
seb128today is not a bank holiday in the u.k I guess?13:30
Laneyhi seb12813:30
Laneywe had that on monday13:30
seb128hey Laney13:30
seb128monday was for the 1st of may right?13:30
willcookedpm, can you install one of the two results you have now?13:30
seb128today is assumption day13:31
seb128ascension13:31
seb128doh13:31
seb128dholbach, isn't it a vac for you?13:32
dholbachseb128, output of strace -eopen,stat gnome-software (http://paste.ubuntu.com/16237969/)13:32
Laneyyes it's a replacement one13:32
seb128I see13:32
seb128dholbach, no normal log?13:32
dholbachseb128, http://paste.ubuntu.com/16237898/13:32
dpmwillcooke, will try in a bit, need to jump on a call, will be filing some bugs :)13:33
seb128dholbach, did you try to kill the running instance? that log looks like it's not starting but exiting on favor or an existing one13:34
dholbachseb128, yes, several times13:34
seb128dholbach, can you kill it and get a log with --verbose?13:34
dholbachI also removed its cache and config13:34
seb128Laney, did you try helping dholbach already? (I just joined and start wondering how much debugging there was before that)13:35
willcookedholbach, is your issue the same as dpm - in that it used to find ubuntu-calculator if you just searched for "calculator" and now it doesnt?  What happens if you search for "ubuntu-cal" - does it show up then13:35
Laneyseb128: no, I don't want to join the fight here, I just came back from lunch13:35
seb128Laney, k13:35
Laneyattente was involved13:35
dholbachwillcooke, 'ubuntu-cal' works for me, my problem is that no apt/dpkg packages are shown13:36
seb128dholbach, can you get the verbose log? ;-)13:37
dholbachon it13:37
dholbachbut in a call13:37
dholbachattente, seb128: http://paste.ubuntu.com/16238226/13:38
attentedholbach: anything in /var/cache/app-info?13:38
dholbachhttp://paste.ubuntu.com/16238236/13:39
=== Drac0 is now known as Guest42382
attentedholbach: /var/lib/app-info too?13:39
dholbachhttp://paste.ubuntu.com/16238249/13:39
willcookedholbach, do you have the U8 session installed as well?13:39
dholbachyes13:39
willcooke:)13:39
willcookeI wonder13:40
willcookecould be the first fall out from the PK thing seb128? When you pull in U813:40
seb128willcooke, I was starting to think the same13:41
seb128dholbach, dpkg -l | grep aptdaemon13:41
dholbachhttp://paste.ubuntu.com/16238284/13:42
seb128dholbach, your full log doesn't have the failed to open error and seems to list quite some content13:43
dholbachthey went to stderr13:43
dholbachthey are the same as what's in the log I pasted earlier13:44
dholbachseb128, UOS is not a vac :)13:44
seb128dholbach, yeah, tell me :-/13:44
* dholbach hugs seb128 13:44
* seb128 hugs dholbach back13:44
seb128attente, dholbach, everything in that log is kind "unknown"13:46
seb128dholbach, when did the issue start?13:46
dholbachlet me know if there's anything else I can try to do13:47
dholbachI don't know - I haven't used it much13:47
attenteseb128: are you reproducing it too?13:47
dholbachI just tried it earlier to prepare for a demo with dpm13:47
seb128attente, no13:47
attentedholbach: and apt update, killing g-s, starting g-s didn't do anything?13:48
dholbachno13:48
dholbachI was up to date13:48
dholbachand restarted my machine even13:48
Laneyappstreamcli search .13:49
dholbachhttp://paste.ubuntu.com/16238415/13:50
seb128dholbach, what ubuntu serie do you use?13:55
dholbachxenial13:55
seb128can you share syslog?13:55
attentewhat's that u8 pk change that happened?13:55
attenteis it supposed to remove aptdaemon or something?13:56
dholbachhttp://paste.ubuntu.com/16238523/13:56
seb128attente, it removes the pkgkitcompat layer13:56
attenteso i'm fully up-to-date. what package should i install to try to reproduce?14:00
seb128attente, unsure if that's something where you install a package to reproduce, that was a random guess I think14:01
Laneythose 'failed to call' messages are probably the thing to debug14:01
seb128right14:02
seb128dholbach, ls -ld /var/lib/app-info ?14:04
dholbachdrwxr-xr-x 4 root root 4096 Apr 19 15:05 /var/lib/app-info14:05
dholbachattente, unity8-desktop-session-mir maybe(?), if it's about unity814:06
seb128dholbach,14:06
seb128appstreamcli dump vlc.desktop14:06
dholbachhttp://paste.ubuntu.com/16238714/14:07
pittiseb128, xnox: meh, got double-booked with a Mark session on our UOS session upstart14:07
pittiI asked to move it, but you might need to start without me14:07
seb128pitti, hum, k, if you can't be there we better reschedule I think?14:08
seb128Laney, attente, where is the gs "kind" info coming from?14:08
Laneyplugins set it once they figure out what kind a component is14:10
xnoxpitti, i noticed14:10
seb128dholbach, do you get the same issue in a guest session?14:13
dholbachseb128, I won't be able to try today, to busy because of UOS14:13
dholbachs/to/too14:13
seb128dholbach, sorry  I've no idea about that issue14:14
Laneynormally the appstream plugin is responsible for making application objects and setting them to be desktop applications (the ones we normally show)14:15
dholbachyeah... I don't know either14:15
dholbachgnome-software just shows snaps right now14:15
seb128so it all goes down to appstream failing to load on a no such file or directory14:15
LaneyI think you want to attack this directly and find out why you're getting those messages14:15
seb128right, no idea about that though14:15
seb128the files are there on disk and permissions are ok14:15
seb128appstreamcli find them14:15
seb128and strace doesn't show anything weird14:15
Laneysure14:16
Laneythat's why more debugging is required14:16
seb128failed to call gs_plugin_refine on appstream: Error opening file: No such file or directory14:16
willcookeseb128, worth reinstalling the compat layer just to see what happens?14:16
Laneycan't do that without being able to reproduce though14:16
Laney:(14:16
seb128do we know what file exactly it's trying to open?14:16
Laneythat is the debugging14:16
Laneyyou need to trace gs_plugin_refine_app in src/plugins/gs-plugin-appstream.c and find out where the error comes from14:19
seb128dholbach, can you strace -f gnome-software and share the log?14:20
dholbachthe log is like 30M already and the UI didn't even come up yet14:22
seb128dholbach, ctrl-C, gzip?14:23
seb128or do it again but ctrl-C after 10s14:23
GunnarHjLaney: A friendly reminder of that bug...14:23
LaneyNo need14:24
dholbachseb128, http://daniel.holba.ch/temp/log.gz14:25
seb128dholbach, danke14:26
dholbachde rien14:26
attentedholbach: any chance you're on a metered wifi connection?14:31
dholbachattente, metered?14:31
dholbachI'm on wifi at home14:31
attentedholbach: just speculating if the refresh is doing something differently in case you're on 3g14:31
dholbachah ok14:32
attentebut guess not14:32
dholbachno, that shouldn't be the case14:32
seb128dholbach, is /var/lib/app-info/yaml/archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz pointing to a valid file?14:33
seb128and how big is that file?14:33
dholbachah no14:33
dholbachpoints to /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_dep11_Components-amd64.yml.gz which does not exist14:33
dholbachah... I guess I moved from archive.u.c to de.archive.u.c at some stage14:33
dholbachmaybe that's why(?)14:33
seb128did you try to click on the "refresh" button in g-s?14:34
seb128on the top left14:34
seb128attente, Laney, when are those /var/lib/app-info/yaml links updated?14:34
dholbachwhere is the refresh button?14:35
seb128if you go to the updates tab14:35
attenteshould be during an apt update. refreshing with the button on the updates tab should trigger it though14:35
seb128in the top left14:35
seb128dholbach, can you copy the log of a sudo apt-get update as well?14:35
seb128see if you have warnings/errors there14:35
seb128I wonder if you have that bug where an invalid repo is breaking the update14:36
dholbachthe update is taking ages14:36
dholbachin g-s14:36
dholbachnow it says "it's all up to date"14:36
dholbachand the broken symlinks are still there14:36
seb128k14:36
seb128sudo apt-get update | pastebininit :p14:37
dholbachhttp://paste.ubuntu.com/16239267/14:37
seb128iz mvo's fault!14:37
seb128dholbach, does it fix it if you disable the spotify repo and do another update?14:37
dholbachlet me see14:37
dholbachthe symlinks are now up to date14:39
seb128and g-s works I guess?14:39
dholbachyes, it took a while to load14:39
dholbachbut it looks good now14:39
seb128k14:39
seb128so we figured it out!14:39
attenteso is appstreamcli refresh not getting called when apt update fails?14:40
dholbachdpm, issue found, tldr: apt repos with weaker security break appstreamcli's data update, g-s gets confused over missing data14:40
dholbachattente, seb128: I'm sure that MANY users see this issue14:40
dholbachLaney, ^14:41
seb128yeah, ,likely14:41
dholbachcan't appstreamcli just take the apt lists which are good and up to date?14:42
Laneyapt is not calling appstreamcli14:42
Laneybecause it thinks the update failed14:43
dholbachmh14:43
seb128told yeah, iz mvo bog! :-)14:43
attentelol14:43
seb128yeah->ya14:44
seb128g-s could also give some clue that the index refresh is failing14:44
attenteyeah14:45
Laneysaying what?14:45
seb128"the package index update failed, check your sources?"14:47
seb128with maybe with a detail showing eventual E:14:48
seb128"E: The repository 'http://repository.spotify.com stable Release' does not have a Release file."14:48
seb128dunno14:48
seb128any error would be better than letting you hitting refresh again and again and not telling you it's failing14:48
attentei don't understand why g-s wouldn't work when appstreamcli search . was clearly working at the time14:53
LaneyI imagine there's something that could be done, like14:53
Laney - g-s knows there's no GsApps to display14:54
Laney - try to refresh14:54
Laney - if that fails, display some message14:54
LaneyIt sort of intersects with the first run work14:54
LaneyClearly needs design14:54
Laneyand also clearly is not Ubuntu specific14:54
seb128right14:54
LaneyIn this case we should look for a solution that gets the index refreshed14:55
Laneyattente: appstream-glib accesses the .yaml files itself14:55
seb128seems like dholbach had indexed in the apt dir14:55
attenteshould the appstream plugin try to do a refresh itself?14:55
Laney.yml.gz, whatevs14:55
seb128why are we not using those directly?14:55
Laneyit doesn't use that same database14:55
seb128and relying on symlinks that might be wrong/outdated14:56
seb128but the /var/lib/app-info/yaml ones are symlinks, not different db14:56
seb128they just pointed to the wrong files in his case14:56
LaneyI didn't say that they weren't symlnks.14:56
LaneyI said that appstreamcli search is looking at a different thing to appstream-glib.14:56
seb128ah ok14:57
LaneyUsually they coinciide (so it is a useful test), but not always14:57
LaneyAnd I would imagine it's because appstream-glib doesn't want to know about apt's private directories14:57
LaneyProbably it's valid for other things to put appstream in that place14:57
xnoxpitti, seb128: i'm double booked too.... shall we move/postpone the upstart user session ?15:01
pittihm, meh15:01
seb128xnox, pitti, +115:01
pittiI guess we have to15:01
seb128Laney, attente, unsure if apt failing on invalid report is a bug or a feature? it could skip over those and get the update done anyway15:02
seb128need to check with mvo when he's around15:03
attentemaybe it's actually more appropriate for the appstream plugin in gnome-software to actually refresh the cache itself instead of depending on apt to do it15:05
mhall119pitti: are you all set for your UOS session?15:57
pittimhall119: sorry, no, double-booked with a Mark session on the sprint here15:57
mhall119is there someone else who can run it?15:57
pittiI don't actually know much about the session upstart rationale/integration, so if seb128 and xnox want to go along, please do15:59
pittiotherwise we need to postpone15:59
pittisorry, sprint craziness15:59
seb128pitti, mhall119, xnox is also double booked and I didn't prepare much, better to postpone15:59
mhall119pitti: can you do it at 1800 UTC?16:00
pittimhall119: WFM, if seb128 can do that too16:04
mhall119seb128: ?16:05
seb128mhall119, pitti, no, sorry, I've dinner plans that conflict :-/16:05
pittiI guess we'll talk about it next week then16:05
seb128but feel free to do it without me16:05
mhall119pitti: can we schedule it for ubuntuonair.com next week?16:05
pittithis is all desktop-y work, not much point without desktop guys aroud16:05
pittiwe probably should just do a three-day sprint (virtual or real) for this16:06
pittiLaney, seb128, xnox and me perhaps16:06
seb128that would work as well16:07
Laneylet's talk next week16:07
* Laney isn't sure of the scope yet16:07
pittiseb128, Laney: who would actually have some knowledge about how the current system works?16:08
Laneywhich part?16:08
pittii. e. rationale for moving so much stuff to upstart instead of dbus activation, etc.16:08
pittiLaney: well, everything :)16:09
pittii .e. how the session starts under upstart, and converting gnome-session to upstart jobs, etc.16:09
Laneystgraber drove most of it I think16:09
pittitedg?16:09
LaneyI know how but can't really speak to why16:09
Laneyjust "make things event driven" probably16:09
pittiLaney: ah, so mirroring the phases of g-sessoin?16:10
tedgYes, event driven was important, but also having logging and control.16:10
tedgWe had for instance every indicator implementing logic for managing restarts for debugging.16:10
pitti(previous Mark session is running over, but unsure when our's starts)16:10
seb128pitti, tedg yes16:11
tedgWhere we were able to remove all that code and just use Upstart16:11
tedgDBus activation also has some interesting race cases that we never solved. Those are largely fixed by systemd, but I'd not recommend dbus activation without systemd managing the bus.16:12
LaneybyeeEEee17:07
willcookesee ya Laney17:07
willcookegnight all19:44
=== hikiko is now known as hikiko|off

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