Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. aarontheissueguy
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 13
    • Best 2
    • Groups 0

    aarontheissueguy

    @aarontheissueguy

    3
    Reputation
    2
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    aarontheissueguy Follow

    Best posts made by aarontheissueguy

    • RE: Porting my Qml + Python app to Ubports(Beginner)

      !Solved (does this work here?) I was able to find a solution by making several changes to my code and reading many.. many.. logs and documentations. If you want to have a closer look at them I recommend taking a look at GitHub but ill try to break it down here anyways:

      1. Read and write permissions. This gives enough information.
      2. Non existent directories need to be created manually I added a python function to do that.
      3. You cant have anything outside of your functions except import stuff because it will cause an error.
      4. Some smaller formatting problems.

      I might create an UpToDate beginners guide on this topic because there werent many detailed all in one guides about this topic.

      posted in App Development
      A
      aarontheissueguy
    • Proper Passwordmanager for either morph or UT in general

      There are some WebApps that allow password management but copy and pasting password is just not modern anymore. Is there a way to properly integrate thirdparty pw managers in UT or build a seperate pw Manager that allows the Import of data.

      posted in General
      A
      aarontheissueguy

    Latest posts made by aarontheissueguy

    • RE: Very slow Appdrawer on Vollaphone

      @applee This is understandable

      posted in Vollaphone
      A
      aarontheissueguy
    • Very slow Appdrawer on Vollaphone

      The title describes the issue pretty good.
      The scrolling in the app drawer is incredibly laggy which is odd because the performance is good with everything else. I also installed Launchermodular which was faster than dash as well. I just want to make clear I dont except perfect lag free scrolling but 1/3 of a second freeze frames suck. Is there a possible fix for this issue?

      posted in Vollaphone
      A
      aarontheissueguy
    • RE: Add Clickable to Qt Creator IDE? ut-qtcreator error...

      @lisali This is not a reply to your question but a suggestion: Use atom instead of qtcreator. There is a Clickable extension and qml language support. My experience with atom has been great and I can highly recommend it.

      posted in App Development
      A
      aarontheissueguy
    • RE: Python examples

      Very cool, had some issues finding resources a few weeks back. This will make it easier for others. It would be great if it was one big repo, because people could contribute even more examples.

      posted in App Development
      A
      aarontheissueguy
    • RE: Porting my Qml + Python app to Ubports(Beginner)

      @makeixo I used the first episodes of the qml guide on Yputube made by KDAB. Its intendet for c++ but you dont need it to learn the basics. Python + qml is a different topic though. Ubports uses pyotherside for the communication between the two. You can take a look at my app if you want to see how to do it. (its pretty basic) https://github.com/Aarontheissueguy/WaterCount
      There are some other resources on this forum aswell.

      With that being said If Python is your first language, I recomend that you concentrate on learning it first. GUI's are'nt really that important for many fun personal projects. You can still come back to this project one or two months down the road of learning python. Feel free to ask again if you have a question.

      posted in App Development
      A
      aarontheissueguy
    • Proper Passwordmanager for either morph or UT in general

      There are some WebApps that allow password management but copy and pasting password is just not modern anymore. Is there a way to properly integrate thirdparty pw managers in UT or build a seperate pw Manager that allows the Import of data.

      posted in General
      A
      aarontheissueguy
    • RE: Porting my Qml + Python app to Ubports(Beginner)

      !Solved (does this work here?) I was able to find a solution by making several changes to my code and reading many.. many.. logs and documentations. If you want to have a closer look at them I recommend taking a look at GitHub but ill try to break it down here anyways:

      1. Read and write permissions. This gives enough information.
      2. Non existent directories need to be created manually I added a python function to do that.
      3. You cant have anything outside of your functions except import stuff because it will cause an error.
      4. Some smaller formatting problems.

      I might create an UpToDate beginners guide on this topic because there werent many detailed all in one guides about this topic.

      posted in App Development
      A
      aarontheissueguy
    • RE: Porting my Qml + Python app to Ubports(Beginner)

      @lduboeuf Here are the logs for the code in the reposetory on mobile:

      Pseudo-terminal will not be allocated because stdin is not a terminal.
      Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.4.146+ aarch64)
      
       * Documentation:  https://help.ubuntu.com
       * Management:     https://landscape.canonical.com
       * Support:        https://ubuntu.com/advantage
      "PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'main' is not defined\n"
      Unhandled PyOtherSide error: Function not found: 'main.progressImage' (Traceback (most recent call last):
      
        File "<string>", line 1, in <module>
      
      NameError: name 'main' is not defined
      )
      qml: after call of progressImage
      Unhandled PyOtherSide error: file:///opt/click.ubuntu.com/watercount.aaron/1.0.0/qml/Main.qml:196: Error: Cannot assign [undefined] to QUrl
      QObject::startTimer: Timers cannot be started from another thread
      "PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'main' is not defined\n"
      Unhandled PyOtherSide error: Function not found: 'main.addWater' (Traceback (most recent call last):
      
        File "<string>", line 1, in <module>
      
      NameError: name 'main' is not defined
      )
      qml: after call of addWater
      "PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'main' is not defined\n"
      Unhandled PyOtherSide error: Function not found: 'main.progressImage' (Traceback (most recent call last):
      
        File "<string>", line 1, in <module>
      
      NameError: name 'main' is not defined
      )
      qml: after call of progressImage
      Unhandled PyOtherSide error: file:///opt/click.ubuntu.com/watercount.aaron/1.0.0/qml/Main.qml:63: Error: Cannot assign [undefined] to QUrl
      "PyOtherSide error: Traceback (most recent call last):\n\n  File \"<string>\", line 1, in <module>\n\nNameError: name 'main' is not defined\n"
      Unhandled PyOtherSide error: Function not found: 'main.progressPercent' (Traceback (most recent call last):
      
        File "<string>", line 1, in <module>
      
      NameError: name 'main' is not defined
      )
      qml: after call of progressPercent
      
      
      
      

      Here are the logs for the same code on desktop(Working)

      Mounting device home to /home/aaron/.clickable/home
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aaron'
      QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aaron'
      Failed to create /home/aaron/.cache for shader cache (Permission denied)---disabling.
      "/home/aaron/projects/WaterCountClickableDesktop/WaterCount/build/all/app/install/%U" does not exist.
      Got library name:  "/usr/lib/x86_64-linux-gnu/qt5/qml/io/thp/pyotherside/libpyothersideplugin.so"
      qml: PyOtherSide version: 1.5.3
      qml: Python version: 3.5.2
      qml: after importModule
      qml: after call of progressImage
      qml: after call of returnGoal
      qml: after call of returnUnit
      qml: after call of progressPercent
      
      
      
      posted in App Development
      A
      aarontheissueguy
    • RE: Porting my Qml + Python app to Ubports(Beginner)

      @jonius A small update:
      I managed to get

      clickable desktop
      

      working! by putting the files that were stored in the data directory into the src directory. It still does not work on mobile though 😞 . Small steps ...

      posted in App Development
      A
      aarontheissueguy
    • RE: Porting my Qml + Python app to Ubports(Beginner)

      @applee Yes, you can find it in the build directory of the projekt or make it yourself with clickable.

      posted in App Development
      A
      aarontheissueguy