pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.69k stars 414 forks source link

[I] Task list not working with Davical #1078

Closed Glandos closed 5 years ago

Glandos commented 5 years ago

Expected behaviour

I should be able to list task from a Davical instance

Actual behaviour

The refresh task list does not complete

Steps to reproduce

Configure "other caldav server" with the URI of your davical server

Relevant log output in the Log panel

[22:17:49] [status] 1 note enregistrée sur le disque

Information about the application, settings and environment

QOwnNotes Debug Information

General Info

Current Date: lun. nov. 26 22:18:12 2018 Version: 18.11.6 Build date: Nov 23 2018 Build number: 494 Platform: linux Operating System: Debian GNU/Linux buster/sid Build architecture: x86_64 Current architecture: x86_64 Release: OBS Qt Version (build): 5.7.1 Qt Version (runtime): 5.11.2 Portable mode: no Settings path / key: /home/user/.config/PBE/QOwnNotes.conf Application database path: /home/user/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite Application arguments: QOwnNotes Qt Debug: 0 Locale (system): fr_FR Locale (interface): empty Icon theme: Adwaita Notes in current note folder: 3 Enabled scripts: 0

Server Info

serverUrl: empty appIsValid: yes notesPathExists: yes serverVersion: 14.0.4.2 appVersion: empty

Note folders

currentNoteFolderId: 1

Note folder par défaut

id: 1 isCurrent: yes activeTagId: 0 localPath: /home/user/Documents/Notes remotePath: Notes isShowSubfolders: yes isUseGit: no activeNoteSubFolder name: empty database file: /home/user/Documents/Notes/notes.sqlite

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data> Debug/fakeOldVersionNumber (bool): false Debug/fileLogging (bool): false Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb Editor/autoBracketClosing (bool): true Editor/autoBracketRemoval (bool): true Editor/editorWidthInDFMOnly (bool): true Editor/highlightCurrentLine (bool): true Editor/vimMode (bool): false IssueAssistantDialog/geometry (QByteArray): <binary data> LastUpdateCheck (QDateTime): 2018-11-26T21:57:17.672 LogWidget/criticalLog (bool): true LogWidget/debugLog (bool): true LogWidget/fatalLog (bool): true LogWidget/infoLog (bool): true LogWidget/scriptingLog (bool): true LogWidget/statusLog (bool): true LogWidget/warningLog (bool): true MainWindow/mainToolBar.iconSize (int): 24 MainWindow/noteTextEdit.code.font (QString): monospace,10,-1,2,50,0,0,0,0,0 MainWindow/noteTextEdit.font (QString): Sans,10,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.code.font (QString): monospace,10,-1,2,50,0,0,0,0,0 MainWindow/noteTextView.font (QString): Sans,10,-1,5,50,0,0,0,0,0 MainWindow/noteTextView.rtl (bool): false MainWindow/showNotesFromAllNoteSubFolders (bool): false NoteHistory-1 (QVariantList): <variant list with 5 item(s)> NoteHistoryCurrentIndex-1 (int): 4 PiwikClientId (QString): <hidden> SearchEngineId (int): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (QByteArray): <binary data> ShowSystemTray (bool): false StartHidden (bool): false TodoDialog/geometry (QByteArray): <binary data> TodoDialog/mainSplitterState (QByteArray): <binary data> TodoDialog/showCompletedItems (int): 2 TodoDialog/todoListSelectorSelectedItem (QString): Main calendar WelcomeDialog/geometry (QByteArray): <binary data> acceptAllExternalModifications (bool): false allowDifferentNoteFileName (bool): false allowNoteEditing (bool): true allowOnlyOneAppInstance (bool): true appMetrics/disableAppHeartbeat (bool): false appMetrics/disableTracking (bool): false appMetrics/notificationShown (bool): true automaticNoteFolderDatabaseClosing (bool): false closeTodoListAfterSave (bool): false cryptoKey (qlonglong): <hidden> currentNoteFolderId (int): 1 currentWorkspace (QString): initial cursorWidth (int): 1 customNoteFileExtensionList (QStringList): empty darkMode (bool): false darkModeColors (bool): false darkModeTrayIcon (bool): false defaultNoteFileExtension (QString): md demoNotesCreated (bool): true disableAutomaticUpdateDialog (bool): true dockWasInitializedOnce (bool): true externalEditorPath (QString): empty fullyHighlightedBlockquotes (bool): false gitCommitInterval (int): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty ignoreAllExternalModifications (bool): false ignoreAllExternalNoteFolderChanges (bool): false ignoreNoteSubFolders (QString): ^\. imageScaleDown (bool): false imageScaleDownMaximumHeight (int): 1024 imageScaleDownMaximumWidth (int): 1024 initialLayoutIdentifier (QString): minimal insertTimeFormat (QString): empty interfaceFontSize (int): 11 interfaceLanguage (QString): empty internalIconTheme (bool): false itemHeight (int): 17 localTrash/autoCleanupDays (int): 30 localTrash/autoCleanupEnabled (bool): true localTrash/supportEnabled (bool): true markdownHighlightingEnabled (bool): true networking/ignoreSSLErrors (bool): true networking/proxyType (int): 2 newNoteAskHeadline (bool): false noteEditIsCentralWidget (bool): true noteListPreview (bool): false noteSaveIntervalTime (int): 10 noteSubfoldersPanelDisplayAsFullTree (bool): true noteSubfoldersPanelHideSearch (bool): false noteSubfoldersPanelOrder (int): 0 noteSubfoldersPanelShowFullPath (bool): false noteSubfoldersPanelShowNotesRecursively (bool): false noteSubfoldersPanelShowRootFolderName (bool): true noteSubfoldersPanelSort (int): 0 notesPanelOrder (int): 0 notesPanelSort (int): 1 notesPath (QString): /home/user/Documents/Notes notifyAllExternalModifications (bool): false overrideInterfaceFontSize (bool): false ownCloud/ignoreNonTodoCalendars (bool): false ownCloud/password (QString): <hidden> ownCloud/serverUrl (QString): empty ownCloud/supportEnabled (bool): false ownCloud/todoCalendarBackend (int): 2 ownCloud/todoCalendarCalDAVPassword (QString): ` **ownCloud/todoCalendarCalDAVServerUrl** (QString):https://caldav.example.com/caldav.php/user/home/ **ownCloud/todoCalendarCalDAVUsername** (QString):user **ownCloud/todoCalendarDisplayNameList** (QStringList):Main calendar **ownCloud/todoCalendarEnabledList** (QStringList):Main calendar **ownCloud/todoCalendarEnabledUrlList** (QStringList):https://caldav.example.com/caldav.php/user/home/ **ownCloud/todoCalendarUrlList** (QStringList):https://caldav.example.com/caldav.php/user/home/ **ownCloud/userName** (QString): *empty* **ownCloudInfo/appIsValid** (bool):true **ownCloudInfo/connectionErrorMessage** (QString):Erreur inconnue **ownCloudInfo/notesPathExistsText** (QString):yes **ownCloudInfo/serverVersion** (QString):14.0.4.2 **restoreCursorPosition** (bool):true **showMenuBar** (bool):true **showStatusBar** (bool):true **taggingShowNotesRecursively** (bool):false **tagsPanelHideSearch** (bool):false **tagsPanelOrder** (int):0 **tagsPanelSort** (int):0 **toolbar/1/items** (QStringList):action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionOpen_List **toolbar/1/name** (QString):mainToolBar **toolbar/1/title** (QString):barre d'outils principale **toolbar/2/items** (QStringList):actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote **toolbar/2/name** (QString):formattingToolbar **toolbar/2/title** (QString):barre d'outils de formatage **toolbar/3/items** (QStringList):actionInsert_Link_to_note, actionInsert_image, actionInsert_current_time **toolbar/3/name** (QString):insertingToolbar **toolbar/3/title** (QString):barre d'outils d'insertion **toolbar/4/items** (QStringList):action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note **toolbar/4/name** (QString):encryptionToolbar **toolbar/4/title** (QString):barre d'outils de chiffrement **toolbar/5/items** (QStringList):actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size **toolbar/5/name** (QString):windowToolbar **toolbar/5/title** (QString):barre d'outils de fenêtre **toolbar/6/items** (QStringList):action_Quit **toolbar/6/name** (QString):quitToolbar **toolbar/6/title** (QString):quitter la barre d’outils **toolbar/size** (int):6 **useUNIXNewline** (bool):false **workspace-initial/name** (QString):Minimal **workspace-initial/noteSubFolderDockWidgetVisible** (QString):true **workspace-initial/windowState** (QByteArray): **workspaces** (QStringList):initial`

System environment

COLORTERM: truecolor DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus DESKTOP_SESSION: xfce DISPLAY: :0.0 ENABLE_D_LOG: 0 ENABLE_SL_LOG: 0 GDMSESSION: xfce GLADE_CATALOG_PATH: : GLADE_MODULE_PATH: : GLADE_PIXMAP_PATH: : HOME: /home/user LANG: fr_FR.utf8 LOGNAME: user PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD: /home/user QT_ACCESSIBILITY: 1 SESSION_MANAGER: local/complexe:@/tmp/.ICE-unix/845,unix/complexe:/tmp/.ICE-unix/845 SHELL: /usr/bin/fish SHLVL: 1 SSH_AGENT_PID: 835 SSH_AUTH_SOCK: /tmp/ssh-pVEwOARLjkFD/agent.800 TERM: xterm-256color TILIX_ID: 0b0f39b6-6c33-47e5-b838-744f99386d35 USER: user VTE_VERSION: 5402 XAUTHORITY: /home/user/.Xauthority XDG_CONFIG_DIRS: /etc/xdg XDG_CURRENT_DESKTOP: XFCE XDG_DATA_DIRS: /usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share XDG_GREETER_DATA_DIR: /var/lib/lightdm/data/user XDG_MENU_PREFIX: xfce- XDG_RUNTIME_DIR: /run/user/1000 XDG_SEAT: seat0 XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP: xfce XDG_SESSION_ID: 1 XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE: x11 XDG_VTNR: 7 DM_LOCAL_HID_TIMEOUT_ENV: 20000 __DM_LOCAL_INTERVAL_ENV__: 1 DM_OEM_ENV: Lexmark DM_SANE_BACKEND_NAME_ENV: lexmark_nscan DM_SCAN_IMAGE_PARAM_ENV: --source='Flatbed' DM_SCAN_IMAGE_PATH_ENV: export SCAN_SCRIPT_PATH=/usr/lexscan/bin/; /usr/lexscan/bin/scanSaveToPHOTO.sh DM_VID_PID_PAIRS_ENV: empty

pbek commented 5 years ago

Are you sure your caldav url https://caldav.example.com/caldav.php/user/home is correct? There must be more messages in the log widget (are debug messages enabled in the widget?)

Glandos commented 5 years ago

I modified the output to mask my real server. But you're right, some debug logs were missing from the issue assistant:

[nov 27 16:16:03] [debug]: Reply from  "/caldav.php/user/home/"
[nov 27 16:16:03] [debug]: Reply from ownCloud calendar page "<?xml version="1.0" encoding="utf-8" ?>\n<multistatus xmlns="DAV:">\n <response>\n  <href>/caldav.php/user/home/6cd02b13-bf95-41d3-b796-dbf9baa294af.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"31915b56f02848e6b7cc841a2ac77173"</getetag>\n    <getlastmodified>Mon, 20 May 2013 09:38:08 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/3d90d49b-664b-4274-95d8-20c15d8a91c1.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"476550e3a6aa0e110125f6aeb88960ff"</getetag>\n    <getlastmodified>Fri, 03 Apr 2015 12:08:54 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/7023b092-400d-41a2-a08f-4375d6a1a85c.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"b0fecbddb83b595d29f08a09f7aee29b"</getetag>\n    <getlastmodified>Thu, 07 Jan 2016 16:26:44 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/80305bff-4195-48b6-8fb0-8e46f4fda48d.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"302cbb488b4a3351eed8079961615877"</getetag>\n    <getlastmodified>Wed, 29 Jul 2015 08:25:41 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/4bc4ed7b-ec9f-4c9b-b89a-8eeedcd546e6.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"66f8e65c60ebbc02491327affbbf0a00"</getetag>\n    <getlastmodified>Thu, 06 Aug 2015 12:33:46 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/b96afc16-ec19-4e06-8f83-e1fc917322c3.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"17f836b6e9d32952abc7823f3a37685f"</getetag>\n    <getlastmodified>Tue, 22 Dec 2015 22:05:19 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/e3974bdb-477d-454c-9ceb-de7e8e80562b.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"5036473a7d9199e5af5fe35e3826af4b"</getetag>\n    <getlastmodified>Mon, 06 Jun 2016 14:50:36 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/7d9943b0-9529-4453-9252-25f3eddee10d.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"0ba9b96908d63487f2cf5d51dd1b6eda"</getetag>\n    <getlastmodified>Mon, 28 Nov 2016 12:51:43 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/5590584b-2dac-48ac-98aa-a6dd24d7a80b.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"809437404398b902283e7b9a5bccd0d5"</getetag>\n    <getlastmodified>Mon, 28 Nov 2016 13:05:33 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/77511b42-ba19-45d3-921f-b346fa671ef1.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"1a1fccfa0b0f82c11f22b8661fad8fde"</getetag>\n    <getlastmodified>Mon, 02 Jan 2017 10:33:21 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/270e05ba-964f-42cf-8b8e-be59ccde5298.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"29bcdabf58626b01f62c8ee742a20483"</getetag>\n    <getlastmodified>Mon, 06 Mar 2017 15:02:57 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/440d1621-eea2-4bba-bac1-362db58649f8.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"b1e712e85a05e43687f5781cd963b618"</getetag>\n    <getlastmodified>Wed, 06 Jun 2018 20:17:26 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/52fa077a-3059-4d67-818c-b286ac75ea50.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"f91b1e8194f717498573495189cc60b5"</getetag>\n    <getlastmodified>Sun, 12 Mar 2017 17:12:04 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/35751883-362e-4f36-abb5-ac84f1517f60.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"75b32d84566d69f106972fb044221e70"</getetag>\n    <getlastmodified>Thu, 11 May 2017 08:18:29 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/2bd0757d-676e-4eb6-9532-8929e7246ff2.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"27d112dea36ff0e09faaacaa63ce8e09"</getetag>\n    <getlastmodified>Mon, 11 Jun 2018 20:44:17 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/4a98bc6a-0aae-49fa-803a-cc5c48a9e157.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"ba1006264651d2a7d4977d0c3fc05efc"</getetag>\n    <getlastmodified>Wed, 13 Dec 2017 13:23:49 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/81eb550f-3122-4bb5-9a16-608ef3d76108.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"de56fbe240508fab805464fb390807de"</getetag>\n    <getlastmodified>Mon, 01 Oct 2018 15:33:19 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/6ad16b87-49e6-4bdf-ac92-c555396d54e3.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"eb76a471d81cb18ae9adc7221a794d9a"</getetag>\n    <getlastmodified>Mon, 02 Jul 2018 20:34:09 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/c0182d15-6a61-4c25-a4ad-60eae0d06f99.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"b139ce71a148554d661406995196061c"</getetag>\n    <getlastmodified>Thu, 05 Jul 2018 08:50:06 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/36c799f1-0381-4e19-8304-c8b67eee8f56.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"c45d5f7c29361c9cff1678b28a497243"</getetag>\n    <getlastmodified>Thu, 28 Jun 2018 14:27:10 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/7f2d5969-4f37-4d1c-ac19-a8f42ddc55fb.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"2570ca6428197ebac0b35558ba11fb66"</getetag>\n    <getlastmodified>Fri, 20 Jul 2018 09:12:23 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/5c58ea23-bc2e-44d3-bbe1-29f15b16f458.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"499de62f0d980039a8615a32c4d37057"</getetag>\n    <getlastmodified>Thu, 26 Jul 2018 08:52:39 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/eea47c62-08ee-4593-882d-0e27e337a602.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"82e18263595e25fe45faa5a441b3b4dd"</getetag>\n    <getlastmodified>Wed, 19 Sep 2018 20:48:59 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/cc0d393c-6049-46c8-9af0-362deb239a66.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"dd6d1fad9d8338541f02c4a3a57ea268"</getetag>\n    <getlastmodified>Fri, 07 Sep 2018 13:01:04 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/ef4db2dc-20c2-47c5-bf1b-11092efe6c62.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"05b8ba53b3bf49f7a87fe8be319aec5c"</getetag>\n    <getlastmodified>Mon, 01 Oct 2018 08:49:58 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/qownnotes-4bd1437d-dcba-4368-a65e-777120463375.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"07249275554ab982340c97b2e63a5480"</getetag>\n    <getlastmodified>Mon, 26 Nov 2018 14:10:29 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/07e79c9d-79c8-4d98-b586-534652d4aa71.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"fbb4d294e365eb36a58ba17cf3dc3e6c"</getetag>\n    <getlastmodified>Mon, 15 Oct 2018 10:53:49 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/qownnotes-35cf6555-5076-44cb-9a49-ce933ee69131.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"c6df1e9128579a4b43bc220405174c8e"</getetag>\n    <getlastmodified>Mon, 26 Nov 2018 22:10:08 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/qownnotes-f69355b5-29f6-414f-b2fd-ff800412e100.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"7a2e41f412fada099b8dee7272ef921d"</getetag>\n    <getlastmodified>Mon, 26 Nov 2018 22:10:17 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/b1d66fa9-10ca-42a8-ab3e-84983d935ed8.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"11e961db1c831c1f4e657d678e695aba"</getetag>\n    <getlastmodified>Tue, 20 Nov 2018 09:26:46 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n</multistatus>\n"
[nov 27 16:16:03] [debug]: parseCalendarData  - 'data':  "<?xml version="1.0" encoding="utf-8" ?>\n<multistatus xmlns="DAV:">\n <response>\n  <href>/caldav.php/user/home/6cd02b13-bf95-41d3-b796-dbf9baa294af.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"31915b56f02848e6b7cc841a2ac77173"</getetag>\n    <getlastmodified>Mon, 20 May 2013 09:38:08 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/3d90d49b-664b-4274-95d8-20c15d8a91c1.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"476550e3a6aa0e110125f6aeb88960ff"</getetag>\n    <getlastmodified>Fri, 03 Apr 2015 12:08:54 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/7023b092-400d-41a2-a08f-4375d6a1a85c.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"b0fecbddb83b595d29f08a09f7aee29b"</getetag>\n    <getlastmodified>Thu, 07 Jan 2016 16:26:44 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/80305bff-4195-48b6-8fb0-8e46f4fda48d.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"302cbb488b4a3351eed8079961615877"</getetag>\n    <getlastmodified>Wed, 29 Jul 2015 08:25:41 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/4bc4ed7b-ec9f-4c9b-b89a-8eeedcd546e6.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"66f8e65c60ebbc02491327affbbf0a00"</getetag>\n    <getlastmodified>Thu, 06 Aug 2015 12:33:46 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/b96afc16-ec19-4e06-8f83-e1fc917322c3.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"17f836b6e9d32952abc7823f3a37685f"</getetag>\n    <getlastmodified>Tue, 22 Dec 2015 22:05:19 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/e3974bdb-477d-454c-9ceb-de7e8e80562b.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"5036473a7d9199e5af5fe35e3826af4b"</getetag>\n    <getlastmodified>Mon, 06 Jun 2016 14:50:36 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/7d9943b0-9529-4453-9252-25f3eddee10d.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"0ba9b96908d63487f2cf5d51dd1b6eda"</getetag>\n    <getlastmodified>Mon, 28 Nov 2016 12:51:43 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/5590584b-2dac-48ac-98aa-a6dd24d7a80b.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"809437404398b902283e7b9a5bccd0d5"</getetag>\n    <getlastmodified>Mon, 28 Nov 2016 13:05:33 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/77511b42-ba19-45d3-921f-b346fa671ef1.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"1a1fccfa0b0f82c11f22b8661fad8fde"</getetag>\n    <getlastmodified>Mon, 02 Jan 2017 10:33:21 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/270e05ba-964f-42cf-8b8e-be59ccde5298.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"29bcdabf58626b01f62c8ee742a20483"</getetag>\n    <getlastmodified>Mon, 06 Mar 2017 15:02:57 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/440d1621-eea2-4bba-bac1-362db58649f8.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"b1e712e85a05e43687f5781cd963b618"</getetag>\n    <getlastmodified>Wed, 06 Jun 2018 20:17:26 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/52fa077a-3059-4d67-818c-b286ac75ea50.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"f91b1e8194f717498573495189cc60b5"</getetag>\n    <getlastmodified>Sun, 12 Mar 2017 17:12:04 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/35751883-362e-4f36-abb5-ac84f1517f60.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"75b32d84566d69f106972fb044221e70"</getetag>\n    <getlastmodified>Thu, 11 May 2017 08:18:29 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/2bd0757d-676e-4eb6-9532-8929e7246ff2.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"27d112dea36ff0e09faaacaa63ce8e09"</getetag>\n    <getlastmodified>Mon, 11 Jun 2018 20:44:17 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/4a98bc6a-0aae-49fa-803a-cc5c48a9e157.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"ba1006264651d2a7d4977d0c3fc05efc"</getetag>\n    <getlastmodified>Wed, 13 Dec 2017 13:23:49 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/81eb550f-3122-4bb5-9a16-608ef3d76108.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"de56fbe240508fab805464fb390807de"</getetag>\n    <getlastmodified>Mon, 01 Oct 2018 15:33:19 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/6ad16b87-49e6-4bdf-ac92-c555396d54e3.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"eb76a471d81cb18ae9adc7221a794d9a"</getetag>\n    <getlastmodified>Mon, 02 Jul 2018 20:34:09 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/c0182d15-6a61-4c25-a4ad-60eae0d06f99.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"b139ce71a148554d661406995196061c"</getetag>\n    <getlastmodified>Thu, 05 Jul 2018 08:50:06 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/36c799f1-0381-4e19-8304-c8b67eee8f56.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"c45d5f7c29361c9cff1678b28a497243"</getetag>\n    <getlastmodified>Thu, 28 Jun 2018 14:27:10 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/7f2d5969-4f37-4d1c-ac19-a8f42ddc55fb.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"2570ca6428197ebac0b35558ba11fb66"</getetag>\n    <getlastmodified>Fri, 20 Jul 2018 09:12:23 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/5c58ea23-bc2e-44d3-bbe1-29f15b16f458.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"499de62f0d980039a8615a32c4d37057"</getetag>\n    <getlastmodified>Thu, 26 Jul 2018 08:52:39 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/eea47c62-08ee-4593-882d-0e27e337a602.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"82e18263595e25fe45faa5a441b3b4dd"</getetag>\n    <getlastmodified>Wed, 19 Sep 2018 20:48:59 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/cc0d393c-6049-46c8-9af0-362deb239a66.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"dd6d1fad9d8338541f02c4a3a57ea268"</getetag>\n    <getlastmodified>Fri, 07 Sep 2018 13:01:04 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/ef4db2dc-20c2-47c5-bf1b-11092efe6c62.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"05b8ba53b3bf49f7a87fe8be319aec5c"</getetag>\n    <getlastmodified>Mon, 01 Oct 2018 08:49:58 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/qownnotes-4bd1437d-dcba-4368-a65e-777120463375.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"07249275554ab982340c97b2e63a5480"</getetag>\n    <getlastmodified>Mon, 26 Nov 2018 14:10:29 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/07e79c9d-79c8-4d98-b586-534652d4aa71.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"fbb4d294e365eb36a58ba17cf3dc3e6c"</getetag>\n    <getlastmodified>Mon, 15 Oct 2018 10:53:49 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/qownnotes-35cf6555-5076-44cb-9a49-ce933ee69131.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"c6df1e9128579a4b43bc220405174c8e"</getetag>\n    <getlastmodified>Mon, 26 Nov 2018 22:10:08 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/qownnotes-f69355b5-29f6-414f-b2fd-ff800412e100.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"7a2e41f412fada099b8dee7272ef921d"</getetag>\n    <getlastmodified>Mon, 26 Nov 2018 22:10:17 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n <response>\n  <href>/caldav.php/user/home/b1d66fa9-10ca-42a8-ab3e-84983d935ed8.ics</href>\n  <propstat>\n   <prop>\n    <getetag>"11e961db1c831c1f4e657d678e695aba"</getetag>\n    <getlastmodified>Tue, 20 Nov 2018 09:26:46 GMT</getlastmodified>\n   </prop>\n   <status>HTTP/1.1 200 OK</status>\n  </propstat>\n </response>\n</multistatus>\n"

And nothing else… When I click on "Refresh" or "Clean cache and refresh", the log is the same, but the task list stays empty. And no other request is made to the server.

pbek commented 5 years ago

Well, at least some data is returned. You could check /home/user/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite if there are any calendar items imported (you would need a sqlite database tool for that).

Glandos commented 5 years ago

The table calendarItem is empty after clicking on the reload button. After trying to add an item (using the "Search or create item" field), it adds an entry in this table, and I'm able to see the task in Lightning (the Thunderbird addon). But it's still invisible in QOwnNotes UI.

pbek commented 5 years ago

That means that a least pushing items to the server works but it seems davical does something different when pulling items down

Glandos commented 5 years ago

I just tested with a Radicale instance. There is exactly the same behavior.

It seems that the CalDAV standard is not currently well implemented in some parts of QOwnNotes.

pbek commented 5 years ago

It is working for ownCloud / Nextcloud and some other CalDav providers. If you find some flaw in https://github.com/pbek/QOwnNotes/blob/develop/src/services/owncloudservice.cpp or https://github.com/pbek/QOwnNotes/blob/develop/src/entities/calendaritem.cpp please let me know. There you will find the CalDAV implementation.

pbek commented 5 years ago

I will close this issue until there is more information.