/srv/irclogs.ubuntu.com/2014/06/30/#ubuntu-app-devel.txt

=== chriadam|away is now known as chriadam
=== chihchun_afk is now known as chihchun
liuxgdoes anyone know whether Qt C++ SystemInfo API already the on ubuntu touch platform? thanks05:49
DanChapmanGood Morning06:53
dholbachgood morning07:04
JamesTaitGood morning all; happy Meteor Watch Day! :-D08:16
dpmmorning 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:22
dpmmardy, 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:34
popeydpm: planning to get reminders updated in store today?08:35
popeynot much landed by the look of it08:35
dpmpopey, no, unfortunately the account plugin does not work yet08:35
popeyok08:37
zbenjamindpm: hm should work, is ssh running in the emulator?09:12
dpmzbenjamin, it seems it is running, yes09:14
dpmmorning mzanetti, got a minute for some evernote plugin questions?09:16
mzanettidpm: hit me09:16
dpmmzanetti, 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/~reminders09: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 name09:18
dpmhttp://bazaar.launchpad.net/~reminders-app-dev/reminders-app/trunk/view/head:/src/account-plugin/qml/evernote/Main.qml09:19
mzanettidpm: you need to add "EvernoteConnection.hostname = ..."09:24
mzanettidpm: where the "..." is the url you get from the config files09:24
dpmmzanetti, 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:25
mzanettidpm: well sure... the Evernote plugin doesn't have a hostname set. so auth won't work09:26
dpmmzanetti, I mean the oauth authentication seems to be failing. That works independently of the evernote plugin09:26
dpmin any case, I'll try again now specifying the hostname09:27
mzanettidpm: 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 fine09:27
mzanettidpm: 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 stall09:28
zbenjamindpm: ich schaus mir später mal an09:29
dpmzbenjamin, ok, danke!09:29
dpmmzanetti, 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:39
dpmah, wait, hostname probably spelt wrong, let me try again09:40
dpmstill similar error when setting EvernoteConnection.hostname = "www.evernote.com" -> http://pastebin.ubuntu.com/7725611/09:43
mzanettidpm: sorry, :, not =09:44
mzanettialthough...09:45
mzanettino... = seems ok09:45
* mzanetti checks the code09:45
dpmyeah, it's setting it in JS, not as a property09:45
mzanettidpm: strange thing is: created UserStore SSL socket to host  ""09:46
dpmmzanetti, yeah. UserStore only appears in Connections, so it puzzles me why it tries to instantiate it09:47
mzanettidpm: setting the hostname connects userstore and notesstore09:47
mzanettidpm: EvernoteConnection, UserStore and NotesStore are instantiated directly when you do the "import Evernote 0.1" for the first time09:49
dpmah, got it now09:49
dpmbut still not sure what the error is09:51
mzanettidpm: the debug print doesn't match with the code from my branch09:51
dpmmzanetti, no, that's something I added on my branch to see which host it's connecting to09:51
mzanettimakes it a bit harder for me right now :)09:52
mzanettidid you add anything else?09:52
mzanettior remove09:52
mzanettior change :)09:52
dpmmzanetti, 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 info09:52
dpmbut let me double-check09:53
mzanettidpm: ok... please remove the "setupEvernoteConnection()" call in the ctor09:55
mzanettidpm: 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#L16009:55
mzanettidpm: the debug print should containt m_hostname09:55
mzanettiand then try again please09:55
dpmok, on it09:56
=== davmor2_ is now known as davmor2
=== lool- is now known as lool
dpmmzanetti, 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:16
mardydpm: hi! That warning is irrelevant; it just tries to load the plugins from a local dir first10:36
mardydpm: try running it with QML_IMPORt_TRACE=110:36
mardydpm: that is, QML_IMPORT_TRACE=1 :-)10:37
dpmthanks mardy11:00
=== gatox_ultra is now known as gatox
dpmmzanetti, so removing "setupEvernoteConnection()" in the constructor results in a segmentation fault11:06
mzanettilemme check11:07
dpmk, thanks11:08
=== MacSlow is now known as MacSlow|lunch
MichielvkHi11:15
popeyhi Michielvk11:20
Michielvkhow are you?11:21
popeyFine thanks, you? ☻11:21
Michielvki'm fine to11:21
Michielvkhow you have chanched your name color11:21
Michielvk:) ?11:21
popeyi don't know what you mean. probably just your irc client changes my name colour when i mention your name11:22
popeyMichielvk: like this11:22
Michielvkah11:22
mzanettidpm: I've found it :(11:22
Michielvkpopey; hi11:22
mzanettidpm: but I'll only tell you if you promise not to slap me11:22
Michielvkpopey: hi11:22
dpmmzanetti, you're safe, Ulm is a few kms away :)11:23
popeymzanetti: dpm http://media.giphy.com/media/qhURwEDavrGQE/giphy.gif11:23
mzanettidpm: in /src/plugin/Evernote/jobs/evernotejob.cpp, please add a ! in line 5011:23
MichielvkMichielvk: ?11:23
mzanettipopey: :D11:23
popeyMichielvk: anything we can do to help?11:25
dpmmzanetti, http://upload.wikimedia.org/wikipedia/commons/3/3b/Paris_Tuileries_Garden_Facepalm_statue.jpg11:26
mzanettidpm: indeed11:26
mzanettiI'm so sorry11:26
dpmmzanetti, just joking, thanks for finding it out11:26
* dpm hugs mzanetti11:26
Michielvkpopey: No11:27
Michielvkpopey: i'm a new developer11:27
popeyoh okay. well if you need anything, let me know.11:27
Michielvkpopey: bye i need to work11:29
=== chriadam is now known as chriadam|away
dpmmzanetti, 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:46
mzanettidpm: can you add a debug print in the Main.qml before you set the hostname and after that?11:48
dpmmzanetti, yeah, but that does not seem to be printed by the UOA debug output. Let me try again12:00
dpmmzanetti, 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 stopped12:04
mzanettidpm: strange... are you sure you're changing the correct file?12:05
mzanettidpm: because the debug prints I see so far suggest that the hostname is never set12:05
mzanettidpm: is the setupEvernoteConnection() still in the ctor or did you remove that?12:05
dpmthere 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 ctor12:06
dpmyes, there is only a Main.qml file, and I'm changing the right one, for all I know12:07
dpmnik90, 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 first12:15
nik90dpm: ack12:16
dpmthanks12:16
gerlowskijadpm: nik90:  Oops, I'll take a look after work today12:18
dpmah, hi gerlowskija, hadn't realised you were online, hi! :)12:18
dpmso yeah, I sent the instructions over e-mail12:19
dpmand thanks again for the contribution!12:19
gerlowskijacool, I'll take a look once I'm off the clock.12:19
dpmexcellent12:19
gerlowskijaand of course; thanks for the reviews12:19
nik90gerlowskija: thnx :)12:20
dpmmardy, 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 there12:24
dpmmardy, 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:24
=== MacSlow|lunch is now known as MacSlow
dholbachhey jdstrand, how are you doing? did you have a good weekend?12:26
dholbachit'd probably be better if you reviewed https://code.launchpad.net/~beuno/click-reviewers-tools/deprecate-14-10-dev1/+merge/22488712:26
mardydpm: the "reply" is what the authentication plugin returns (typically, the access token and an expiration time)12:27
mardydpm: you won't find the provider data there12:27
dpmack, I was just wondering. It's ok, I can hardcode the hostname there12:28
mardydpm: no, wait, there is a way12:28
dpmok :)12:28
mardydpm: via the "account" object12:28
beunodholbach, he's off this week12:29
dholbachbeuno, thanks!12:29
beunodholbach, I did talk to him about what I was doing12:29
dholbachjdstrand, have a good time off!12:29
beunoand he was +1 on the static list12:29
beunoas per your email12:29
beunoto isolate the scripts more12:29
mardydpm: you should add an element like this: AccountService { id: accountService; objectHandle: account.accountServiceHandle }12:30
dholbachhum hum12:30
dholbachbeuno, not trying to complicate your life more, but......... :)12:31
mardydpm: then read accountService.authData, it's a JS object with all the data from the .provider file12:31
beunodholbach, re-write in php?12:31
dholbachbeuno, exactly!12:31
dholbachbeuno, what I think is happening right now, is that we're building 3-4 or 5 static lists of frameworks12:31
beunodholbach, yes, I know12:31
beunodholbach, my secret plan12:32
beunois to make the store the autoritive place12:32
beunoand have a json api12:32
beunothat everyone pulls from, parses, and does whatever they want12:32
beunobut for that I need to give more people access to adding them12:33
dholbachbeuno, 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 list12:33
beunodholbach, sounds good12:33
beunodholbach, I'll do that12:33
beunoIN PHP12:33
dholbachif this comes from a api from the store or (before it exists) from a ~ubuntu-core-dev branch, I don't care too much12:33
davmor2beuno: well it's that or basic12:33
dpmmardy, thanks. Any ideas about how to get the console.log() output to print on the console?12:34
beunoI'd guess that'd be a bit too far, even for us12:34
dholbachbeuno, eh?12:35
beunodholbach, basic12:36
dholbachbeuno, 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 right12:36
dholbachs/find/fine12:37
beunodholbach, oh, I'm totally up for you doing it instead of me12:37
dholbachbeuno, thought so ;-)12:37
beunodholbach, given that, maybe my branch is now orthogol to review?12:37
beuno;)12:37
nik90dpm: ping12:37
dholbachbeuno, maybe not - let me see if I can use it as a basis12:37
beunodholbach, sure12:38
dpmhi nik90, I think I know what you're pinging me for :)12:38
dpmclick for new clock and adding the branches to the status page?12:38
nik90dpm: actually no :)12:38
nik90dpm: I wanted to talk about the qt locale for clock time :)12:38
dpmok :)12:38
nik90dpm: 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 locale12:39
nik90dpm: however we need to extract the hour and minutes to show them in a different font color12:40
nik90dpm: after which we display it as hh:mm12:40
nik90dpm: is that okay locale wise?12:40
nik90dpm: or a better question would be do all clock time formats in the world follow hh:mm?12:41
dpmsome locales use hh.mm, so if possible, it'd be great not to hardcode it12:41
nik90dpm: ok..yeah the designers want the hour and minutes in purple and the ":" in grey..hence we had to split the text12:41
nik90dpm: 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 side12:42
=== renato_ is now known as Guest10805
dpmnik90, I think I'd start with that, as it'd be cleaner codewise12:42
dpmbut I wonder if we could get the time separator from Qt locale12:43
nik90dpm: 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:hh12:43
nik90dpm: which is why I feel we should resort to just allowing qt locale do its thing without any hacks12:44
dpmnik90, I agree12:44
nik90dpm: I will try to convince the designers about this12:44
dpmthanks nik9012:44
nik90thnx for your advice12:44
kalikiananik90: they read numbers from the left… but not all locales use : as the separator12:52
nik90kalikiana: ok12:52
nik90kalikiana: a bit weird to see "." while reading time12:53
nik90kalikiana: but I guess locale is locale and we should respect it12:53
kalikianaby the same token you'd probably find it weird to see non-arabic numerals :-P12:56
nik90:)12:57
nik90kalikiana: do you know if AM/PM is written different in other locales? How would I detect that?13:03
nik90kalikiana: 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:04
kalikiananik90: are you sure qt uses that or do you also have translated "%h:%M%p" strings?13:08
kalikianasince then the character(s) would be different13:08
dholbachbeuno, lp:~dholbach/click-reviewers-tools/deprecate-14-10-dev1 - let me know what you think - it's on top of your branch13:09
kalikiananik90: maybe it's worth thinking to instead split it by the digits13:09
nik90kalikiana: 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 gloves13:09
nik90kalikiana: splitting it by digits will also fail since in some locales you can have 8:30, 08:30 and so on13:09
kalikiananik90: how is that a problem?13:10
nik90kalikiana: the preceding zero digit is only shown in some locales13:10
kalikiananik90: well, even so, you will know which parts are the digits13:10
nik90kalikiana: well splitting it by digits would mean I count the digits from the start and split after 2 characters ?13:10
kalikiananik90: regex :-]13:10
nik90kalikiana: I could do that13:11
nik90kalikiana: but I wonder why not take advantage of qt locale's properties13:11
kalikiananik90: if you answered my question on whether you have translated "%h:%M%p" style strings I could answer that :-D13:12
nik90kalikiana: no we haven't translated %h:%M:%p strings13:13
nik90kalikiana: we just use Qt.formatTime(new Date()) to get the current time in the system locale13:13
mardydpm: about the console.log(), it should print on the console. Do you have a code snippet? Maybe that code is not executed?13:13
nik90kalikiana: now we are trying to decide how to output that correctly13:13
kalikianathen you probably can. assuming qt is consistently getting it right13:13
nik90kalikiana: ok13:13
kalikianathere's just the issue that in principle translators could make a decision on a case by case basis13:13
beunodholbach, 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.json13:14
beunoinstead of bzr branching13:14
kalikianathen again, you'll have some users report a bug if that goes wrong :-)13:14
nik90kalikiana: yeah that was the disadvantage in my mind about the translators idea13:14
nik90kalikiana: I figured just stand on the shoulders of the giant Qt13:15
beunodholbach, I also wonder why you added the script to the debian dir13:15
dholbachbeuno, I thought it'd be run on the developers' machine before making a commit or an upload of the package13:15
beunodholbach, well, we may want the SDK to update them13:16
beunothings like that13:16
beunooutside of a debian package13:16
beunoI know it's all in the branch anyway13:16
dholbachbeuno, hum hum let me think13:16
beunoI'd just never look under debian/13:16
beunobecause, you know, it's be all debian icky bits13:17
dholbachbeuno, right right, let me think some more13:19
dpmmardy, that's my Main.qml file: http://pastebin.ubuntu.com/7726435/13:26
mardydpm: strange, you should definitely see those lines in the terminal13:44
ybonnik90: do you have the setting for that http://www.bbc.com/news/world-latin-america-28013157 ? :p13:53
nik90ybon: good lord..no idea...well hopefully Qt will support that13:53
nik90:P13:53
ybon:)13:56
dpmmardy, could it be that another copy of Main.qml is being executed instead? I've no idea how to proceed now, so any suggestions welcome13:59
mardydpm: could be, but it's unlikely, unless your filesystem is badly messed up; try verifying with strace14:01
dpmmardy, or could it be that completeCreation is never called?14:03
mardydpm: if the creation succeeds, it should be called14:04
mardydpm: unless I broke it...14:04
mardydpm: I will have a look at it tomorrow, now I have to leave14:05
dpmmardy, thanks. Just a quick one: could you tell me from this if creation is failing? http://pastebin.ubuntu.com/7726034/14:06
dpmpopey, music app for trusty build starting in ~20 mins: https://code.launchpad.net/~ubuntu-touch-coreapps-drivers/+recipe/music-app-daily14:59
popey\o/ timeout15:00
popeyhah, works in an incognito window15:00
=== chihchun is now known as chihchun_afk
=== om26er is now known as om26er|away
=== gatox is now known as gatox_lunch
=== om26er|away is now known as om26er
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
rpadovanihey popey :-) I need your help17:20
popeyrpadovani: hey!17:23
popeywassup?17:23
rpadovanipopey, 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:23
popeyrpadovani: http://people.canonical.com/~ogra/touch-image-stats/17:24
popeyis that any use?17:24
rpadovanipopey, could be a start, thanks!17:24
=== gatox_lunch is now known as gatox
popeyogra_: sil2100 had a "pretty" changelog page didnt he?17:24
popey(and more detailed)17:24
popeyhttp://people.canonical.com/~lzemczak/landing-team/ aha! found them17:25
ogra_yeah, that one17:25
popeythanks :D17:25
ogra_it has references to the landings and MPs17:25
popeysweet17:25
rpadovaniwow cool17:26
ogra_there was also jibels that has the full package changelogs17:26
ogra_(but i think he stopped generating them)17:26
ogra_popey, http://people.canonical.com/~j-lallement/touch/changes/20140627.1.html17:28
GirishHelp for getting ubuntu touch emulator started17:28
rpadovaniogra_, this last one is wonderful17:30
ogra_it is ... but sadly a bit behind and not using system-image numbering17:31
popeyGirish: hiya, what have you been trying and what's not worked?17:31
dpmmzanetti, ok, so re-tested the Qt packages, issue with app store installs no longer reproduceable with image 105, robru has already updated the spreadsheet17:32
dpmmzanetti, 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 screen17:34
mzanettidpm: thanks for the Qt stuff17:35
dpmwell, thank *you*17:35
mzanettidpm: 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:35
mzanettiI 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 reason17:36
dpmoh yeah, breaking stuff I can do17:36
popeyahayzen: planning to push music 508 to the store.17:36
dpmlet me give it a go :)17:36
mzanettiif you're really sure your changes are in there, you could add some qDebug to the setHostname() call in c++17:36
rpadovanidpm, 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/317:36
popeyahayzen: also, dpm re-enabled trusty build recipe for music17:36
popeyrpadovani: ok17:37
mzanettidpm: 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 it17:37
popeyrpadovani: haha, odd17:38
popeyrpadovani: got 0.3 first time, 0.333333333 second time17:38
dpmmzanetti, ok. In any case setHostname() is definitely not getting called, I already had a debug statement in there17:38
rpadovanipopey, good to know I'm not crazy :D Any idea on how to debug this?17:38
popeyfirst, file a bug ☻17:39
dpmrpadovani, 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
rpadovaniit's originally filed as bug 133256717:39
ubot5bug 1332567 in Ubuntu Calculator App "ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_divide_with_infinity_length_result_number failed on mako #91" [Critical,Confirmed] https://launchpad.net/bugs/133256717:39
rpadovanidpm, aha17:39
rpadovanidpm, popey I updated the bug: https://bugs.launchpad.net/ubuntu-calculator-app/+bug/1332567/comments/717:43
ubot5Ubuntu bug 1332567 in Ubuntu Calculator App "ubuntu_calculator_app.tests.test_simple_page.TestSimplePage.test_divide_with_infinity_length_result_number failed on mako #91" [Critical,Confirmed]17:43
rpadovaniWho can I ping about it?17:43
rpadovaniboiko, FYI ^^, you worked on calculator :-)17:43
popeyrpadovani: my only thought is that there is some part of the CPU which is less accurate when not on charge17:43
dpmthanks rpadovani17:44
popeyogra_: ever heard of an arm chip which reduces math accuracy when on low power?17:44
ogra_nope17:44
popeyrpadovani: i would try and reproduce it with a small snippet of code17:44
popeyrpadovani: maybe use the js math library but just print the result of the calculation out17:44
rpadovanipopey, the issue is somewhere in the library, I used some console.log() to be sure17:45
boikorpadovani: that's weird17:45
rpadovanipopey, the calc is passed right to the library, the result of the function is wrong, but I'm not able to debug it17:45
rpadovanialso, is related to qt 5.3 I suppose17:46
popeyrpadovani: is the js lib up to date?17:46
popeyrpadovani: any bugs in the js lib which could be related17:46
rpadovanipopey, no, but doesn't change with last version, and on desktop works fine17:46
rpadovaniI 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
popeyi did it on a nexus 717:47
rpadovaniok, thanks17:47
rpadovanialso, isn't related to floating points, because 55/2 = 2517:48
rpadovaniit's a lot of lol, but the calculator is unusable right now17:48
popeyhaha17:48
popeyrpadovani: there's some rounding error there, 15/2 = 517:51
rpadovanipopey, yap, but only if the device is connected to the pc17:52
popeythis is odd17:53
popeybut it doesn't break as soon as you put a cable in, only after you kill the app and it reloads17:54
popeysounds like something funky going on in the qt5.3 js interpreter17:54
rpadovanipopey, yap, something like the split() bug17:56
popeyyeah17:56
rpadovanibut upstream I found nothing17:56
Girishhi emulator is not working for me17:58
Girishi have already downloaded two copy of emulator, out of which one is i38617:58
Girishemulator starts shows me only black screen, nothing comes up17:59
GirishAttaching log of emulator17:59
GirishChecking 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
t1mpGirish: 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?)17:59
t1mpGirish: try waiting a long time (luckily only the first time you start it)18:00
Girishok i will give it a try, thanks for your info.18:00
t1mpGirish: if it doesn't work, ask here again. There must be some people who know more about it than I do :)18:01
rpadovanipopey, 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 :D18:07
popeyrpadovani: my nexus 7 _is_ on 10518:11
rpadovanipopey, oook, that is another weird behavior: after an update isn't reproducible anymore, before a restart of the phone18:13
rpadovanidinner time, I'll investigate more after dinner18:14
popeyrpadovani: lemme know if you need more testing18:18
popeyvery odd issue18:18
=== dpm is now known as dpm-afk
ahayzen-mobilepopey, cool thanks :-)19:00
ahayzen-mobilepopey, did you see my comment on the mediascanner bug? We think it actually may be just on trusty19:01
ahayzen-mobilepopey, When you get a moment could you try my sheets-to-pages branch on your trusty machine?19:02
qtrosHi all19:46
qtrosCan anyone help us (Shorts team) with Jenkins? Seems that our tests become broken in trunk (and we can't even replace them)19:46
ahayzen_qtros, have you got a link to them failing in jenkins?19:48
qtrosahayzen of course, here you are: https://code.launchpad.net/~mrqtros/ubuntu-rssreader-app/rendering-optimization-in-grid/+merge/22455219:48
qtrosahayzen_ in this one nskaggs tried to fix it: https://code.launchpad.net/~nskaggs/ubuntu-rssreader-app/new-pep8-fixes/+merge/22485519:49
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 duplicated19:50
qtrosahayzen_ 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.ogv19:51
ahayzen_qtros, think that is an issue in the SDK IIRC19:51
ahayzen_qtros, but they all fail with the same issue error ... and when they go to click the add button19:52
qtrosahayzen_ 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 either19:53
qtrosahayzen_ you are right)19:54
ahayzen_qtros, where abouts in your code is the 'ActionSelectionPopover' it is looking for?19:54
qtrosahayzen_ nothing related with toolbar, only rendering19:54
qtrosahayzen_ 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:55
qtrosahayzen_ how I can find out what is wrong? :)19:58
qtrosahayzen_ I have latest SDK on my PC19:58
qtrosahayzen_ but as I said before all is working fine19:58
qtrosahayzen_ I can't fix "errors" in "blind mode"19:59
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 etc20:00
qtrosahayzen_ I can't view videos20:10
qtrosahayzen_ chrome can't)20:10
ahayzen_qtros, ah ... basically the video ends when it tries to click on '+Add feeds'20:11
qtrosahayzen_ I can't even start to look that video :D20:11
ahayzen_qtros, the mouse moves over it...and possibly clicks, but the video stops as soon as the mouse is over it20:11
ahayzen_qtros, vlc player?20:11
rpadovanipopey, 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 failed20:11
rpadovaniYou can find tests here: http://www.rpadovani.com/ubuntu/bignumber/bignumber.js/test/browser/every-test.html20:12
qtrosahayzen_ I have it, what next? :) I should download it first?20:12
rpadovaniseems a combo between bignumber.js and calculator implementation...20:12
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 locally20:13
qtrosahayzen_ it works now, thanks ))20:13
ahayzen_qtros, cool :)20:13
qtrosahayzen_ but... really ends on "Add feeds" ...20:14
ahayzen_qtros, yeah20:14
ahayzen_qtros, they all fail at the same point20:15
qtrosahayzen_ I can't understand why do they all do the same thing20:17
qtrosahayzen_ and why I can see toolbar at the middle of the page)20:17
ahayzen_qtros, the toolbar middle of the page was an SDK issue i think t1mp ?20:18
qtrosahayzen_ yes, looks like SDK issue20:18
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 changed20:19
qtrosahayzen_ I've seen it before when smth was wrong in my code20:19
qtrosahayzen_ keep in mind that this part wasn't changed in this request)20:20
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#L9720:21
ahayzen_qtros, yeah and balloons says in his comment that trunk has broken as well in jenkins?20:22
qtrosahayzen_ and what is wrong with this line? >> popover.click_button_by_text('+ Add feeds')20:22
ahayzen_qtros, the functions it is calling behind are breaking...so that would suggest it is autopilot/sdk somewhere20:23
qtrosahayzen_ I think that this code worked before for year or two :D20:23
ahayzen_heh20:23
qtrosahayzen_ 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 further20:23
qtrosahayzen_ 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:25
qtrosahayzen_ Roman Shchekin, Shorts app (but you already know it ;) ), nice to meet you :)20:27
=== oSoMoN_ is now known as oSoMoN
=== chihchunl is now known as chihchun
=== renato_ is now known as Guest38857
rpadovanipopey, 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 now22:55
popeyrpadovani: I'll bring this up tomorrow and maybe put the call out for more help23:07
popeyrpadovani: thanks for looking into it23:07
=== salem_ is now known as _salem

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