[07:39] any idea , how can we check the object type, wthr its an integer or a date? [12:23] hi all, is this the right place to ask questions regarding ubuntu app development? [12:24] yes [12:24] great [12:24] I have a problem with deploying my app to the emulator. The log always tells me the following: [12:24] [13:18:45] bash: cannot set terminal process group (-1): Invalid argument [12:25] bash: no job control in this shell [12:25] QUbuntu: Could not create application instance [12:25] [13:18:45] bash: [2976: 3 (255)] tcsetattr: Invalid argument [12:25] [13:18:45] [12:25] [13:18:45] /usr/share/qtcreator/ubuntu/scripts/qtc_device_run_app finished with code 134 [12:25] any clues on what's going on here? [12:25] using the ubuntu sdk for deploying [12:27] what kind of app do you have? pure qml? [12:27] yes [12:27] further 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:28] I think one of the attributes given here is the root for the problem [12:28] shall I post my .desktop file? [12:29] if you want: http://paste.ubuntu.com/ [12:29] http://paste.ubuntu.com/7101641/ [12:30] the app runs fine in qmlscene viewer on my desktop pc [12:30] you can create a click package in the Publish tab and let the sdk validate that for you [12:31] that should find common mistakes [12:33] how 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 empty [12:34] log says "Package has been created to [12:34] /home/ubuntudroid/Projects/ubuntu-project/com.ubuntu.developer.ubuntudroid.atomurl_0.1_all.click" [12:34] but the notification stays open with 0% progress [12:35] what version of ubuntu do you use? [12:35] sorry, forgot to mention: 13.10 [12:35] the emulator itself runs just fine [12:35] do you have the ubuntu-sdk ppa enabled= [12:35] ? [12:36] yes, just received the emulator package update 2 days ago [12:36] before the emulator stopped during boot [12:37] but the update sorted that out [12:38] do you have click-reviewers-tools installed? [12:38] (not sure if that gets automatically installed with the sdk) [12:38] oh, didn't knew I had to [12:38] doing that now [12:40] if you have that, the click validation in the sdk should work [12:40] yeah, now the notification's progress bar properly filled up and the notification disappeared after packaging was done [12:40] no error messages however [12:41] at least not in the ide - are they located somewhere else? [12:42] you can see the messages "click-check-lint" etc in the publish tab now? [12:42] on the right hand side [12:43] if there were errors they would show up there [12:45] nope, there is nothing like that on the right hand side [12:46] you can also run click-run-checks on the command line [12:47] http://imgur.com/paxAXf3 [12:47] this is how it looks for me [12:48] oh, that's strange, I don't see the entire validation panel [12:48] you might have to restart the sdk and/or create the package again [12:50] ah, okay [12:52] okay, that's strange - now I just have the validation panel but the left panel which I've used for creating the package is gone [12:52] maye a bug in the sdk? [12:52] at least validation works now and shows some errors [12:52] that's strange indeed.. I haven't had that before, might be a bug, yea [12:52] ok [12:53] okay, I'll go and try to fix these error first and report back afterwards - thanks for your help! :) [12:55] okay, 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] now there's two shiny panes :) [12:55] ok :) [13:08] well, 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 file [13:09] this seems to be a bug from my pov [13:10] after 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:11] not sure what to make of that [13:49] ah, swiping horizontally over the application makes it show its UI properly. it always starts black initially. [14:02] okay, 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] However it is never shown [14:04] netcurli: do you happen to know if it is possible to install touch-apps on trusty desktop using click packaging? [14:04] netcurli: or should I provide a PPA to users or testers who want to try my app on their desktop? [14:05] nik90: dont [14:05] @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 that [14:06] nik90: it may work, but you dont get confinement for one [14:06] popey: don't to which statement? [14:06] sorry, pressed enter too early ☻ [14:07] I would provide a ppa with a deb in it for desktop users for now. [14:07] popey: 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:08] popey: 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:09] ubuntudroid: ok.. yeah I got that as well [15:30] nik90, ping === dkessel_ is now known as dkessel [15:54] I 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:57] Btw, 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? [16:40] hi, any QML experts online? [16:40] My hair is falling as I try to test conditional layouts on trusty [16:41] should they work with Qt5.2? [18:11] It seems that if one uses MainView { -block then layouts don't work!? I also might be doing something wron [18:11] g [20:15] ahayzen: late pong [20:20] nik90, was looking at https://bugs.launchpad.net/u1db-qt/+bug/1266478 [20:20] Launchpad bug 1266478 in Ubuntu Music App "Query model doesn't work properly with a multilevel document list" [Medium,Triaged] [20:20] nik90, appears to be sortof fixed in trusty [20:21] nik90, i tried building a test app here https://code.launchpad.net/~andrew-hayzen/+junk/test-u1db-playlist-app [20:21] nik90, it is based on ur example with the addition of filtering [20:21] nik90, but as u can see u can't access playlist.name [20:21] hey, has anyone else had any issues with Timers? it seems that it's never getting triggered [20:21] ahayzen_: yup it got fixed, however make sure it is on the phone [20:22] unless I do triggeredOnStart.. [20:22] nik90, not a trusty VM? [20:22] ahayzen_: I am on trusty [20:22] nik90, it seems to be better than before [20:23] ahayzen_: however one of the bug fixes for u1db was reverted, can't remember if it was the multilevel fix or not [20:23] cwayne: did you start the timer? [20:24] nik90: yep, and i console.logged timer.running to verify its true [20:26] cwayne: weird..I use timers regularly in the clock app [20:27] yeah, i wonder if i'm doing something stupid... [20:29] cwayne: can you pastebin the timer code [20:30] nik90: http://paste.ubuntu.com/7104344/ [20:36] cwayne: hmm looks okay to me [20:36] nik90: yeah :/ and if i uncomment startOnTriggered it runs twice [20:39] cwayne: weird....I just do timer1.start() and it does its thing [20:40] huh, i wonder whats going on here then :/ [21:41] ugh, i have no idea how I could be doing this wrong... [22:02] Hey guys, who is responsible for the HTML5 App Launcher? [22:08] JoshStrobl: hi [22:08] hello daker [22:08] what's your issue ? [22:08] daker: https://bugs.launchpad.net/ubuntu-html5-theme/+bug/1289873 [22:08] Launchpad 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:09] That's my problem :D [22:09] * daker tests [22:10] If I know where the HTML5 app launcher code is, I'd hunt down the bug and fix it myself. [22:11] it works for me [22:11] http://paste.ubuntu.com/7104852/ [22:12] it launch the app but the webview is empty [22:13] http://paste.ubuntu.com/7104857/ [22:13] directly from "Run" in Ubuntu SDK [22:14] yes confirming the bug [22:16] JoshStrobl: i'll ask the dev to take a look at it tomorrow [22:17] thanks daker [22:17] yw [22:18] \o/ [22:18] _o_ [22:18] /\ [22:19] close, no cigar [22:22] daker is this bug in the right place? https://bugs.launchpad.net/ubuntu-html5-theme/+bug/1289870 [22:22] Launchpad bug 1289870 in Ubuntu HTML5 UI SDK "Create a project HTML5 dialog | incorrect title and double listing" [Undecided,New] [22:22] Has 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:23] JoshStrobl: not sure but just leave the bugs their, i will ask the dev tomorrow he will know for sure [22:23] noted [22:24] alex-abreu: ^