Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    WhoGo Maps

    Reply
    Page 15 of 18 | Prev | 5   13     14   15   16     17   | Next | Last
    pichlo | # 141 | 2018-07-07, 16:40 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by pichlo; 2018-07-07 at 16:56.
    The Following 6 Users Say Thank You to pichlo For This Useful Post:
    Amboss, imaginaryenemy, jayki, juiceme, peterleinchen, rinigus

     
    jayki | # 142 | 2018-07-07, 17:05 | Report

    I have the same issue, but since many Versions. Even in Poor Maps i had this issue already.. :/

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to jayki For This Useful Post:
    Amboss, imaginaryenemy, juiceme, peterleinchen, pichlo

     
    rinigus | # 143 | 2018-07-08, 08:32 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to rinigus For This Useful Post:
    Amboss, imaginaryenemy, juiceme, peterleinchen, pichlo

     
    pichlo | # 144 | 2018-07-08, 10:48 | Report

    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.)

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to pichlo For This Useful Post:
    Amboss, imaginaryenemy, juiceme, peterleinchen, rinigus

     
    peterleinchen | # 145 | 2018-07-08, 12:10 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by peterleinchen; 2018-07-08 at 12:21.
    The Following 5 Users Say Thank You to peterleinchen For This Useful Post:
    Amboss, imaginaryenemy, juiceme, pichlo, rinigus

     
    rinigus | # 146 | 2018-07-08, 12:58 | Report

    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).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to rinigus For This Useful Post:
    Amboss, juiceme, olf, peterleinchen, pichlo, Stuubi

     
    otsaloma | # 147 | 2018-07-08, 17:20 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to otsaloma For This Useful Post:
    Amboss, imaginaryenemy, juiceme, peterleinchen, rinigus

     
    jayki | # 148 | 2018-07-08, 19:57 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to jayki For This Useful Post:
    Amboss, imaginaryenemy, juiceme, olf, pichlo, rinigus

     
    peterleinchen | # 149 | 2018-07-08, 21:04 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to peterleinchen For This Useful Post:
    Amboss, imaginaryenemy, juiceme

     
    rinigus | # 150 | 2018-07-09, 06:18 | Report

    @pichlo and @jayki:

    As a follow up: its Python 3, so you would have to use
    Originally Posted by
    print('This is line ')
    syntax. Add it in between each command in quit. To see the print outs, run it in the terminal:
    Originally Posted by
    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
    Originally Posted by
    qmlscene qml/whogo-maps.qml
    If its regular for you, should be easy to catch it. Good luck!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to rinigus For This Useful Post:
    Amboss, imaginaryenemy, juiceme, peterleinchen

     
    Page 15 of 18 | Prev | 5   13     14   15   16     17   | Next | Last
vBulletin® Version 3.8.8
Normal Logout