/srv/irclogs.ubuntu.com/2014/03/16/#ubuntu-app-devel.txt

mihirany idea , how can we check the object type, wthr its an integer or a date?07:39
ubuntudroidhi all, is this the right place to ask questions regarding ubuntu app development?12:23
netcurliyes12:24
ubuntudroidgreat12:24
ubuntudroidI have a problem with deploying my app to the emulator. The log always tells me the following:12:24
ubuntudroid[13:18:45] bash: cannot set terminal process group (-1): Invalid argument12:24
ubuntudroidbash: no job control in this shell12:25
ubuntudroidQUbuntu: Could not create application instance12:25
ubuntudroid[13:18:45] bash: [2976: 3 (255)] tcsetattr: Invalid argument12:25
ubuntudroid[13:18:45]12:25
ubuntudroid[13:18:45] /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app finished with code 13412:25
ubuntudroidany clues on what's going on here?12:25
ubuntudroidusing the ubuntu sdk for deploying12:25
netcurliwhat kind of app do you have? pure qml?12:27
ubuntudroidyes12:27
ubuntudroidfurther up the log says: "[13:26:32] Going to execute: export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-pmTAINg59o; APP_ID=UrlShortener qmlscene  /home/phablet/dev_tmp/UrlShortener/shortener/UrlShortener.qml --desktop_file_hint=/home/phablet/.local/share/applications/UrlShortener.desktop "12:27
ubuntudroidI think one of the attributes given here is the root for the problem12:28
ubuntudroidshall I post my .desktop file?12:28
netcurliif you want: http://paste.ubuntu.com/12:29
ubuntudroidhttp://paste.ubuntu.com/7101641/12:29
ubuntudroidthe app runs fine in qmlscene viewer on my desktop pc12:30
netcurliyou can create a click package in the Publish tab and let the sdk validate that for you12:30
netcurlithat should find common mistakes12:31
ubuntudroidhow long should that normally take? ubuntu sdk shows a notification with Click Reviewers t... (not sure how to expand that), but the progress bar stays empty12:33
ubuntudroidlog says "Package has been created to12:34
ubuntudroid/home/ubuntudroid/Projects/ubuntu-project/com.ubuntu.developer.ubuntudroid.atomurl_0.1_all.click"12:34
ubuntudroidbut the notification stays open with 0% progress12:34
netcurliwhat version of ubuntu do you use?12:35
ubuntudroidsorry, forgot to mention: 13.1012:35
ubuntudroidthe emulator itself runs just fine12:35
netcurlido you have the ubuntu-sdk ppa enabled=12:35
netcurli?12:35
ubuntudroidyes, just received the emulator package update 2 days ago12:36
ubuntudroidbefore the emulator stopped during boot12:36
ubuntudroidbut the update sorted that out12:37
netcurlido you have click-reviewers-tools installed?12:38
netcurli(not sure if that gets automatically installed with the sdk)12:38
ubuntudroidoh, didn't knew I had to12:38
ubuntudroiddoing that now12:38
netcurliif you have that, the click validation in the sdk should work12:40
ubuntudroidyeah, now the notification's progress bar properly filled up and the notification disappeared after packaging was done12:40
ubuntudroidno error messages however12:40
ubuntudroidat least not in the ide - are they located somewhere else?12:41
netcurliyou can see the messages "click-check-lint" etc in the publish tab now?12:42
netcurlion the right hand side12:42
netcurliif there were errors they would show up there12:43
ubuntudroidnope, there is nothing like that on the right hand side12:45
netcurliyou can also run click-run-checks on the command line12:46
netcurlihttp://imgur.com/paxAXf312:47
netcurlithis is how it looks for me12:47
ubuntudroidoh, that's strange, I don't see the entire validation panel12:48
netcurliyou might have to restart the sdk and/or create the package again12:48
ubuntudroidah, okay12:50
ubuntudroidokay, that's strange - now I just have the validation panel but the left panel which I've used for creating the package is gone12:52
ubuntudroidmaye a bug in the sdk?12:52
ubuntudroidat least validation works now and shows some errors12:52
netcurlithat's strange indeed.. I haven't had that before, might be a bug, yea12:52
netcurliok12:52
ubuntudroidokay, I'll go and try to fix these error first and report back afterwards - thanks for your help! :)12:53
ubuntudroidokay, small update on the publish panes: the click pane reappeared as soon as I loaded the project into the ide - simply forgot to do that after restarting^^12:55
ubuntudroidnow there's two shiny panes :)12:55
netcurliok :)12:55
ubuntudroidwell, it works now (sort of) - the action item I had defined in my .desktop file caused the installation problem as the Name and Exec attributes obviously occurred twice in the file13:08
ubuntudroidthis seems to be a bug from my pov13:09
ubuntudroidafter removing the action items the application started, but showed a black screen - afterwards I tried installing it which created another instance (also black). Then I switched back to the first instance which out of a sudden now showed my UI.13:10
ubuntudroidnot sure what to make of that13:11
ubuntudroidah, swiping horizontally over the application makes it show its UI properly. it always starts black initially.13:49
ubuntudroidokay, next problem - somehow my icon isn't picked up: I added one (icon.png) in the app's main directory and then linked it in the .desktop file like so "Icon=icon.png"14:02
ubuntudroidHowever it is never shown14:02
nik90netcurli: do you happen to know if it is possible to install touch-apps on trusty desktop using click packaging?14:04
nik90netcurli: or should I provide a PPA to users or testers who want to try my app on their desktop?14:04
popeynik90: dont14:05
ubuntudroid@nik90: when I try to open my click package in software center, I always get an error stating, that it couldn't be opened - however this is on 13.10, maybe 14.04 has better support for that14:05
popeynik90: it may work, but you dont get confinement for one14:06
nik90popey: don't to which statement?14:06
popeysorry, pressed enter too early ☻14:06
popeyI would provide a ppa with a deb in it for desktop users for now.14:07
nik90popey: ah that's good...because I have a plan. I am intending to create a PPA for Flashback and more to provide testers to help test Flashback on their desktop. This should help with convergence testing.14:07
nik90popey: Do you know if the click package of clock app contain the debian folder? Or is it removed just before creating the click package and uploading to the store?14:08
nik90ubuntudroid: ok.. yeah I got that as well14:09
ahayzennik90, ping15:30
=== dkessel_ is now known as dkessel
ubuntudroidI simply cannot make my app icon appear in the emulator - there must be some hidden trick besides putting the Icon=icon.png line into the .desktop file and making sure, that "icon": "icon.png" is part of the manifest.json. Any hints?15:54
ubuntudroidBtw, the app only very rarely appears under installed apps after installing it on the emulator via Ubuntu SDK. Directly running it via CTRL-F12 always works. Could that be a hint, that I did something wrong or is it just an emulator shortcoming?15:57
timppahi, any QML experts online?16:40
timppaMy hair is falling as I try to test conditional layouts on trusty16:40
timppashould they work with Qt5.2?16:41
timppaIt seems that if one uses MainView { -block then layouts don't work!? I also might be doing something wron18:11
timppag18:11
nik90ahayzen: late pong20:15
ahayzen_nik90, was looking at https://bugs.launchpad.net/u1db-qt/+bug/126647820:20
ubot2Launchpad bug 1266478 in Ubuntu Music App "Query model doesn't work properly with a multilevel document list" [Medium,Triaged]20:20
ahayzen_nik90, appears to be sortof fixed in trusty20:20
ahayzen_nik90, i tried building a test app here https://code.launchpad.net/~andrew-hayzen/+junk/test-u1db-playlist-app20:21
ahayzen_nik90, it is based on ur example with the addition of filtering20:21
ahayzen_nik90, but as u can see u can't access playlist.name20:21
cwaynehey, has anyone else had any issues with Timers?  it seems that it's never getting triggered20:21
nik90ahayzen_: yup it got fixed, however make sure it is on the phone20:21
cwayneunless I do triggeredOnStart..20:22
ahayzen_nik90, not a trusty VM?20:22
nik90ahayzen_: I am on trusty20:22
ahayzen_nik90, it seems to be better than before20:22
nik90ahayzen_: however one of the bug fixes for u1db was reverted, can't remember if it was the multilevel fix or not20:23
nik90cwayne: did you start the timer?20:23
cwaynenik90: yep, and i console.logged timer.running to verify its true20:24
nik90cwayne: weird..I use timers regularly in the clock app20:26
cwayneyeah, i wonder if i'm doing something stupid...20:27
nik90cwayne: can you pastebin the timer code20:29
cwaynenik90: http://paste.ubuntu.com/7104344/20:30
nik90cwayne: hmm looks okay to me20:36
cwaynenik90: yeah :/  and if i uncomment startOnTriggered it runs twice20:36
nik90cwayne: weird....I just do timer1.start() and it does its thing20:39
cwaynehuh, i wonder whats going on here then :/20:40
cwayneugh, i have no idea how I could be doing this wrong...21:41
JoshStroblHey guys, who is responsible for the HTML5 App Launcher?22:02
dakerJoshStrobl: hi22:08
JoshStroblhello daker22:08
dakerwhat's your issue ?22:08
JoshStrobldaker: https://bugs.launchpad.net/ubuntu-html5-theme/+bug/128987322:08
ubot2Launchpad bug 1289873 in Ubuntu HTML5 UI SDK "HTML5 App Launcher fails if there is a space in one (or multiple) of the dir path" [Undecided,New]22:08
JoshStroblThat's my problem :D22:09
* daker tests22:09
JoshStroblIf I know where the HTML5 app launcher code is, I'd hunt down the bug and fix it myself.22:10
dakerit works for me22:11
dakerhttp://paste.ubuntu.com/7104852/22:11
dakerit launch the app but the webview is empty22:12
JoshStroblhttp://paste.ubuntu.com/7104857/22:13
JoshStrobldirectly from "Run" in Ubuntu SDK22:13
dakeryes confirming the bug22:14
dakerJoshStrobl: i'll ask the dev to take a look at it tomorrow22:16
JoshStroblthanks daker22:17
dakeryw22:17
popey\o/22:18
daker_o_22:18
daker  /\22:18
popeyclose, no cigar22:19
JoshStrobldaker is this bug in the right place? https://bugs.launchpad.net/ubuntu-html5-theme/+bug/128987022:22
ubot2Launchpad bug 1289870 in Ubuntu HTML5 UI SDK "Create a project HTML5 dialog | incorrect title and double listing" [Undecided,New]22:22
SimonK1Has anyone yet gotten ContentHub (via qml) to work via the "Run" command in Ubuntu-SDK? I provided a "APP_ID" environment variable (the name of my project)22:22
dakerJoshStrobl: not sure but just leave the bugs their, i will ask the dev tomorrow he will know for sure22:23
JoshStroblnoted22:23
dakeralex-abreu: ^22:24

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