| *** d_i_w_i is now known as diwi | 19:25 | |
| diewi | Hi, 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 |
|---|---|---|
| attah | If it is different enough there could well be problems | 21:05 |
| diewi | Hmm, should I reset then the phone to the original OS before installing Sailfish? | 21:14 |
| attah | The 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 |
| attah | Though i don't quite see what harm it would do to try. | 21:17 |
| diewi | So 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 |
| attah | OR at the very least then actually flash the recommended original version? | 21:21 |
| attah | Not sure about your possibilities of a factory reset at that point | 21:22 |
| attah | But then again... if you are already prepared with being able to flash original firmware, how much extra time would that even take? | 21:22 |
| diewi | Right, I'll check which OS version is required (I'm not sure if it was Android 10 or 11). | 21:25 |
| diewi | Thank you attah! | 21:26 |
| attah | If it is indeed the 10 (I) it looks like Android 9 | 21:27 |
| attah | https://jolla.com/install-sailfish-x-xperia-10-linux/ | 21:27 |
| diewi | Right, 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 |
| diewi | Happy New Year! No, not me.. | 21:36 |
| attah | That 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 |
| Keto | never 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 |
| Keto | I 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 |
| Keto | may have required some trickery with threads... | 22:21 |
| nephros_ | Keto: heh, good to know it *can* work. Thanks for checking. | 22:24 |
| Keto | as in running the asyncio loop in it's own thread, and communicating via the pyotherside events and the asyncio thread safe methods | 22:28 |
| nephros_ | So a bit like the code in https://github.com/thp/pyotherside/issues/116 ? | 22:31 |
| Keto | yes, something like that | 22:36 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!