/srv/irclogs.ubuntu.com/2015/08/07/#ubuntu-app-devel.txt

=== chriadam|away is now known as chiradam
=== chiradam is now known as chriadam
=== salem_ is now known as _salem
=== chihchun_afk is now known as chihchun
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== _salem is now known as salem_
=== salem_ is now known as _salem
dholbachgood morning07:08
didrockskalikiana: hey, once you are here, I would like your opinion on bug #148250407:46
ubot5bug 1482504 in u1db-qt (Ubuntu) "Putting and then getting dates in a document are altered by u1db" [Undecided,New] https://launchpad.net/bugs/148250407:46
=== chriadam is now known as chriadam|away
=== chihchun is now known as chihchun_afk
=== mcphail_ is now known as mcphail
=== _salem is now known as salem_
=== _morphis is now known as morphis
mhall119cwayne: Activity Tracker doesn't seem to work on my Nexus 412:30
mhall119doesn't see me moving, and also doesn't save the activity12:31
nik90zbenjamin, bzoltan_: Hey I updated to 14.04.3 and after that I get some chroot errors http://paste.ubuntu.com/12020621/, not sure how to fix. Opening a cmake project doesn't work as a result. Any ideas?12:34
nik90zbenjamin, bzoltan_: I tried recreating a new chroot, restarting...doesnt seem to solve it12:34
popeymhall119: there was a bug that he fixed in a newer version12:35
popeymhall119: also, your nexus 4 probably doesn't have the Here blob?12:35
didrockspopey: hey, I wanted to know, does it do activity detection or you put it yourself?12:35
bzoltan_nik90: could you remove that 15.04 armhf chroot?12:37
nik90bzoltan_: yes I removed it via the qtc options dialog12:38
nik90bzoltan_: I recreated a new one, but still get error when opening a project12:38
didrocks would be interesting to know if you have a chroot running: schroot -l --all-session12:39
mhall119popey: I'm using the bq-aquaris.en channel, so I should have there HERE blob12:39
bzoltan_nik90:  I would look to the mount output to see if the schroot sessions were cleaned up and look around under the /var/lib/schroot if the chroot is really cleaned up12:40
popeydidrocks: dunno, not used it. But I believe it's using the gps etc12:40
popeyyou have to keep the screen on for now12:41
popeymhall119: did you keep the screen on?12:41
mhall119popey: yup12:41
nik90didrocks, bzoltan_: running schroot -l --all-sessions gave http://pastebin.com/Nchy0aum12:41
nik90checking /var/lib/schroot12:41
bzoltan_nik90: `schroot -e --all-session` rests all schroot sessions12:42
popeyalan@deep-thought:~⟫ mount | grep schroot | wc -l12:43
popey36112:43
popey:)12:43
didrockswaow, amazing number of schroot sessions :p12:43
didrocksyeah, end the session with the command bzoltan_ provided12:43
didrocks(if you don't have the shared home bindmout bug)12:44
popeyi did, and there's still 120 left :)12:44
nik90I tried that, and it still leaves one in the mount folder. I will try to remove the chroot, clean the mount folder entirely and try again12:44
* popey stays away from jhodapp|sick 12:44
bzoltan_popey:  I have seen 10k+ from renatu once12:44
popeyhaha, nice12:44
didrocks"resilient architecture", but you know… bzoltan_ loved so much schroot… :p12:45
bzoltan_nik90:  _FIRST_ umount -l12:45
nik90bzoltan_: I ran umount -l click-ubuntu-sdk-15.04-armhf and it doesn't seem to be mounted according to mtab..12:46
didrocksnik90: well, it's lazy, it means once no process would use it, it will unmomunt12:48
popeyalan@deep-thought:~⟫ mount | grep schroot | wc -l12:48
popey012:48
didrocksunmount*12:48
popey\o/12:48
didrocksthe issue is that your schroot sessions, as not stopped, will be restored at next boot…12:48
nik90right now my schroot/chroot, mount, sessions folder are all empty and clean.12:48
nik90lets create a chroot now and check if all goes well12:48
bzoltan_nik90: I usually run `mount|grep schroot|awk '{print $3}'|xargs sudo umount -l`12:51
bzoltan_didrocks: LOL :) Yes, I do love chroots soooo much... more I love only the scratchbox12:52
popey:)12:52
didrocksbzoltan_: that's always what I think when I'm seeing you. "THIS GUY" :)12:54
bzoltan_:D12:55
=== jhodapp|sick is now known as jhodapp
davmor2popey: I think there are now more apps with your name on than any others13:23
popeyhah13:31
nik90hmm..same issue14:13
mhall119ted: nice article on snapcraft+QML14:15
mhall119are we able to snap-ify apps to run inside of a desktop shell using .desktop files yet?14:16
nik90bzoltan_: any way to completely start fresh with the installation? I cant seem to fix this despite removing schroots cleanly.14:25
* nik90 regrets updating to kernel 3.19 as part of HWE14:26
bzoltan_nik90: does the click chroot creation fail?14:32
nik90bzoltan_: no it passed. I have a new sdk-15.04-armhf chroot now14:32
bzoltan_nik90: and you can log into it with maintain and so?14:33
nik90bzoltan_: ye14:33
nik90yes14:33
bzoltan_nik90: good to hear. So what is the problem?14:33
nik90bzoltan_: when I open a cmake project, it doesn't open the project anymore...stuck at https://imgur.com/C5qq56W14:34
nik90so when I try building, I get https://imgur.com/bipe0tX .. something about chroot setup failed14:36
didrockskalikiana: hey, did you see my question about the u1db bug this morning?14:43
kalikianadidrocks: oh, I see it now, bug 1482504 checking14:44
ubot5bug 1482504 in u1db-qt (Ubuntu) "Putting and then getting dates in a document are altered by u1db" [Undecided,New] https://launchpad.net/bugs/148250414:44
bzoltan_nik90: does it happen with any _new_ cmake project or with the one what you have once opened?14:48
nik90bzoltan_: I checked only withe one I have once opened14:48
nik90trying a new one now14:48
bzoltan_nik90:  the "used projects" have the old Kit with the old chroot assigned ... you can manually remove the invalid Kit and assign the fresh one.14:49
kalikianadidrocks: if I read it corretly it seems to be that u1db saves and loads it correctly, and it only gets wrong in Date()? so it wouldn't be a u1db issue14:50
kalikianahmmm maybe I got confused14:51
kalikianadidrocks: so u1db somehow reads a trunctated date string even though it was stored correctly?14:51
didrockskalikiana: right, it doesn't store the string that was put in14:52
nik90bzoltan_: you're right, that could be it. When I open a new project, I get https://imgur.com/76iujKw ... 2 chroots despite me having only 1.14:52
didrockskalikiana: so it's an u1db/u1db-qt issue I guess14:52
nik90bzoltan_: however I tried both of them, and they still stop..14:52
didrockskalikiana: db.putDoc(tosave, current.billId);14:53
didrocks-> with tosave being {"title":"First element","date":"2015-08-07T06:15:36.573Z"}14:53
didrocksthen, opening the sqlite database14:53
nik90bzoltan_: also the error http://paste.ubuntu.com/12021496/ I get is at qtcreator startup itself.14:53
didrocksdate is then "date":"2015-08-07T08:15:36"14:53
didrockskalikiana: so it truncated AND altered the date14:54
bzoltan_nik90: your /usr/bin/click-chroot-agent still thinks that your old chroots are still there14:56
kalikianadidrocks: I wonder if sqlite could be trying to be smart doing duck typing. u1db definitely has no awareness of dates14:56
kalikianaand QVariant has none either that I'm aware of14:56
didrockskalikiana: yeah, something in the chain looks at the format and think it's a date, then transform it14:56
nik90bzoltan_: ah..I did notice a /usr/bin/click* start crashing and causing apport to report it but when I rebooted the system.14:56
didrockskalikiana: just sad that it applies the timezone offset again14:57
kalikianadidrocks: do you need the offset to be in the string? say if you used a timestamp14:58
kalikianaworking around this in u1db probably won't be easy14:59
didrockskalikiana: I would like that, but it seems then than QML has no way at all to show multiple dates with different timezone (it only converts date and print them in current timezone)15:00
kalikianadidrocks: maybe can yuo give some context what the UI for it does?15:00
didrockskalikiana: but that's independant to the fact that if you store a date in u1db and read it back, it will apply current timezone shift and you don't get the same value15:00
didrockskalikiana: basically, I have "bills" stored, and you have a date associated for each bills15:01
didrocksnow imagine you travel with your phone15:01
didrocksyou would like to see the date when you entered (or modified) the bill in the same timezone it was entered15:01
didrocks(but again, that's not really related to this bug)15:01
kalikianadidrocks: I'm asking because using utc timestamp would be the easiest solution, unless you really needed to store the timezone of each15:03
kalikianathe likely only option to address it in u1db will be to prepend a character to prevent duck typing15:04
didrockskalikiana: yeah, the timestamp would be a workaround, but that doesn't fix for others who will be in the same case of pushing a date15:04
didrockskalikiana: I did that as well, and yeah, that works, but well, ugly15:05
didrockskalikiana: see my following up comment, it seems to be the "best" workaround I found15:05
didrockskalikiana: can you still check it's not u1db/u1db-qt trying to be too smart and really at the sqlite level?15:05
kalikianaI don't get why it needs to be so complicated... just prepending @ should do15:06
didrockskalikiana: because we provide a framework for developers?15:07
didrocksand storing a date in u1db, then getting it, doesn't give back the same value15:07
didrocksI don't think each app should implement a workaround, sounds wrong15:07
kalikianadidrocks: by "it" I am referring to your using two dates and multiplying them15:07
didrockskalikiana: I don't use 2 dates, just one?15:08
didrocksah, you mean the new Date()15:08
kalikianatosave["date"].getTime() + tosave["date"].getTimezoneOffset() * 6000015:08
didrocksyeah, you need the timestamp to perform the operation15:08
didrocksand the offset as u1db/sqlite will reapply it15:08
didrocks(which is the bug)15:08
kalikianabut if it's due to duck typing I would assume making it not resemble an iso date string should be enough15:10
didrocksright, and if that's the workaround you are happy to implement in u1db, fine15:10
didrocksas long as our developer audience doesn't have to care about it15:11
kalikiananevermind I just found it weird for a suggested work-around15:11
didrockskalikiana: I'm a little bit afraid of using a special character that will end up to something like "title" or whatever15:11
didrocksbut yeah, likelyness-- ;)15:12
tedmhall119, Nope15:55
tedmhall119, Thanks though, I thought it came out to a nice demo. We need to get Mir running on ARM so that we can have cool integrations :-)15:55
mhall119ted: Mir *does* run on ARM :)16:21
tedmhall119, Heh, sure. Needs to run on Snappy ARM.16:21
mhall119yes, that :)16:22
tedI really want to setup a Raspberry PI with a QML interface to ubuntu-device-flash so you can just plugin a phone and it'll upgrade. Would be great for conferences :-)16:23
tedThere's a lot of things you can do with a QML snap and an old TV.16:24
ogra_ted, the image i'll release later today should be able to use ooverlay dtbs, so you should be able to actually enable the display driver16:24
tedOoooo, that's exciting.16:25
tedkgunn isn't here to hear how excited I am :-)16:25
ogra_it will be a bit fiddly (i coudl only ship the dtbs in a tarball in /boot, you need to manually extract it and enable the right dtb's in config.txt ... but then it should work)16:26
mhall119ted: I tried to talk balloons into creating a snap package to drive automated QA of a phone from a connected RaspberryPi16:30
tedThat'd be cool. We probably need an adb framework snap. Sets up the server then the individual clients can connect.16:31
=== chihchun_afk is now known as chihchun
=== jhodapp is now known as jhodapp|errand
=== jhodapp|errand is now known as jhodapp
=== cwayne is now known as cwayne-afk
bulldog68I am tring to upload my package to ubuntu developer site , as i did it so many times before . But this time am getting a error  "Bad Gateway  The proxy server received an invalid response from an upstream server.  Additionally, a 502 Bad Gateway error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.4.7 (Ubuntu) Server at myapps.developer.ubuntu.com Port 443"  My package size is around19:42
peter-bittnerHi, a Ubuntu Touch beginner's question:21:45
peter-bittnerIs it necessary or advisable to host source code for Ubuntu Touch apps and webapps on Launchpad?21:46
mcphailpeter-bittner: if you _like_ launchpad it is a reasonable thing to do, but can't see any advantage over hosting elsewhere. It isn't like a PPA where there is a definite advantage21:48
peter-bittnerOkay, so GitHub is fine?21:48
mcphailyep21:48
peter-bittnerCheers, so I get my first webapp pushed to GitHub21:50
mcphail:)21:50
=== salem_ is now known as _salem
Jheannyhola22:14
=== hatchetation_ is now known as hatchetation

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