Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] modRana: a flexible GPS navigation system

    Reply
    Page 201 of 207 | Prev | 191   199     200   201   202     203   | Next | Last
    justmemory | # 2001 | 2018-05-25, 12:19 | Report

    It doesn't work...
    What I did was:
    Code:
    git clone https://github.com/M4rtinK/modrana.git
    cd modrana/
    python modrana.py
    Error message is the same as earlier:
    Code:
    Traceback (most recent call last):
      File "modrana.py", line 35, in <module>
        from core import modrana_log
      File "/home/user/modrana/core/modrana_log.py", line 30, in <module>
        from core import utils
      File "/home/user/modrana/core/utils.py", line 13, in <module>
        from core.backports.six import b
      File "/home/user/modrana/core/backports/six.py", line 610, in <module>
        viewkeys = operator.methodcaller("viewkeys")
    AttributeError: 'module' object has no attribute 'methodcaller'

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

     
    MartinK | # 2002 | 2018-05-26, 12:44 | Report

    Originally Posted by justmemory View Post
    It doesn't work...
    What I did was:
    Code:
    git clone https://github.com/M4rtinK/modrana.git
    cd modrana/
    python modrana.py
    Oops, I think I see the issue now - I forgot the push the commit that downgrades the six module to the remote. :P

    So please try again - it should be there now.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 6 Users Say Thank You to MartinK For This Useful Post:
    Amboss, juiceme, justmemory, mosen, peterleinchen, taixzo

     
    justmemory | # 2003 | 2018-05-26, 20:29 | Report

    Originally Posted by MartinK View Post
    So please try again - it should be there now.
    It is there, indeed
    Many thanks, it is working now!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to justmemory For This Useful Post:
    Amboss, juiceme, MartinK, mosen, peterleinchen, sixwheeledbeast, Xagoln

     
    MartinK | # 2004 | 2018-06-01, 23:37 | Report

    modRana 0.55.10 is out!
    As mentioned already, this release is has some smaller (yet important!) improvements and fixes while bigger items (navigation/voice output overhaul & MapBox GL support) are being worked on.

    The modRana OpenRepos package has been updated, Jolla Store package will be updated once it clears QA in a few days.

    Localization
    The main highlight of this new generally-available modRana release is localization - the modRana GUI can now be fully localized. And thanks to all of our intrepid community translators on Transifex modRana is now localized (80%+ of strings translated) to these languages:
    • Swedish
    • Spanish
    • Dutch (Belgium)
    • Dutch (nl)
    • Russian
    • German
    • Japanese
    • Polish
    • Finnish
    • Czech
    Thanks a lot yet again for all the translation effort!

    Other release highlights
    • distance from current position is now shown on all point detail pages
    • routes/tracklogs/logging traces no longer glitch after screen rotation
    • some smaller fixes

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 14 Users Say Thank You to MartinK For This Useful Post:
    Amboss, Feathers McGraw, Jordi, juiceme, justmemory, karlos devel, klinglerware, Malakai, mosen, olf, PamNor, peterleinchen, rinigus, Xagoln

     
    rinigus | # 2005 | 2018-06-02, 12:42 | Report

    Originally Posted by MartinK View Post
    modRana 0.55.10 is out!
    As mentioned already, this release is has some smaller (yet important!) improvements and fixes while bigger items (navigation/voice output overhaul & MapBox GL support) are being worked on.
    Just let me know if you run into any stumbling block. And, with MapboxGL, get ready to offload all tile caching/downloading to it.

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

     
    MartinK | # 2006 | 2018-06-11, 00:50 | Report

    Originally Posted by rinigus View Post
    Just let me know if you run into any stumbling block. And, with MapboxGL, get ready to offload all tile caching/downloading to it.
    Thanks in advance, I really need to finally get to that.

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

     
    MartinK | # 2007 | 2018-06-11, 00:58 | Report

    In the meantime, one of the smaller things I've been looking into is the nice animated speed gauge mosen has recently created. It should look like this:


    Unfortunately something is apparently wrong with the shaders used for it, as I just get a violet rectangle and a bunch of errors in the log:

    Code:
    ERROR: 0:11: 'atan2' : no matching overloaded function found 
    ERROR: 1 compilation errors.  No code generated.
    
    [W] unknown:0 - QOpenGLShader::compile(Fragment): ERROR: 0:11: 'atan2' : no matching overloaded function found 
    ERROR: 1 compilation errors.  No code generated.
    
    
    [W] unknown:0 - *** Problematic Fragment shader source code ***
    [W] unknown:0 - #ifndef GL_FRAGMENT_PRECISION_HIGH
    #define highp mediump
    #endif
    #line 1
    
          uniform lowp float qt_Opacity;
          uniform highp float angleBase;
          uniform highp float angle;
          varying highp vec2 coord;
          void main() {
            gl_FragColor = vec4(0.0,0.0,0.0,0.0);
            highp vec2 d=2.0*coord-vec2(1.0,1.0);
            highp float r=length(d);
            if (0.66<=r && r<=0.92) {
              highp float a=atan2(d.x,-d.y);
              if (angleBase<=a && a<=angle) {
                highp float p=(a-angleBase)/(angle-angleBase);
                gl_FragColor = vec4(0.9,0.2,0.1,p) * qt_Opacity;
              }
            }
          }
    [W] unknown:0 - ***
    [W] unknown:0 - QQuickCustomMaterialShader: Shader compilation failed:
    [W] unknown:0 - "ERROR: 0:11: 'atan2' : no matching overloaded function found \nERROR: 1 compilation errors.  No code generated.\n\n"
    Apparently the shaders fail to compile for whatever reason. I'm seeing the same thing happen both on Sailfish OS (2.2) and one my Fedora desktop system (Fedora 28 with Qt 5.10). Any ideas how to fix it ?

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

     
    mosen | # 2008 | 2018-06-11, 08:32 | Report

    Originally Posted by MartinK View Post
    Unfortunately something is apparently wrong with the shaders used for it, as I just get a violet rectangle and a bunch of errors in the log:

    [CODE]ERROR: 0:11: 'atan2' : no matching overloaded function found
    Yay MartinK!
    Sorry for not responding earlier, thanks for concidering the gauge

    Please stop wasting time on debugging silly opengl. I will rewrite the gauge using pure qml. The code will be much longer but i can generate nearly the same design using RadialGradiant applied to a thick line.
    Its just that i found the Shader thingy to be quite elegent but if it crashes, it crashes.
    I don't have the SFOS Sdk installed so all i do is prototype in qmlscene. Sorry for letting you run into such an alpha stage problem.

    Also on AsteroidOS we had problems with a watchface employing shaders that would not display on a single watch only, the sony tetra. After quite some debug kido decided to simply hide the watchface for tetra :/

    Lets see when i get back to coding, i guess tomorrow evening.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 7 Users Say Thank You to mosen For This Useful Post:
    Amboss, Feathers McGraw, juiceme, MartinK, nthn, olf, peterleinchen

     
    MartinK | # 2009 | 2018-06-11, 08:53 | Report

    Originally Posted by mosen View Post
    Yay MartinK!
    Sorry for not responding earlier, thanks for concidering the gauge

    Please stop wasting time on debugging silly opengl. I will rewrite the gauge using pure qml. The code will be much longer but i can generate nearly the same design using RadialGradiant applied to a thick line.
    Yeah, I was thinking it would be probably possible to implement it with some QtQuick transformation instead of shaders.

    Originally Posted by mosen View Post
    Its just that i found the Shader thingy to be quite elegent but if it crashes, it crashes.
    I don't have the SFOS Sdk installed so all i do is prototype in qmlscene. Sorry for letting you run into such an alpha stage problem.
    No problem really. BTW, I also don't have the Sailfish OS SDK installed & run everything via qmlscene during development, even on Sailfish OS. On desktop, qmlscene is actually the regular way of launching modRana, so any widgets have to work with it.

    Originally Posted by mosen View Post
    Also on AsteroidOS we had problems with a watchface employing shaders that would not display on a single watch only, the sony tetra. After quite some debug kido decided to simply hide the watchface for tetra :/
    My guess would be that this is due to the overall sorry state of mobile Open GL drivers. I remember other issues, such as old Open GL on Jolla 1 preventing reasonable debugging of Mapbox GL native crashes or some article I've read from the Dolphin emulator developers where they wrote aqbout all the horrible drivers they have to work around on various Android devices.

    Originally Posted by mosen View Post
    Lets see when i get back to coding, i guess tomorrow evening.
    Thanks! :-)

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

     
    Android_808 | # 2010 | 2018-06-11, 13:20 | Report

    Apparently my earlier post disappeared. I found some references to atan being a substitute for atan2 as it can take 2 arguements.

    Edit: because it was in wrong thread! D'oh.
    https://forum.qt.io/topic/89307/qml-...colour-glow/10

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

     
    Page 201 of 207 | Prev | 191   199     200   201   202     203   | Next | Last
vBulletin® Version 3.8.8
Normal Logout