/srv/irclogs.ubuntu.com/2016/08/13/#ubuntu-app-devel.txt

=== JanC_ is now known as JanC
Titan3025Hi all. I own an Ubuntu Phone and added my google account. The calendar app only shows my main calendar but not the calendars shared with me or my sub calendars. Is it possible to show those as well?06:45
kazordhi appdevs10:28
kazord2 QML questions : which theme color path for left part on qml slider (inside ubuntu sdk)10:29
kazordand is there any signal send when my app is send to background ?10:30
kazord2nd found by myself (Qt.application.state)11:01
=== JanC_ is now known as JanC
PLA1Hi. Both of my webapps 500px and Play On Kodi crash on start after OTA 12. Having trouble with QT Creator crashing when trying to debug my apps. Can someone point me to the latest method of debugging Ubuntu touch webapps, preferably outside of QT Creator? The source for 500px is here: https://github.com/pla1/500px  TIA, PLA appdevs13:34
PLA1Found this with Logviewer on the device.14:06
PLA1Unable to exec 'ubuntu-app-launch --www=www $@' in '/opt/click.ubuntu.com/.click/users/phablet/500px.pla': Permission denied14:06
PLA1http://paste.ubuntu.com/23051844/14:06
PLA1ubuntu-sdk crashes with this message when trying to run app on device. /usr/bin/ubuntu-sdk: line 6: 23367 Segmentation fault      $BINDIR/qtcreator -platformtheme appmenu-qt5 ${1+"$@"}15:37
mimecardoes it work on desktop?15:38
PLA1No.15:44
PLA1From the 500px directory I issued: ubuntu-app-launch --www=www $@15:44
PLA1And I get this:15:44
PLA1** (process:24483): WARNING **: Unable to find job 'application-legacy': GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu.Upstart was not provided by any .service files15:44
mimecarIs that app a WebApp, isn't it?15:45
PLA1Yes. This works OK.  webapp-container www/index.html15:46
PLA1Should I be using webapp-container instead of ubuntu-app-launch?15:47
mimecarI've worked with default configuration on webapp development15:47
PLA1The "default" being ubuntu-app-launch?15:50
PLA1These apps were working prior to OTA 12.15:51
PLA1I figured I was behind on something. Just don't know what it is.15:52
mimecarhave you upload the source code ?15:52
PLA1Yes. Source is here: https://github.com/pla1/500px15:53
mimecarI can check if code works on my device15:53
mimecaron 1 hour more or less15:53
PLA1Great. Thanks!15:53
* PLA1 Grabbing a belly wedge. Back in an hour or so. 15:55
mimecarPLA1, The webapp that I have use webapp-container16:18
mimecarI have default security policy groups: networking, audio, content_exchange, video and webview16:19
mimecarIt seems that the differences are in security policy groups and file permissions16:21
PLA1OK. I'll try to get the app to work with webapp-container instead of ubuntu-app-launch.16:51
mimecarit doesn't work with desktop16:53
mimecaris the same configuration I use for testing my apps16:53
PLA1mimecar: What are you using for your framework in the manifest.json file? I have "framework": "ubuntu-sdk-15.04.6"17:05
mimecarthe same version17:05
PLA1This is kinda interesting. Took "Type=Application" and "X-Ubuntu-Touch=true" out of the 500px.desktop file. Installed on the device. Try to run the app and it knocks me back to the log-in screen.17:27
PLA1Nothing to do with my problem, just kinda interesting that an app can do that.17:28
PLA1I get this when I run Build and validate click package in Qt Creator: http://paste.ubuntu.com/23052305/  Wonder what that is trying to tell me?17:33
mimecarHave you checked if you have an application error on taskbar?17:35
PLA1Taskbar in Qt Creator? Where is that?17:46
mimecartaskbar on your desktop (unity, kde...)17:47
PLA1I am using MATE 16.04. When I start ubuntu-sdk from the command line I see a bunch of Qt messages but that is normal.17:50
PLA1I am building a new VM now to install the ubuntu-sdk. Maybe my dev environment is hosed.17:51
PLA1My MATE system is physical not virtual. Just building VM for testing.17:52
mimecarare you testing the same code you have on GitHub?17:54
mimecarPLA1, https://dl.dropboxusercontent.com/u/92458135/irc/Ubuntu%20Touch/Captura%20de%20pantalla%20de%202016-08-13%2019-55-03.png17:55
PLA1As of a couple of hours ago. I've been making changes locally without pushing those up to github.17:55
=== JanC_ is now known as JanC
PLA1That screenshot from your build of my app?17:56
mimecaryes17:56
PLA1So, something is wrong with my policy group?17:57
mimecarI've had similar problems these days17:57
PLA1I've tried adding a bunch of policy groups. Made no difference. {17:59
PLA1    "policy_groups": [17:59
PLA1        "webview",17:59
PLA1        "networking",17:59
PLA1        "audio",17:59
PLA1        "content_exchange",17:59
PLA1        "video",17:59
PLA1        "connectivity",17:59
PLA1        "debug"17:59
PLA1    ],17:59
PLA1    "policy_version": 1.217:59
PLA1}17:59
mimecarI think the problem is on PC side18:00
PLA1OK. Sounds plausible. I'm building a VM now. MATE 16.04. Perhaps I should have tried standard Ubuntu. Oh well. I'll see.18:02
mimecarI can install your click package18:06
mimecarbut the app closes after several seconds18:06
mimecarqt-creator is crashing all the time :p18:07
mimecarPLA1, Do you need me to do some extra test with my computer?18:08
PLA1mimecar: No need for you to do any more testing. I appreciate the help. Installing ubuntu-sdk on my VM now. Thanks!18:21
mimecarOkay. For some reason my development environment is crashing all the time18:22
mimecarI think he does not like the code: P18:22
PLA1I hear ya. I wish I knew how to create these apps from the command line so I wouldn't have to use Qt Creator. ;-)18:27
PLA1I give up for now. I have removed my apps from the Ubuntu Store. I don't think anyone will miss them. ;-)20:35
mimecardo the previous click versions fail?20:36
PLA1Yeah. I pushed an older click version to the device and it behaved the same way. The splash icon appears and disappears. :-(23:37

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