[05:49] <liuxg> does anyone know whether Qt C++ SystemInfo API already the on ubuntu touch platform? thanks
[06:53] <DanChapman> Good Morning
[07:04] <dholbach> good morning
[08:16] <JamesTait> Good morning all; happy Meteor Watch Day! :-D
[08:22] <dpm> morning zbenjamin. I'm trying to connect to an emulator using the "Open SSH connection" button, but that no longer seems to work. It just opens a terminal window for a split second, and then closes it again. Is this a known bug, or is there a way I can help debugging it?
[08:34] <dpm> mardy, I'm still trying to get the evernote auth plugin working, and after installing it to the location we discussed last week, the plugin seems to fail loading. It complains about a missing .local/share/accounts/qml-plugins/evernote/Main.qml file, but I'm not sure why it expects it there, as it's already installed in /usr/share - any ideas? -> http://pastebin.ubuntu.com/7725378/
[08:35] <popey> dpm: planning to get reminders updated in store today?
[08:35] <popey> not much landed by the look of it
[08:35] <dpm> popey, no, unfortunately the account plugin does not work yet
[08:37] <popey> ok
[09:12] <zbenjamin> dpm: hm should work, is ssh running in the emulator?
[09:14] <dpm> zbenjamin, it seems it is running, yes
[09:16] <dpm> morning mzanetti, got a minute for some evernote plugin questions?
[09:16] <mzanetti> dpm: hit me
[09:18] <dpm> mzanetti, thanks. So it seems the account plugin has got some issues of its own, but sometimes I've gotten it to work and actually show the authentication page. However, after authentication, it fails at some point. This is the log for one of these cases: http://pastebin.ubuntu.com/7706895/ so it seems that the evernote plugin does not get passed the host. I'm wondering whether there is something missing in the http://bazaar.launchpad.net/~reminders
[09:18] <dpm> -app-dev/reminders-app/trunk/view/head:/src/account-plugin/qml/evernote/Main.qml file. I don't quite follow how the EvernoteConnection is being instanced there, and how it gets passed the host name
[09:19] <dpm> http://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/account-plugin/qml/evernote/Main.qml
[09:24] <mzanetti> dpm: you need to add "EvernoteConnection.hostname = ..."
[09:24] <mzanetti> dpm: where the "..." is the url you get from the config files
[09:25] <dpm> mzanetti, yeah, I tried that at some point, but it didn't quite work (the accounts UI stayed frozen). Unfortunately, I cannot get authentication to work at all now to try it again :(
[09:26] <mzanetti> dpm: well sure... the Evernote plugin doesn't have a hostname set. so auth won't work
[09:26] <dpm> mzanetti, I mean the oauth authentication seems to be failing. That works independently of the evernote plugin
[09:27] <dpm> in any case, I'll try again now specifying the hostname
[09:27] <mzanetti> dpm: but afaics, when oauth succeeds,  you set the token here, that would in turn update the username and confirm back to the OA plugin that everything is fine
[09:28] <mzanetti> dpm: however, given that setting the token only produces the error about the hostname not being set, the onUsernameChanged won't ever happen, which causes the plugin to stall
[09:29] <zbenjamin> dpm: ich schaus mir später mal an
[09:29] <dpm> zbenjamin, ok, danke!
[09:39] <dpm> mzanetti, I've added EvernoteConnection.HostName = "www.evernote.com" above the EvernoteConnection.token line (http://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/account-plugin/qml/evernote/Main.qml#L31), and at least now I'm getting a Thrift error: http://pastebin.ubuntu.com/7725590/
[09:40] <dpm> ah, wait, hostname probably spelt wrong, let me try again
[09:43] <dpm> still similar error when setting EvernoteConnection.hostname = "www.evernote.com" -> http://pastebin.ubuntu.com/7725611/
[09:44] <mzanetti> dpm: sorry, :, not =
[09:45] <mzanetti> although...
[09:45] <mzanetti> no... = seems ok
[09:45]  * mzanetti checks the code
[09:45] <dpm> yeah, it's setting it in JS, not as a property
[09:46] <mzanetti> dpm: strange thing is: created UserStore SSL socket to host  ""
[09:47] <dpm> mzanetti, yeah. UserStore only appears in Connections, so it puzzles me why it tries to instantiate it
[09:47] <mzanetti> dpm: setting the hostname connects userstore and notesstore
[09:49] <mzanetti> dpm: EvernoteConnection, UserStore and NotesStore are instantiated directly when you do the "import Evernote 0.1" for the first time
[09:49] <dpm> ah, got it now
[09:51] <dpm> but still not sure what the error is
[09:51] <mzanetti> dpm: the debug print doesn't match with the code from my branch
[09:51] <dpm> mzanetti, no, that's something I added on my branch to see which host it's connecting to
[09:52] <mzanetti> makes it a bit harder for me right now :)
[09:52] <mzanetti> did you add anything else?
[09:52] <mzanetti> or remove
[09:52] <mzanetti> or change :)
[09:52] <dpm> mzanetti, http://bazaar.launchpad.net/~dpm/reminders-app/switch-to-production/view/head:/src/plugin/Evernote/evernoteconnection.cpp#L89 - afaik, I didn't change anything else, just extended the debug info
[09:53] <dpm> but let me double-check
[09:55] <mzanetti> dpm: ok... please remove the "setupEvernoteConnection()" call in the ctor
[09:55] <mzanetti> dpm: and then add a debug print on line 160 in here: http://bazaar.launchpad.net/~dpm/reminders-app/switch-to-production/view/head:/src/plugin/Evernote/evernoteconnection.cpp#L160
[09:55] <mzanetti> dpm: the debug print should containt m_hostname
[09:55] <mzanetti> and then try again please
[09:56] <dpm> ok, on it
[10:16] <dpm> mzanetti, it will take me a while. I'm now getting segmentation fault when building the plugin from Qt Creator for the i386 emulator and running the app (no idea why), and I need to jump into a call in a few minutes.
[10:36] <mardy> dpm: hi! That warning is irrelevant; it just tries to load the plugins from a local dir first
[10:36] <mardy> dpm: try running it with QML_IMPORt_TRACE=1
[10:37] <mardy> dpm: that is, QML_IMPORT_TRACE=1 :-)
[11:00] <dpm> thanks mardy
[11:06] <dpm> mzanetti, so removing "setupEvernoteConnection()" in the constructor results in a segmentation fault
[11:07] <mzanetti> lemme check
[11:08] <dpm> k, thanks
[11:15] <Michielvk> Hi
[11:20] <popey> hi Michielvk
[11:21] <Michielvk> how are you?
[11:21] <popey> Fine thanks, you? ☻
[11:21] <Michielvk> i'm fine to
[11:21] <Michielvk> how you have chanched your name color
[11:21] <Michielvk> :) ?
[11:22] <popey> i don't know what you mean. probably just your irc client changes my name colour when i mention your name
[11:22] <popey> Michielvk: like this
[11:22] <Michielvk> ah
[11:22] <mzanetti> dpm: I've found it :(
[11:22] <Michielvk> popey; hi
[11:22] <mzanetti> dpm: but I'll only tell you if you promise not to slap me
[11:22] <Michielvk> popey: hi
[11:23] <dpm> mzanetti, you're safe, Ulm is a few kms away :)
[11:23] <popey> mzanetti: dpm http://media.giphy.com/media/qhURwEDavrGQE/giphy.gif
[11:23] <mzanetti> dpm: in /src/plugin/Evernote/jobs/evernotejob.cpp, please add a ! in line 50
[11:23] <Michielvk> Michielvk: ?
[11:23] <mzanetti> popey: :D
[11:25] <popey> Michielvk: anything we can do to help?
[11:26] <dpm> mzanetti, http://upload.wikimedia.org/wikipedia/commons/3/3b/Paris_Tuileries_Garden_Facepalm_statue.jpg
[11:26] <mzanetti> dpm: indeed
[11:26] <mzanetti> I'm so sorry
[11:26] <dpm> mzanetti, just joking, thanks for finding it out
[11:26]  * dpm hugs mzanetti
[11:27] <Michielvk> popey: No
[11:27] <Michielvk> popey: i'm a new developer
[11:27] <popey> oh okay. well if you need anything, let me know.
[11:29] <Michielvk> popey: bye i need to work
[11:46] <dpm> mzanetti, hm, even after that fix, there seems to be something not quite working: http://pastebin.ubuntu.com/7726032/ - http://pastebin.ubuntu.com/7726034/ - http://pastebin.ubuntu.com/7726051/
[11:48] <mzanetti> dpm: can you add a debug print in the Main.qml before you set the hostname and after that?
[12:00] <dpm> mzanetti, yeah, but that does not seem to be printed by the UOA debug output. Let me try again
[12:04] <dpm> mzanetti, with console.log("hostname set") in Main.qml, I cannot see the output neither on the app output nor on the output when setting up the account with the app stopped
[12:05] <mzanetti> dpm: strange... are you sure you're changing the correct file?
[12:05] <mzanetti> dpm: because the debug prints I see so far suggest that the hostname is never set
[12:05] <mzanetti> dpm: is the setupEvernoteConnection() still in the ctor or did you remove that?
[12:06] <dpm> there is only a Main.qml afaik, but let me double-check. At some point I created a copy in .local to get rid of the UOA warnings, but I'm pretty certain I deleted it. The setupEvernoteConnection() is still on the ctor
[12:07] <dpm> yes, there is only a Main.qml file, and I'm changing the right one, for all I know
[12:15] <dpm> nik90, just a quick heads up that I've set https://code.launchpad.net/~gerlowskija/ubuntu-clock-app/add_i18n_to_time_format_bug1324177/+merge/223168 back to Needs Review. I've asked Jason if he could sign the contributor agreement first
[12:16] <nik90> dpm: ack
[12:16] <dpm> thanks
[12:18] <gerlowskija> dpm: nik90:  Oops, I'll take a look after work today
[12:18] <dpm> ah, hi gerlowskija, hadn't realised you were online, hi! :)
[12:19] <dpm> so yeah, I sent the instructions over e-mail
[12:19] <dpm> and thanks again for the contribution!
[12:19] <gerlowskija> cool, I'll take a look once I'm off the clock.
[12:19] <dpm> excellent
[12:19] <gerlowskija> and of course; thanks for the reviews
[12:20] <nik90> gerlowskija: thnx :)
[12:24] <dpm> mardy, on http://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/account-plugin/qml/evernote/Main.qml - what kind of object is "reply"? I'm interested to know if there is a way to read properties from the .provider file (e.g. "HostName") from there
[12:24] <dpm> mardy, also, if I add console.log() statements to Main.qml I don't seem to see the output. Any other debug variable that I need to export to see that?
[12:26] <dholbach> hey jdstrand, how are you doing? did you have a good weekend?
[12:26] <dholbach> it'd probably be better if you reviewed https://code.launchpad.net/~beuno/click-reviewers-tools/deprecate-14-10-dev1/+merge/224887
[12:27] <mardy> dpm: the "reply" is what the authentication plugin returns (typically, the access token and an expiration time)
[12:27] <mardy> dpm: you won't find the provider data there
[12:28] <dpm> ack, I was just wondering. It's ok, I can hardcode the hostname there
[12:28] <mardy> dpm: no, wait, there is a way
[12:28] <dpm> ok :)
[12:28] <mardy> dpm: via the "account" object
[12:29] <beuno> dholbach, he's off this week
[12:29] <dholbach> beuno, thanks!
[12:29] <beuno> dholbach, I did talk to him about what I was doing
[12:29] <dholbach> jdstrand, have a good time off!
[12:29] <beuno> and he was +1 on the static list
[12:29] <beuno> as per your email
[12:29] <beuno> to isolate the scripts more
[12:30] <mardy> dpm: you should add an element like this: AccountService { id: accountService; objectHandle: account.accountServiceHandle }
[12:30] <dholbach> hum hum
[12:31] <dholbach> beuno, not trying to complicate your life more, but......... :)
[12:31] <mardy> dpm: then read accountService.authData, it's a JS object with all the data from the .provider file
[12:31] <beuno> dholbach, re-write in php?
[12:31] <dholbach> beuno, exactly!
[12:31] <dholbach> beuno, what I think is happening right now, is that we're building 3-4 or 5 static lists of frameworks
[12:31] <beuno> dholbach, yes, I know
[12:32] <beuno> dholbach, my secret plan
[12:32] <beuno> is to make the store the autoritive place
[12:32] <beuno> and have a json api
[12:32] <beuno> that everyone pulls from, parses, and does whatever they want
[12:33] <beuno> but for that I need to give more people access to adding them
[12:33] <dholbach> beuno, an idea I just had was if we could have a static json file - if necessary in all of these 3-4 or 5 places, but have the same script in all of them which updates that json file, so whenever the source package is built, it goes and updates this list
[12:33] <beuno> dholbach, sounds good
[12:33] <beuno> dholbach, I'll do that
[12:33] <beuno> IN PHP
[12:33] <dholbach> if this comes from a api from the store or (before it exists) from a ~ubuntu-core-dev branch, I don't care too much
[12:33] <davmor2> beuno: well it's that or basic
[12:34] <dpm> mardy, thanks. Any ideas about how to get the console.log() output to print on the console?
[12:34] <beuno> I'd guess that'd be a bit too far, even for us
[12:35] <dholbach> beuno, eh?
[12:36] <beuno> dholbach, basic
[12:36] <dholbach> beuno, if you're find with it, I'll come up with a quick and dirty patch of how I'd imagine it and you can tell me if that's all right
[12:37] <dholbach> s/find/fine
[12:37] <beuno> dholbach, oh, I'm totally up for you doing it instead of me
[12:37] <dholbach> beuno, thought so ;-)
[12:37] <beuno> dholbach, given that, maybe my branch is now orthogol to review?
[12:37] <beuno> ;)
[12:37] <nik90> dpm: ping
[12:37] <dholbach> beuno, maybe not - let me see if I can use it as a basis
[12:38] <beuno> dholbach, sure
[12:38] <dpm> hi nik90, I think I know what you're pinging me for :)
[12:38] <dpm> click for new clock and adding the branches to the status page?
[12:38] <nik90> dpm: actually no :)
[12:38] <nik90> dpm: I wanted to talk about the qt locale for clock time :)
[12:38] <dpm> ok :)
[12:39] <nik90> dpm: the new clock app just uses Qt.formatDate(new Date()) and doesn't manually specify 12-hour or 24-hour format. Hence this should be taken automatically from the system based on the locale
[12:40] <nik90> dpm: however we need to extract the hour and minutes to show them in a different font color
[12:40] <nik90> dpm: after which we display it as hh:mm
[12:40] <nik90> dpm: is that okay locale wise?
[12:41] <nik90> dpm: or a better question would be do all clock time formats in the world follow hh:mm?
[12:41] <dpm> some locales use hh.mm, so if possible, it'd be great not to hardcode it
[12:41] <nik90> dpm: ok..yeah the designers want the hour and minutes in purple and the ":" in grey..hence we had to split the text
[12:42] <nik90> dpm: but if that is an issue locale wise, I could just resort to keeping it as a whole string returned by Qt.locale without any hacks on our side
[12:42] <dpm> nik90, I think I'd start with that, as it'd be cleaner codewise
[12:43] <dpm> but I wonder if we could get the time separator from Qt locale
[12:43] <nik90> dpm: I will have to check about the time separator..however I feel that in arabic where they read from right to left they may read time as mm:hh
[12:44] <nik90> dpm: which is why I feel we should resort to just allowing qt locale do its thing without any hacks
[12:44] <dpm> nik90, I agree
[12:44] <nik90> dpm: I will try to convince the designers about this
[12:44] <dpm> thanks nik90
[12:44] <nik90> thnx for your advice
[12:52] <kalikiana> nik90: they read numbers from the left… but not all locales use : as the separator
[12:52] <nik90> kalikiana: ok
[12:53] <nik90> kalikiana: a bit weird to see "." while reading time
[12:53] <nik90> kalikiana: but I guess locale is locale and we should respect it
[12:56] <kalikiana> by the same token you'd probably find it weird to see non-arabic numerals :-P
[12:57] <nik90> :)
[13:03] <nik90> kalikiana: do you know if AM/PM is written different in other locales? How would I detect that?
[13:04] <nik90> kalikiana: I found the property http://qt-project.org/doc/qt-5/qml-qtqml-locale.html#amText-prop in Qt.locale() which I guess I can search in the time string to see if it is present or not and then do something accordinly?
[13:08] <kalikiana> nik90: are you sure qt uses that or do you also have translated "%h:%M%p" strings?
[13:08] <kalikiana> since then the character(s) would be different
[13:09] <dholbach> beuno, lp:~dholbach/click-reviewers-tools/deprecate-14-10-dev1 - let me know what you think - it's on top of your branch
[13:09] <kalikiana> nik90: maybe it's worth thinking to instead split it by the digits
[13:09] <nik90> kalikiana: Currently I extract the hours and minutes using time.split(":")[0] and so on which will break in different locales :/
[13:09]  * beuno puts on his reviewer gloves
[13:09] <nik90> kalikiana: splitting it by digits will also fail since in some locales you can have 8:30, 08:30 and so on
[13:10] <kalikiana> nik90: how is that a problem?
[13:10] <nik90> kalikiana: the preceding zero digit is only shown in some locales
[13:10] <kalikiana> nik90: well, even so, you will know which parts are the digits
[13:10] <nik90> kalikiana: well splitting it by digits would mean I count the digits from the start and split after 2 characters ?
[13:10] <kalikiana> nik90: regex :-]
[13:11] <nik90> kalikiana: I could do that
[13:11] <nik90> kalikiana: but I wonder why not take advantage of qt locale's properties
[13:12] <kalikiana> nik90: if you answered my question on whether you have translated "%h:%M%p" style strings I could answer that :-D
[13:13] <nik90> kalikiana: no we haven't translated %h:%M:%p strings
[13:13] <nik90> kalikiana: we just use Qt.formatTime(new Date()) to get the current time in the system locale
[13:13] <mardy> dpm: about the console.log(), it should print on the console. Do you have a code snippet? Maybe that code is not executed?
[13:13] <nik90> kalikiana: now we are trying to decide how to output that correctly
[13:13] <kalikiana> then you probably can. assuming qt is consistently getting it right
[13:13] <nik90> kalikiana: ok
[13:13] <kalikiana> there's just the issue that in principle translators could make a decision on a case by case basis
[13:14] <beuno> dholbach, looks good. I wonder if instead we want to simplify and make it download a file from the internet, maybe grab it from (for now) http://bazaar.launchpad.net/~dholbach/+junk/frameworks/download/head:/frameworks.json-20140630125046-gbgo66at89rcslym-1/frameworks.json
[13:14] <beuno> instead of bzr branching
[13:14] <kalikiana> then again, you'll have some users report a bug if that goes wrong :-)
[13:14] <nik90> kalikiana: yeah that was the disadvantage in my mind about the translators idea
[13:15] <nik90> kalikiana: I figured just stand on the shoulders of the giant Qt
[13:15] <beuno> dholbach, I also wonder why you added the script to the debian dir
[13:15] <dholbach> beuno, I thought it'd be run on the developers' machine before making a commit or an upload of the package
[13:16] <beuno> dholbach, well, we may want the SDK to update them
[13:16] <beuno> things like that
[13:16] <beuno> outside of a debian package
[13:16] <beuno> I know it's all in the branch anyway
[13:16] <dholbach> beuno, hum hum let me think
[13:16] <beuno> I'd just never look under debian/
[13:17] <beuno> because, you know, it's be all debian icky bits
[13:19] <dholbach> beuno, right right, let me think some more
[13:26] <dpm> mardy, that's my Main.qml file: http://pastebin.ubuntu.com/7726435/
[13:44] <mardy> dpm: strange, you should definitely see those lines in the terminal
[13:53] <ybon> nik90: do you have the setting for that http://www.bbc.com/news/world-latin-america-28013157 ? :p
[13:53] <nik90> ybon: good lord..no idea...well hopefully Qt will support that
[13:53] <nik90> :P
[13:56] <ybon> :)
[13:59] <dpm> mardy, could it be that another copy of Main.qml is being executed instead? I've no idea how to proceed now, so any suggestions welcome
[14:01] <mardy> dpm: could be, but it's unlikely, unless your filesystem is badly messed up; try verifying with strace
[14:03] <dpm> mardy, or could it be that completeCreation is never called?
[14:04] <mardy> dpm: if the creation succeeds, it should be called
[14:04] <mardy> dpm: unless I broke it...
[14:05] <mardy> dpm: I will have a look at it tomorrow, now I have to leave
[14:06] <dpm> mardy, thanks. Just a quick one: could you tell me from this if creation is failing? http://pastebin.ubuntu.com/7726034/
[14:59] <dpm> popey, music app for trusty build starting in ~20 mins: https://code.launchpad.net/~ubuntu-touch-coreapps-drivers/+recipe/music-app-daily
[15:00] <popey> \o/ timeout
[15:00] <popey> hah, works in an incognito window
[17:20] <rpadovani> hey popey :-) I need your help
[17:23] <popey> rpadovani: hey!
[17:23] <popey> wassup?
[17:23] <rpadovani> popey, we found a regression in calculator in unicorn #94, but in #97 there isn't  and in #100 there is again. Assuming it's always the same package that causes the bug, (I hope it is), where can I find full change log between 94 and 97 and 97 and 100? Comparing the two changelogs maybe I could find something interesting...
[17:24] <popey> rpadovani: http://people.canonical.com/~ogra/touch-image-stats/
[17:24] <popey> is that any use?
[17:24] <rpadovani> popey, could be a start, thanks!
[17:24] <popey> ogra_: sil2100 had a "pretty" changelog page didnt he?
[17:24] <popey> (and more detailed)
[17:25] <popey> http://people.canonical.com/~lzemczak/landing-team/ aha! found them
[17:25] <ogra_> yeah, that one
[17:25] <popey> thanks :D
[17:25] <ogra_> it has references to the landings and MPs
[17:25] <popey> sweet
[17:26] <rpadovani> wow cool
[17:26] <ogra_> there was also jibels that has the full package changelogs
[17:26] <ogra_> (but i think he stopped generating them)
[17:28] <ogra_> popey, http://people.canonical.com/~j-lallement/touch/changes/20140627.1.html
[17:28] <Girish> Help for getting ubuntu touch emulator started
[17:30] <rpadovani> ogra_, this last one is wonderful
[17:31] <ogra_> it is ... but sadly a bit behind and not using system-image numbering
[17:31] <popey> Girish: hiya, what have you been trying and what's not worked?
[17:32] <dpm> mzanetti, ok, so re-tested the Qt packages, issue with app store installs no longer reproduceable with image 105, robru has already updated the spreadsheet
[17:34] <dpm> mzanetti, do you have any further ideas on how to debug the hostname missing issue? My hunch is that completeCreation() in http://pastebin.ubuntu.com/7726435/ might not be called, which is why I'm not getting the console.log() messages output on the screen
[17:35] <mzanetti> dpm: thanks for the Qt stuff
[17:35] <dpm> well, thank *you*
[17:35] <mzanetti> dpm: hmm.... I guess I'd need to try myself to be able to guide you further... but the fact that you aren't seeing the debug prints seems weird...
[17:36] <mzanetti> I would try to break the qml file completey and if it then still shows the same results you know your changes arent loaded for some reason
[17:36] <dpm> oh yeah, breaking stuff I can do
[17:36] <popey> ahayzen: planning to push music 508 to the store.
[17:36] <dpm> let me give it a go :)
[17:36] <mzanetti> if you're really sure your changes are in there, you could add some qDebug to the setHostname() call in c++
[17:36] <rpadovani> dpm, popey, could you try a thing for me please? I think I'm crazy: connect the phone to computer, open the calculator, do 1/3, close the app, disconnect the cable from the computer, reopen the calculator, do a calc, close the app, do again 1/3
[17:36] <popey> ahayzen: also, dpm re-enabled trusty build recipe for music
[17:37] <popey> rpadovani: ok
[17:37] <mzanetti> dpm: usually I start putting a debug print at the beginning of each method in the class (well, theones that should be related to the problem) and then see if everything is called in the order I'd expect it
[17:38] <popey> rpadovani: haha, odd
[17:38] <popey> rpadovani: got 0.3 first time, 0.333333333 second time
[17:38] <dpm> mzanetti, ok. In any case setHostname() is definitely not getting called, I already had a debug statement in there
[17:38] <rpadovani> popey, good to know I'm not crazy :D Any idea on how to debug this?
[17:39] <popey> first, file a bug ☻
[17:39] <dpm> rpadovani, unfortunately no idea, but you definitely get the prize today for being able to reproduce the weirdest issue I've seen so far :)
[17:39] <rpadovani> it's originally filed as bug 1332567
[17:39] <rpadovani> dpm, aha
[17:43] <rpadovani> dpm, popey I updated the bug: https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1332567/comments/7
[17:43] <rpadovani> Who can I ping about it?
[17:43] <rpadovani> boiko, FYI ^^, you worked on calculator :-)
[17:43] <popey> rpadovani: my only thought is that there is some part of the CPU which is less accurate when not on charge
[17:44] <dpm> thanks rpadovani
[17:44] <popey> ogra_: ever heard of an arm chip which reduces math accuracy when on low power?
[17:44] <ogra_> nope
[17:44] <popey> rpadovani: i would try and reproduce it with a small snippet of code
[17:44] <popey> rpadovani: maybe use the js math library but just print the result of the calculation out
[17:45] <rpadovani> popey, the issue is somewhere in the library, I used some console.log() to be sure
[17:45] <boiko> rpadovani: that's weird
[17:45] <rpadovani> popey, the calc is passed right to the library, the result of the function is wrong, but I'm not able to debug it
[17:46] <rpadovani> also, is related to qt 5.3 I suppose
[17:46] <popey> rpadovani: is the js lib up to date?
[17:46] <popey> rpadovani: any bugs in the js lib which could be related
[17:46] <rpadovani> popey, no, but doesn't change with last version, and on desktop works fine
[17:47] <rpadovani> I can open a bug upstream, but it's related only to the library on a device (nexus 4 for now, could you try on 7?)
[17:47] <popey> i did it on a nexus 7
[17:47] <rpadovani> ok, thanks
[17:48] <rpadovani> also, isn't related to floating points, because 55/2 = 25
[17:48] <rpadovani> it's a lot of lol, but the calculator is unusable right now
[17:48] <popey> haha
[17:51] <popey> rpadovani: there's some rounding error there, 15/2 = 5
[17:52] <rpadovani> popey, yap, but only if the device is connected to the pc
[17:53] <popey> this is odd
[17:54] <popey> but it doesn't break as soon as you put a cable in, only after you kill the app and it reloads
[17:54] <popey> sounds like something funky going on in the qt5.3 js interpreter
[17:56] <rpadovani> popey, yap, something like the split() bug
[17:56] <popey> yeah
[17:56] <rpadovani> but upstream I found nothing
[17:58] <Girish> hi emulator is not working for me
[17:58] <Girish> i have already downloaded two copy of emulator, out of which one is i386
[17:59] <Girish> emulator starts shows me only black screen, nothing comes up
[17:59] <Girish> Attaching log of emulator
[17:59] <Girish> Checking installed emulator package. ii ubuntu-emulator 0.2+14.10.20140429.1-0ubuntu1~0trusty1  Search configured emulator instances. Tes ubuntu=20140618,device=20140530,version=87 Test2 ubuntu=20140617,device=20140530,version=87  Detecting device..
[17:59] <t1mp> Girish: I am not using the emulator, but I have heard that the first time you start it, it takes a *very* long time for it to boot (like 15 minutes?)
[18:00] <t1mp> Girish: try waiting a long time (luckily only the first time you start it)
[18:00] <Girish> ok i will give it a try, thanks for your info.
[18:01] <t1mp> Girish: if it doesn't work, ask here again. There must be some people who know more about it than I do :)
[18:07] <rpadovani> popey, just updated to #105 and I'm not able to reproduce it. If you confirm it, I archive this as a strange story to tell during a sprint :D
[18:11] <popey> rpadovani: my nexus 7 _is_ on 105
[18:13] <rpadovani> popey, oook, that is another weird behavior: after an update isn't reproducible anymore, before a restart of the phone
[18:14] <rpadovani> dinner time, I'll investigate more after dinner
[18:18] <popey> rpadovani: lemme know if you need more testing
[18:18] <popey> very odd issue
[19:00] <ahayzen-mobile> popey, cool thanks :-)
[19:01] <ahayzen-mobile> popey, did you see my comment on the mediascanner bug? We think it actually may be just on trusty
[19:02] <ahayzen-mobile> popey, When you get a moment could you try my sheets-to-pages branch on your trusty machine?
[19:46] <qtros> Hi all
[19:46] <qtros> Can anyone help us (Shorts team) with Jenkins? Seems that our tests become broken in trunk (and we can't even replace them)
[19:48] <ahayzen_> qtros, have you got a link to them failing in jenkins?
[19:48] <qtros> ahayzen of course, here you are: https://code.launchpad.net/~mrqtros/ubuntu-rssreader-app/rendering-optimization-in-grid/+merge/224552
[19:49] <qtros> ahayzen_ in this one nskaggs tried to fix it: https://code.launchpad.net/~nskaggs/ubuntu-rssreader-app/new-pep8-fixes/+merge/224855
[19:50] <ahayzen_> qtros, yeah pep8 was updated in utopic...but as nick says in the mp comments 4 tests are still failing, and if you watch the video there is that issue with the toolbar being duplicated
[19:51] <qtros> ahayzen_ which video? :)
[19:51] <ahayzen_> qtros, http://91.189.93.70:8080/job/generic-mediumtests-utopic/702/artifact/shorts_app.tests.test_rssreader.TestMainWindow.test_add_feed_to_new_topic%20%28with%20mouse%29.ogv
[19:51] <ahayzen_> qtros, think that is an issue in the SDK IIRC
[19:52] <ahayzen_> qtros, but they all fail with the same issue error ... and when they go to click the add button
[19:53] <qtros> ahayzen_ all is working on my machine, my teammate tested it well on his PC and phone, so what is wrong?
[19:53] <ahayzen_> qtros, you haven't really changed much either
[19:54] <qtros> ahayzen_ you are right)
[19:54] <ahayzen_> qtros, where abouts in your code is the 'ActionSelectionPopover' it is looking for?
[19:54] <qtros> ahayzen_ nothing related with toolbar, only rendering
[19:55] <qtros> ahayzen_ we use such popover for menu, I think. We can't do that?
[19:55] <ahayzen_> qtros, idk i was just trying to find it in the code so i could see how your doing it :)
[19:58] <qtros> ahayzen_ how I can find out what is wrong? :)
[19:58] <qtros> ahayzen_ I have latest SDK on my PC
[19:58] <qtros> ahayzen_ but as I said before all is working fine
[19:59] <qtros> ahayzen_ I can't fix "errors" in "blind mode"
[20:00] <ahayzen_> qtros, basically it is saying it can't find an object name ActionSelectionPopover and properties id = 14 .... so which object would you expect for that to be? thats where i would start... then figure out why jenkins can't find it...probably because it isn't shown/has wrong properties/was too slow to load etc
[20:10] <qtros> ahayzen_ I can't view videos
[20:10] <qtros> ahayzen_ chrome can't)
[20:11] <ahayzen_> qtros, ah ... basically the video ends when it tries to click on '+Add feeds'
[20:11] <qtros> ahayzen_ I can't even start to look that video :D
[20:11] <ahayzen_> qtros, the mouse moves over it...and possibly clicks, but the video stops as soon as the mouse is over it
[20:11] <ahayzen_> qtros, vlc player?
[20:11] <rpadovani> popey, quick (unuseful) update: the library has some tests to run on a browser, so I uploaded them to my website and run with the ubuntu browser on device: no test failed
[20:12] <rpadovani> You can find tests here: http://www.rpadovani.com/ubuntu/bignumber/bignumber.js/test/browser/every-test.html
[20:12] <qtros> ahayzen_ I have it, what next? :) I should download it first?
[20:12] <rpadovani> seems a combo between bignumber.js and calculator implementation...
[20:13] <ahayzen_> qtros, you should be able to go to here http://91.189.93.70:8080/job/generic-mediumtests-utopic/702/ right click on the videos and select 'save target link as' or something similar then you can play them locally
[20:13] <qtros> ahayzen_ it works now, thanks ))
[20:13] <ahayzen_> qtros, cool :)
[20:14] <qtros> ahayzen_ but... really ends on "Add feeds" ...
[20:14] <ahayzen_> qtros, yeah
[20:15] <ahayzen_> qtros, they all fail at the same point
[20:17] <qtros> ahayzen_ I can't understand why do they all do the same thing
[20:17] <qtros> ahayzen_ and why I can see toolbar at the middle of the page)
[20:18] <ahayzen_> qtros, the toolbar middle of the page was an SDK issue i think t1mp ?
[20:18] <qtros> ahayzen_ yes, looks like SDK issue
[20:19] <ahayzen_> qtros, and they all seems to fail trying to select the button in the popover...i'm just trying to figure ur code out...maybe it is actually something in autopilot that has changed
[20:19] <qtros> ahayzen_ I've seen it before when smth was wrong in my code
[20:20] <qtros> ahayzen_ keep in mind that this part wasn't changed in this request)
[20:21] <ahayzen_> qtros, this is where it fails from the console output http://bazaar.launchpad.net/~mrqtros/ubuntu-rssreader-app/rendering-optimization-in-grid/view/head:/tests/autopilot/shorts_app/__init__.py#L97
[20:22] <ahayzen_> qtros, yeah and balloons says in his comment that trunk has broken as well in jenkins?
[20:22] <qtros> ahayzen_ and what is wrong with this line? >> popover.click_button_by_text('+ Add feeds')
[20:23] <ahayzen_> qtros, the functions it is calling behind are breaking...so that would suggest it is autopilot/sdk somewhere
[20:23] <qtros> ahayzen_ I think that this code worked before for year or two :D
[20:23] <ahayzen_> heh
[20:23] <qtros> ahayzen_ really)
[20:23] <ahayzen_> qtros, probably best to either talk to balloons when he is around or hop on the #ubuntu-autopilot chann and see if any of them can help you further
[20:25] <qtros> ahayzen_ huge thanks) Can I know your full name? Sometimes it is not enough to know nickname)
[20:25] <ahayzen_> qtros, andrew hayzen, i work on the music app :) what about you?
[20:27] <qtros> ahayzen_ Roman Shchekin, Shorts app (but you already know it ;) ), nice to meet you :)
[22:55] <rpadovani> popey, ok, last update for today: I'm sure 100% the issue is raise up by the bignumber library, I did a very simple application with it and I have the same behavior that has calculator. Unfortunately, I didn't find anymore for now
[23:07] <popey> rpadovani: I'll bring this up tomorrow and maybe put the call out for more help
[23:07] <popey> rpadovani: thanks for looking into it