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