• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

tedit development and design discussion

Scheduled Pinned Locked Moved App Development
tediteditorappdevelopmentfeatures
200 Posts 13 Posters 46.5k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      danfro @messayisto
      last edited by 1 Dec 2024, 21:57

      @messayisto and @stanwood When the bug occurs, I can reproduce exactly the issues you descibe. But right now they are all gone here. So something must trigger it.

      Could you please try the build from the latest pipeline? When building there was an error with a regex that is used for parsing a file name. Just a shot in the dark. But it can't hurt (hopefully 😏 ).

      Although part of me expects it to fix it, just to come back later.

      S 1 Reply Last reply 1 Dec 2024, 22:16 Reply Quote 0
      • S Offline
        stanwood @danfro
        last edited by 1 Dec 2024, 22:16

        @danfro said in tedit development and design discussion:

        Could you please try the build from the latest pipeline?

        Ouh... Don't know how to install this, I couldn't find the .click file in the "artifact.zip". But I acknowledge that I'm not skilled at all....

        Redmi Note 9S Stable
        If God has a computer, it must be a GNU/Linux

        D 1 Reply Last reply 1 Dec 2024, 22:28 Reply Quote 0
        • D Offline
          danfro @stanwood
          last edited by 1 Dec 2024, 22:28

          @stanwood No worries. First make sure you get the right artifacts file. Most devices are arm64 (64bit), but some older ones are armhf (32bit). Download that file on your device and extract it in file manager. Then hop into that folder and go builds/aarch64-linux-gnu/app. There you should find a .click file. Click on that, you should be asked to open it with another app. Pick OpenStore there to install it.

          D 1 Reply Last reply 1 Dec 2024, 22:30 Reply Quote 0
          • D Offline
            domubpkm @danfro
            last edited by domubpkm 12 Jan 2024, 22:32 1 Dec 2024, 22:30

            @danfro The difficulty is that now we don't even see the artifacts with morph! Could you link the artifact here please 🙂 ! arm64

            D 1 Reply Last reply 1 Dec 2024, 22:33 Reply Quote 0
            • D Offline
              danfro @domubpkm
              last edited by 1 Dec 2024, 22:33

              @domubpkm Ah, sure. arm64

              Btw. Lionel did already create a fix for gitlab. Should be coming soon.

              D 1 Reply Last reply 1 Dec 2024, 22:43 Reply Quote 0
              • D Offline
                domubpkm @danfro
                last edited by 1 Dec 2024, 22:43

                @danfro Thanks ! No crash (currently) with the artifact. However, with the latest official built, I cleared the cache, and I didn't get any crashes after that too.

                D 1 Reply Last reply 1 Dec 2024, 22:45 Reply Quote 0
                • D Offline
                  danfro @domubpkm
                  last edited by 1 Dec 2024, 22:45

                  @domubpkm Thanks for testing. Yes, clearing the cache did help before too. I assume when I build the app with clickable, this clears the cache as well. No idea why something in the cache can make the app crash though... 🤔

                  M D 2 Replies Last reply 1 Dec 2024, 22:50 Reply Quote 0
                  • M Offline
                    messayisto @danfro
                    last edited by 1 Dec 2024, 22:50

                    @danfro Installed from artifacts, cleared the cache again, app still crashes. 😞

                    S 1 Reply Last reply 1 Dec 2024, 23:03 Reply Quote 0
                    • D Offline
                      domubpkm @danfro
                      last edited by 1 Dec 2024, 22:51

                      @danfro I don't know anything about it, but couldn't it have something to do with the size of Tedit's cache?

                      D 1 Reply Last reply 2 Dec 2024, 05:08 Reply Quote 0
                      • S Offline
                        stanwood @messayisto
                        last edited by 1 Dec 2024, 23:03

                        @messayisto Same here: Deleting cache + config + data does not help.

                        Redmi Note 9S Stable
                        If God has a computer, it must be a GNU/Linux

                        D 1 Reply Last reply 2 Dec 2024, 05:11 Reply Quote 0
                        • D Offline
                          danfro @domubpkm
                          last edited by 2 Dec 2024, 05:08

                          @domubpkm App cache is handled automatically. I don't think there is anything I can do about the size, except maybe clear cache every time tedit is closed.

                          D 1 Reply Last reply 2 Dec 2024, 07:46 Reply Quote 0
                          • D Offline
                            danfro @stanwood
                            last edited by 2 Dec 2024, 05:11

                            @stanwood and @messayisto very strange. Just to be safe, did you also try a reboot?

                            Could you please check the apps log and see if there is anything in it? All I see is an error about a binding llp in TextInputPopover. But that is also when not crashing, so likely not related.

                            Hard to track down if not reproducible. But a very annoying bug...

                            S M 2 Replies Last reply 2 Dec 2024, 07:51 Reply Quote 0
                            • D Offline
                              domubpkm @danfro
                              last edited by 2 Dec 2024, 07:46

                              @danfro said in tedit development and design discussion:

                              maybe clear cache every time tedit is closed.

                              Why not if it's possible and even if it may not be the whole reason for the bug.
                              That said everything is ok for me (for now...).

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                stanwood @danfro
                                last edited by 2 Dec 2024, 07:51

                                @danfro So I shut the device down during the night as I used to, and started up this morning. No change.
                                Don't know where to find the logs (I'm not keen on installing apps such as "Log Viewer", which can lead to system instabilities).

                                Redmi Note 9S Stable
                                If God has a computer, it must be a GNU/Linux

                                D D 2 Replies Last reply 2 Dec 2024, 20:25 Reply Quote 0
                                • D Offline
                                  domubpkm
                                  last edited by 2 Dec 2024, 07:52

                                  Lionel did already create a fix for gitlab

                                  Thanks for this !! @lduboeuf . Really needed currently.

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    messayisto @danfro
                                    last edited by 2 Dec 2024, 08:36

                                    @danfro https://dpaste.com/ATTBQZVFR
                                    hope that helps

                                    D 1 Reply Last reply 2 Dec 2024, 20:21 Reply Quote 0
                                    • D Offline
                                      danfro @messayisto
                                      last edited by 2 Dec 2024, 20:21

                                      @messayisto Thanks a lot. Although sadly this doesn't help much. The only error is the "binding loop" one, which I get also without crashes. So not related I assume.

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        danfro @stanwood
                                        last edited by 2 Dec 2024, 20:25

                                        @stanwood Logs can be pulled via journalctl. To grab the logs for tedit, you can run in terminal

                                        journalctl --user -u lomiri-app-launch--application-click--tedit.danfro_tedit_3.4.0--.service >>tedit.log

                                        S 1 Reply Last reply 2 Dec 2024, 21:52 Reply Quote 0
                                        • S Offline
                                          stanwood @danfro
                                          last edited by stanwood 12 Feb 2024, 21:52 2 Dec 2024, 21:52

                                          @danfro Thank you.

                                          I could successfully pair an ADB shell connexion between my smartphone and my PC (Xubuntu 24.04).

                                          If I run

                                          adb shell journalctl
                                          

                                          I have thousands and thousands lines in return.

                                          But if I run:

                                          stanwood@stanwood-K53SV:~$ adb shell journalctl --user -u lomiri-app-launch--application-click--tedit.danfro_tedit_3.4.0--.service >>tedit.log
                                          stanwood@stanwood-K53SV:~$
                                          

                                          then, as you can see above, I have nothing returning. Sorry I'm really noobs on technical commands and stuffs like that... should I change "user" by "phablet" or something else?

                                          Thank you and sorry once again for my very limited technical knowledge.

                                          Redmi Note 9S Stable
                                          If God has a computer, it must be a GNU/Linux

                                          D 1 Reply Last reply 3 Dec 2024, 05:11 Reply Quote 0
                                          • D Offline
                                            danfro @stanwood
                                            last edited by 3 Dec 2024, 05:11

                                            @stanwood No worries, trust me, I started like that some years ago as UT user. We all learn by doing this kind of testing. I had to actually search a while through Logviewers code to retrieve this command. 😉

                                            First a suggestion in case you don't know yet. You can run just adb shell to open a terminal on the device. Then you can run commands as normal. It doesn't need to be adb shell COMMAND. (I find this more convenient)

                                            The full command writes all the log output into a file called tedit.log. That is done by the last part >> tedit.log It kind of forwards output to a file. To see the output on screen just ommit this part and run only

                                            journalctl --user -u lomiri-app-launch--application-click--tedit.danfro_tedit_3.4.0--.service

                                            S 1 Reply Last reply 3 Dec 2024, 07:07 Reply Quote 0
                                            154 out of 200
                                            • First post
                                              154/200
                                              Last post