Navigation

    UBports Robot Logo

    UBports Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. jezek
    • Profile
    • Following 0
    • Followers 0
    • Topics 18
    • Posts 233
    • Best 81
    • Groups 0

    jezek

    @jezek

    For few year I've used UT on bqE5 maintained by Canonical. Recently I've bought new phone FP2 and I've installed UT by Ubports. I'm familiar with linux (cca from 2010 no other OS) and I'm using Ubuntu on all my devices. I've a degree in cybernetics and I think I'm slight above average in reading/writing code. I'm familiar with C++ (not very fond of), Pascal/Delphi (this was long time ago), PHP (along with html/css/js for work), SQL (for work), Matlab (long time ago for school) and Go/Golang (my current favorite). I've tried other programing languages (Python, Haskel, Java, ...), but I'm just above beginer level in them. I speak Slovak, English and German and I'm currently learning Japanese (not-so-fresh beginer).

    133
    Reputation
    365
    Profile views
    233
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Slovakia, Pezinok Age 39

    jezek Follow

    Best posts made by jezek

    • RE: The MMS lost story

      Failed MMS redownload progress report:

      This week only nuntium PR got updated.

      There was a problem with redownload after nuntium got restarted. After nunium restarted (on crash, or phone reboot), the redownload button from messaging-app didn't work. This was because of the button sends the redownload request to nuntium through dbus. And after nuntium restart, there was no one listening on dbus for the redownload signal. I've fixed this by spawning listeners for messages on modem identification. So the redownload now works even after phone restart.

      Also the nuntium-inject-pust testing tool got update. It can now autodetect the end-point flag from nuntium logs using grep & sed commands.

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      There are now 3 drafts on github:

      • https://github.com/ubports/nuntium/pull/8
      • https://github.com/ubports/telephony-service/pull/20
      • https://github.com/ubports/messaging-app/pull/260

      This is the first working version, where you can initiate re-download of failed MMS by clicking a button in messaging-app. This version is quirky and will be improved further.

      What needs to be done?

      • make it possible to report failed message using status, not an empty message.
      • refactoring, tests, documentation, changelogs, etc...

      Will report again on any noticable progress.

      posted in OS
      jezek
      jezek
    • RE: Ubuntu Touch OTA-8 Is Here !!

      I ❤ the banner. Also kudos to everyone who participated and made this possible.

      posted in News
      jezek
      jezek
    • RE: Where is Firefox?

      @krogoth I like @dobey 's answer. Cause it's not a simple 'no'. It is accompanied by some hints, how you can try to approach the problem, if you want to solve it. Keep going @dobey , excellent work.

      posted in General
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      Because of unsafe apt operations, which makes crossbuilder & ubports-qa unsafe too, I've redirected my attention to nuntium, resulting in some commits to https://github.com/ubports/nuntium/pull/8. (Note: I can easily deploy nuntuim to phone without apt)

      What was done?

      My operator (and other?) resends multimedia message notifications ever 10 minutes, if notification is not marked as received. This resulted in new error message (when download fails) and notification sound every time. These new commits prevents this behavior.

      Every notification comes with transaction-id, which is stored on download error and if new notification comes with the same transaction-id and there was a download error again, the error message will not be sent to telepathy again.

      The only caveat is, that if the second download fails on another error as the first, then the second error will not be communicated (however no error description is communicated now, this will be added in future). I'll see, if this will need attention later.

      To test these changes easier, I've added an transaction-id flag to nuntium-inject-push testing tool.

      That's all for this week, see ya next time.

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS re-download progress report:

      The progress is slow, but steady. Two PR drafts got updated:

      • https://github.com/ubports/telephony-service/pull/20
      • https://github.com/ubports/messaging-app/pull/260

      What was updated:

      1. Some refactoring was done in telephony-service in redownloadMesage pathway (the function now needs 3 string parameters instead of a string map).
      2. The redownload (in telephony-service) changes message status to pending before sending a redownload request to nuntium.
      3. The redownload (in telephony-service) sends redownload request to nuntium only if message status is unknown (later it will be other status) to not request redownload more times than needed (if function is called more times)
      4. Redownload buton gets disabled if message status is other than unknown (will be other status later), to indicate hat redowload is in progress.
      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS re-download progress report:

      Number of drafts on github is now 5:

      • https://github.com/ubports/nuntium/pull/8 - saves info about failed download, adds error & delete-event parameters (if needed) into dbus message for thelepathy-ofono and incoming re-download request.
      • https://github.com/ubports/telepathy-ofono/pull/20 - for received mms (from nuntium), parses additional parameters ("Error", "DeleteEvent") and sets Telepathy message headers accordingly ("x-ubports-error", "supersedes").
        The "supersedes" header indicates, that the current message replaces the one stored in the header and is currently handled by history-service without any change. (Note: during injection testing, history service fails to delete the supersedes message, if it is in another conversation)
        The "x-ubports-error" header should indicate an error message when message propagates through telepathy-qt to history-service. Maybe the error propagation could be done via "delivery-status", "delivery-error", "delivery-error-message" headers and no changes in history-service will be needed (theory needs testing).
      • https://github.com/ubports/history-service/pull/35 - the code here does nothing new yet, just adds some logging. The idea is to change status if "x-ubports-error" is set. It's possible, that this PR will be unnecessary.
      • https://github.com/ubports/telephony-service/pull/20 - adds methods to propagate re-download request to nuntium.
      • https://github.com/ubports/messaging-app/pull/260 - adds re-download button to error message.

      The redownload should work after these PRs. The new thing is, that after hitting redownload the old error message bubble should be deleted when the new message arrives (as successfully received message or new error message).

      What needs to be done:

      • improve error mms logic (currently: when delivered message is empty, without attachments). The idea is, that a delivered message is an error message when message is empty (historical reasons) or status is one of MessageStatusPermanentlyFailed, MessageStatusTemporaryFailed or MessageStatusPending. The message, which can be re-downloaded will have temporaryFailed status and will show the re-download button. Upon re-download clicked the state will be changed to pending (the re-download button is disabled). When re-download is not possible (expired, some other error) the status will be permanentlyFailed or empty message (current).
      • set status in history-service (if needed)
      • refactoring, tests, documentation, changelogs, etc...

      I'm sorry, I'm so slow with progress, have only cca a hour a day for coding/testing. And building, deploying, phone restarting and log/code studying takes too much time. I hope it'll get faster.

      @lduboeuf said in The MMS lost story:

      How do you manage to propagate error or deferred status as Telepathy Message object to Telephony-service and History-service ?. By using the messageType , e.g: ChannelTextMessageTypeNotice ?

      I'm afraid, that propagating via messageType (declaring new type) could break some other logic, which handles message type. So I decided to go with custom header "x-ubports-error". Or maybe using other headers (see above).

      Questions, ideas or critics are welcome.

      Edit: https://github.com/ubports/telepathy-ofono/pull/20 and https://github.com/ubports/history-service/pull/35 fail to pass checks. Does anyone know why?

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      I've fixed the issue I found last week, but haven't tested it fully yet (so no commits). I will continue the cleanup, to start review process and inform you here on any progress.

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      During cleanup I found a small issue. During nuntium initialization I start dbus listeners to listen to redownload or read/delete requests for messages in storage, but telepathy didn't spawn listeners for these. It's not a big issue, redownload still works, but read/delete requests from messaging-app don't come through to nuntium and that leads to polluted storage. I've tried to fix it, but today I broke something, so no new commits until I fix and test. I hope this is the last issue, that needs to be solved before reviews starts.

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      This week nuntium and messaging-app pull request drafts got update. @lduboeuf added code to messaging-app to not be able to initiate redownload of expired messages. And I fixed a bug in nuntium, wich I previously introduced. I've also made more work on nuntium localy, got rid of some TODOs, but I haven't fully tested the added code yet, so I'm not confident to push into PR draft right now. Will continue to work on this, see ya next time.

      posted in OS
      jezek
      jezek

    Latest posts made by jezek

    • RE: The MMS lost story

      Failed MMS redownload progress report:

      I've fixed the issue I found last week, but haven't tested it fully yet (so no commits). I will continue the cleanup, to start review process and inform you here on any progress.

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      During cleanup I found a small issue. During nuntium initialization I start dbus listeners to listen to redownload or read/delete requests for messages in storage, but telepathy didn't spawn listeners for these. It's not a big issue, redownload still works, but read/delete requests from messaging-app don't come through to nuntium and that leads to polluted storage. I've tried to fix it, but today I broke something, so no new commits until I fix and test. I hope this is the last issue, that needs to be solved before reviews starts.

      posted in OS
      jezek
      jezek
    • RE: Messaging app colors

      @keneda said in Messaging app colors:

      why all those "access denied" folders

      I've got a lot of "access denied" too, but the 2>/dev/null appendix sends all errors to endless void...

      posted in Support
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      Updated PR's:

      • nutium - Rebased to latest xenial + commits to make recovery of messages with unexpected errors during handling (phone/services crashes) more robust. The nuntium-inject-push tool was updated so it can simulate various errors. I've tried to test all possible error situations that came to my mind, found and fixed some flaws and I hope I didn't introduce any more errors. I will make more tests after I clear the last unsolved TODO (excluding testing & documentation TODOs) which was added by me.
      • messaging-app - Rebased to latest xenial.
      • telephony-service - Rebased to latest xenial (jekins still can't builf for armhf due to some test error which I think/hope is not my fault).
      posted in OS
      jezek
      jezek
    • RE: Messaging app colors

      @keneda

      $ find / -iname "*MessageBubble*" 2>/dev/null
      /opt/click.ubuntu.com/datamonitor.matteobellei/0.2.3/qml/MessageBubble.qml
      /usr/share/messaging-app/MessageBubble.qml
      

      The second one is what you're looking for.

      posted in Support
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      This week I've been working on making nuntium message error handling more robust. That means, no message should be lost or unnoticed and if something really unexpected happens during incoming message handling (service problem, phone reboots, ...) message will try to recover or at least notify user during nuntium initialization. But today I've been mostly fixing errors I introduced during making nuntium more robust and found during testing, so I decided to not push new commits, until I test again (nuntium lacks unit tests, so I have to test manually).

      I will report again, if when something changes.

      Note: Most of my TODOs remaining in nuntium are about testing. If next tests don't uncover any errors, then only documentation. changelogs and a few unit tests are needed to be done and we can end the PR draft era and begin a review process.

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      No commits to the drafts this week. Some work was done on nuntium locally, but like last week, it's not fully tested yet. 😕

      posted in OS
      jezek
      jezek
    • RE: The MMS lost story

      Failed MMS redownload progress report:

      This week nuntium and messaging-app pull request drafts got update. @lduboeuf added code to messaging-app to not be able to initiate redownload of expired messages. And I fixed a bug in nuntium, wich I previously introduced. I've also made more work on nuntium localy, got rid of some TODOs, but I haven't fully tested the added code yet, so I'm not confident to push into PR draft right now. Will continue to work on this, see ya next time.

      posted in OS
      jezek
      jezek
    • RE: Wifi BQ E4.5 -- AVM Fritz!Box 7430: 900 meter

      Have you tried to ask gooogle?

      https://www.quora.com/Whats-the-maximum-distance-a-Wi-Fi-signal-can-be-reached

      Edit: "At 2.4 GHz, when there is no interference from other access points and/or clients, 100mW maximum EIRP power and stock 3dBi antennas then maximum range in open space when you have direct line of sight between your devices will be around 1.5 km. This is where you will get signal level of -80 dBm, which is around 4–6 dB SNR above the noise floor and which will give you around 1 Mbps."

      posted in BQ E4.5
      jezek
      jezek
    • RE: The MMS lost story

      @lduboeuf said in The MMS lost story:

      Yes, please add a feature request in messaging-app

      Done here, but I don't know, how to flag it as feature request.

      posted in OS
      jezek
      jezek