=== chriadam|away is now known as chriadam [00:30] boiko, hey, so i followed your template and it looks so much better :D [00:30] cwayne_: nice! :D [00:30] boiko, still struggling with the Divider, but that's not super important :) [00:31] cwayne_: what's up with the divider? [00:31] boiko, when i make it the last item in the column, it's right at the bottom of the progress bar, like 0px difference [00:31] but i cant do anchors.top/bottom because it's in a column i think [00:31] so it's like i'd need to adjust the spacing of just that 1 column item [00:34] cwayne_: you can set the spacing of the column to units.gu(1) or something like that [00:34] cwayne_: a trick you can do is to append an empty item at the end of the column, with the height you need [00:35] boiko, right, but if i do the spacing, it changes between the other list elements too [00:35] like 'steps' and the numbers [00:35] ah, put the divider at the top, and add an empty element :D [00:36] cwayne_: ah ok, so the empty item below the divider should do the trick [00:37] hm, how can i do an empty item? if i try to just listmodel.append({}) it adds a blank prgress bar :) [01:01] Get core apps from "ppa:ubuntu-touch-coreapps-drivers/daily"? [01:04] ? Or should I get the latest development code from launchpad? [01:12] camron, what do you want to do with the core apps? Run them, look at the code, or contribute to them? [01:12] contribute [01:12] camron, Both then. Normally run the apps from the PPA, and use that to find bugs or missing features [01:13] camron, when working on a bug, branch the code from launchpad and code and run from that [01:46] iBelieve, hey, im still working on the trello plugin, i hit the same thing you did :/ [01:46] cwayne_, the unsupported browser error? [01:47] cwayne_, that's too bad that you're having problems. Thanks for trying to get it to work! [01:49] iBelieve, oh, i'll get it, i refuse to give up now :D [03:12] Any reason why the QML Scene viewer would randomly stop rendering? It looks like it's showing a part of the away screen [03:16] Hmm, working again [03:45] annndd it's broke again. Prob video card driver issues. [04:01] popey: my expertise seems to be limited to offering resetting of Qt Creator configuration... but for aquarius and some others Qt4 problem - if they're using KDE for example, they may need to hand-configure the Qt5 in Qt Versions + Kits options, since KDE currently forcefully adds Qt4 as the first item in path [04:02] camron: if resetting the configuration did not help like it did for aquarius, you could check echo $PATH before you go on and try starting qtcreator from command line [04:07] and also, in case Qt Creator auto-misconfigures itself becaus of PATH, one needs to go to Options -> Qt versions, add Qt5 in there (/usr/lib/x86_64-linux-gnu/qt5/bin/qmake) and on the Kits page select Qt 5 to be used [04:45] Fullscreen Ogre App freeze on exit | http://askubuntu.com/q/340716 [06:03] Shut down from User Program | http://askubuntu.com/q/340731 [07:00] good morning [07:20] Anybody know how to use the Ubuntu Qml Toolkit -> Theme.palette? And why Theme.palette.normal.background isn't the color I choose in my MainView? [07:23] Does anybody already use i18n in qml? I simply can't get it to work. [07:33] labsin: how exactly is it not working? are you getting errors? [07:34] oSoMoN, I have multiple issues. Fist, I don't know where to put the po files. [07:35] Also tr("%n file", "%n files", count) always displays "%n file" and is also listed in the pot file as "%n file" [07:36] labsin, you need to do tr("%n file", "%n files", count).arg(count) [07:36] labsin: usually in your source tree they would be in a po/ folder, and when installed the compiled translations should go under /usr/share/locale/*/LC_MESSAGES/appname.mo [07:36] oSoMoN, and for the click packages? [07:36] dpm, tnx [07:37] labsin: good question, I don’t know the answer, dpm do you know that? [07:38] labsin, oSoMoN, we've not worked it out yet, but you can install them in ./locale/*/LC_MESSAGES/appname.mo and then tell the app to load them from there during initialization. Let me give you more details on how to do that, I need to find out myself [07:41] hm, it looks like it's not possible yet, we need a i18n.bindtextdomain implementation [07:45] timp, any ideas on that? For click packages we won't be able to install translations in /usr/share/locale, which is what gettext assumes in the UITK. I think we'd need to implement gettext's bindtextdomain function to specify another location for translations (i.e. to point to a relative path inside the click package) [07:50] dpm, Ok. Btw, the %n isn't working. It should be %1 or something. Best to change http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/qml-ubuntu-components0-i18n.html [07:55] dpm, timp: ideally, the UITK would transparently detect that it’s a click package and set the search path accordingly, without the developer caring about how the app is packaged [07:56] not sure if/how that can be done though [07:57] oSoMoN, I agree. I think it might be worth considering to assume that all QML apps will be click packages [07:58] dpm: I think it’s the goal, but it currently isn’t the case yet, afaik we have a set of system apps that are not click yet [08:03] oSoMoN, yeah, but are we not migrating them all to click? (dropping letters, sudoku and stock ticker already are installed as click packages) [08:04] dpm: yes, I think that’s the plan [08:04] if so, translations will break for each app as soon as they are installed as click [08:49] Good morning all, happy Welsh Rarebit Day! :-D [08:55] Hi everybody! [09:01] hey PaoloRotolo [09:01] Hi popey! === dholbach_ is now known as dholbach [09:04] Hi all [09:07] Hi all :) [09:09] PaoloRotolo: hope we can get your branches in today [09:09] Hi nik90_ :D [09:09] good news [09:10] PaoloRotolo: erm ... I said I *hope* :D. so not yet good news :P [09:10] nik90_, lol [09:10] nik90_, sorry for the delay, but I was in holiday the last week. I've a question about the stopwatch laps :D [09:10] nik90_, do you remember the laps numeration :D? [09:11] PaoloRotolo: sort of. No worries. I was quite occupied as well [09:14] nik90_, I don't know how to decrease the laps count [09:14] nik90_, something like "laps.count -1" [09:15] PaoloRotolo: I am windows right now, so cannot check. But something like laps.count-1 should work [09:16] ok, thanks anyway [09:16] hi m-b-o / nik90_ [09:17] hi popey === chriadam is now known as chriadam|away [09:18] it doesn't work :( [09:21] What's wrong with: [09:21] onItemRemoved: { [09:21] laps.count-1 [09:21] } [09:22] PaoloRotolo: because the lap list is a ListModel. So you need to use a ListModel functions to remove an item [09:23] PaoloRotolo: the official qml docs explain ListModel in detail [09:23] about how to add/remove an item from a ListModel [09:24] nik90_, this http://developer.ubuntu.com/api/ubuntu-12.10/qml/mobile/overview-ubuntu-sdk.html ? [09:25] PaoloRotolo: no [09:26] PaoloRotolo: [09:27] I cannot paste links for some reason. Search google [09:27] for qml listmodel [09:27] the official qt docs [09:27] morning nik90_, did you have any luck reaching QA people to get those merge proposals landing? [09:28] morning PaoloRotolo, m-b-o [09:28] Hi dpm [09:28] nik90_, http://qt-project.org/doc/qt-4.8/qdeclarativemodels.html :D? [09:33] hi dpm [09:35] PaoloRotolo, I think nik90 thinks about http://qt-project.org/doc/qt-5.0/qtqml/listmodel.html [09:36] PaoloRotolo, if you need help, feel free to ping me, also on an italian channel if you prefers ;) [09:36] WebbyIT, thanks a lot :D [09:38] WebbyIT: thnx. that was the link [09:39] nik90_, yw :) [09:46] dpm: nope [09:47] dpm: on talking to thomi and omer it is a genuine upstream autopilot issue [09:47] dpm: until that is resolved, there is nothing much I can do [09:48] Just did a fresh Ubuntu install, and I still get that dumb bug where the project wizard is missing [09:50] camron: because it can't find the right qt version? [09:51] ya [09:51] dpm: do we have a bug for that? [09:51] you seemed to already know about it when aq had the issue yesterday [09:51] Looks like there's is a second bug here too. "No qmlviewer installed". I can't run the app [09:51] How can I debug an app that freeze? I try to use Analyze tool in QTCreator, but after the crash of the app doesn't load the data [09:52] WebbyIT: strace, gdb ? [09:52] camron: clean install of ubuntu and added the ppa and installed the sdk? [09:52] yes [09:54] popey, works with Qml app? [09:57] popey, well, stupid question, I can install the app and then use strace :/ [10:02] popey, we don't, I just noticed this morning that a bunch of Clock and Calendar MPs were failing, but there are no QA folks online yet [10:03] question http://pastebin.ubuntu.com/6058375/ [10:04] dpm: lets pounce on fginther when he wakes [10:06] * dpm nods [10:11] nic-doffay: I see your merge made it. Great [10:11] wellsb, yep [10:11] Hmm. I am getting a different output than what I remember on my working system from "qtchooser -list-versions" [10:12] My Ubuntu VM and Mint setups had qt5 and some qt4 listing [10:12] This setup all I see is "qt5-x86_64-linux-gnu" [10:14] Can someone with a working SDK run "qtchooser -list-versions" and tell me what it says? [10:14] http://paste.ubuntu.com/6058405/ [10:14] camron: ^ [10:15] I'm on Ubuntu 13.10 [10:15] Thank you. Ya, someone seems to be wrong. [10:15] where's the calendar app's trunk branch? [10:15] I'm 13.04, and I only see "qt5-x86_64-linux-gnu". [10:15] ah lp:ubuntu-calendar-app [10:17] Might just give up. It looks like God doesn't want me to fix any bugs [10:20] camron: I dont understand why it doesn't work for you.. What version of ubuntu you on now? [10:20] 13.04. Fresh. Only installed video drivers before [10:20] camron: in a vm or native? [10:20] if vm, which vm platform? [10:20] native. It worked when I tried in a VM [10:21] It also worked in my native Mint setup (aside from the project bug) [10:21] popey, do you happen to know the gstreamer 1.0 equivalent of gstreamer0.1-plugins-* that contains the codec to get the music app to play mp3 files on the phone? [10:21] ugly isnt it? [10:22] gstreamer1.0-plugins-ugly [10:22] Gstreamer-Decoders: application/vnd.rn-realmedia; application/x-pn-realaudio; application/x-rdt, media=(string)application, encoding-name=(string)X-REAL-RDT; application/x-rtp, media=(string){ application, video, audio }, payload=(int)[ 96, 127 ], encoding-name=(string)X-ASF-PF; audio/AMR; audio/AMR-WB; audio/ac3; audio/mpeg, mpegversion=(int)1, layer=(int)[ 1, 3 ]; audio/x-ac3; audio/x-lpcm; audio/x-private1-ac3; audio/x-private1-lpcm; audio/x-s [10:22] looks like it [10:23] camron: so now, you can open ubuntu sdk and you dont get the ubuntu options in file -> new project, like before? [10:23] awesome, thanks popey [10:24] That bug happenes, but I use that fix. The problem now is that it says qmlviewer isnt installed and I can run the app. "qtchooser -list-versions" isn't given the proper output either [10:24] can't* [10:26] qmlviewer!? [10:26] for me qmlviewer is a symlink to qtchooser [10:27] Does 13.04 come with an older SDK? [10:27] which is shipped with the qtchooser package [10:27] well, you need to have the ppa enabled.. [10:27] but it should work.. Mirv ^ seen this? [10:28] I did "sudo apt-get remove ubuntu-sdk". "sudo apt-get autoremove". But I still have access to qtchooser. Does that ship with 13.04? [10:29] do "apt-cache policy qtchooser" to see where you got it [10:30] "500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ raring/main amd" [10:34] camron: http://popey.com/~alan/qtc_1.png http://popey.com/~alan/qtc_2.png [10:34] is that what you see? [10:34] Give me a min, I need to reinstall the sdk [10:36] I did "sudo apt-get remove qtchooser" and I'm reinstalling the SDK [10:43] The screenshots match my setup [10:45] I'm getting the proper output from qtchoose -list-versions at least [10:47] popey: camron: qmlviewer is for QML1/Qt4, the Qt Creator is just silly enough to complain about it even if using Qt5 [10:47] we do not use it, but it can be installed if wanted [10:49] OK thanks. What would be a reason that I can't run/build an app then? [10:54] "qtchooser -print-env". QT_SELECT="default" is that correct? [10:56] dpm: Gunter has proposed a fix for the autopilot issue at https://code.launchpad.net/~schwann/ubuntu-ui-toolkit/uitk-autopilot-tab-switch-issue/+merge/183625 [10:56] dpm: I guess after that is merged into trunk and lands as an update, things should work [10:57] nik90|Office, thanks, looking at it now [11:09] Hmm, so my app can't play sound under apparmor or access onlineaccounts. I just get a bunch of denied messages. I've added accounts, networking, and audio === gusch is now known as gusch|lunch [11:26] Has anybody had better luck with AA? [11:30] wellsb, you might want to ping jdstrand or mdeslaur on #ubuntu-touch when they come online. They're the AA experts [11:47] camron: that's correct, yes. can you check echo $PATH ? [11:48] camron: on KDE at least there is a forced Qt4 in the PATH, causing Qt Creator to configure itself automatically for Qt4, in which case it needs manual configuration in Options -> Qt Versions + Kits [11:50] Hi, I'm working with the ubuntu SDK and I'm trying to find how to automatically select a textbox and show the numpad of the phone/tablet [11:59] Mirv: ya thanks. I ended up finding that solution myself after testing if I could compile a desktop QT GUI app. [12:00] camron: \o/ [12:06] popey, after installing gstreamer0.10-plugins-ugly I can get the Music app to play music. So it seems Qt Multimedia does not play well with the gstreamer 1.0 plugins? [12:06] dpm, doyou have one minute? [12:07] WebbyIT, sure [12:07] dpm, this morning I startet to investigate bug 1217876 [12:07] Launchpad bug 1217876 in Ubuntu Calculator App "Calculator locks while scrolling" [Critical,Triaged] https://launchpad.net/bugs/1217876 [12:07] ah, yeah, a really annoying one [12:07] dpm, and I find a but of qt that I think can be related [12:07] https://bugreports.qt-project.org/browse/QTBUG-29727 [12:08] dpm, there is a patch but only for QT 5.1.0 [12:08] dpm, how can I verify if is related to our bug? [12:09] WebbyIT, I guess the first question is: what lead you to this bug in the first place? [12:10] dpm, well, I think that our bug is related to ListView, is not related to keyboard ( I disabled it and I can reproduce) [12:11] dpm, and then I start to google some keyword, like listview and crahs [12:12] dpm, I know is not a professional way, but I have no idea, I tried to use gdb and strace and I was not able to find anything [12:15] let me ask the SDK guys: bzoltan, do you have any suggestions on how to debug this Calculator bug? bug 1217876 [12:15] Launchpad bug 1217876 in Ubuntu Calculator App "Calculator locks while scrolling" [Critical,Triaged] https://launchpad.net/bugs/1217876 [12:16] WebbyIT, nice that you could reproduce it on a desktop too! [12:16] dpm, I'm not sure is the same bug, but it seems [12:17] tmoenicke: ping [12:18] dpm: i18n in UITK has Q_INVOKABLE void bindtextdomain(const QString& domain_name, const QString& dir_name); [12:19] timp, nice! [12:20] dpm: please try it out, and let me know if it works or needs to be changed [12:20] timp, it seems docs are not being generated for it, though: http://developer.ubuntu.com/api/devel/ubuntu-13.10/qml/ui-toolkit/qml-ubuntu-components0-i18n.html [12:20] it has been a while since I worked on i18n [12:22] dpm: weird, it should be generated, the code is here http://pastebin.ubuntu.com/6058704/ [12:22] dpm: can you create a bug for that? (it is a bit of a hassle for me right now because I'm travelling) [12:22] timp, sure, no worries [12:25] dpm: interesting [12:25] dpm: but not surprised [12:26] dpm: you can assign it to me. probably it is medium priority, but the function is there for you to test already, just the doc is missing. [12:26] * timp bbl. [12:27] timp, thanks === gusch|lunch is now known as gusch [12:56] dpm, popey: I've improved the scrolling, will propose a merge soon! :) [12:56] with slow for hourly scrolling and fast for day scrolling [12:56] ooh! [12:56] sweet! [12:57] nice! \o/ [12:57] There's a known bug which pmcgowan pointed out... https://bugs.launchpad.net/unity8/+bug/1219035 [12:57] Launchpad bug 1219035 in Unity 8 "HUD is always displayed when bottom swiping for toolbar" [Critical,New] [12:57] not a bug in your app, but that's where I saw it. [12:57] (you may also see it) [12:58] and may affect your testing of the new scrolling you mention [12:59] int is the biggest integer datatype for QML? [13:02] zsombi: pong [13:03] tmoenicke: OSK [13:03] :) [13:03] So there's no unsigned or larger ints available in QML right? Max int is 2000000000? [13:03] tmoenicke: we have the TimePicker and DatePicker/WeekPicker/MonthPickers that - yet - are to be displayed in OSK [13:03] Whats the correct solution for using larger numbers, use "var"? [13:04] tmoenicke: yet, as design hasn't decided yet this [13:04] tmoenicke: SDK will have these pickers implemented, what your role would be to integrate those with maliit [13:04] zsombi: do you have any spec how it looks like? [13:05] tmoenicke: https://wiki.ubuntu.com/TimeAndDatePickers [13:07] quint isn't used in the Ubuntu SDK? [13:08] tmoenicke so a simple layout, which provides the input [13:08] tmoenicke: but as said, the design is not yet fixed [13:08] zsombi: looks cool. do you know when design is fixed? [13:09] tmoenicke: they have/had some talks today, let's see what will be the outcome of that [13:09] ok [13:09] tmoenicke but definitely it will be decided within few weeks [13:10] tmoenicke: I'm already working on the components. [13:10] popey: nope, seems alright [13:11] tmoenicke: so I just wanted you to know what is waiting you ;) [13:11] tmoenicke: but perhaps they will decide to have a popover or dialog, who knows... [13:11] tmoenicke: to me it would be more natural tbh [13:12] zsombi: ok. in case they want an osk layout we will add a task to the blueprint [13:12] m-b-o: problem only started last week, guess it depends when you updated your device [13:13] tmoenicke: I have a BP fo rthis work, you also have a separate one? [13:13] tmoenicke: https://blueprints.launchpad.net/ubuntu/+spec/sdk-datetime-picker-api [13:14] popey: apt-getted just some minutes ago [13:15] zsombi: yeah i have one for the osk :) [13:15] zsombi: who is in charge of the alarm implementation in the platform side since renato is on holiday now? [13:15] nik90|Office he's back :) [13:15] nik90|Office and he's on it [13:15] zsombi: oh. awesome! [13:15] zsombi: I saw your branch regarding the EDS integration. What is that for? [13:16] nik90|Office we're pretty close [13:16] zsombi: for calendar integration? [13:16] nik90|Office it is what it says :) EDS integration :) [13:16] nik90|Office: yes, calendar is gonna be the backend for the alarms [13:17] zsombi: okay. I wasnt aware of what EDS is. But I get it now. [13:18] I have made an app for Ubuntu touch devices and I wrote on reddit in UbuntuAppShowdown about it, should i also put it in a list somewhere as well? [13:20] dgalg, yes, you can put it in http://wiki.ubuntu.com/Touch/AppShowdownList [13:20] dpm, popey: https://code.launchpad.net/~martin-borho/ubuntu-weather-app/ImprovedScrollingFastSlow/+merge/183658 :) [13:20] dgalg, do you have a wiki account? otherwise, I can add it for you [13:21] Is this the main channel for Ubuntu app development, and core app hacking? [13:21] iBelieve: i dont so if you could add it that would be cool [13:21] iBelieve: maybe i should get one [13:21] i need to set up a blog about it [13:21] camron: yup it is :) [13:21] dgalg, I think you should just be able to log in with your LP open id [13:21] nice one m-b-o! [13:22] so can anyone answer my question about max integer sizes? Should I be using a "var" instead of "int" in QML? Or do they have unsigned ints like quint [13:22] iBelieve, how do I edit the list in wiki? [13:23] clepto: just press the edit button at the top of the page. You should be able to see it after loggin in [13:23] clepto, log in with your ubuntu one account and then click edit at the top left of the page [13:24] nik90|Office, iBelieve login error OpenID error: HTTP Response status from identity URL host is not 200. Got status 500. [13:24] clepto, weird. I never got that [13:25] camron: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-typesystem-basictypes.html [13:26] clepto: weird [13:26] iBelieve,nik90|Office Ok got it [13:26] clepto: just let us know what you want to fix in the list, and we will do it for you [13:26] clepto: grt! [13:27] clepto, great! [13:27] thanks, already looked at that documentation though. [13:27] dgalg, so did you want me to add your app or will you do it yourself? [13:27] camron: then you will notice that qml does not offer unsigned int [13:28] camron: go with int and check if it meets your expectation during run time [13:28] camron: as for "var", I would suggest first trying out int [13:29] I found some docs where 4 had quint so I thought it might be in 5 as well. That qt5 doc is pretty weak too. It just mentions the max size of int and doesn't recommend another data type for something bigger. I saw var there and it looks like the correct solution, but I thought I would ask here to make sure so I'm not commiting bad code [13:30] balloons, could you have a look at this MP for the RSS Reader and help the guys with the failing Autopilot test? https://code.launchpad.net/~qqworini/ubuntu-rssreader-app/new-gridview2/+merge/183377 [13:30] iBelieve: i've just started a blog for it so i will add i [13:30] iBelieve: add it [13:31] balloons, I think it's the last remaining big change of the app, which will settle the UI and it will unblock many things, and hopefully tests as well :) [13:31] dgalg, okay, great. [13:32] iBelieve: the app is at http://wordchainapp.appspot.com/ and i'm just setting up a tumblr blog for developer updates! [13:32] Hi all :) [13:33] iBelieve: i get an openid error when i log in, so if you could update that page for me that would be really helpful! [13:34] dpm, sure thing [13:34] * dpm hugs balloons [13:34] dgalg, try it again. clepto got an openid error too, but it worked afterwards [13:34] dgalg, otherwise I can do it for you [13:35] dgalg, check your email and password [13:36] iBelieve: same error... i think something might be wrong in my browser. [13:36] iBelieve: so if you could update for me that would be wunderful! [13:36] iBelieve: app name: Word Chain, developer Dustin Galgarret, code at wordchainapp.appspot.com, updates at wordchainapp.appspot.com and http://wordchainapp.tumblr.com/, no click package yet but i am wrking on it! [13:36] dgalg, okay, I can do it for you [13:36] iBelieve: thank you, you're really helpful! [13:37] dgalg, which link do you want me to use for the More Info/Updates link? [13:37] iBelieve: the tumblr link i think, since the main app site is already linked from "code" [13:38] dgalg, what do you want me to put for the name of the code link? Appspot? [13:39] iBelieve: "App website" perhaps? [13:39] dgalg, okay [13:41] dgalg, your app has now been added to the list! [13:42] iBelieve: wow thank you! [13:43] timp, I saw that you did Header element in toolkit. Shall you help me for something similar for calc app, please? [13:44] dgalg: Dont you have the code hosted in github or launchpad or any other website? Could be easier to see the code and also test it [13:45] nik90|Office: i dont yet, i plan to, but the app you run is just the code anyway because it is all qml [13:45] nik90|Office: i agree that id like to have it on a code website too though! [13:46] dgalg: it helps early testers to easily report bugs and ideas etc [13:46] dgalg: ofcourse it your choice to do so [13:47] nik90|Office: cool, there is a reddit thread too, I should update the website to ask people to post there as well [13:49] nik90|Office, so it looks like you applied the fix but jenkins doesn't like you :-( [13:49] Do I push bugfixes using a personal branch? (bzr push lp:~userid/project-name/branch-name) [13:51] balloons: yup it hates me :( [13:51] balloons: I finally fixed all my autopilot fixes..I am beginning to hate the timing issues [13:51] balloons: I learnt a lot from your code though [13:52] camron, yes, then you create a merge request off that and then the team for the app will merge it [13:55] What's more preferred as a branch name? "fix-for-######", or something more descriptive like "fix-for-"? [13:56] nik90|Office, yes timing issues are being a real headache [13:56] nik90|Office, we spoke at UDS about them and what we can do to mitigate them a bit [13:57] balloons: would they get fixed we use a good performance system for jenkins? [13:58] camron, the bug number is fine, e.g. bugfix-###### [13:59] camron, whatever is fine. I usually use fix###### or fix-for-#####. Sometimes I do fix-, as in fix-popovers or fix-callers. Usually using the bug number is good [13:59] nik90|Office, my primary concern with issues like that is making sure the test case is robust and passes nicely on devices and pc's [13:59] camron, yes, please push the fix to a personal branch, and then use the "submit merge proposal" link on the branch page in Launchpad. Then developers will get notified and will review it [13:59] camron, when you create a merge request you'll be able to add a better descriptioin [13:59] k thanks guys [13:59] nik90|Office, the jenkins virtual enviroment is handy, but it seems to get rather difficult sometimes to please [14:00] balloons: I have a nexus 4 now. How do i run the autopilot tests on it? [14:00] camron, you're welcome. For which app are you planning to send the merge proposal? [14:00] balloons: similar to on the desktop [14:00] ? [14:00] nik90|Office, ohh fun! if you've not run a test yet you'll enjoy this [14:00] use adb to shell in and install things just like the desktop [14:00] balloons: ah okay. And that should be a realistic test compared to jenkins? [14:01] then use phablet-test-run on the desktop [14:01] i generally run on my desktop and a device if I can [14:01] if it passes both it should work in the daily testing lab [14:02] sometimes things like OSK can make small differences between device and desktop [14:03] balloons: where can I find instructions regarding adb into the shell? [14:03] balloons: I used qtcreator to detect the device. It installed ssh on the phone. [14:04] nik90|Office, I think "adb shell" should do it nowadays, if you've got a device connected [14:04] dpm: wow that's wonderfully simple [14:04] Yeah, Linux for human beings [14:04] (who love the terminal :) [14:05] nik90|Office, https://wiki.ubuntu.com/QATeam/AutomatedTesting/UbuntuTouch [14:05] dpm: So "adb shell" is essentially sshing into the device from the desktop? So I can type commands etc right from the desktop? [14:05] * nik90|Office hugs balloons! [14:06] adb shell works indeed. but I like forwarding and using an ssh shell sometimes [14:06] dpm: hehe [14:06] adb forward tcp:8888 tcp:22 ssh -p 8888 phablet@localhost (phablet/phablet). [14:06] nik90|Office, it's not SSH, but you can run commands there, yeah [14:06] hi, I wondered whether there is a way to disable the sdk's switches as to use them only for means of displaying a boolean value? Or is there a convenient way to inhibit the processing of a click/touch on said element? [14:07] Do I still have to set a name with "bzr whoami" even when using "launchpad-login"? [14:08] camron, I believe so, as it uses that info to fill in the author data in the commits [14:08] The calculator app is as good as done, but we need help with two critical bugs! If anyone can give us a hand, we should be able to release Calculator this week -> https://bugs.launchpad.net/ubuntu-calculator-app [14:08] Ok, I just thought "launchpad-login" might set that stuff [14:24] Good morning. Does anyone have a link to any tutorials on deploying an app to a device? [14:26] bobby_: it is quite simple [14:29] iBelieve, so, the good news is you can have our webkit browser spoof the useragent to make trello think its chrome [14:29] the bad news is it still thinks its unsupported for all useragents ive tried so far [14:31] cwayne_, that's cool, sorry it is so complicated to get working. Thank you so much! [14:32] iBelieve, heh, don't apologize! where would the fun be if it just worked on the first try :D [14:33] camron: thnx for your bug fix to clock app [14:33] camron: will review it today and give feedback :) [14:35] Ooh thanks camron ! [14:35] glad it was worthwhile you making that effort to get your desktop setup! [14:36] renato_: i'm getting a failed test on this MR but it doesn't seem to be something that is related to the changes i made. can you have a look please ? https://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-saucy/2423/testReport/junit/mediaplayer_app.tests.test_player_with_video/TestPlayerWithVideo/test_show_controls_at_end_with_mouse_/ [14:38] nerochiaro, yes this is only a problem with the speed that the autopilot test runs [14:38] anyone have an idea how to change the theming sot hat i can change the progress bar's color? [14:38] nerochiaro, I thought I have removed all the problems, but looks like there still some missing [14:38] renato_: but it will block all merge requests from being merged [14:39] nerochiaro, check if is possible to compare only some part of the text [14:39] nerochiaro, for example instead of : self.assertThat(time_label.text, Eventually(Equals("00:00:10"))) [14:40] something linke: self.assertThat(time_label.text[:7], Eventually(Equals("00:00:1"))) [14:40] nerochiaro, did you get the idea? [14:41] or if possible check if is >= 10 [14:41] I am not sure if is possible to do that with autopilot [14:43] Hi all [14:43] how can i package my HTML5 app to deb file ? [14:44] dpm, so, some idea how to investigate/fix on bug bug 1217876? [14:44] Launchpad bug 1217876 in Ubuntu Calculator App "Calculator locks while scrolling" [Critical,Triaged] https://launchpad.net/bugs/1217876 [14:45] renato_: yeah, but i'm not sure it's a good idea to do it as part of some other merge request. there should a branch submitte to fix all tests. [14:45] popey: can you test https://code.launchpad.net/~camron/ubuntu-clock-app/bugfix-1217743/+merge/183672 tonight :P ? [14:45] renato_: isn't mediaplayer included with the main image ? how come these failing tests don't block the image ? [14:46] popey: to make it quick, start at 23:30 and end at 00:30. That should be enough [14:46] popey: or I could do it as well [14:46] nerochiaro, this is the kind of the test that does not fails always, probably if you ask jenkins to run again this should works [14:47] its depends on the machine and how quick the tests runs [14:47] its never fails for me [14:47] renato_: if you are happy to have these kind of unreliable tests I will not complain, but it seems to me that it should be removed or written in another way if it sometimes fail [14:48] nerochiaro, I agree with you, I only did not fix it yet because its never fails before [14:50] nerochiaro, have you changed something that can delay the app startup time? [14:50] renato_: i don't think so. i have only changed stuff that can happen when the share button is pressed [14:51] nik90|Office_: sure [14:51] nik90|Office_: i can leave one of my phones running [14:52] popey: thnx. Running it for an hour should be enough though. [14:52] nerochiaro, I will take a look on this later, let me finish some fixes on EDS, that zsombi1 is waiting for :D [14:52] nik90|Office_: well, we can fudge the time on the clock to test it [14:53] renato_: ok, thank you. also if you can review the whole MR that would be great: https://code.launchpad.net/~amanzi-team/mediaplayer-app/mediaplayer-app-new-actions-api/+merge/182148 [14:53] nerochiaro, sure [14:53] renato_: great, thanks [14:53] popey: fudge? fake? [14:53] date -s "3 SEP 2013 23:30:00" [14:53] like that [14:54] * popey tries this madness [14:54] I got this error while i want package HTML5 application to a deb file useing Qt creator: dpkg-parsechangelog: error: changelog parser /usr/lib/dpkg/parsechangelog/debian gave error exit status 255. [14:54] how can i solve it? [14:55] popey: ooh thats clever [14:55] nik90|Office_: would be if it worked ⍨ [14:56] it works, but doesn't survive a reboot, which is good enough [14:56] nik90|Office_: leave it with me, I'll test [14:57] popey: okay :). Just comment in the MP when done. I will do a code review after that [14:57] will do [14:58] thanks for the help iBelieve ... i've tried to pay you back by starting to write the developer blog about my app [14:58] most recent post is aobut using U1DB in an ubutnu Touch app at http://www.reddit.com/r/Ubuntu/comments/1ln83f/an_example_of_using_u1db_to_store_data_in_ubuntu/ [15:01] * popey upboats [15:02] * cwayne_ boards the upboat train [15:02] Choo choo! [15:14] You can also test it by setting the start time to a time in the past [15:22] camron: works! thanks! [15:28] popey, hey, do you who i can ask about overriding the theming? like change it for every app [15:30] the color pattern used in the weather app really hurts my eyes [15:31] can we please change that :) [15:32] http://ubuntuone.com/4ZX9wX6hxEUs4cSyXP8fbq [15:32] it looks fine on laptops/desktops but on mako its really to sharp of a color [15:36] om26er: meet mehow [15:42] om26er: feel free to use any colour you want ;) [15:45] mehow, well, its your app ;) [15:46] mehow, I really think avoiding the redish shade is always a good thing [15:46] same goes for that sharp blue color [15:47] in cases of low light in the room I sometimes end up having a swirl === om26er is now known as om26e === om26e is now known as om26er [15:49] so how would you possibly represent a temperature range from minus 40 to plus 40 ? what colour spectre would you use ? [15:49] It is a simple as colour coding of your taps red for hot blue for cold [15:49] mehow, right, probably we can get help from the Community or Canonical designers ? [15:50] * popey points out to om26er that mehow is on the canonical design team ☻ [15:50] and came up with the colours ☻ [15:50] hence me introducing you to him [15:51] haha and I thought mehow was the app developer [15:51] me and Jouni ;) we ono it is not perfect and it might not work in all the conditions at the moment [15:51] I'm still waiting for bugs from people who live in a) Siberia and b) Death valley [15:52] "It's not cold" [15:52] "It's not hot" [15:52] hahaha [15:52] just wait ;) [15:52] mehow, I think a bit lighter color may help in this cases. did you get hte chance to test the app on the phone ? [15:53] wwo, nice work camron!!! [15:54] heh thanks [15:55] mehow, in this page http://en.wikipedia.org/wiki/Siberia I think they are using the colors to a reasonable level in the table there [15:56] you need to scroll a bit down [15:57] you mean this table [15:57] [hide]Climate data for Novosibirsk, Siberia's largest city ? [15:57] ok but this is ono from -20 to + 25 [15:58] as I said we know that the colour values needs to change but we don't have a solution yet [16:08] A QML question: Is it possible to style the thumb of a Slider? Specifically, I want to change its color at one end of the range. [16:31] rschroll, Take a look at /usr/lib/x86_64-linux-gnu/qt5/qml/Ubuntu/Components/Themes/Ambiance/SliderStyle.qml [16:33] rschroll, If you right press on the Slider component in the Ubuntu sdk and press follow symbol, you can see the source of that component [16:33] labsin: I've seen that, but I don't know how to change those values. It seems you can't access ids defined in child qml files, so I can't alter them from outside. [16:34] Is there a way to "subclass" components that give you access to those internal ids? [16:34] I tried that today... didn't find it [16:34] But you can do Theme.palette.selected.foreground = "darkblue" [16:35] somewhere in the Component.onCompleted [16:35] Won't that affect everything? I just want to hit the one widget. [16:36] Yes that wood... But if you and to change that color, wont you want to change every selected foreground object in that color? If I see something i'll let you know [16:37] The idea is that one end of a slider represents "Disabled". I want to grey out the slider at that end. But only that slider. [16:38] ow [16:38] I'll look into the Theme more - I hadn't considered that approach. Maybe I can make a custom theme to apply to that element. Thanks! [16:39] The docs are slim there [16:39] yes, I'm reading the source a lot. [16:40] nik90, so I'm looking at the failure you still have and it's due to tab switching? [16:47] rschroll, I found it [16:47] You can import Ubuntu.Components.Themes.Ambiance 1.0 and then use SliderStyle [16:47] Will give it a go this evening. Thanks for the help! [16:48] np [16:56] I'm having an issue with Qt Creator... [16:57] Shortly after starting up, the left shift key stops having an effect, only in this program [16:57] https://bugreports.qt-project.org/browse/QTBUG-32660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel seems to be related, but it claims that the bug was fixed [16:57] It happens on both my laptop keyboard and a USB external. [16:58] Does anyone else experience this/ [16:59] ?* (friggin shift key) [17:09] PaoloRotolo, are you still working on this branch? -> https://code.launchpad.net/~paolorotolo/ubuntu-clock-app/stopwatch-delete-laps/+merge/176380 ? [17:10] where does the source for the gallery app live? [17:10] nik90_, nik90, or you perhaps? Did you manage to get that feedback from design? ^^ [17:10] dpm, yes, I'm trying to fix the numeration issue [17:10] cwayne_, you'll find links to all of the projects on https://wiki.ubuntu.com/Touch/CoreApps [17:11] dpm, thanks [17:11] PaoloRotolo, ok, cool, let us know if you need help [17:11] dpm, great, thanks! [17:14] kenvandine, ping [17:17] sorry to ask again, but has nobody else experienced the left shift key malfunctioning in qt creator? [17:17] I can select text by using shift-arrowkeys [17:17] but not capitalize [17:18] I've not seen that sorry CarVac_ [17:19] dpm: hi [17:20] dpm: yes we got design feedback for that. Paolo is working on it. The current MP is not yet finished [17:20] hey nik90_, ok, thanks for the update [17:20] dpm, any idea why the labels in gallery-app have a hardcoded color? it's using a label, shouldn't it just inherit the label's color scheme? [17:24] cwayne_, I think it's tied to the Ubuntu theme, so you cannot just change it, but the SDK guys might be able to tell you more about it, I've not played much with theming yet [17:25] dpm, it's tied to the ubuntu theme, but then it overwrites it with hardcoded values [17:25] for the same colors :P [17:25] nik90_, I mentioned it on a merge proposal, not sure if you saw it, but I think it might be worth re-opening the alarms page now that the Alarms API is usable (even though the backend is not ready), so that folks can also start testing the UI. It's the same thing that we do with the settings app. Does that make sense to you? [17:26] cwayne_, belts and braces :) [17:26] dpm: I replied to that comment in the bug report :). The current alarms UI is outdated. I have received new ones which I am implementing now [17:26] dpm, any idea who i should ping about that? i heard the theming guys are probably zsombor or Kaleo ? [17:27] or is there someone i should talk to specifically for the gallery app? [17:27] cwayne_, yeah, I think zsombi is your man, but he seems to have EOD'd today [17:27] damn, what time zone is he in? [17:27] for themes. For the Gallery app, I guess anyone in the SDK team. If you ping bzoltan, he'll probably point you to the right guy [17:28] UTC+3, I think [17:28] or +2 [17:28] dpm, ah, thanks [17:28] bzoltan, ping [17:28] cwayne_: yes, sire [17:29] nik90_, ah, sorry, I missed the reply, lots of mail coming in these days [17:29] bzoltan, hi :) i was just wondering if you knew who i should ping about the theming in the gallery app? [17:29] cwayne_: everybody is off already from my team... even I am planning to go to sleep :) [17:29] dpm: I can imagine. You are quite busy tracking all the core apps :) [17:29] bzoltan, ah, no worries, i can try again tomorrow :) [17:29] cwayne_: do you mean the image gallery app? [17:29] bzoltan, yeah [17:30] it seems to hardcode the label color to 88888, which is what the default label color is anyway, so im just wondering why that is [17:30] so now if we change the label color everywhere else, these labels wont change because theyre hardcoded [17:31] cwayne_: please file a bug and assign it to me... I will reassign it to the right chap tomorrow [17:32] bzoltan, sure thing, thanks [17:42] nik90_, it works: Launchpad merged my branch :D [17:43] PaoloRotolo: I know! I approved it again and it got merged [17:43] PaoloRotolo: they fixed the autopilot issue upstream [17:43] nik90_, nice :) [17:46] hey, dudes [17:51] hello aquarius [17:52] how goes? anything exciting happened today? [17:53] busy testing zillions of apps, I imagine :) [17:57] heh [17:57] lol [17:57] we had some nice contributions today [17:58] one I personally appreciate which stops the stopwatch going backwards [17:58] from camron who is a new contributor [17:58] ooh, cool [17:58] lots of new contributors? [17:59] aquarius: yes [17:59] sweet [17:59] popey: I bet you dint see https://code.launchpad.net/~andrewsomething/ubuntu-clock-app/sunrise-sunset-fixes/+merge/183546 from a new contributor [17:59] or maybe you did [18:01] nik90_, please, can you test this https://code.launchpad.net/~paolorotolo/ubuntu-clock-app/stopwatch-delete-laps ? [18:03] PaoloRotolo: definitely :) [18:04] nik90_: I did ☻ [18:04] via http://ubuntu-discourse.org/t/ubuntu-touch-clock-and-calculator-hack-day/991/3 [18:04] popey: i was just pointing at another MP by a new contributor. [18:04] ha [18:05] yeah, it's great! :D [18:05] nik90_, oh hi, that me ;-) [18:05] hehe [18:05] asomething: hehe. Hi :) [18:05] asomething: I am currently reviewing it [18:07] PaoloRotolo: it works beautifully! Thnx [18:07] PaoloRotolo: propose it [18:07] popey, I didn't think the existence of ubuntu-discourse.org :D [18:08] asomething, thanks for your recent contributions to core apps! [18:08] PaoloRotolo: yeah, it's really nice [18:08] dpm, no problem... just trying to readjust myself to the new qml world [18:09] nice, enjoying QML? :-) [18:09] aquarius, and a bunch of branches landed for Calendar, we've got a Weather branch that does daily and hourly scrolling, and a few more things landed for clock [18:09] * dpm goes and tests calendar now [18:10] I am! (but I do miss the much more comprehensive set of widgets from gtk) [18:10] yeah, I know what you mean, but we're getting there :) [18:10] leads to things like: http://ubuntu-discourse.org/t/plans-for-additional-qml-components-in-sdk/978/2 [18:11] dpm, re: your email, as far as I can tell I first noticed the emulator issues last friday, but it seems the fix has landed.. it was a bug in the upstream sdk [18:11] dpm, nice :) Lots of core app work, and there seem to be loads of apps being collected too according to the wiki [18:12] asomething, a good point. Actually, would you mind sending an e-mail to the ubuntu-phone-coreapps LP mailing list? I'm not sure any core apps developers read discourse, but they're all on the mailing list [18:13] nik90_, wait, I haven't done all this changes: https://code.launchpad.net/~paolorotolo/ubuntu-clock-app/stopwatch-delete-laps/+merge/183731 o.O [18:13] btw dpm, should this not go through? i saw your comments, but you didn't block it https://code.launchpad.net/~nik90/ubuntu-clock-app/new-preset-designs/+merge/179466 [18:13] dpm, will do. just subscribed to that list a few days ago [18:13] balloons, cool, thanks. And is there something to do for those two MP's that were failing? I think the issue nik90_ was having was with failures related to timing [18:14] asomething, awesome [18:14] dpm, both those mp [18:14] both of those mp's you listed have been merged now, but I believe were suffering from the tab bug, which apparently was in the sdk itself and has been fixed now [18:14] ah, cool [18:15] balloons, regarding https://code.launchpad.net/~nik90/ubuntu-clock-app/new-preset-designs/+merge/179466 I did not review that one, perhaps you meant another one? [18:15] dpm, I don't want to block this from landing, as it's been pending review for a while, but I've noticed a couple of things related to time localization:.... https://code.launchpad.net/~nik90/ubuntu-clock-app/new-preset-designs/+merge/179466/comments/416859 [18:16] just seeing if I can top approve it or not [18:16] balloons, ah, yeah, I just had a chat with nik90_ about that one, yeah, it shouldn't block on that [18:17] * aquarius watches mhall119's xda video :) [18:20] nik90_, I merged all my changes in the last revision available and I proposed a merge: https://code.launchpad.net/~paolorotolo/ubuntu-clock-app/stopwatch-delete-laps/+merge/183735 [18:20] asomething: reviewed your MP. Just need some minor fixes relating to useful terminal output. Can you fix them and I will merge them asap. [18:20] dpm, kk, ty [18:20] PaoloRotolo: will take a look now [18:20] nik90_, thanks! [18:20] so nik90 your new-preset-design branch is landing [18:21] balloons: yup! finally :D [18:21] balloons: nothing major, but still [18:21] balloons: I just need to merge from trunk quickly [18:21] nik90, so did the stuff I sent to fix the ap test make sense? [18:22] balloons: absolutely :) [18:22] thanks balloons! [18:22] balloons: on looking at the jenkins video, I noticed the timing issue. So I fixed some more of them as well [18:22] ideally as we spoke about at UDS, I'd like to have nice little functions you as a test writer can call that will hide the timing issues as much as possible [18:23] balloons: ah okay. I will take a look at them. This internship of mine is keeping me way too busy :( [18:24] I think we're overcharging nik90_ :P [18:25] WebbyIT: if you use the MainView with Pages in the calculator app, you get a header for free [18:26] nik90_, I'll add the debug messages shortly. [18:26] asomething: thnx [18:34] PaoloRotolo: Approved! [18:35] nik90_, thanks again! [18:35] :) [18:35] about Qt 5.1 App GUI for ubuntu unity | http://askubuntu.com/q/340976 [18:37] I pushed a branch to fix LP: #121890 (let's see if this channel add bug info, i forget), but I wonder if it's a bit of an overkill. if anyone has time for some feedback, i'd appreciate it [18:37] Launchpad bug 121890 in update-manager (Ubuntu) "update-manager cannot upgrade" [Undecided,Invalid] https://launchpad.net/bugs/121890 [18:37] it would help if I typed the whole bug number, LP: # 1218904 [18:38] arg! LP: #1218904 [18:38] Launchpad bug 1218904 in Ubuntu Weather App "Visibility of the ActivityIndicator while refreshing data should be increased" [Undecided,In progress] https://launchpad.net/bugs/1218904 [18:38] ping iBelieve [18:39] balloons: not iBelieve but m-b-o [18:39] iBelieve is for file manager [18:40] nik90, yes, I want to chat about file manager [18:41] I know, it's not file manager day till tomorrow :-p [18:41] balloons: ah I thought you were replying to asomething regarding his bug [18:41] my bad [18:42] nik90_, no, no worries.. It's helpful as keeping names straight is not my specialty [18:50] asomething: one small fix that I mentioned. sry for the nitpicking [18:50] I have already commented in the MP [18:50] nik90_, np, keeps me on my toes [18:53] MUHAHAHA [18:53] * popey has made a mad script [18:53] s/a/another/ [18:54] for the design team, it branches all of the core apps, builds them, pushes the debs to the phone and installs them [18:54] (will replace debs with click packages at some point) [18:57] timp, I tried i18n.bindtextdomain but can't get it to work. I use i18n.bindtextdomain(i18n.domain,"locale") and the mo files work when placed in appropriate dir's. [19:00] labsin: all it does is call the gettext bindtextdomain [19:00] void UbuntuI18n::bindtextdomain(const QString& domain_name, const QString& dir_name) { C::bindtextdomain(domain_name.toUtf8(), dir_name.toUtf8()); [19:00] } [19:00] labsin: did you try with an absolute path? [19:00] perhaps you need to use Qt.resolvedUrl("locale") [19:02] timp, tried that, even with .toString(). I issue it from Component.onCompleted [19:03] labsin: did you check with dpm if he can help? I basically just link the gettext functions, I don't know in detail how gettext does it [19:04] the string begins with file:/, so maybe cut that of? [19:05] labsin: what's the sring that Qt.resolvedUrl() gives you? [19:06] file:///home/sam/Workspace/Qt/solitaire-games/po/locale [19:10] hmm [19:11] so then you should have some file like /home/sam/Workspace/Qt/solitaire-games/po/locale/po/LC_MESSAGES/solitaire-games.mo ? [19:12] jes [19:13] timp, yes, it's for calc app, like now we have the keyboard as header, so is the last element of the ListView, but design team asks to have something like header in contact-app, that reapper when you scroll down [19:13] timp, so, we want that the keyboard disappear when you scroll up, and reapper when you scroll down before you reach the end [19:14] timp, if I do i18n.bindtextdomain(i18n.domain,Qt.resolvedUrl("po/locale").toString().substring(7)), then i18n.tr works AFTER doing that. So not when binding [19:14] timp, just i18n.bindtextdomain(i18n.domain,"po/locale") works to [19:15] but only after it is called [19:16] WebbyIT: the page header has a contents that can be set, for example to your keyboard I guess. But it is not something we needed so far and it is not tested or supported [19:17] timp, now the keyboard is called with header: CalcKeyboard{} [19:18] timp, we want something like "Contacts" header in this video -> https://www.youtube.com/watch?v=bL-wA5WchbQ [19:19] labsin: ah. we monitor signals for when the domain or language is changed, and redraw everything when that happens so new translated strings are used, but this is not the case for the textdomain [19:20] labsin: can you report that as a bug here? https://bugs.launchpad.net/ubuntu-ui-toolkit thanks [19:20] timp, ok [19:23] thanks [19:23] timp, bug LP: #1220395 [19:23] Launchpad bug 1220395 in Ubuntu UI Toolkit "translations are not updated after calling i18n.bindtextdomain" [Undecided,New] https://launchpad.net/bugs/1220395 [19:25] labsin: thanks [19:31] labsin: I added a request for you on https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1220395 [19:31] Launchpad bug 1220395 in Ubuntu UI Toolkit "translations are not updated after calling i18n.bindtextdomain" [Undecided,New] [19:33] timp, as tar? [19:33] hi all [19:34] i have problem with packaging my HTML5 app to deb file useing qt sdk. [19:34] labsin: yes, tar is good. [19:40] how do I delete an entry from U1db's document ? [19:43] clepto, use "delete" [19:44] hakermania, it doesn't take command like sql [19:44] clepto, I kid, kid. [19:45] I kid = I am kidding [19:45] hrm. Trying to run the autopilot tests in a created Ubuntu SDK does this: "from autopilot.input import Mouse, Touch, Pointer" which gives: ImportError: No module named input [19:45] where do I get autopilot.input from? there seems to be no obvious package that it might be in, from poking around in apt-cache search autopilot [19:45] is this a balloons question? [19:48] o/ [19:48] hey, rickspencer3 [19:48] ο/ [19:49] so, I want to include a bunch of data with my app [19:49] looks like it may add up to a few megs [19:49] I guess considering the size of images and stuff, a 5meg sqlite database should be no big deal, right? [19:50] i can't see why that'd be a problem, myself. The problem with shipping a database is that the database will get installed in the package directory, which you don't have rights to write to. [19:51] so you might be best shipping the data in some sort of machine parseable form and then loading it into the database on first run [19:51] aquarius, oh? I can't just read in a sqlite database? [19:51] rickspencer3, oh, you want to read it but not write to it? [19:52] aquarius, well, yeah [19:52] if you only ever want to read that data then I can't see why you can't ship a sqlite DB :) [19:52] but either wayi [19:52] it seems like if it's a sqlite db sitting as a file next to all the qml, I should be able to read/write to it, no? [19:52] read from it, yes. Write to it, almost certainly not. [19:52] I thought I could party on files in my app's directory [19:53] aquarius, I can just write files there, though, right? [19:53] not as far as I'm aware -- you do not have write access to your app's install directory. [19:53] aquarius, oh? [19:53] I thought you did [19:53] nope. You get a separate directory which you can write stuff in, but it's not the directory your app is installed in [19:53] I believe this is the case, but you may want to check with jdstrand or mdeslaur [19:53] oh, I see [19:53] because I might be wrong :0 [19:53] maybe I can just drop the db file in there? [19:54] aquarius, autopilot.input? you should import the autopilot modules [19:54] python-autopilot.. start there :-) [19:54] rickspencer3, you presumably could just copy the file from one place to another, although to do that you'd need to be able to shell out to a copy command. [19:54] or I could read in the file, and write it out as another file [19:55] or something crazy like that [19:55] balloons, I haven't touched the code of these tests: I created a new Ubuntu SDK project, went to its "tests/autopilot" folder in a terminal, and then ran the tests and it gave me that error ;) [19:55] anyway, I'll find the proper way to do it [19:55] rickspencer3, yeah -- or ship a json file or something and read that in and then write it out, etc. [19:57] balloons, I don't even have an autopilot.input module. What I don't know is whether the tests supplied with a default project are wrong (and they're trying to import an autopilot.input module that doesn't exist) or whether it does exist and I just don't *have* it :) [19:57] aquarius, right, but do you have the dependencies installed.. I suppose you have installed autopilot I guess [19:57] balloons, what does python -c "from autopilot.input import Mouse, Touch, Pointer" say for you? [19:57] ahh, I got your question now.. yes, the answer is your missing dependencies [19:57] the test is fine [19:58] balloons, right. I do not know which dependency I need :) [19:58] my app doesn't have dependencies: it's an app, which will be a click package. ;) [19:58] and I don't know what the *build* dependencies are [19:58] make sure it's fully installed [19:58] although it strikes me that ubuntu-sdk ought to depend on whatever this autopilot package that I'm missing is. ;) [19:58] libautopilot-qt, libautopilot-gtk, python-autopilot [19:59] I didn't install libautopilot-gtk because I'm not writing a gtk app. Maybe that's it. [19:59] nope. [19:59] python-autopilot-vis, python-xlib [20:00] looks like there's handy metapackages now.. cool [20:00] python-desktop and python-touch [20:00] I don't have any python-autopilot-vis available [20:00] err, autopilot-desktop and autopilot-touch, lol [20:00] I don't have those either :( [20:00] ppa:autopilot/ppa [20:01] awh, man, a PPA? [20:01] what series are you on? [20:01] raring. [20:01] what does autopilot --version say? [20:01] autopilot: error: too few arguments [20:01] :) [20:01] if you were on saucy you wouldn't need it :-) [20:01] yep, ppa for you [20:02] * aquarius gives PPAs the stink-eye. [20:02] right, FINE, I'll add the ppa ;) [20:02] aha, the -vis thing is now available, as are the metapackages :) [20:02] :-0 [20:03] and now the tests run! [20:04] thank you balloons [20:04] now I need to learn about autopilot, of course :) [20:05] of course.. [20:22] Hi guys I have a problem with translating my Ubuntu Touch app. I am able to generate the pot template and then generate the mo files from the translation files but my app does not get translated text from them. [20:22] I am installing the mo files in /usr/share/locale/it/LC_MESSAGES/memories.mo [20:24] I am a stupid! My system language was set to English xD [20:24] :D [20:25] mefrio: it's okay, I don't think anyone noticed, lets pretend this never happened. [20:25] popey, yeah :D [20:50] omg :D [20:58] mhall119 thank you for your advice on packaging my app. I have made a click package but I do not know how to test if it works correctly because I do not have a Touch Phone. Shoul d I submit it to the beta app store without testing? [20:59] dgalg: sure, if you made it via qtcreator and it's all QML, then it should be pretty close to perfect [20:59] mhall119: how will I know if it works or not/ [20:59] mhall119: how will I know if it works or not? [21:00] perhaps I should ask people to leave feedback on my Reddit post? [21:00] dgalg: somebody will review it and test it [21:00] before it can be published [21:00] oh and then I get an email? [21:04] mhall119, will upload process with packages including compiled components be ready until contest's deadline? [21:04] clepto: if it's not we'll give you extra help to package and submit them [21:05] mhall119, ok [21:08] thank you, mhall119. I have submitted it for review. [21:13] mhall119, hey, RE: that question on g+ a while ago about compiling for armhf non-natively, a pbuilder seems to work out-of-the-box, just pbuilt gallery-app with no issues :) [21:47] hi all, i got this error while packaging: debuild: fatal error at line 636: cannot execute dpkg-parsechangelog | grep: [21:47] hey guys my app for the appshowdown now supports translations...if you know some languages you could help me :) be sure to check the translation wiki page https://github.com/Mefrio/Memories/wiki/Translations [21:50] how do I tell my .qmlproject file to ignore a particular file? I cannot find the syntax for .qmlproject files documented anywhere [22:13] I was wrong, the problem isn't .qmlproject. It is that the Packaging tool packages everything in the folder even if it is not mentioned in .qmlproject [22:13] dgalg: it depends on where you host the code [22:14] dgalg: in github, you add a .gitignore file adding the files you want to omit [22:14] dgalg: on launchpad, you add a .bzrignore file [22:14] dgalg: but the Packaging tool doesn't look at .gitignore [22:15] dgalg: for the packaging itself, I think you need to remove it from the folder [22:15] when I make a click package of my app the packager includes the database file in the app directory even though that file is not shown in Ubuntu SDK editor (because the .qmlproject file does not include it) [22:15] nik90_: that's what I have just done, removed it before packaging [22:15] and I have repackaged [22:15] okay [22:19] I have written a post on the app's developer blog reminding people that this is important to remove databases 8) [22:20] dgalg: nice that is very thoughtful [22:22] of course people have to be reading my app developer blog first! [22:27] dgalg: just post it on reddit and g+ app developer community [22:29] I found a bug and slove it in deb packaging [22:30] i just change {raring} to unstable of changlog file in debian folder in my application folder and packaging now works well [22:33] dgalg: ping [22:33] mhall119: hi [22:34] dgalg: hey, did you make this click package with Qt Creator? [22:34] mhall119: yes [22:34] dgalg: make sure you apt-get upgrade, it's using an older version of click [22:35] I think it'll work still, but just for future use [22:35] mhall119: oh ok! [22:35] I will do a dist-upgrade now [22:40] mhall119 I have upgraded and it got a new version of a qtcreator plugin [22:40] so I think I have the new version [22:40] do I need to send my package again? [22:40] dgalg_: great, let me keep working with this package, I think it's okay [22:52] dgalg_: it installs (after I apt-get install qtdeclarative5-u1db1.0), but I'm getting errors launching it [22:52] http://paste.ubuntu.com/6060606/ [22:52] sidenote, id 6060606 makes me :) [22:53] mhall119: thank you for the testing! [22:53] mhall119: there are I think two errors there, u1db and sound [22:53] mhall119: I think that the u1db error is because I should be passing a path which is a folder I am allowed to write in [22:54] mhall119: but I do not know how to get that path! how do I get a reference to my app's writeable directory? [22:59] mhall119: I will happily look at someone else's code if you can name a project which is published as a click package to the Ubuntu Phone (so I know it works), is in QML (not C++), and has code available. (The only app that I know that's on the phone is uShopper, and the code for that isn't linked from the wiki.) [23:01] hi [23:03] mhall119: the other error, the pulseaudio error, I can't see how that's my app's fault, though; that surely has to be an issue with the image. [23:03] dgalg_: maybe, I'll keep working on it [23:03] in the mean time I'll let somebody else review it for publishing [23:03] but the fact that it installed properly is a good sign [23:05] bzoltan: pmcgowan: we need to make sure the u1db-qt package is part of the base platform so click packages can use it [23:06] mhall119: ok thank you -- will the person who reviews it give me some advice on why it doesn't work on the Ubuntu Phone, if it doesn't? [23:10] dgalg_: they should [23:10] ok thank you [23:40] balloons, pong [23:48] dgalg, I'm looking back at the IRC log, and it looks like you've been working on click packaging. Were you actually able to upload it in the click myapps upload page? [23:48] iBelieve: yes [23:49] iBelieve: I think mhall119 even started to review the version I uploaded through he beta app store upload process [23:49] dgalg, hmm... I haven't succeeded in doing so. [23:49] dgalg, Nothing happens when I try to upload my click package. What browser did you use? [23:50] iBelieve: chromium [23:50] iBelieve: it's a bug in the server side I think, multiple people have experienced that [23:50] iBelieve: you can fill in all the previous parts of the form? but the upload itself fails? [23:50] dgalg, weird, that's what I used too. [23:50] dgalg, yes, I filled in all the details about my app, but the upload itself fails. [23:51] mhall119, thanks for the info. So why are some people hitting this and not others? Is there something I can try to get it to work? [23:51] iBelieve: I tried 5 times, it worked the 5th time [23:52] iBelieve: have you tried leaving your app upload form and coming back to it? If you close the tab, then open a new tab, and go to https://myapps.developer.ubuntu.com/dev/click-apps/ is your list of apps, with that one that's failed in draft status. maybe then you can try going back into the upload form and uploading again? [23:54] dgalg: FYI, I've got a fix in for the U1DB dependency that your app has, so it'll be part of the default Ubuntu Touch images [23:55] but that doesn't fix any of the bugs [23:55] mhall119: thank you! I didn't know that it needed a fix :-) [23:55] dgalg: I had to install a package on my phone because it wasn't there by default, but that's being fixed [23:55] the other things are still a problem though [23:55] I do not know how to debug the other things [23:55] dgalg, mhall119 I've been trying over and over again from both Chromium and Firefox, and closing and reopening the tab, but it just doesn't work. I guess I'll just have to wait until it gets fixed [23:56] iBelieve: try pinging beuno tomorrow, he seemed to know what was going on [23:56] mhall119, okay, will do. Thanks [23:56] mhall119: to confirm something, you should have no file called wordchain.u1db in the app's install directory. (version 0.1 of the app accidentally packaged the database in with the rest of the app! which is why I added version 0.2) [23:57] dgalg: nope, and the app won't be able to write to that directory because it's not user-specific [23:58] mhall119: yes... but I think that if I just try to write to a file, it writes it in my user-specific app-specific folder? [23:58] I have looked at other showdown apps which use databases and they just name a database, without a path [23:58] dgalg: that I can't tell you with certainty, sorry [23:59] if you use Qt's LocalStorage it'll put it in a directory where it can write, but U1DB works differently [23:59] maybe I need to say path: PATH_TO_APP_PRIVATE_FOLDER + "/wordchain.u1db" but I don't know how to get that path. [23:59] mhall119, dgalg I got it to upload by changing the version number from 0.2 to 0.2.1!!!!!!!!!! Yeah! [23:59] oh, LocalStorage does that automatically but U1DB does not? [23:59] U1DB should do this for you, i would think [23:59] dgalg: yeah