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 236 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 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
        • dR0WD Online
          dR0W @lduboeuf
          last edited by

          @lduboeuf Yes, I did it.

          lduboeufL 1 Reply Last reply Reply Quote 0
          • lduboeufL Offline
            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 Offline
                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 Offline
                  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 Offline
                    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 Offline
                        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 1
                        • dR0WD Online
                          dR0W @lduboeuf
                          last edited by dR0W

                          @lduboeuf Don't worry alarms 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 2
                          • First post
                            Last post