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

    Calendar and Alarms issue

    Scheduled Pinned Locked Moved Solved Support
    34 Posts 4 Posters 737 Views 1 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.
      • dR0WD Offline
        dR0W @idonthatevests
        last edited by

        @idonthatevests I've tried clearing cache and application data with no luck.

        1 Reply Last reply Reply Quote 0
        • lduboeufL Offline
          lduboeuf @dR0W
          last edited by

          @dR0W
          Did you received the last stable release already ? Because this version should fix the issue

          1 Reply Last reply Reply Quote 0
          • P Offline
            projectmoon
            last edited by

            Well the calendar app accesses alarms. So that points to the problem being with the alarms themselves.

            There are some very suspicious things in the logs. Namely about being unable to connect to dconf and the ensuing Fail to connect with client. Don't know what the exact problem is, but I imagine your issue has something to do with that. Are you able to go into the terminal (or better, adb shell) and do ls -ld /run/user/32011/dconf/user? And maybe ls -ld on the directories above, because I assume 32011 is a process ID (pid) which can change.

            dR0WD 1 Reply Last reply Reply Quote 0
            • dR0WD Offline
              dR0W @projectmoon
              last edited by

              @projectmoon Thanks for the response. Alarms that I had configured before, works as spected, but I can't acces alarms tab to enable or disable actual alarms or define new ones.

              That is what I get in adb shell to your suggested command:

              phablet@ubuntu-phablet:~$ ls -ld /run/user/32011/dconf/user
              -rw------- 1 phablet phablet 2 Dec  2 08:07 /run/user/32011/dconf/user
              

              @lduboeuf Now I'm on stable 24.04-1.1

              lduboeufL 1 Reply Last reply Reply Quote 0
              • lduboeufL Offline
                lduboeuf @dR0W
                last edited by lduboeuf

                @dR0W Now that you are on 24.04-1.1 could you show logs again, ah but maybe you were already in the first post ?

                btw the former issues specific to calendar/clock is here:

                [26/11/25 15:14] Error opening accounts DB: unable to open database file
                [26/11/25 15:14] ag_manager_load_account: assertion 'AG_IS_MANAGER (manager)' failed
                [26/11/25 15:14] g_object_unref: assertion 'G_IS_OBJECT (object)' failed
                [26/11/25 15:14] Fail to connect with client No se pudo conectar a «Sin nombre:» No se pueden encontrar el «backend» de fábrica para la fuente «system-calendar» ni la extensión «Calendar».
                [26/11/25 15:14] g_object_ref: assertion 'G_IS_OBJECT (object)' failed
                [26/11/25 15:14] e_cal_client_get_view: assertion 'E_IS_CAL_CLIENT (client)' failed

                the /run/user/32011/dconf/user warnings are just the consequence of a confined apps, and is normal if i'm not wrong

                Also, did you do anything custom on your device ?

                dR0WD 1 Reply Last reply Reply Quote 0
                • dR0WD Offline
                  dR0W @lduboeuf
                  last edited by

                  @lduboeuf Logs are when I'm in 24.04-1.1.
                  Relative to custom modifications... I did tried to install Lomiri Plus Essential with Ambot installer to configure round corners when I'm in 24.04 daily but it fails. I don't know if this could be relationed or not.
                  Thanks for your time.

                  lduboeufL 1 Reply Last reply Reply Quote 0
                  • lduboeufL Offline
                    lduboeuf @dR0W
                    last edited by

                    @dR0W said in Calendar and Alarms issue:

                    @lduboeuf Logs are when I'm in 24.04-1.1.
                    Relative to custom modifications... I did tried to install Lomiri Plus Essential with Ambot installer to configure round corners when I'm in 24.04 daily but it fails. I don't know if this could be relationed or not.
                    Thanks for your time.

                    I don't know if it can interact with the calendar/alarm system.
                    To make sure can you confirm,

                    dpkg -l evolution-data-server-lomiri return something

                    Also in your logs, do you find any "Migrating EDS sources' ( journalctl | grep -5 "Migrating EDS sources" )
                    and see if you see errors around

                    dR0WD 1 Reply Last reply Reply Quote 0
                    • dR0WD Offline
                      dR0W @lduboeuf
                      last edited by

                      @lduboeuf Here is the output to these commands:

                      phablet@ubuntu-phablet:~$ dpkg -l evolution-data-server-lomiri
                      dpkg-query: no packages found matching evolution-data-server-lomiri
                      phablet@ubuntu-phablet:~$ journalctl | grep -5 "Migrating EDS sources"
                      phablet@ubuntu-phablet:~$ 
                      
                      
                      lduboeufL 1 Reply Last reply Reply Quote 0
                      • lduboeufL Offline
                        lduboeuf @dR0W
                        last edited by

                        @dR0W said in Calendar and Alarms issue:

                        @lduboeuf Here is the output to these commands:

                        phablet@ubuntu-phablet:~$ dpkg -l evolution-data-server-lomiri
                        dpkg-query: no packages found matching evolution-data-server-lomiri
                        phablet@ubuntu-phablet:~$ journalctl | grep -5 "Migrating EDS sources"
                        phablet@ubuntu-phablet:~$ 
                        
                        

                        oh bad luck, the fix has been merged too late:
                        https://gitlab.com/ubports/development/core/seeds/ubuntu-touch/-/commits/ubports/24.04-1.x?ref_type=heads

                        So would be interesting to go to daily ( which is mostly the same than the stable today ) or wait for next stable...

                        dR0WD 1 Reply Last reply Reply Quote 0
                        • dR0WD Offline
                          dR0W @lduboeuf
                          last edited by

                          @lduboeuf I've switched to daily but that haven't solved the problem.

                          lduboeufL 2 Replies Last reply Reply Quote 0
                          • lduboeufL Offline
                            lduboeuf @dR0W
                            last edited by lduboeuf

                            @dR0W said in Calendar and Alarms issue:

                            @lduboeuf I've switched to daily but that haven't solved the problem.

                            What does the above commands say ?

                            Also are you still experiencing the calendar app infinite loading and foe alarms tab in clock app ?

                            1 Reply Last reply Reply Quote 0
                            • lduboeufL Offline
                              lduboeuf @dR0W
                              last edited by

                              @dR0W
                              Also it appears that some device have not received the daily image yet. But please check if the package mentionned before is here

                              dR0WD 1 Reply Last reply Reply Quote 0
                              • dR0WD Offline
                                dR0W @lduboeuf
                                last edited by

                                @lduboeuf Here is the output of the commands:

                                phablet@ubuntu-phablet:~$ dpkg -l evolution-data-server-lomiri
                                Desired=Unknown/Install/Remove/Purge/Hold
                                | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
                                |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
                                ||/ Name                         Version                                       >
                                +++-============================-==============================================>
                                ii  evolution-data-server-lomiri 0.2.1+0~20240701141626.4+ubports~dev~1.gbp9bd0>
                                phablet@ubuntu-phablet:~$ journalctl | grep -5 "Migrating EDS sources"
                                phablet@ubuntu-phablet:~$ 
                                

                                Looks like package is there but second command seems to do nothing 😞
                                Calendar still with infinite load as before and alarrms tab hangs clock app.

                                lduboeufL 1 Reply Last reply Reply Quote 0
                                • lduboeufL Offline
                                  lduboeuf @dR0W
                                  last edited by

                                  @dR0W could you try :
                                  grep "eds" /home/phablet/.local/share/session_migration-ubuntu-touch

                                  if it finds something then the migration has run. But something else needs to be done.
                                  Could you just reboot just in case ?

                                  dR0WD 1 Reply Last reply Reply Quote 0
                                  • dR0WD Offline
                                    dR0W @lduboeuf
                                    last edited by

                                    @lduboeuf said in Calendar and Alarms issue:

                                    grep "eds" /home/phablet/.local/share/session_migration-ubuntu-touch

                                    This what I get now:

                                    phablet@ubuntu-phablet:~$ grep "eds" /home/phablet/.local/share/session_migration-ubuntu-touch
                                    migrated=lomiri-system-settings-datahome-migration.sh;lomiri-gsettings-schema-name-change.sh;lal-cache-migration.sh;lomiri-schemas-gsettings.sh;lomiri-thumbnailer-gsettings-schema-name-change.sh;lomiri-keyboard-gsettings-schema-name-change.sh;luitk-config-migration.sh;eds-lomiri-ext-migration.py;ubuntu-system-settings-keyboard-accountsservice-to-gsettings.py;lomiri-accountsservice-schema-name-change.py;lomiri-system-settings-greeter-data-rename.sh;lomiri-schemas-accountsservice.py;dark-theme-migration.sh;lomiri-schemas-launcher-system-app-rename.py;lomiri-wizard-has-run-migration.sh;03_run-account-polld-hook;lomiri-telephony-service-greeter-data-migration.sh;ldm-db-migration.sh;ubuntu-system-settings-sound-gsettings-to-accountsservice.py;lomiri-system-settings-gsettings-schema-name-change.sh;messaging-app-name-change.sh;lomiri-cache-migration.sh;content-hub-gsettings-schema-name-change.sh;dialer-app-name-change.sh;morph-browser-name-change.sh;03_migrate_signon;lomiri-push-service-rename-migration.sh;lomiri-push-service-migrate-settings.py;libusermetrics-rename-gsettings.sh;address-book-app-name-change.sh;lomiri-thumbnailer-cache-migration.sh;
                                    phablet@ubuntu-phablet:~$
                                    
                                    lduboeufL 1 Reply Last reply Reply Quote 0
                                    • lduboeufL Offline
                                      lduboeuf @dR0W
                                      last edited by

                                      @dR0W said in Calendar and Alarms issue:

                                      @lduboeuf said in Calendar and Alarms issue:

                                      grep "eds" /home/phablet/.local/share/session_migration-ubuntu-touch

                                      This what I get now:

                                      phablet@ubuntu-phablet:~$ grep "eds" /home/phablet/.local/share/session_migration-ubuntu-touch
                                      migrated=lomiri-system-settings-datahome-migration.sh;lomiri-gsettings-schema-name-change.sh;lal-cache-migration.sh;lomiri-schemas-gsettings.sh;lomiri-thumbnailer-gsettings-schema-name-change.sh;lomiri-keyboard-gsettings-schema-name-change.sh;luitk-config-migration.sh;eds-lomiri-ext-migration.py;ubuntu-system-settings-keyboard-accountsservice-to-gsettings.py;lomiri-accountsservice-schema-name-change.py;lomiri-system-settings-greeter-data-rename.sh;lomiri-schemas-accountsservice.py;dark-theme-migration.sh;lomiri-schemas-launcher-system-app-rename.py;lomiri-wizard-has-run-migration.sh;03_run-account-polld-hook;lomiri-telephony-service-greeter-data-migration.sh;ldm-db-migration.sh;ubuntu-system-settings-sound-gsettings-to-accountsservice.py;lomiri-system-settings-gsettings-schema-name-change.sh;messaging-app-name-change.sh;lomiri-cache-migration.sh;content-hub-gsettings-schema-name-change.sh;dialer-app-name-change.sh;morph-browser-name-change.sh;03_migrate_signon;lomiri-push-service-rename-migration.sh;lomiri-push-service-migrate-settings.py;libusermetrics-rename-gsettings.sh;address-book-app-name-change.sh;lomiri-thumbnailer-cache-migration.sh;
                                      phablet@ubuntu-phablet:~$
                                      

                                      Ok so the migration has run. What is your logs now on calendar and clock app ?

                                      dR0WD 1 Reply Last reply Reply Quote 0
                                      • dR0WD Offline
                                        dR0W @lduboeuf
                                        last edited by dR0W

                                        @lduboeuf This is the log for Calendar and Clock apps:

                                        Calendar log: https://dpaste.com/54LDR8SMF
                                        Clock log: https://dpaste.com/5MRHK6WB2

                                        Apparently, the problem is the same as yesterday 😞

                                        lduboeufL 1 Reply Last reply Reply Quote 0
                                        • lduboeufL Offline
                                          lduboeuf @dR0W
                                          last edited by

                                          @dR0W said in Calendar and Alarms issue:

                                          @lduboeuf This is the log for Calendar and Clock apps:

                                          Calendar log: https://dpaste.com/54LDR8SMF
                                          Clock log: https://dpaste.com/5MRHK6WB2

                                          Apparently, the problem is the same as yesterday 😞

                                          hmm, i don't see why it failed.
                                          could you manually run and share to us the output:
                                          /usr/share/session-migration/scripts/eds-lomiri-ext-migration.py

                                          dR0WD 1 Reply Last reply Reply Quote 0
                                          • dR0WD Offline
                                            dR0W @lduboeuf
                                            last edited by

                                            @lduboeuf This is what I get:

                                            phablet@ubuntu-phablet:~$ /usr/share/session-migration/scripts/eds-lomiri-ext-migration.py
                                            Migrating EDS sources using Ubuntu extension to Lomiri extension
                                            be8033a4c49ef662e4ecf98a72a5f0d2146fcdc0.source: already has 'Lomiri' section, don't migrate.
                                            Traceback (most recent call last):
                                              File "/usr/share/session-migration/scripts/eds-lomiri-ext-migration.py", line 50, in <module>
                                                main()
                                              File "/usr/share/session-migration/scripts/eds-lomiri-ext-migration.py", line 40, in main
                                                if migrate_single_source(source_path):
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                              File "/usr/share/session-migration/scripts/eds-lomiri-ext-migration.py", line 10, in migrate_single_source
                                                source.read(source_path)
                                              File "/usr/lib/python3.12/configparser.py", line 684, in read
                                                self._read(fp, filename)
                                              File "/usr/lib/python3.12/configparser.py", line 1075, in _read
                                                raise DuplicateOptionError(sectname, optname,
                                            configparser.DuplicateOptionError: While reading from PosixPath('/home/phablet/.config/evolution/sources/system-calendar.source') [line 83]: option 'displayname' in section 'Data Source' already exists
                                            phablet@ubuntu-phablet:~$
                                            
                                            lduboeufL 1 Reply Last reply Reply Quote 0
                                            • lduboeufL Offline
                                              lduboeuf @dR0W
                                              last edited by

                                              @dR0W said in Calendar and Alarms issue:

                                              @lduboeuf This is what I get:

                                              phablet@ubuntu-phablet:~$ /usr/share/session-migration/scripts/eds-lomiri-ext-migration.py
                                              Migrating EDS sources using Ubuntu extension to Lomiri extension
                                              be8033a4c49ef662e4ecf98a72a5f0d2146fcdc0.source: already has 'Lomiri' section, don't migrate.
                                              Traceback (most recent call last):
                                                File "/usr/share/session-migration/scripts/eds-lomiri-ext-migration.py", line 50, in <module>
                                                  main()
                                                File "/usr/share/session-migration/scripts/eds-lomiri-ext-migration.py", line 40, in main
                                                  if migrate_single_source(source_path):
                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                                File "/usr/share/session-migration/scripts/eds-lomiri-ext-migration.py", line 10, in migrate_single_source
                                                  source.read(source_path)
                                                File "/usr/lib/python3.12/configparser.py", line 684, in read
                                                  self._read(fp, filename)
                                                File "/usr/lib/python3.12/configparser.py", line 1075, in _read
                                                  raise DuplicateOptionError(sectname, optname,
                                              configparser.DuplicateOptionError: While reading from PosixPath('/home/phablet/.config/evolution/sources/system-calendar.source') [line 83]: option 'displayname' in section 'Data Source' already exists
                                              phablet@ubuntu-phablet:~$
                                              

                                              interesting, some configs are corrupted. Did you have once installed a 24.04.2.x version then back to 24.04.1 or 20.04 before ?

                                              dR0WD 1 Reply Last reply Reply Quote 0
                                              • First post
                                                Last post