*** amccarthy is now known as Guest9018 | 10:52 | |
*** amccarthy_ is now known as amccarthy | 10:52 | |
*** attah_ is now known as attah | 13:46 | |
poetaster | b100dian[m], I do have the one project working well 'on release' with github actions and coderus images. tooter. it's nice: https://github.com/poetaster/harbour-tooter/blob/master/.github/workflows/build.yaml | 18:16 |
---|---|---|
poetaster | b100dian[m], ah, just looked again, it's on a tag push and generates the release. | 18:17 |
dracks[m] | any reason why my app is not starting after pushing it into stable chum? | 19:40 |
dracks[m] | from the terminal I can launch it and works | 19:43 |
dracks[m] | but from the lipstick doesn't work | 19:43 |
nephros | attah: ping | 20:01 |
attah | nephros: you clearly don't need any help | 20:01 |
attah | What overlay component is that? | 20:02 |
nephros | Meh, that's just the .desktop file. It makes a dbus call to settings. | 20:02 |
attah | But it's an ui? | 20:02 |
nephros | That's the regular ipen Url/mime type open popup | 20:03 |
attah | hmmm, in camera? | 20:03 |
attah | or just in general if there is more than one handler maybe? | 20:04 |
attah | nephros: anyway... about that dubs call... unfortunately parameters har shipped separately | 20:07 |
nephros | https://github.com/nephros/wifi-qr-handler | 20:07 |
nephros | that screenshot was not from Xamera but from CodeReader. | 20:08 |
nephros | *C | 20:08 |
attah | Okay, so you have some magic with another choice | 20:08 |
attah | For me it just launches immediately | 20:08 |
nephros | Yes, the dbus iface is problematic | 20:08 |
nephros | yes I have that little clipboard helper thingie of mine installed. | 20:09 |
attah | see AddNetworkHelper in /usr/share/lipstick-windowprompt/connectivity/AddNetworkView.qml for example | 20:09 |
attah | so you need to get a qml spun up first and then dbus-call to settings :/ | 20:09 |
attah | (unless i'm missing something) | 20:10 |
nephros | I'm thinking of adding a settings entry and use settings.ui.openPage instead. | 20:10 |
nephros | yes I was looking for that helper qml file but couldn't find it. | 20:11 |
attah | So plugged-in settings pages gets automagic dbus methods and arguments? O.o | 20:11 |
attah | The helper object itself is probably C++... but at least we can see usage in that file | 20:11 |
nephros | Kinda. it's all in the main settings.qml | 20:12 |
nephros | sorry, jolla-settings/mainpage.qml | 20:12 |
nephros | but currently the problem with the desktop file is that the call is always made *with* a string argument, but the settings.ui.showAddNetworkDialog wants none. | 20:15 |
attah | i just have settings.qml.. and no openPage in it | 20:15 |
attah | So maybe spinning up your own app is at least as easy? | 20:17 |
nephros | ah then it's defined somewhere else, but it *does* have it. | 20:18 |
nephros | The cool thing about a settings entry instead of an app is root permissions for free ;) | 20:22 |
attah | so are sharing plugins (: | 20:23 |
poetaster | nephros, sneaky. noted. | 20:23 |
attah | or... maybe not root | 20:23 |
attah | unjailed | 20:23 |
nephros | yeah, enough in any case. | 20:24 |
attah | I wonder if it is possible to peg up lipstick-windowprompt/connectivity/AddNetworkView.qml with populated data | 20:24 |
nephros | have to look at it, yes. do an pushAttached(page, {props}) | 20:25 |
nephros | or wrap it in another page and alias the data into it or so. | 20:26 |
poetaster | wasn't a nemo qml/dbus plugin made available for harbour recently that might have an application here? | 20:27 |
attah | weird how "network" isn | 20:27 |
attah | 't declared anywhere | 20:27 |
attah | sure... but dbus is not a requirement until it comes to getting settings up | 20:28 |
nephros | wouldn't know - but the documentation on the new types is kinda - terse. | 20:28 |
attah | basically what needs to happen is populate AddNetworkHelper, and call the dbus method top open settings for new wifi network | 20:29 |
attah | how exactly is the challenge | 20:29 |
poetaster | is this that code to network add question from the forum? | 20:32 |
poetaster | qr code. | 20:33 |
attah | yes | 20:33 |
poetaster | ok. thanks. one for tomorrow. child care calls. | 20:33 |
attah | g'night! | 20:34 |
dracks[m] | I was looking the logs, but I don't see a way to know why is not starting my app quick-launch, There is some way to get logs from lipstick/sailfish? | 20:35 |
attah | dracks[m]: and you have not changed jailing status by accident? | 20:37 |
attah | Maybe try replicate the sailjail invocation if that is indeed what you want.. and see what that says | 20:38 |
dracks[m] | I tested from my local machine and everything works fine | 20:45 |
dracks[m] | the desktop file, seems good in the mobile | 20:45 |
dracks[m] | I just tested to launch it with search-nemo, that uses xdg-open, and launched the app | 20:45 |
dracks[m] | this is my desktop file: ```[Desktop Entry]... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/AWiGbdYRZYjTXUXEoYQDUPCF>) | 20:46 |
dracks[m] | * this is my desktop file:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/UlbwiMKfHvTlJhbHtdyJmedd>) | 20:47 |
dracks[m] | * this is my desktop file:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/HpwMTSqfhcvVOZUVQttkBrHW>) | 20:47 |
attah | So when installed by sdk you can launch from icon, but with chum build, no? | 20:48 |
dracks[m] | also I tried to run it with this: | 20:48 |
dracks[m] | invoker -F /usr/share/applications/harbour-quick-launch.desktop --type=qt5 /usr/bin/harbour-quick-launch | 20:48 |
dracks[m] | from chum was working | 20:48 |
dracks[m] | I tested in testing, and was working | 20:48 |
attah | odd | 20:48 |
dracks[m] | and today, I ask to push to "stable" and when was in stable, I went to install and run it and... it's not starting | 20:48 |
attah | What about this pattern for launch: sailjail -p sandbox-test.desktop /usr/bin/sandbox-test ? | 20:49 |
dracks[m] | let me try | 20:49 |
attah | super strange.. the build should not be different | 20:49 |
attah | solar storm? xD | 20:50 |
dracks[m] | it asked for permisions and after accepting, worked | 20:50 |
dracks[m] | I runed it like that: | 20:51 |
dracks[m] | sailjail -p /usr/share/applications/harbour-quick-launch.desktop /usr/bin/harbour-quick-launch | 20:51 |
attah | hmm, asking for permissions despite sailjail disabled? | 20:51 |
attah | what about no path for the .desktop file? | 20:52 |
dracks[m] | works | 20:54 |
attah | then i have nothing | 20:54 |
dracks[m] | ok, thanks! | 20:55 |
attah | (since i assume by log you checked, you meant jounral) | 20:55 |
attah | *journal | 20:55 |
dracks[m] | I check dmesg, what should be the journal command? | 20:56 |
dracks[m] | and also I check in the /var/log | 20:56 |
attah | devel-su journalctl | 20:56 |
attah | journal is what the cool kids use | 20:56 |
* attah shakes fist at Poettering | 20:57 | |
attah | devel-su journalctl -f in another terminal is perhaps even more useful | 20:57 |
attah | well, easy | 20:57 |
dracks[m] | I don't see any new log when I try to start it | 20:59 |
attah | wat? | 20:59 |
dracks[m] | I run journalctl in root user | 20:59 |
dracks[m] | show me 10 logs (aprox) | 20:59 |
attah | it is insanely talkative usually | 20:59 |
* dracks[m] uploaded an image: (370KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/YzDKxpbWnrCezfQizyVUUGwB/image.png > | 21:00 | |
attah | very odd... | 21:01 |
dracks[m] | the empty spaces are done by me, to ensure no new line while trying to run my app | 21:01 |
dracks[m] | is it possible this red log can be the cause? | 21:01 |
attah | looks unrelated | 21:01 |
attah | like kernel driver stuff | 21:02 |
dracks[m] | yeah | 21:02 |
dracks[m] | if I run the app in a terminal, then I've got logs... | 21:02 |
* dracks[m] uploaded an image: (146KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/fogVmSkAcZCLsJTnBpMpHSxd/image.png > | 21:03 | |
attah | and otherwise they end up in journal | 21:03 |
attah | Teh quicklaunch package here is named like if it had a dirty build directory https://repo.sailfishos.org/obs/sailfishos:/chum/4.5.0.19_aarch64/aarch64/ | 21:04 |
dracks[m] | ok, how I can fix it? | 21:05 |
attah | pester the chum peeps | 21:05 |
dracks[m] | I'm really newbie with sailfish | 21:06 |
dracks[m] | ? | 21:06 |
attah | +master suggests to me it cloned poorly | 21:06 |
dracks[m] | ok | 21:06 |
dracks[m] | the testing is here: https://build.merproject.org/package/show/sailfishos:chum:testing/QuickLaunch | 21:06 |
attah | ah... or maybe just wasn't tagged at the commit that was submitted | 21:07 |
dracks[m] | yes, I didn't tag it at the end | 21:07 |
dracks[m] | maybe I should try to tag it, and see what happen? | 21:07 |
attah | nah... i guess it's just a better version number than | 21:08 |
attah | anyway... i installed it... and it launches fine | 21:08 |
dracks[m] | attah: WHAT? | 21:09 |
attah | idk | 21:09 |
attah | this, specifically https://repo.sailfishos.org/obs/sailfishos:/chum/4.5.0.19_aarch64/aarch64/harbour-quick-launch-0.1+master.20230322184307.5390649-1.1.1.jolla.aarch64.rpm | 21:09 |
dracks[m] | one sec | 21:10 |
attah | for whatever reason the cum gui etc refuses to work for me | 21:10 |
dracks[m] | how did you install it? with the file browser? | 21:13 |
dracks[m] | downloading the package? | 21:13 |
dracks[m] | it doesn't work for me | 21:13 |
dracks[m] | in the XZ2 compact | 21:13 |
attah | devel-su pkcon install-local <name> | 21:13 |
attah | ...on a 10 III | 21:13 |
dracks[m] | ok, let me try that way | 21:13 |
attah | so i guess beware of architecture... but i think the XZ is aarch64 now maybe... idk | 21:14 |
dracks[m] | yes | 21:15 |
attah | success? | 21:16 |
dracks[m] | xz2, is aarch64 (is my daily driver), for develop usually I use the XA2, which has a broken screen | 21:16 |
dracks[m] | I was connecting to the phone, one sec | 21:16 |
dracks[m] | from the file browser didn't work | 21:17 |
attah | that's odd... | 21:17 |
dracks[m] | no, doesn't work | 21:17 |
attah | strange | 21:17 |
attah | anyway... i'm off to bed | 21:17 |
attah | happy hunting | 21:17 |
dracks[m] | yes, me too | 21:18 |
dracks[m] | thanks a lot | 21:18 |
dracks[m] | Seems that installing it from the SDK, happens exactly the same, it starts, but once I close the app in release mode, and launch it from the device, it doesn't work | 21:26 |
dracks[m] | phone restarted, install again and now works :)IEI! ALELUyA! | 21:55 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!