The Following 5 Users Say Thank You to pichlo For This Useful Post: | ||
|
2018-09-06
, 19:33
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#152
|
The Following 4 Users Say Thank You to rinigus For This Useful Post: | ||
|
2018-09-06
, 20:54
|
|
Posts: 141 |
Thanked: 1,530 times |
Joined on May 2011
@ Finland
|
#153
|
@otsaloma, its also not clear where to invoke the hammer. At the end of quit?
The Following 7 Users Say Thank You to otsaloma For This Useful Post: | ||
|
2018-09-07
, 05:14
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#154
|
Yes, I figured if all the function calls under Application.quit pass, but maybe a subprocess or thread is misbehaving, a "raise SystemExit(0)" at the end might force a quit – and if sailfish-qml/qmlscene/qml is waiting for Python, then the whole app process tree might quit, maybe.
For what it's worth, I did test http.pool.terminate with online providers in different connection states and it seemed to work fine, but it's possible I missed something or OSM Scout behaves differently. Also, if there's a problem in the http module, one solution would be to just swap it for requests (plus its dependencies). I was reluctant to bundle stuff, but I also think I underestimated the difficulty of writing a custom HTTP connection pool, there's been various corner case issues.
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
|
2018-09-07
, 10:39
|
|
Posts: 6,450 |
Thanked: 20,982 times |
Joined on Sep 2012
@ UK
|
#155
|
[W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' [D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client52" [W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' [D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client53" [W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' [D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client54" [W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' [D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client55" [W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' [D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client56" [W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo' [D] unknown:0 - Geoclue client path: "/org/freedesktop/Geoclue/Master/client57" [W] unknown:0 - QMetaMethod::invoke: Unable to handle unregistered datatype 'QGeoPositionInfo'
The Following 6 Users Say Thank You to pichlo For This Useful Post: | ||
|
2018-09-07
, 10:42
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#156
|
The Following 7 Users Say Thank You to rinigus For This Useful Post: | ||
|
2018-09-07
, 10:57
|
|
Posts: 6,450 |
Thanked: 20,982 times |
Joined on Sep 2012
@ UK
|
#157
|
The Following 5 Users Say Thank You to pichlo For This Useful Post: | ||
|
2018-09-08
, 12:58
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#158
|
The Following 10 Users Say Thank You to rinigus For This Useful Post: | ||
|
2018-09-08
, 14:40
|
|
Posts: 141 |
Thanked: 1,530 times |
Joined on May 2011
@ Finland
|
#159
|
The Following 7 Users Say Thank You to otsaloma For This Useful Post: | ||
|
2018-09-08
, 16:22
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#160
|
Interesting. Sounds like the problem is on the QML side, I don't really know much about how it handles these things. It might help to check which top-level signals do get fired: there's onApplicationActiveChanged, which is apparently deprecated in favor of Qt.application.active; then there's at least onActiveChanged and Window.onClosing in QML Window, which Silica ApplicationWindow inherits.
onClosing: Window.onClosing: onActiveChanged
The Following 5 Users Say Thank You to rinigus For This Useful Post: | ||
Except one thing: there is a short (like half a second or less) fade-in on every spoken instruction, meaning you can miss the beginning if you don't expect it. Is it deliberate or just an artifact of how picotts works?
I will try the command line thing tomorrow morning, thanks rinigus.
Русский военный корабль, иди нахуй!