Notices


Reply
Thread Tools
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#141
Happened again today. Twice. WhoGo is currently closed, yet flashing GPS icon in the status bar and trying to start a new instance shuts it down instantly.

Code:
---
| Sailfish OS 2.2.0.29 (Mouhijoki)
'---
[nemo@Sailfish ~]$ ps aux | grep who*
nemo      1796  4.7  8.8 225536 73284 ?        Ssl  10:07  21:16 /usr/bin/sailfish-qml harbour-whogo-maps
nemo      1883  0.0  0.0   3968   564 ?        S    10:07   0:00 invoker --type=silica-qt5 --single-instance sailfish-qml harbour-whogo-maps
nemo     25916  0.0  0.0   4132   768 pts/0    S+   17:32   0:00 grep who*
[nemo@Sailfish ~]$
EDIT:
Killing processes 1796 and 1883 sorted it out, but the first time it happened today I did not have time for such experiments. Life is too short, a reboot was quicker.
__________________
Русский военный корабль, иди нахуй!

Last edited by pichlo; 2018-07-07 at 16:56.
 

The Following 6 Users Say Thank You to pichlo For This Useful Post:
Posts: 33 | Thanked: 65 times | Joined on Jan 2014
#142
I have the same issue, but since many Versions. Even in Poor Maps i had this issue already.. :/
 

The Following 5 Users Say Thank You to jayki For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#143
So, it looks like we need app killer for it. Or a one-liner to run from terminal / shellex

While I do wonder where does it lock itself.
 

The Following 5 Users Say Thank You to rinigus For This Useful Post:
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#144
I've been thinking about a one-liner too. Something along the lines of...
Code:
ps aux | grep whogo* | cut -d " " -f 2 | xargs kill -9
(Caveat: not tried yet.)
__________________
Русский военный корабль, иди нахуй!
 

The Following 5 Users Say Thank You to pichlo For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#145
Originally Posted by rinigus View Post
So, it looks like we need app killer for it. Or a one-liner to run from terminal / shellex
As it is python why not add (for Jolla1 users only ) something like pichlos one-liner wrapped in an 'os.system(...)' call on closing the window of WhoGo?
(not the nice way of closing a program but hey ... )

Originally Posted by rinigus View Post
While I do wonder where does it lock itself.
Maybe you could try different positions in py code and narrow down that occurence? I am sure pichlo would be happy to be guinea pig
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2018-07-08 at 12:21.
 

The Following 5 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#146
Originally Posted by peterleinchen View Post
As it is python why not add (for Jolla1 users only ) something like pichlos one-liner wrapped in an 'os.system(...)' call on closing the window of WhoGo?
(not the nice way of closing a program but hey ... )

Maybe you could try different positions in py code and narrow down that occurence? I am sure pichlo would be happy to be guinea pig
Yeah, kill as a way of ending the program is surely not the best. I would suggest to file it as an issue for now under https://github.com/otsaloma/whogo-maps/issues and fill in as much info as possible (update if you get anything extra). Then it will be possible to pick it up when time permits. (I started to work on a new aspect of navigation and will be focusing on that for some time => would prefer to focus on it).
 

The Following 6 Users Say Thank You to rinigus For This Useful Post:
otsaloma's Avatar
Posts: 141 | Thanked: 1,530 times | Joined on May 2011 @ Finland
#147
I don't expect to investigate these Jolla 1 problems, but if someone wishes to do so, look at Application.quit, e.g. add print statements to see if one of those lines hangs. Try "raise SystemExit(1)" if needed to force a quit.

https://github.com/otsaloma/whogo-ma...ication.py#L54
 

The Following 5 Users Say Thank You to otsaloma For This Useful Post:
Posts: 33 | Thanked: 65 times | Joined on Jan 2014
#148
Well for me and two other users from my family it's not only a J1 Problem, we have this issue on the Xperia X aswell. So i think it's a common issue not limited to a specific platform.
 

The Following 6 Users Say Thank You to jayki For This Useful Post:
peterleinchen's Avatar
Posts: 4,117 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#149
Thanks otsaloma.

If this is really just a J1 problem I can understand. I guess some race condition on older (bit slower) problem someshere?

I had a brief look at the quit(s) and I would start my simple plain ' print "Something" ' statement begore and after line
self._worker_thread.join()
in poor/voice.py even I do not see.why it should not join...
(not knowing how task_queues are handled in python)

Have fun, pichlo
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#150
@pichlo and @jayki:

As a follow up: its Python 3, so you would have to use
print('This is line ')
syntax. Add it in between each command in quit. To see the print outs, run it in the terminal:
sailfish-qml harbour-whogo-maps
or, if you wish to clone it into your home dir (probably a better solution), you could run it by
qmlscene qml/whogo-maps.qml
If its regular for you, should be easy to catch it. Good luck!
 

The Following 4 Users Say Thank You to rinigus For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:21.