Wednesday, 2026-01-07

*** d_i_w_i is now known as diwi19:25
diewiHi, I'm running LineageOS 23 on a Sony Xperia 10, do you expect problems when I'm flashing Sailfish when the device is not running the original Android? Thanks..20:59
attahIf it is different enough there could well be problems21:05
diewiHmm, should I reset then the phone to the original OS before installing Sailfish?21:14
attahThe guide does tell you to do so - so "should", yes. Must is i guess not entirely certain - but with such a big version mismatch 'd honestly be very surprised if it worked.21:17
attahThough i don't quite see what harm it would do to try.21:17
diewiSo you think, in case it fails, I could still to a "factory reset" and try it again?21:19
diewi.. do a "factory ..21:20
attahOR at the very least then actually flash the recommended original version?21:21
attahNot sure about your possibilities of a factory reset at that point21:22
attahBut then again... if you are already prepared with being able to flash original firmware, how much extra time would that even take?21:22
diewiRight, I'll check which OS version is required (I'm not sure if it was Android 10 or 11).21:25
diewiThank you attah!21:26
attahIf it is indeed the 10 (I) it looks like Android 921:27
attahhttps://jolla.com/install-sailfish-x-xperia-10-linux/21:27
diewiRight, just read it as well, I'll try a factory reset, let's see what'll happen..21:30
nephros_Hello and happy new/this year! Has anyone here used PyOtherSide in combination with twisted reactors?21:35
diewiHappy New Year! No, not me..21:36
attahThat sounds vaguely radioactive...21:37
nephros_attah: yeah I guess when a Reactor gets the China Syndrome is will eventually (asynchronously?) come out on the Other Side...21:39
nephros_My problem is this: I use a python module, create a Thing, but the Things create method needs a (twisted.internet)reactor passed.21:41
nephros_So far so good, I can create the Thing, and call its methods which return a Deferred.21:42
nephros_For a deferred d I do d.addCallback(foo), OK.21:43
nephros_But: the whole thing doesn't do anything unless I call reactor.run() manually.21:44
Ketonever used twisted, but I assume that is like the "event loop" there, and it is expected to be run like that?21:51
nephros_Keto: yes, twisted reactor is basically an event loop.21:54
nephros_(I think, I'm not a Parselmouth)21:55
KetoI played with some python asyncio based stuff in pyotherside at some point, but can't find the snippets now... If I recall right it worked, so I would assume working with twisted should be possible too...22:18
Ketomay have required some trickery with threads...22:21
nephros_Keto: heh, good to know it *can* work. Thanks for checking.22:24
Ketoas in running the asyncio loop in it's own thread, and communicating via the pyotherside events and the asyncio thread safe methods22:28
nephros_So a bit like the code in https://github.com/thp/pyotherside/issues/116 ?22:31
Ketoyes, something like that22:36

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!