Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Import vCalender into KDE-Calendar -> error message

  1. #1
    Join Date
    May 2009
    Location
    Munich
    Posts
    26

    Default Import vCalender into KDE-Calendar -> error message

    OS: LEAP 42.2 (but I think, it is not relevant for the question)
    KDE Plasma: 5.8.6
    KDE Frameworks: 5.26.0
    KOrganizer: 4.14.10

    I thought , it was simple to import vcs-files (appointments) into KDE-Kalender (KOrganizer)
    I tried in different manners, but I get always the same error message
    Code:
    Failed toload ical file, check permission
    or none of new "imported" appointments is displayed.

    But the permissions of the vcs files, I want to import, is ok:
    Code:
    -rw-r-----
    Is it no more possible to import vcs files in Korganizer?
    What can I do without cloud services? (I don't trust any of them)

    Attempts
    1. From the menu -> Files / import / import calendar ...
    then, after one vcs file is selected, a dialog box with two options come on
    if I choose join in existing calendar , I get the above mentioned error message
    if I choose add as new calendar, a new calendar resource has been added but not the appointment in it.

    2. right mouse click on the resource list in KOrganizer (or through configure Kontact)
    The Add Calendar window pops up - No way to select a vcs resource type
    Then, if I choose ICal calendar file, I get the same error message
    if I choose ICal Calendar directory, I get a new empty calendar added

    3. The same as in point 2 happens working on akonadi console

    about the vcs files
    each of them is a distinct appointment, exported by a android calendar on smartphone
    Structure of thees vcs files - an example
    Code:
    BEGIN:VCALENDAR
    BEGIN:VEVENT
    SUMMARY;LANGUAGE=de:Alden WG 5  13:00
    DESCRIPTION:
    LOCATION:ARP Sud -> Georg-Hirt-Str 71, 73700 
    DTSTART;TZID=Europe/Berlin:20180105T112500Z
    DTEND;TZID=Europe/Berlin:20180105T025500Z
    STARTMILLIA:1515151522000
    ENDMILLIA:1515164122000
    X-ALLDAY:0
    STATE:1
    HAS_ALARM:1
    AVAILABILITY:0
    CLASS:DEFAULT
    HAS_ATTENDEE:1
    BEGIN:VALARM
    REMINDERS:10
    REMINDERS:0
    METHOD:1
    METHOD:1
    END:VALARM
    END:VEVENT
    END:VCALENDAR

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,394

    Default Re: Import vCalender into KDE-Calendar -> error message

    You may be correct with your conclusion about that permission, but what you show does not prove anything (and thus you could have left it out for the same effect). It only shows part of what I guess is a line created by an ls command. We see that owner can read and write and group can read, but we do not see who is the owner or what is the group. We also do not know if the user executing the import is the same user or belongs to the same group. There is also no prove that the directory where the file belongs to has proper permissions for the user.

    While even posting a complete copied/pasted prompt with command, output, next prompt sequence of an
    Code:
    ls -l
    will not reveal all of the aspects I mention above, it is, as in most cases, better then such a tiny part of information.

    Again, it may not be the cause of your problem, but we can not come to any conclusions based on what you show here.
    Henk van Velden

  3. #3
    Join Date
    May 2009
    Location
    Munich
    Posts
    26

    Default Re: Import vCalender into KDE-Calendar -> error message

    Quote Originally Posted by hcvv View Post
    You may be correct with your conclusion about that permission, but what you show does not prove anything
    (...)
    we do not see who is the owner or what is the group. We also do not know if the user executing the import is the same user or belongs to the same group. There is also no prove that the directory where the file belongs to has proper permissions for the user.
    ...
    Hi hcvv,

    First of all, thanks for replay!

    Yes, you are definitively right with your statement and I thought, it is obviously the owner of the files is the same of the used Korganizer. Otherwise I did not checked it ...
    However here is the complete permission information. So a problem cause can be definitively excluded.
    Code:
    geppino@dhcppc0:/DOCS_A/ORGA/PIM/Smartphone-PIM/Smartphone-Kalender> ls -l
    insgesamt 32
    -rw-r----- 1 geppino users 480  4. Jan 18:09 Alen 8592952.vcs
    -rw-r----- 1 geppino users 452  4. Jan 18:09 Alen 8592953.vcs
    -rw-r----- 1 geppino users 478  4. Jan 18:09 Christopher 8592950.vcs
    -rw-r----- 1 geppino users 376  4. Jan 18:10 Freizeit?.vcs
    -rw-r----- 1 geppino users 479  4. Jan 19:53 Susanne WG5.vcs
    -rw-r----- 1 geppino users 509  4. Jan 18:10 Suzan 8591376.vcs
    -rw-r----- 1 geppino users 467  4. Jan 18:10 Suzan 8591377.vcs
    -rw-r----- 1 geppino users 459  4. Jan 18:10 Suzan 8592930.vcs
    geppino@dhcppc0:/DOCS_A/ORGA/PIM/Smartphone-PIM/Smartphone-Kalender>
    Another Information - I don't know, how important it is:
    the files has been transferred per blue tooth

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,394

    Default Re: Import vCalender into KDE-Calendar -> error message

    My perhaps pedantic post was not only to point to the value of your information, but also because my experience is that when a program says there is a permission problem, this most often points to a permission problem. And thus jumping over it lightly is perhaps not a good idea.

    Thus digging a bit deeper here might be of use.

    I see that this is not inside geppino's home directory. Thus checking the path from /DOCs down to the file wouldn't be bad IMHO. And is /DOC a mount point? Probably a non-Linux file sytem?
    Henk van Velden

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,394

    Default Re: Import vCalender into KDE-Calendar -> error message

    P.S..
    I also see that file names there have blank spaces (and one ?) in their names. That should of course not be a problem in general (when you do not forget to quote in the shell), but some programs are badly programmed in this aspect.

    Just a thought.
    Henk van Velden

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    2,606

    Cool Re: Import vCalender into KDE-Calendar -> error message

    Quote Originally Posted by geppino View Post
    the files has been transferred per blue tooth
    In other words, you've imported the appointments from your SmartPhone via Bluetooth.
    • Presumably, you've exported the appointments from your SmartPhone calendar.
    • You're using KDE Plasma 5; Kontact; KOrganizer.

    Just a suggestion:
    • Install the KDE-Connect app on your SmartPhone;
    • Connect the SmartPhone to a WLAN which is also accessible to the openSUSE system;
    • Pull the exported SmartPhone calendar appointments over to the openSUSE system with (KDE) Dolphin;
    • Re-try the import into KOrganizer.

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,051
    Blog Entries
    14

    Default Re: Import vCalender into KDE-Calendar -> error message

    An Android phone and you think you're not using cloud services? Or do you use some custom ROM without any Google connection ?

    IMHO manually importing is unreliable, but more from a user perspective. Forget once and you're out of sync.

    Did you try changing the permissions, try copying the files to your homedir?

    And, indeed, what Henk says about the spaces and the question mark in the filenames.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,394

    Default Re: Import vCalender into KDE-Calendar -> error message

    One of the problems in debugging this is IMO that the error message is far to vague. With a little bit more effort of the programmer, the message could have contained the proper file name and what permission (read, write, execute) is blocked. Yes, software quality vs. speed ....
    Henk van Velden

  9. #9
    Join Date
    Nov 2013
    Location
    Kamloops, BC, Canada
    Posts
    3,974

    Default Re: Import vCalender into KDE-Calendar -> error message

    Quote Originally Posted by hcvv View Post
    One of the problems in debugging this is IMO that the error message is far to vague. With a little bit more effort of the programmer, the message could have contained the proper file name and what permission (read, write, execute) is blocked. Yes, software quality vs. speed ....
    ERROR # (undefined)
    WARNING: Something on your computer failed to do something.
    -Gerry Makaro
    Fraser-Bell Info Tech
    Solving Tech Mysteries since the Olden Days!
    ~~
    If I helped you, consider clicking the Star at the bottom left of my post.

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,394

    Default Re: Import vCalender into KDE-Calendar -> error message

    One more remark, but I am getting more and more on softer ground because I am still using a very old KDE PIM suite. Mainly because of problem using VCard directories as address books.

    Newer Kontact try to add a file to a directory with VCard address files. Thus such a directory must also be writable for the user. When this is a relate case,
    Code:
    /DOCS_A/ORGA/PIM/Smartphone-PIM/Smartphone-Kalender
    should at least have as owner geppino and rwx------.

    A simple check if geppino has permission to read and write would of course be by geppino editing one of those file with a simple editor. That would rule out suspects as the blue tooth connection (which I do not blame, after the transport there is no metadata connected to a file that says: it was created in such and such way).
    Henk van Velden

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •