[01:31] hi,plas [01:31] how to use vpn on ubuntu phone? === chihchun_afk is now known as chihchun [09:12] cc, go to System Settings -> VPN === vigo is now known as vigo-afk [10:09] is there a way to get a list of the files modified by ubuntu touch compared to the aosp tree? [10:10] mmm [10:11] javier4_: I think you'll have to dig in https://code-review.phablet.ubuntu.com/#/q/status:open,n,z [10:12] (not only the open ones of course) [10:15] yes but, given a specific branch, there's no git function to diff an aosp repo? [10:27] Hi. Does anyone know where I can get the source code for Notifications ? [10:27] I'd like to see the code for Notifications List [10:29] javier4_: I don't think so. Clone the source and diff? all the commits are already showing the diff [10:30] Paz__: what Notifications list? [10:30] Paz__: what in particular are you looking for [10:38] faenil: The Notification List that appears on a Ubuntu Touch device when you drag down from the top bar [10:38] Paz__: yeah but what is it you want to change [10:39] Paz__: Trevinho is currently working on a partial rewrite of the code handling that, so maybe he can bundle your change in (and talk to Design about it beforehand) [10:40] faenil: I don't want to change anything, I just want to see objectName values for certain components [10:40] Paz__: that code is in ubuntu-settings-components... See SimpleMessagMenu [10:40] faenil: I'm trying to access this list via autopilot [10:40] Paz__: I guess you can use "autopilot vis" to navigate through the tree though [10:40] or at least access the contents of a notification [10:41] Paz__: or... call autopilot methods via dbus [10:41] Trevinho: thanks [10:41] Trevinho: Do you have any examples of accessing via dbus? [10:56] Paz__: mhmh. I did that some time ago, but this was working for unity7 [10:56] Paz__: gdbus call --session --dest com.canonical.Unity --object-path /com/canonical/Unity/Debug --method com.canonical.Autopilot.Introspection.GetState / [10:57] Paz__: so... paths might have changed, but check with d-feet [10:57] Paz__: http://bazaar.launchpad.net/~unity-team/ubuntu-settings-components/trunk/files/head:/plugins/Ubuntu/Settings/Menus/ [10:57] for the source [10:59] faenil, Trevinho - thanks very much for your help! [11:00] np! [11:03] hi all, I am trying to verify something: [11:04] when I follow a link in a webapp that gets openend in the webapps oxide container, upon closing and returning to the webapp itself, the webapp crashes most of the time. [11:04] for instance gmail, facebook [11:04] I cant believe i am the only one as it has been this way for quite some time for both my devices and on various channels. But I cant find a bug for it. [11:05] matv1: I reported that, let me find a link [11:05] faenil ah cool [11:05] i was looking in webapps-core [11:06] faenil, but the fist commit of a given branch, list the initial differences compared to the aosp tree, or is just an "Initial comit"? [11:06] matv1: ah I only commented, anyway --> https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1570828 [11:06] Ubuntu bug 1570828 in webbrowser-app (Ubuntu) "Multiple Web Apps crashes when returning from a linked page" [High,In progress] [11:07] *fiRst [11:07] javier4_: I don't know, never touched that repo/branches [11:07] but I'd expect it's a full commit, not a diff [11:08] faenil, then, no way to get differences listed. [11:08] javier4_: that's why I suggested closing the source, cloning aosp, and diffing :) [11:08] cloning* [11:08] oSoMoN: any luck with the crasher I linked just above? ^ [11:10] faenil, I'm short on hd storage space and internet bandwidth at the moment. I was hoping that code-review provided a similar function. Thanks for your help. [11:10] javier4_: I have no idea, sorry. Maybe ondra can help you with that [11:11] faenil, alex-abreu is working on it, apparently he needs to add a test and rebase on the git branch, let’s see if we can bring it to his attention [11:11] oSoMoN: cheers [11:13] faenil, oSoMoN cheers both :) just wondering why it wasnt filed against webapp-core, which is where i was expecting it [11:14] matv1: not sure :) [11:14] matv1, it’s filed against the component that is crashing, but it makes it harder to find indeed [11:14] not that it matters much. As long its on your radar. thanks again [11:15] oSoMoN: it's not even filed against oxide :p [11:15] right :) [11:15] oops, I though it was [11:15] let me fix this :) [11:15] :) [11:15] ta [11:15] fixed [11:17] javier4_ what are you looking for? [11:17] ondra, I use one of your personal branches (5.1_r5), is there a way to have full list of its difference compared to an aosp tree? [11:17] *differenceS [11:18] javier4_ you can see easily which repos have actual changes, just grep through .repo/manifest.xml for my branch name [11:18] javier4_ then you have list of repos which do have some changes [11:22] javier4_ otherwise you can always run something like $ repo forall -c git diff android-5.1.1_r5 --raw [11:22] faenil, oSoMon Now that I am reading that bug rep more closely, I have to say that magnifying something in the oxide container causes the crash nececarily [11:22] matv1: feel free to add your experience to the bug report, the more the better! [11:22] yes I will do some testing and update accordingly [11:23] cheers [11:24] javier4_ may be add -p so you know what repo it's processing so it'd be $ repo forall -p -c git diff android-5.1.1_r5 --raw [11:25] ondra, this should diff all your branch vs stock AOSP? I have just to redirect to a text file to get all the differences? [11:26] javier4_ yes, this will go through entire tree and lists you modified files [11:27] javier4_ it's important to have aligned phablet-5.1.1_rX branch with android-5.1.1_rX tag, so you really get only what has changed [11:27] javier4_ obviously this won't print you what repos we are not using at all [11:27] javier4_ you can get this from comparing manifests between phablet and android one [11:29] I think it's better if I explain to you my situation taking our time. I'll find you on the channel in a couple hours? [11:29] javier4_ yeah I should be here [11:29] Thanks man, I'll be back. [11:30] javier4_ no prob === chihchun is now known as chihchun_afk === dandrader is now known as dandrader|afk [12:32] mardy, hey, could you take another look at https://code.launchpad.net/~phablet-team/ubuntu-system-settings/path-fixes/+merge/306115 ? [12:33] jgdx: sure [12:33] thx [12:34] I really want to leave those comments on the cmake path variables in there—it's a pain resolving those manually by use of a text editor. I know ccmake exists :) === _salem is now known as salem_ [12:40] faenil, oSoMoN ack, I'll find a bit of time Monday to update the MR [12:40] alex-abreu: thanks! === dandrader|afk is now known as dandrader === vigo-afk is now known as vigo === owner is now known as Guest87356 === owner_ is now known as Guest46893 [13:45] ondra, I'm here again. Long story short: I'm trying to port UbuTouch to a Mediatek based device. My android tree is heavily Mtk customized, and my approach 'til now has been to apply needed mtk customizations to the Ubuntu tree everytime my build fails. That's driving me insane. Somebody on ubports channel some times ago suggested me the opposite approach: apply the Ubuntu customizations to my mtk-aosp tree. So, I woul [13:45] d check how much Ubuntu platform differs from stock AOSP, to understand if it's convenient to start from the beginning by this new way. [13:52] javier4_ yeah I think other way around might easier and probably less maintenance burden [13:52] javier4_ also our changes are usually easily to port. You will usually have issue just with build and frameworks [13:53] javier4_ what mtk tree do you have? if it's something 5.1 based you are good, those trees from mtk are lot more AOSP, 4.4 was still very messy and full of mtk "specialities" :) [13:54] It's a 5.1, but I can assure you it's a "very special kid" too. [13:59] At the moment I got your _r5, and I have modified it a lot, without touching git structure (no git add, nor commit). Do you think it's better to reclone it from scratch? Should I take a newer revision? === Guest4978 is now known as IdleOne === JanC is now known as Guest73904 === JanC_ is now known as JanC === nuclearbob is now known as nuclearbob_afk === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === nuclearbob_afk is now known as nuclearbob === bschaefer_ is now known as bschaefer === dandrader is now known as dandrader|afk [16:29] hello [16:30] is here a brave soul which has succeeded with setting up VPN on Ubuntu Touch? [16:31] I'm strugling with PIA VPN and If there is a developer ere willing to help I can give my credentials for this service for testing purpose [16:32] fw190d13: I heard PPTP is notsupported, if that's what you're trying [16:33] see https://bugs.launchpad.net/canonical-devices-system-image/+bug/1551823 [16:33] Ubuntu bug 1551823 in network-manager (Ubuntu) "PPTP connection does not work and dies after 2 minutes (on the phone)" [High,Confirmed] [16:33] faenil: I'm doeing the openvpn thingie [16:33] mm ok, not sure then what's the problem [16:33] well it works on my laptop ;) [16:33] abeato maybe can assist you if he's not EOD yet [16:35] fw190d13, pete-woods implemented VPN support, maybe he can comment on the bug ^^ [16:36] abeato: I have also tried the click package but no luck [16:36] yeah, I did the UI side of things [16:36] well let's not call it a bug yet [16:36] but the actual VPN support is just standard network-manager + the openvpn plugin [16:36] someone would have to check it on another phone [16:37] IIRC the terminal output for NM goes to the syslog [16:37] OK - noob alert - I can provide it when instructed how ;) [16:38] it's also worth checking whether the openvpn process (started as root) is still running [16:38] fw190d13, also tcpdump output could be useful [16:38] ahayzen: it smells like some kind of OOM is hitting your process and killing windows. Or the video driver kills the fbo maybe? [16:38] tail -f /var/log/syslog [16:38] then start the VPN connection [16:39] faenil, i thought maybe memory but the process is at ~40MB [16:39] faenil, but i suspect it is something killing it, whether it is compiz, qt, unity [16:39] it must be, yeah. have you tried stracing? [16:40] fw190d13: with any luck there might be a useful error in the syslog output [16:40] faenil, not yet..let me try ... [16:41] ahayzen: have you looked at unity8.log and usc's log ? [16:41] faenil, this is unity7 [16:41] ah ok [16:41] compiz? ;-) [16:41] I have no idea about how that stack works .D [16:42] pete-woods: as I lokk on the terinal it spits something about TLS handshake error [16:42] fw190d13: well that's whatever the problem is... [16:43] assuming all your certificates + password are correct [16:43] TLS is very sensitive to the time being correct [16:43] so you could double check that on both your server and phone [16:43] if it's not that, triple check you have the certificates correct [16:44] and then check you have all the "advanced/tls" settings (best UI is the one I wrote the click one) [16:44] the click one has all the settings available [16:44] faenil, i *think* this is the strace of it, http://pastebin.ubuntu.com/23220964/ but there is so much going on (even though it is just a window and label) that it is difficult to tell [16:44] wheras the built in one doesn't [16:44] the advanced TLS settings can definitely cause errors if they are configured wrongly [16:45] it's completely ludicrous how many settings openvpn has [16:45] faenil, that should be, the window getting focus, me clicking on it. It trying to open a new window, all the other windows closing, new one opening :-) [16:46] pete-woods: thanks for the tips, I will triple check, I have also closed the terminal - how can I get the log for you? Is it written somewhere? [16:46] fw190d13: yeah, /var/log/syslog is a file [16:46] ahh dumb me [16:46] I'm not certain if it contains sensitive stuff, though [16:46] so don't just pastebin it [16:46] ok [16:47] to be honest, the actual error message is likely to be incomprehensible to me, too [16:47] but if it's a TLS error, those are the things to check [16:47] ahayzen: mind you, if it's different processes you need strace -f (or -fff can't remember) [16:48] ahayzen: I can't have a look right now, I'm about to leave the office :D [16:48] faenil, it is all one process from what i can see in system-monitor [16:49] sorry I meant threads [16:49] ah :-) [16:50] :) [16:50] doing too many things at once before leaving :D [16:50] hehe [16:52] ah right, lots of windows opening, so strace is a bit too long [16:53] ahayzen: I believe it's better if you ask someone with more knowledge of that stack, like Trevinho :) [16:53] faenil, yeah in this tiny app, you need to hit 100+ .. but in a slightly more complex app i had, it was at 14 windows [16:53] yeah read that [16:53] it really seems like something is monitoring the memory usage [16:53] pete-woods: hmm the file is 17,3 mb and after connecting the phone to laptop I can not copy or open it... [16:54] fw190d13: i can tell you that openvpn definitely works. i run my own server and have connected through it successfully from ubuntu on a phone [16:54] fw190d13: I really don't think that the specific messages in the file are useful to me [16:54] fw190d13: but as you tweak the settings, you can see if they change [16:54] or stay the same [16:54] however, i didn't use the gui config for it, as that wasn't ready when i tried it. i manually copied the config over from a laptop [16:54] I've definitely got the thing working with the GUI [16:55] and tested it a lot [16:55] with different VPN servers [16:55] pete-woods: I could pass you my credentials for this VPN provider for a quick test [16:55] fw190d13: I don't have any Ubuntu phones to hand right now [16:55] fw190d13: but if you send me some temporary credentials to pete.woods@canonical.com [16:55] I can have a look on Monday [16:56] ah ok - I don't have temporary - I will just change the pasword later ;) [16:56] if you say you can connect with your laptop, then it's pretty hopeful we can get it working [16:56] okay, that works too :) [16:56] fw190d13: does it work from a PC to use that VPN? [16:57] dobey: pretty sure he said he can connect with his laptop earlier in the converation [16:58] dobey: yes, PIA from Ubuntu and Mint works OK, the same for Android wit OpenVPN app, so either I make some silly mistake or I don't know [16:58] so hoping it's just a config issue [16:58] if it's not then it's possible there's a tweak to some of the advanced settings that might be what is wrong [16:59] fw190d13: you're using network-manager-openvpn to connect there? or just running openvpn manually? [16:59] dobey:network manager openvpn [17:00] fw190d13: ok, you have developer mode enabled on your device? [17:00] (ie, you can use adb or phablet-shell to connect to it over usb from your PC) [17:10] pete-woods: mail sent from @tutanota account - it may land in spam ;) [17:10] okay, will have a look now === dandrader|afk is now known as dandrader [17:11] nope, it's got through safely [17:12] fw190d13: if you pull the config file for your VPN off your device, from /etc/NetworkManager/system-connections, and then diff -u that against the smae config file on your laptop where the VPN works, it might give you an idea of what's wrong [17:13] fw190d13: right, it's .ovpn files [17:13] easy to get those wrong when splitting out [17:13] fw190d13: which server are you using? [17:13] pete-woods: cool, thanks for your help - I like the Ubuntu Touch on Nexus - looks like a great replacment for my N900 [17:14] fw190d13: just to be clear, I'm not sure which of the ovpn servers you are using from that archive you sent me [17:15] there are like 30 or so different profiles [17:16] pete-woods: Germany, but only the server name changes in the config on my laptop for other - the rest works the same [17:16] sure, but I want to be 100% sure I'm using the exact config that you are [17:16] who knows if there is a slight variation in config / version of openvpn between them or not [17:17] (and I have no interest in debugging that :p ) [17:23] pete-woods: I'm trying to do what dobey advised, found the file on latop and on the nexus but can not copy it to downloads or open it [17:24] fw190d13: adb pull /etc/NetworkManager/system-connections/VPNConfig . (or whatever the right filename is) [17:25] fw190d13: it's not a bad idea. but you have to make sure the certificates are in the right place [17:25] on your laptop it'll be /home/fw190d13/.../something.ca [17:25] but the phone's user is called phablet [17:26] so you'll need to tweak the paths correspondingly [17:26] to /home/phablet/.../something.ca [17:28] fw190d13: well FWIW I can connect using my laptop [17:28] will see if I can manage the same thing on Monday with the phone [17:29] well i was just suggesting grabbing the file from the phone and comapring to the one on the laptop, to see if something is indeed wrong in the config [17:30] if the only difference is file paths to certificates, then it's likely some other issue [17:30] yeah, that's a good point [17:30] having looked through the advanced settings on my laptop after importing the profile [17:31] the key things to set are [17:32] dobey: I have flashed Ubuntu 3 days ago and forgot how did I fix the error device not found any hints? [17:33] gateway: germany.privateinternetaccess.com:1198 [17:33] advanced/general: [17:33] - use custom renegotiation interval: 0 [17:33] - use LZO compression [17:33] - set virtual device type: TUN [17:33] advanced/security: [17:33] - cipher: aes-128-cbc [17:33] advanced/tls: [17:33] - verify peer cert type: server [17:33] fw190d13: ^ [17:33] those are the things you need to check in the VPN connection editor [17:33] I recommend making a new VPN connection [17:33] with the click packaged VPN editor [17:34] and putting in those details [17:34] he auth type is "Password" [17:34] *the [17:34] fw190d13: is the screen unlocked? and developer mode is enabled? [17:35] dobey: developer mode was off [17:40] I've also just manually created the VPN connection using the details I specified above on my laptop, but using the unity8 click VPN editor [17:40] and then successfully connected [17:40] so it doesn't look like it's the indicator-network side of things that's wrong [17:44] pete-woods: Jus installed your click package again and seting it up [17:44] fw190d13: cool :) [17:45] fw190d13: it looks like the plus button (at the top right) isn't visible any more for some reason [17:45] so you might need to stab around there.. [17:45] no idea why that has happened [17:46] it looks like the SDK has deprecated a bunch of the elements I'm using [17:46] oh well, it works [17:52] right, EOD 4 me! [17:52] pete-woods: it woooooooooooooooooooooooorks [17:52] yay [17:53] the gateway was set up automatically wrong [17:53] when chaning it to 1198 it started to work [17:53] pete-woods: thank you for your help [17:53] dobey: thank you for your help [17:54] np [17:55] the default port is 1194 and it should be 1198... sh!@ the first line in the settings - I'm blind ;) [18:11] :) === dandrader is now known as dandrader|afk === dandrader|afk is now known as dandrader === mango is now known as Guest86139 === salem_ is now known as _salem [23:20] ondra, I don't want to bother you, but we lost contacts some hours ago. This was my question: [23:20] At the moment I got your _r5, and I have modified it a lot, without touching git structure (no git add, nor commit). Do you think it's better to reclone it from scratch? Should I take a newer revision?