/srv/irclogs.ubuntu.com/2015/06/16/#ubuntu-unity.txt

=== Malsasa_ is now known as Malsasa
dednickgreyback: morning.08:59
dednickgreyback: what is the difference between processFailed & processStopped from upstart? would an application which exits cleanly generate a processFailed notification from upstart, since it wasn't expecting it to close?09:00
dednicktedg: ^ ?09:00
dednickthat's the ubuntu_app_launch_observer_add_app_failed vs ubuntu_app_launch_observer_add_app_stop notifications09:02
greybackdednick: I believe process fails if it exits with a non-zero return code09:05
=== vrruiz_ is now known as rvr
dednickgreyback: ah. ok, thought it might be that09:09
dednickgreyback: hm. wouldn't expect that from sending a close request to surface would we?09:10
greybackdednick: no, I wouldn't. Perhaps I'm wrong09:11
greybackin which case, ual is being a bit paranoid09:11
dednicki've looked at it and it seems to only generate on RESULT=failed. so...09:19
dednickunless the close request is causing the app to close with error, dunno what's happening.09:19
dednickgreyback, tedg: looks like legacy apps get an ApplicationFailed dbus notification from UAL when exiting.09:41
dednickclick seems fine09:41
dednickor it's just random :/09:43
dednickmaybe it's just the impl09:43
dednickdialer does09:45
greybackdednick: dialer does cause a fail notification on quit?09:46
dednickgreyback: ya09:46
greybackdednick: ok, that's a bit of a problem09:47
dednickgreyback: heh. it segfaults actually09:47
greybackhah! so it was correct09:47
dednickjust started manually09:47
dednickyeah09:47
dednicknevermind!09:48
dednick :)09:48
greybacklegacy apps still have that problem tho, no?09:48
greybackthat's a bug to solve09:48
dednickno, it seems ok. i thought i saw another but i've just tried09:48
dednickagain09:48
dednickgreyback: erg. clock app just generated one. but i think it's probably correct. it seems to be random so it was probably a crash09:50
greybackdednick: this might open up a crop of bugs, as apps are not accustomed to being politely asked to shut down!09:51
dednickgreyback: true! :)09:52
dednickgreyback: yeah, it's qmlscene crashing09:52
greybackwould be worth grabbing a stacktrace or two, to check if something shared is hte cause of the crash (qtubuntu maybe)09:52
dednickwe're not even supposed to use qmlscene... not supprised09:53
dednick"The qmlscene utility is meant to be used for testing your QML applications, and not as a launcher in a production environment. To launch a QML application in a production environment, develop a custom C++ application or bundle the QML file in a module. See Deploying QML applications for more information."09:53
dednickfrom qt.09:53
dednickboom09:54
greybackwell that's not an idea everyone agrees with09:54
greybackby rights, should be using 'qml'09:55
greybackbut as that's a more recent appearance, people got used to qmlscene. qmlscene just adds some extra dev flags which a user wouldn't care for09:55
=== MacSlow is now known as MacSlow|lunch
=== alan_g is now known as alan_g|lunch
=== mzanetti is now known as mzanetti|run
ChrisTownsenddpm: Hey, I heard you have been having issues with unity8-lxc.12:25
dpmhi ChrisTownsend, thanks for following up! Last evening I gave it a go on a vivid host, and I encountered 3 issues: 1) on vivid, unity8-lxc-setup fails to run, which can be worked around by installing the wily .deb from the PPA (it seems the vivid one is outdated) 2) At some point the LXC container did not start, so I was always thrown back to a disabled lightdm screen. I worked around this by manually starting the LXC container 3) Once I had done all t12:28
dpmhis, I could enter the unity8 session, but then I ended up with a black screen (but working mouse pointer)12:28
ChrisTownsenddpm: First, it all works fine for me on my Vivid machine, so let's try to figure out why your machine is having issues.12:29
ChrisTownsenddpm: Issue 1) is strange because the wily and vivid versions in the PPA are the same.12:30
ChrisTownsenddpm: Both are built from version 72 of lp:unity8-preview-lxc/development.12:31
ChrisTownsenddpm: What graphics do you have in your machine?12:32
ChrisTownsenddpm: And let's start from a fresh baseline.  Please do 'sudo unity8-lxc-setup --rebuild-all --redownload".12:33
dpmChrisTownsend, oh, I might have gotten confused by the different versions in the _archive_ not in the PPA: http://pastebin.ubuntu.com/11724543/12:34
dpmChrisTownsend, intel graphics12:35
ChrisTownsenddpm: Yeah, the wily archive version is greater than what's in the PPA (for now), but the archive version is just cherry picks of what it is in the PPA except for the debian/changelog.12:36
ChrisTownsenddpm: Ok, Intel, that should definitely work unless it's super old.12:36
dpmChrisTownsend, shouldn't have more than a year12:38
dpmChrisTownsend, in any case, regarding 1) I reported bug 146538312:38
ubot5bug 1465383 in Unity8 Desktop Preview in LXC "Vivid PPA build out of date: failure to finish setup" [Undecided,New] https://launchpad.net/bugs/146538312:38
ChrisTownsenddpm: Yeah, that's fine.12:39
ChrisTownsenddpm: Yeah, saw that bug.  Not sure what's going on with that as I don't see that issue, but it looks like an apt problem.12:39
dpmChrisTownsend, I will not have much time to test this until the evening, but at least I can try once to log into the session again. So I finished doing the setup: http://pastebin.ubuntu.com/11724558/12:40
ChrisTownsenddpm: And it's very strange you don't see it using the wily version as the wily version and vivid version do the same exact thing.12:40
ChrisTownsenddpm: Ok.  Except for the locale issues, that looks good.12:41
dpmChrisTownsend, yeah, I think the locale issues are harmless. So I guess next step is to reboot, try to login and report any errors?12:42
ChrisTownsenddpm: Right, next step is reboot and try logging in and see what happens.12:42
dpmok, off I go12:42
=== mzanetti|run is now known as mzanetti
dpmChrisTownsend, so I ended up with the black screen again12:49
ChrisTownsenddpm: Ok, could you paste the contents of /var/log/lightdm/unity-system-compositor.log?12:49
dpmChrisTownsend, http://pastebin.ubuntu.com/11724597/ - looks better than yesterday, which showed a cryptic mir error12:52
dpmI quit after ~2 minutes of black screen, I guess that was waiting time enough?12:53
ChrisTownsenddpm: Hmm, that looks fine.  I think the container is not starting for some reason.  What happens if you do 'sudo lxc-start -n unity8-lxc'?12:53
ChrisTownsenddpm: It should definitely start within 2 minutes.  More like 5-10 seconds at worst.12:53
dpmChrisTownsend, in fact, the container hadn't started, so I started it manually before logging into the unity8 session12:54
dpmotherwise, from yesterday's experience I would have got stuck at the inactive lightdm screen12:54
ChrisTownsenddpm: Hmm, there is definitely something up with the container then.  Let's try to get some debugging output.12:55
dpmChrisTownsend, is the container supposed to be set as autostart? http://pastebin.ubuntu.com/11724608/12:56
dpmor does the login into the unity8 session triggers the start?12:56
=== alan_g|lunch is now known as alan_g
ChrisTownsenddpm: The log in to the unity8 lxc session is supposed to start it.12:56
dpmah, ok. So there was no need for me to manually start it12:57
ChrisTownsenddpm: No, that is an issue.12:57
ChrisTownsenddpm: So please do this: 'sudo lxc-start -n unity8-lxc -o unity8.log -l DEBUG' and please paste the contents of the file.12:58
=== MacSlow|lunch is now known as MacSlow
dpmChrisTownsend, http://paste.ubuntu.com/11724615/12:59
=== dandrader_ is now known as dandrader
dpmChrisTownsend, I'm about to start some calls now, but I'll be around again in a few hours in my evening12:59
ChrisTownsenddpm: Ok, it starts fine from command line, so next step is to figure out why it doesn't start when logging in.13:00
ChrisTownsenddpm: Sure, just ping me later.13:00
tedgpstolowski, pete-woods1, did we ever get an API call for "is this a scope" that takes an appid?13:19
tedgI remember putting it on the backlog, but I lost track of it.13:19
pete-woods1tedg: I don't remember working on anything like that13:19
=== pete-woods1 is now known as pete-woods
tedgpete-woods, Seems like it'd be a "check to see if a file is in these directories with this name"13:21
pete-woodstedg: well, more likely a "talk to the scope registry", but yes, should still be simple13:23
tedgOh, figured checking the filesystem would be faster.13:23
pete-woodstedg: I'm sure if you log a feature request bug explaining what you need against unity-scopes-api, then michi would be able to cook this function up pretty quickly13:26
tedgpete-woods, done. bug 146567513:36
ubot5bug 1465675 in unity-scopes-api (Ubuntu) "API needed to determine if App ID is a scope" [Undecided,New] https://launchpad.net/bugs/146567513:36
mhall119mzanetti: I spent all weekend demoing the phone to people who got confused when shell didn't rotate, and the very next day you land it :/14:01
mhall119It's pretty awesome though :)14:02
balloonsmhall119, LOL14:06
mzanettimhall119, on the phone, will come back to you in a bit14:25
om26ermzanetti, do you know how I can verify https://code.launchpad.net/~aacid/unity8/borderSourceRegression/+merge/258883 fix ?14:29
mzanettikgunn, FYI, https://docs.google.com/document/d/1XBSKpFu86KSWSeNI92osoGHACY1CJ7G0n0K9bvRK1wQ/edit14:30
mzanettiom26er, looking. gimme a minute14:31
mhall119mzanetti: unless you have a witty retort (which I don't doubt) there's nothing you need to come back to me about :)14:32
mzanettiom26er, I think you won't notice it in the ui... It was causing warning messages in the test setup14:33
om26ermzanetti, aah, ok. thanks14:33
om26ermzanetti, can you help with this https://code.launchpad.net/~aacid/unity8/noTemplateInGeneratedCardCreatorCode/+merge/258980 ?14:34
mzanettiom26er, I just tried to see if those warning messages also appeared in the real world thing, but couldn't find any...14:34
mzanettimhall119, I didn't even read your question before... :D14:35
mzanettimhall119, nice, thanks14:35
mzanettiom26er, that second branch is only code readability/performance improvements, shouldn't change anything visible in the ui.14:39
mzanettiom26er, basically just make sure the scope still look as you'd expect them14:39
om26ermzanetti, crashes ?14:39
om26er:p14:39
mzanettiit crashes?14:39
=== davidcalle_ is now known as davidcalle
om26ermzanetti, no I mean does it have a potential to crash14:39
om26er?14:39
mzanettiI had a quick read through and it looks like it moves the same code from inside the cards to a more generic place outside... so that it is only evaluated once.14:41
mzanettiso in theory nothing should be more prone to crashes than before...14:41
mzanettiom26er, ^14:41
om26ermzanetti, ack, thanks14:43
om26ermzanetti, the launcer is partially visible in the edge tutorial, is that new behavior ?14:49
mzanettiom26er, hmm... don't think so, no14:53
mzanettiom26er, there was a bug before that the launcher could be dragged too far14:53
mzanettithat should be fixed now, but no intentional behavior changes14:54
om26ermzanetti, http://i.imgur.com/BNbcjvc.jpg14:58
mzanettiom26er, that's odd... will check it out14:58
om26ermzanetti, I was testing the silo, so probably its related to that.14:59
mzanettiom26er, yeah... very likely. Thanks for catching this14:59
om26ermzanetti, I am not sure if the silo should land with that. What do you think ?15:00
mzanettiom26er, probably not, no15:00
mzanettiom26er, trying to verify it right now, I have a branch I suspect is the culprit15:01
mzanettiwill drop that branch from the silo15:01
om26ermzanetti, btw its not only the edge tutorial, launcher is a bit out in its normal condition15:04
mzanettiyeah... just saw it too15:04
mzanettiom26er, well, it only happens if the tutorial ran before15:05
om26erhmmm15:05
mzanettiom26er, and it depends on when exactly you drag the launcher in the tutorial while it's bounching15:05
mzanettiom26er, but anyways, this can't land like this... will drop that branch from the silo and rebuild it15:05
om26erguess I caught a race. *pats self on back*15:05
mzanettiheh15:06
om26ermzanetti, Following practice, I will fail this silo and when the new package is built, will pick the new card again.15:07
mzanettiom26er, ok. thanks again for catching it15:07
mzanettidandrader, hey, given mterry is not with us any more, mind taking a look at this when you have some time? https://code.launchpad.net/~mterry/unity8/tutorial-launcher-gap/+merge/25912715:09
dandradermzanetti, ok15:13
=== cwayne1 is now known as cwayne
=== alan_g is now known as alan_g|EOD
dpmChrisTownsend, I've got some time now if you're around. I've done a couple of test logins, and I can consistently log into the session, but I get the black screen with the mouse cursor. I've got a dual output intel card, and I'm getting the same result with either one monitor (i.e. the other unplugged) or two (cloned black screen on both monitors). Not sure about the next steps to debug17:35
ChrisTownsenddpm: Hey, I'm here now.17:49
ChrisTownsenddpm: Is there a ~/.cache/upstart/unity8.log file and if so, can you post the contents?17:49
dpmChrisTownsend, thanks, looking17:54
ChrisTownsenddpm: sure17:54
dpmChrisTownsend, on the host, I've got unity8.log.1.gz type of files (1, 2, 3, 4), but not unity8.log17:56
ChrisTownsenddpm: Sure, it gzip's up pretty fast.  Unzip the .1.gz one let's see what is has.17:56
dpmok17:57
dpmChrisTownsend, http://paste.ubuntu.com/11726217 - perhaps the locale warnings were more important that we thought...17:58
ChrisTownsenddpm: Yep, your locale is not correct.  I had another user with similar issues and I guess he fixed it.17:59
dpmChrisTownsend, can I just regenerate the locale in the container?18:00
ChrisTownsenddpm: It's the host locale that's it's messing up on.18:01
dpmChrisTownsend, well, the host locale is definitely correct18:01
ChrisTownsenddpm: The container gets it from the host, so...18:01
ChrisTownsenddpm: This is kind of beyond my expertise, so I'm not sure what to tell you.18:03
dpmChrisTownsend, somehow the container doesn't recognize the host locale as a valid one, but it is valid: http://pastebin.ubuntu.com/11726263/18:03
ChrisTownsenddpm: Does booting off of a Live session work?18:04
dpmChrisTownsend, not sure I understand what you mean18:06
=== dandrader is now known as dandrader|lunch
ChrisTownsenddpm: Download the Ubuntu Desktop Next ISO and make a USB stick and boot to the Live session and see if that all works.18:06
ChrisTownsenddpm: Or use /var/lib/lxc/unity8-lxc/ubuntu-next.iso18:07
dpmChrisTownsend, ah, I see, I can try that, yes. But I think the issue is this: http://pastebin.ubuntu.com/11726290/18:07
dpmthe container gets the locale messed up18:07
dpm"POSIX" is not a valid locale18:08
ChrisTownsenddpm: Errr, yeah, that looks messed up.  I'll see what mine shows.18:08
dpmChrisTownsend, I think that might have happened when running unity8-lxc-setup, when the locale warnings appeared18:09
ChrisTownsenddpm: Yeah, mine shows the same locale as the hosts.18:09
ChrisTownsenddpm: See if fixing up the locale in the container fixes the issue.  I really don't know why it got messed up.18:10
ChrisTownsenddpm: You're the first person to have this.  The other user had an issue of mixed locales.18:11
dpmChrisTownsend, I'd be tempted to run locale-gen on the container, but I noticed that it tells me a) I cannot sudo inside the container (my user is not in the sudoers file) and then I don't quite know which things done in the container affect the host18:11
dpme.g., I still do not quite grasp how the unity8.log is in the host and not the container18:11
dpmis it safe for me to add myself to sudoers in the container to fix the locale?18:12
ChrisTownsenddpm: /home is mounted inside the container.18:12
ChrisTownsenddpm: If you do 'sudo lxc-attach -n unity8-lxc', it will be a root console.18:12
dpmah, cool18:12
ChrisTownsenddpm: It shouldn't mess up the host's locale, but I'm not 100% positive of that without researching that further.18:13
dpmChrisTownsend, this looks promising: http://pastebin.ubuntu.com/11726330/18:14
ChrisTownsenddpm: Yep.  Try it again and let's see if it gets further this time.18:15
ChrisTownsenddpm: It meaning logging into the Unity8 LXC session.18:15
dpmindeed. Hopefully if I'm not back in a few minutes it's because I'll be playing with the unity8 session ;)18:16
ChrisTownsenddpm: Ok, good luck!18:16
dpmthanks!18:16
dpmChrisTownsend, success! https://plus.google.com/+DavidPlanella/posts/C9x8yqdM2KY :-)18:40
ChrisTownsenddpm: Sweet!  You were gone for a while, so I thought it was good news!18:41
dpmindeed18:42
dpmChrisTownsend, thanks a lot for the help, and great work!18:43
ChrisTownsenddpm: You're very welcome and thanks!18:43
dkesseldpm: do you have nvidia optimus graphics?18:50
=== dandrader|lunch is now known as dandrader
dpmChrisTownsend, I've been trying to do something more meaningful with the unity8 session: first thing I tried was to build the phone terminal app for wily and install it into the container. However, after installation it does not appear in the launcher, so I can't start it. Any idea how to make it show up there?20:42
dandradermterry, so I'm taking over https://code.launchpad.net/~mterry/unity8/tutorial-launcher-gap/+merge/259127 if you don't mind20:42
dpmChrisTownsend, also, every time I log into the unity8 session I get the welcome wizard. Is there a way do disable it?20:42
mterrydandrader, oh thanks that's swell20:43
mterryI saw the comment go by about a problem with it, but yeah20:43
ChrisTownsenddpm: Do you have a desktop file for the terminal app?20:43
dpmyeah20:44
dpmlet me check the contents20:44
ChrisTownsenddpm: You need to put it in ~/.local/share/applications and make sure there is a line in that has "X-Ubuntu-Touch=true".20:45
ChrisTownsenddpm: Regarding Welcome Wizard, do you mean the one that shows you how to swipe or the one that has the password setup?20:45
dpmChrisTownsend, the swipe one20:46
ChrisTownsenddpm: Yeah, I'm not really sure how to keep that from coming up.  I haven't investigated it any.20:46
dpmChrisTownsend, here's the content and location of the terminal app's desktop file in the .deb build (as opposed from the .click build) http://pastebin.ubuntu.com/11727135/20:46
ChrisTownsenddpm: Yea, that should work.  You built and installed this in the container, right?20:48
dpmChrisTownsend, I built it on a PPA from a daily recipe for wily, and I then installed it into the container20:48
dpmChrisTownsend, but I'm not quite sure why it's not showing up in the launcher20:49
ChrisTownsenddpm: It should be in the App Scope only.20:49
ChrisTownsenddpm: I'm not sure how Launcher pinning works in Unity 8.20:49
dpmChrisTownsend, why in the app scope and not the launcher? And btw, the "Scopes" window is empty20:49
dpmah, I see what you mean, it'd need to be pinned to appear in the launcher20:50
ChrisTownsenddpm: Hmm, nothing in the Scopes window?20:50
ChrisTownsenddpm: You should have some things in there.20:50
dpmChrisTownsend, ok, I'll investigate how to do pinning. So I guess the next question is, is the Scopes window supposed to show things?20:50
dpmyeah, no luck, it's a blank window20:50
dpmwell, grey20:50
ChrisTownsenddpm: Uggg20:50
dpmif I close it, then it shows a spinner in a black background, and then it's back to the grey (empty) content20:51
ChrisTownsenddpm: Seems maybe the favorites gconf key needs reset.  I'll see if I can dig up how the Unity 8 guys told me how to do that.20:51
dpmChrisTownsend, ok, cool20:52
dpmI'm going afk for a bit, but I'll be idling around20:52
ChrisTownsenddpm: Ok, found it.  To see if there are any favorite-scopes there, do "gsettings get com.canonical.Unity.Dash favorite-scopes" and if it's empty, do "gsettings reset com.canonical.Unity.Dash favorite-scopes".20:59
ChrisTownsenddpm: Although I'm not really sure how to do this from an LXC session.20:59
ChrisTownsenddpm: I need to go in a couple of minutes, so we can pick this up tomorrow if you're still having issues.21:00

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