*** zbenjamin is now known as Guest8752 | 01:52 | |
*** zbenjamin_ is now known as zbenjamin | 01:52 | |
*** frinring_ is now known as frinring | 03:19 | |
*** nyov is now known as Guest93074 | 03:38 | |
Wikiwide | How do I get libgcrypt onto Sailfish to install Wireshark? | 06:22 |
---|---|---|
Wikiwide | Because brother has two weeks of school holidays, he could be playing Lego and reading paper books, but nooo, he is burrowing away in a dark corner of the room to "read digital books" on iPad. And given a tiny piece of sound I have heard from iPad, he is probably watching videos. Anyway, too much screen time and breeding ground for lies. | 06:29 |
Oksana | Ah well, maybe, he stumbled upon an audio book this time, and I am too paranoid. I have noticed him watching videos under pretence of playing lichess way too many times to be trusting. | 06:41 |
*** Ischwitch is now known as Ingvix | 08:58 | |
bc_system | Hi. We're trying to build an application with python and QML, and it's not finding the requests module for some reason. Which is very much the sort of thing we'd expect any substantial python installation to come with. What's the best way to get it the dependency it needs? We're completely new to developing for Sailfish so we're a little lost. | 10:32 |
ViGe | bc_system: The answer is "it depends" - could you tell us a bit more about your project? | 11:14 |
bc_system | This is basically just trying to hook up a user interface and some pretty trivial logic to an external API by way of some python code we've already written for that purpose. Not too much to say, I think. It should be pretty self-contained and simple. The requests library should be the only dependency not already | 11:18 |
bc_system | Is there anything in particular you'd like to know? | 11:18 |
bc_system | Looks like my message got cut off. "not already there." | 11:19 |
ViGe | What is the target audience for your app? Is this something to be released in Jolla Store, or openrepos, or somewhere else? | 11:20 |
bc_system | Target audience is not necessarily an especially technical one, beyond the extent to which the fact that they use Sailfish at all tends to select for that. We were thinking we'd try to submit it to the Jolla Store. | 11:44 |
*** leinir_ is now known as leinir | 11:45 | |
ViGe | In that case I think the best way is to bundle the requests module (and it's dependencies) inside your package | 11:55 |
ViGe | It's a bit more work but defenitely doable | 11:56 |
bc_system | Fair enough. Thanks for the advice. Is there a proper way to do that beyond just putting the code where it knows to look for python code and calling it a day? | 12:16 |
Tegu | too bad there does not seem to a package for requests | 12:26 |
Tegu | of course, one can refactor all requests stuff to only use standard library, but.. meh | 12:27 |
Nico[m] | You could use something like this to bundle your dependencies: https://github.com/aranega/sailpy | 13:18 |
bc_system | Thank you so much! That looks absolutely perfect. | 13:32 |
bc_system | We'll give that a try. | 13:32 |
Nico[m] | I have no idea, if that still works though :D | 13:44 |
bc_system | I guess we'll find out. | 13:49 |
elros1 | rinigus: hi, short question: what license is your dbuscontainerstate? Is it same as whole project (BSD)?: https://github.com/sailfishos-flatpak/flatpak-runner/blob/master/src/dbuscontainerstate.cpp | 16:37 |
rinigus | elros1: good question, BSD should be fine for my code. but it has a bit from maliit code (orientationAngle method, switch()). that one is LGPL | 16:42 |
elros1 | rinigus: I don't use orientationAngle() function so I guess I can use it as BSD then? | 16:43 |
rinigus | elros1: I hope it is fine for using it | 16:43 |
rinigus | sure | 16:43 |
elros1 | ok thanks | 16:44 |
rinigus | elros1: but it is handy to support changes in orientation | 16:44 |
elros1 | yes but I send qt::screenorientation and covert it to maliit angle in maliit context plugin | 16:44 |
rinigus | elros1: I hope it works. don't remember why I opted for the way it is in flatpak-runner... I have also the context plugin for such communication in the same org, hopefully can be reused as well | 16:47 |
elros1 | rinigus it works and yes your maliit plugin changes were also useful | 16:51 |
rinigus | elros1: nice! | 16:52 |
attah | Trying to use a QML column... the docs in SFOS SDK says it has a leftPadding property, but when i use it... well, it fails because it does not exist | 18:49 |
attah | what gives? | 18:49 |
Nico[m] | Where in the docs do you see a column? | 19:08 |
Nico[m] | It's not on the silica reference | 19:08 |
attah | Nico[m]: it's a basic QML type... and i just pressed F1 on it in the SDK/IDE | 19:09 |
Nico[m] | Ah, yeah, that one should have it since Qt 5.6 | 19:09 |
Nico[m] | Did you import Quick 2.6? | 19:11 |
attah | just 2.5, as per the docs | 19:11 |
attah | ...but i'll see if that does it | 19:11 |
attah | eeey, that did it | 19:11 |
attah | It would have been soo much smoother if (since i'm basically forced to use it) the template has the latest import as default, and the docs were correct :/ | 19:14 |
Nico[m] | Yeah, if you look at the official Qt docs, it should say, when a certain property appeared. For QtQuick you need to import version 2.x for something that appeared in Qt 5.x | 19:15 |
attah | That's fair enough... but the inline docs says *2.5*, and makes no indication of what is the latest version | 19:16 |
Nico[m] | Well, I guess that's a bug, the docs probably should say 2.6 everywhere at this point | 19:16 |
Armadillo | Sfiet_Konstantin /p | 20:13 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!