Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICal Timetable from university not showing up #4667

Closed
LaT3St opened this issue Oct 20, 2022 · 7 comments
Closed

ICal Timetable from university not showing up #4667

LaT3St opened this issue Oct 20, 2022 · 7 comments
Labels
0. to triage Pending approval or rejection bug needs info

Comments

@LaT3St
Copy link

LaT3St commented Oct 20, 2022

Steps to reproduce

  1. Try to synchronize to "StarPlan" http://www.progotec.de/

Expected behavior

The events should show up in the Nextcloud view.

Actual behaviour

The events do not show up online but will be synchronized to my phone and computer and will show there.

Calendar app version

3.5.1

CalDAV-clients used

DAVx5, Thunderbird

Browser

Firefox 105.0.3

Client operating system

Arch Linux

Server operating system

Arch Linux

Web server

Nginx

Database engine version

MariaDB

PHP engine version

Other

Nextcloud version

24.0.1

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.5.1
  - circles: 24.0.0
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.1.1
  - contactsinteraction: 1.5.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - firstrunwizard: 2.13.0
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - mail: 1.13.0
  - nextcloud_announcements: 1.13.0
  - notifications: 2.12.0
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - photos: 1.6.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - recommendations: 1.3.0
  - richdocuments: 6.1.0
  - richdocumentscode: 21.11.402
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - spreed: 14.0.2
  - support: 1.7.0
  - survey_client: 1.12.0
  - systemtags: 1.14.0
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - updatenotification: 1.14.0
  - user_ldap: 1.14.1
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflowengine: 2.6.0
Disabled:
  - admin_audit
  - encryption
  - files_external

Nextcloud configuration

{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***"
        ],
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.1.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
        "maintenance": false,
        "loglevel": 2
    }
}

Web server error log

Nothing of interest.

Log file

Nothing gets logged but the file consists of much sensitive data.

Browser log

could not convert calendar object of calendar L3JlbW90ZS5waHAvZGF2L2NhbGVuZGFycy9MYVQzU3Qvc3R1bmRlbnBsYW5ocy1mdXJ0d2FuZ2VuZGUtMS8= Error: invalid date-time value: "--T::"
    fromDateTimeString ical.js:5919
    decorate ical.js:799
    _decorate ical.js:2957
    _hydrateValue ical.js:2940
    getFirstValue ical.js:3086
    fromICALJs index.esm.js:3222
    fromICALJs index.esm.js:5368
    fromICALJs index.esm.js:5375
    fromICALJs index.esm.js:5375
    fromICALJs index.esm.js:9988
    _createCalendarComponent index.esm.js:14533
    parse index.esm.js:14425
    lQ calendarObject.js:76
    n calendars.js:933
    u dist.js:1
    _invoke dist.js:1
    C dist.js:1
    AQ calendarObjects.js:397
    o calendarObjects.js:397
    promise callback*AQ calendarObjects.js:397
    o calendarObjects.js:397
    promise callback*AQ calendarObjects.js:397
    o calendarObjects.js:397
    gQ calendarObjects.js:397
    gQ calendarObjects.js:397
    getEventsFromCalendarInTimeRange calendars.js:909
    Ps vuex.esm.js:851
    dispatch vuex.esm.js:516
    dispatch vuex.esm.js:406
    n eventSource.js:60
    u dist.js:1
    _invoke dist.js:1
    C dist.js:1
    iY eventSourceFunction.js:162
    o eventSource.js:45
    n eventSource.js:45
    n eventSource.js:45
    events eventSource.js:45
    JO main.js:4685
    fetch main.js:6457
    jF main.js:6094
    PF main.js:6082
    IF main.js:6065
    MF main.js:6057
    OF main.js:6014
    _handleAction main.js:7064
    runTask main.js:6888
    drain main.js:6880
 
Object { response: {…} }
calendars.js:937:4
    n calendars.js:937
    u dist.js:1
    _invoke dist.js:1
    C dist.js:1
    AQ calendarObjects.js:397
    o calendarObjects.js:397
    (Async: promise callback)
    AQ calendarObjects.js:397
    o calendarObjects.js:397
    (Async: promise callback)
    AQ calendarObjects.js:397
    o calendarObjects.js:397
    gQ calendarObjects.js:397
    gQ calendarObjects.js:397
    getEventsFromCalendarInTimeRange calendars.js:909
    Ps vuex.esm.js:851
    dispatch vuex.esm.js:516
    dispatch vuex.esm.js:406
    n eventSource.js:60
    u dist.js:1
    _invoke dist.js:1
    C dist.js:1
    iY eventSourceFunction.js:162
    o eventSource.js:45
    n eventSource.js:45
    n eventSource.js:45
    events eventSource.js:45
    JO main.js:4685
    fetch main.js:6457
    jF main.js:6094
    PF main.js:6082
    IF main.js:6065
    MF main.js:6057
    OF main.js:6014
    _handleAction main.js:7064
    runTask main.js:6888
    drain main.js:6880

Additional info

BEGIN:VEVENT
DTSTAMP:20221020T083700Z
DTSTART;TZID=Europe/Berlin:20221010T094500
DTEND;TZID=Europe/Berlin:20221010T111500
SUMMARY:SENSITIVE
UID:-5451736805965376501
LOCATION:FU B2.09
DESCRIPTION:SENSITIVE
END:VEVENT

@LaT3St LaT3St added 0. to triage Pending approval or rejection bug labels Oct 20, 2022
@tcitworld
Copy link
Member

Error: invalid date-time value: "--T::"

Can you check for an occurence of this in your ics data?

@LaT3St
Copy link
Author

LaT3St commented Oct 20, 2022

I've checked with a texteditor. There is no occurrence of this.

@tcitworld
Copy link
Member

This looks like a duplicate from #3035, can you check?

@miaulalala
Copy link
Contributor

Error: invalid date-time value: "--T::"

Can you check for an occurence of this in your ics data?

What's to note here is that the export from the calendar UI is not what is actually imported into the calendar. Just making sure that you checked the direct ics from source @LaT3St :)

@LaT3St
Copy link
Author

LaT3St commented Oct 25, 2022

Seems to be the same problem as #3035. At least i got the same error messages if i try to import the file without the subscription.
@miaulalala I did download the file from the online timetable of my school and checked that file. Is that what you meant?

@tcitworld
Copy link
Member

You can check by looking for RDATE: (with the rest of the line being empty) in your file content.

We could add a repair step (https://github.com/nextcloud/calendar-js/tree/main/src/parsers/repairsteps/icalendar) to fix these invalid files before importing them, since they seems to be still common.

@LaT3St
Copy link
Author

LaT3St commented Dec 4, 2022

Yes, there are in fact empty RDATE: lines in the file.
Pull request: nextcloud/calendar-js#520

@LaT3St LaT3St closed this as completed Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. to triage Pending approval or rejection bug needs info
Projects
None yet
Development

No branches or pull requests

4 participants