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

    Calendar and Alarms issue

    Scheduled Pinned Locked Moved Solved Support
    31 Posts 4 Posters 196 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.
      • lduboeufL Online
        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 Online
          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 Online
            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 Online
              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 Online
                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 Online
                  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 Online
                    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 Online
                      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 Online
                        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
                        • dR0WD Online
                          dR0W @lduboeuf
                          last edited by

                          @lduboeuf Yes, I did it.

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

                            @dR0W said in Calendar and Alarms issue:

                            @lduboeuf Yes, I did it.

                            could you show the output of
                            cat /home/phablet/.config/evolution/sources/system-calendar.source

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

                              @lduboeuf That is the content:

                              phablet@ubuntu-phablet:~$ cat /home/phablet/.config/evolution/sources/system-calendar.source
                              [Data Source]
                              displayname=Personal
                              displayname[ar]=شخصي
                              displayname[as]=ব্যক্তিগত
                              displayname[ast]=Personal
                              displayname[be]=Асабістыя
                              displayname[bg]=Лични
                              displayname[bn]=ব্যক্তিগত
                              displayname[bn_in]=ব্যক্তিগত
                              displayname[bs]=Lično
                              displayname[ca]=Personal
                              displayname[ca@valencia]=Personal
                              displayname[cs]=Osobní
                              displayname[cy]=Personol
                              displayname[da]=Personligt
                              displayname[de]=Persönlich
                              displayname[dz]=རང་དོན།
                              displayname[el]=Προσωπικά
                              displayname[en@shaw]=𐑐𐑻𐑕𐑩𐑯𐑩𐑤
                              displayname[en_ca]=Personal
                              displayname[en_gb]=Personal
                              displayname[eo]=Persone
                              displayname[es]=Personal
                              displayname[et]=Isiklik
                              displayname[eu]=Pertsonala
                              displayname[fa]=شخصی
                              displayname[fi]=Henkilökohtainen
                              displayname[fr]=Personnel
                              displayname[ga]=Pearsanta
                              displayname[gl]=Persoal
                              displayname[gu]=ખાનગી
                              displayname[he]=אישי
                              displayname[hi]=व्यक्तिगत
                              displayname[hr]=Osobno
                              displayname[hu]=Személyes
                              displayname[id]=Pribadi
                              displayname[is]=Einka
                              displayname[it]=Personale
                              displayname[ja]=個人
                              displayname[kk]=Жеке
                              displayname[km]=ផ្ទាល់​ខ្លួន
                              displayname[kn]=ವೈಯಕ್ತಿಕ
                              displayname[ko]=개인
                              displayname[lt]=Asmeniniai
                              displayname[lv]=Personisks
                              displayname[mai]=व्यक्तिगत
                              displayname[mk]=Лично
                              displayname[ml]=വ്യക്തിപരം
                              displayname[mr]=खाजगी
                              displayname[nb]=Personlig
                              displayname[ne]=व्यक्तिगत
                              displayname[nl]=Persoonlijk
                              displayname[nn]=Personleg
                              displayname[oc]=Personal
                              displayname[or]=ବ୍ଯକ୍ତିଗତ
                              displayname[pa]=ਨਿੱਜੀ
                              displayname[pl]=Osobiste
                              displayname[pt]=Pessoal
                              displayname[pt_br]=Pessoal
                              displayname[ro]=Personal
                              displayname[ru]=Личное
                              displayname[rw]=Bwite
                              displayname[sk]=Osobné
                              displayname[sl]=Osebno
                              displayname[sq]=Personale
                              displayname[sr]=Лично
                              displayname[sr@latin]=Lično
                              displayname[sv]=Personligt
                              displayname[ta]=தனிப்பட்ட
                              displayname[te]=వ్యక్తిగత
                              displayname[tg]=Шахсӣ
                              displayname[th]=ส่วนบุคคล
                              displayname[tr]=Kişisel
                              displayname[ug]=شەخسىي
                              displayname[uk]=Особисте
                              displayname[vi]=Cá nhân
                              displayname[xh]=Ezakho Buqu
                              displayname[zh_cn]=个人
                              displayname[zh_hk]=個人
                              displayname[zh_tw]=個人
                              enabled=true
                              parent=local-stub
                              DisplayName=Sin nombre
                              Enabled=true
                              Parent=
                              
                              [Calendar]
                              backendname=local
                              color=#77216f
                              selected=true
                              
                              [Ubuntu]
                              accountid=0
                              applicationid=
                              autoremove=true
                              writable=true
                              metadata=
                              AccountId=0
                              ApplicationId=
                              AutoRemove=true
                              Writable=true
                              Metadata=
                              
                              [Lomiri]
                              accountid=0
                              applicationid=
                              autoremove=true
                              writable=true
                              metadata=
                              AccountId=0
                              ApplicationId=
                              AutoRemove=true
                              Writable=true
                              Metadata=
                              
                              phablet@ubuntu-phablet:~$ 
                              
                              
                              lduboeufL 1 Reply Last reply Reply Quote 0
                              • lduboeufL Online
                                lduboeuf @dR0W
                                last edited by

                                @dR0W said in Calendar and Alarms issue:

                                [Data Source]
                                displayname=Personal
                                displayname[ar]=شخصي
                                displayname[as]=ব্যক্তিগত
                                displayname[ast]=Personal
                                displayname[be]=Асабістыя
                                displayname[bg]=Лични
                                displayname[bn]=ব্যক্তিগত
                                displayname[bn_in]=ব্যক্তিগত
                                displayname[bs]=Lično
                                displayname[ca]=Personal
                                displayname[ca@valencia]=Personal
                                displayname[cs]=Osobní
                                displayname[cy]=Personol
                                displayname[da]=Personligt
                                displayname[de]=Persönlich
                                displayname[dz]=རང་དོན།
                                displayname[el]=Προσωπικά
                                displayname[en@shaw]=𐑐𐑻𐑕𐑩𐑯𐑩𐑤
                                displayname[en_ca]=Personal
                                displayname[en_gb]=Personal
                                displayname[eo]=Persone
                                displayname[es]=Personal
                                displayname[et]=Isiklik
                                displayname[eu]=Pertsonala
                                displayname[fa]=شخصی
                                displayname[fi]=Henkilökohtainen
                                displayname[fr]=Personnel
                                displayname[ga]=Pearsanta
                                displayname[gl]=Persoal
                                displayname[gu]=ખાનગી
                                displayname[he]=אישי
                                displayname[hi]=व्यक्तिगत
                                displayname[hr]=Osobno
                                displayname[hu]=Személyes
                                displayname[id]=Pribadi
                                displayname[is]=Einka
                                displayname[it]=Personale
                                displayname[ja]=個人
                                displayname[kk]=Жеке
                                displayname[km]=ផ្ទាល់​ខ្លួន
                                displayname[kn]=ವೈಯಕ್ತಿಕ
                                displayname[ko]=개인
                                displayname[lt]=Asmeniniai
                                displayname[lv]=Personisks
                                displayname[mai]=व्यक्तिगत
                                displayname[mk]=Лично
                                displayname[ml]=വ്യക്തിപരം
                                displayname[mr]=खाजगी
                                displayname[nb]=Personlig
                                displayname[ne]=व्यक्तिगत
                                displayname[nl]=Persoonlijk
                                displayname[nn]=Personleg
                                displayname[oc]=Personal
                                displayname[or]=ବ୍ଯକ୍ତିଗତ
                                displayname[pa]=ਨਿੱਜੀ
                                displayname[pl]=Osobiste
                                displayname[pt]=Pessoal
                                displayname[pt_br]=Pessoal
                                displayname[ro]=Personal
                                displayname[ru]=Личное
                                displayname[rw]=Bwite
                                displayname[sk]=Osobné
                                displayname[sl]=Osebno
                                displayname[sq]=Personale
                                displayname[sr]=Лично
                                displayname[sr@latin]=Lično
                                displayname[sv]=Personligt
                                displayname[ta]=தனிப்பட்ட
                                displayname[te]=వ్యక్తిగత
                                displayname[tg]=Шахсӣ
                                displayname[th]=ส่วนบุคคล
                                displayname[tr]=Kişisel
                                displayname[ug]=شەخسىي
                                displayname[uk]=Особисте
                                displayname[vi]=Cá nhân
                                displayname[xh]=Ezakho Buqu
                                displayname[zh_cn]=个人
                                displayname[zh_hk]=個人
                                displayname[zh_tw]=個人
                                enabled=true
                                parent=local-stub
                                DisplayName=Sin nombre
                                Enabled=true
                                Parent=

                                [Calendar]
                                backendname=local
                                color=#77216f
                                selected=true

                                [Ubuntu]
                                accountid=0
                                applicationid=
                                autoremove=true
                                writable=true
                                metadata=
                                AccountId=0
                                ApplicationId=
                                AutoRemove=true
                                Writable=true
                                Metadata=

                                [Lomiri]
                                accountid=0
                                applicationid=
                                autoremove=true
                                writable=true
                                metadata=
                                AccountId=0
                                ApplicationId=
                                AutoRemove=true
                                Writable=true
                                Metadata=

                                ok, just remove this 3 lines in the [Data Source] section:

                                DisplayName=Sin nombre
                                Enabled=true
                                Parent=

                                and try to run again the script, if it fails again, see which file fails.
                                Try then to open calendar-app/clock-app ( not sure but maybe a reboot is needed)

                                lduboeufL dR0WD 2 Replies Last reply Reply Quote 0
                                • lduboeufL Online
                                  lduboeuf @lduboeuf
                                  last edited by

                                  Well it seems there also others entries that are duplicated:

                                  The easiest way to fix it if you don't care about cleaning all alarms and calendars is to remove the
                                  /home/phablet/.config/evolution/sources folder then restart,

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

                                    Also, i wonder where does that lower case entries come from, i've checked even a Xenial device, and there are not in lower case too. Did you manipulate evolution data server before ?

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

                                      @lduboeuf I've removed the mentioned lines and executed the script again and got the same error. The three lines deleted, are restored once script finished.

                                      I've restarted the phone after deleting evolution sources folder, and I have to say you that now both apps work as expected.

                                      I didn't manipulate evolution data server before.

                                      THANKS A LOT for your help!!!!!

                                      lduboeufL 1 Reply Last reply Reply Quote 0
                                      • dR0WD dR0W has marked this topic as solved
                                      • lduboeufL Online
                                        lduboeuf @dR0W
                                        last edited by

                                        @dR0W said in Calendar and Alarms issue:

                                        @lduboeuf I've removed the mentioned lines and executed the script again and got the same error. The three lines deleted, are restored once script finished.

                                        I've restarted the phone after deleting evolution sources folder, and I have to say you that now both apps work as expected.

                                        I didn't manipulate evolution data server before.

                                        THANKS A LOT for your help!!!!!

                                        i don't like that work around, but if it is fine for you, glad it works 🙂
                                        Now we need to know what has happened

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

                                          @lduboeuf Don't worry alarma can be setted again relatively fast, and calendar events... principally was in CalDAV remote server so... nothing losed.

                                          I don't know what happened.
                                          Aproxly ten days ago simply just stop working, until... now.

                                          Thanks again and if you want to try somehing for debbuging, let me know.

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