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.68k stars 415 forks source link

after evernote import notes list doesn't refresh #1006

Closed kiuuik closed 6 years ago

kiuuik commented 6 years ago

[this is a continuation of the bottom of #998]

Here is the Windows Version:

qownnotes

Here is information from this windows version.

Do you need more/something else?

The problem occurs with all the enex files I imported. Here is one enex file that causes problems for me.

The problem also occurs in linux, see at the bottom of #998.

Output from the debug section in the settings dialog

QOwnNotes Debug Information
===========================

## General Info

**Current Date**: `So Aug 26 12:39:24 2018`
**Version**: `18.08.8`
**Build date**: `Aug 25 2018`
**Build number**: `3797`
**Platform**: `windows`
**Operating System**: `Windows 10 (10.0)`
**Build architecture**: `i386`
**Current architecture**: `x86_64`
**Release**: `AppVeyor`
**Qt Version (build)**: `5.10.1`
**Qt Version (runtime)**: `5.10.1`
**Portable mode**: `no`
**Settings path / key**: `\HKEY_CURRENT_USER\Software\PBE\QOwnNotes`
**Application database path**: `C:\Users\Held\AppData\Roaming\PBE\QOwnNotes\QOwnNotes.sqlite`
**Application arguments**: `C:\Users\Held\Desktop\QOwnNotes\QOwnNotes.exe`
**Qt Debug**: `0`
**Locale (system)**: `de_DE`
**Locale (interface)**: *empty*
**Icon theme**: `breeze-qownnotes`
**Notes in current note folder**: `4`
**Enabled scripts**: `0`

## Server Info

**serverUrl**: *empty*
**appIsValid**: `no`
**notesPathExists**: *empty*
**connectionErrorMessage**: *empty*

## Note folders

**currentNoteFolderId**: `1`

### Note folder `Standard`

**id**: `1`
**isCurrent**: `yes`
**activeTagId**: `0`
**localPath**: `C:\Users\Held\Nextcloud\Notes`
**remotePath**: `Notes`
**isShowSubfolders**: `no`
**isUseGit**: `no`
**activeNoteSubFolder name**: *empty*
**database file**: `C:\Users\Held\Nextcloud\Notes\notes.sqlite`

## Enabled scripts

## Settings

**AboutDialog/geometry**: `<binary data>`
**ActiveNoteHistoryItem**: *empty*
**Editor/CurrentSchemaKey**: `EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb`
**EvernoteImport/AttachmentImportCheckBoxChecked**: `true`
**EvernoteImport/ImageImportCheckBoxChecked**: `true`
**EvernoteImport/MetaDataUnCheckedList**: `, `
**EvernoteImportDialog/geometry**: `<binary data>`
**FileDialog/LastPath**: `C:/Users/Held/Desktop`
**FileDialog/LastPath-EvernoteImport**: `C:/Users/Held/Desktop`
**LastUpdateCheck**: `2018-08-26T12:34:55`
**MainWindow/geometry**: `<binary data>`
**MainWindow/mainToolBar.iconSize**: `24`
**MainWindow/menuBarGeometry**: `<binary data>`
**MainWindow/noteTextEdit.code.font**: `Courier New,9,-1,2,50,0,0,0,0,0`
**MainWindow/noteTextEdit.font**: `MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0`
**MainWindow/noteTextView.code.font**: `Courier New,9,-1,2,50,0,0,0,0,0`
**MainWindow/noteTextView.font**: `MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0`
**MainWindow/showNotesFromAllNoteSubFolders**: `true`
**PiwikClientId**: `<hidden>`
**SettingsDialog/geometry**: `<binary data>`
**WelcomeDialog/geometry**: `<binary data>`
**allowNoteEditing**: `true`
**appMetrics/notificationShown**: `true`
**cryptoKey**: `<hidden>`
**currentNoteFolderId**: `1`
**currentWorkspace**: `f5f013ce-047c-41c6-a5bb-80c8f00f587c`
**darkMode**: `false`
**demoNotesCreated**: `true`
**disableAutomaticUpdateDialog**: `false`
**dockWasInitializedOnce**: `true`
**itemHeight**: `15`
**markdownHighlightingEnabled**: `true`
**notesPath**: `C:/Users/Held/Nextcloud/Notes`
**ownCloud/supportEnabled**: `false`
**previousWorkspace**: `550182ab-caa0-4d4a-a5ca-31e3854308f2`
**showMenuBar**: `true`
**showStatusBar**: `true`
**workspace-550182ab-caa0-4d4a-a5ca-31e3854308f2/name**: `Minimal`
**workspace-550182ab-caa0-4d4a-a5ca-31e3854308f2/noteSubFolderDockWidgetVisible**: `true`
**workspace-550182ab-caa0-4d4a-a5ca-31e3854308f2/windowState**: `<binary data>`
**workspace-f5f013ce-047c-41c6-a5bb-80c8f00f587c/name**: `Vollständig`
**workspace-f5f013ce-047c-41c6-a5bb-80c8f00f587c/noteSubFolderDockWidgetVisible**: `true`
**workspace-f5f013ce-047c-41c6-a5bb-80c8f00f587c/windowState**: `<binary data>`
**workspaces**: `f5f013ce-047c-41c6-a5bb-80c8f00f587c, 550182ab-caa0-4d4a-a5ca-31e3854308f2`

## System environment

**ALLUSERSPROFILE**: `C:\ProgramData`
**APPDATA**: `C:\Users\Held\AppData\Roaming`
**asl.log**: `Destination=file`
**CommonProgramFiles**: `C:\Program Files (x86)\Common Files`
**CommonProgramFiles(x86)**: `C:\Program Files (x86)\Common Files`
**CommonProgramW6432**: `C:\Program Files\Common Files`
**COMPUTERNAME**: `HELD`
**ComSpec**: `C:\WINDOWS\system32\cmd.exe`
**DriverData**: `C:\Windows\System32\Drivers\DriverData`
**FPS_BROWSER_APP_PROFILE_STRING**: `Internet Explorer`
**FPS_BROWSER_USER_PROFILE_STRING**: `Default`
**FP_NO_HOST_CHECK**: `NO`
**FSHARPINSTALLDIR**: `C:\Program Files (x86)\Microsoft SDKs\F#\10.1\Framework\v4.0\`
**HOMEDRIVE**: `C:`
**HOMEPATH**: `\Users\Held`
**LOCALAPPDATA**: `C:\Users\Held\AppData\Local`
**LOGONSERVER**: `\\HELD`
**NUMBER_OF_PROCESSORS**: `3`
**OneDrive**: `C:\Users\Held\OneDrive`
**OS**: `Windows_NT`
**Path**: `C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Python27;C:\Users\Held\AppData\Roaming\Python\Python37\Scripts;C:\Users\Held\AppData\Roaming\Python\Python37\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Users\Held\AppData\Local\Microsoft\WindowsApps;`
**PATHEXT**: `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC`
**PROCESSOR_ARCHITECTURE**: `x86`
**PROCESSOR_ARCHITEW6432**: `AMD64`
**PROCESSOR_IDENTIFIER**: `Intel64 Family 6 Model 58 Stepping 9, GenuineIntel`
**PROCESSOR_LEVEL**: `6`
**PROCESSOR_REVISION**: `3a09`
**ProgramData**: `C:\ProgramData`
**ProgramFiles**: `C:\Program Files (x86)`
**ProgramFiles(x86)**: `C:\Program Files (x86)`
**ProgramW6432**: `C:\Program Files`
**PSModulePath**: `C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\`
**PUBLIC**: `C:\Users\Public`
**SESSIONNAME**: `Console`
**SystemDrive**: `C:`
**SystemRoot**: `C:\WINDOWS`
**TEMP**: `C:\Users\Held\AppData\Local\Temp`
**TMP**: `C:\Users\Held\AppData\Local\Temp`
**USERDOMAIN**: `held`
**USERDOMAIN_ROAMINGPROFILE**: `held`
**USERNAME**: `Held`
**USERPROFILE**: `C:\Users\Held`
**windir**: `C:\WINDOWS`

Relevant log output in the Log panel

in the options I have all optons enabled:

[12:47:45] [debug] handleNoteTextFileName - 'name' was changed: "Table of Contents for test"
[12:47:45] [debug] storing note file: "Table of Contents for test.md"
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:45] [debug] setupNoteFolderTables - 'database version': 13
[12:47:45] [debug] updateNoteText: true
[12:47:45] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:45] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:45] [debug] handleNoteTextFileName - 'name' was changed: "Test"
[12:47:45] [debug] storing note file: "Test.md"
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:45] [debug] setupNoteFolderTables - 'database version': 13
[12:47:45] [debug] updateNoteText: true
[12:47:45] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:45] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:45] [debug] setupNoteFolderTables - 'database version': 13
[12:47:45] [debug] updateNoteText: true
[12:47:45] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:45] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:45] [debug] setupNoteFolderTables - 'database version': 13
[12:47:45] [debug] updateNoteText: true
[12:47:45] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:45] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:45] [debug] setupNoteFolderTables - 'database version': 13
[12:47:45] [debug] updateNoteText: true
[12:47:45] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:45] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:45] [debug] setupNoteFolderTables - 'database version': 13
[12:47:45] [debug] updateNoteText: true
[12:47:45] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:45] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:45] [debug] setupNoteFolderTables - 'database version': 13
[12:47:45] [debug] updateNoteText: true
[12:47:45] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:45] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:45] [debug] handleNoteTextFileName - 'name' was changed: "two"
[12:47:45] [debug] storing note file: "two.md"
[12:47:45] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:45] [status] Notizordner wurde extern verändert
[12:47:45] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] handleNoteTextFileName - 'name' was changed: "one"
[12:47:46] [debug] storing note file: "one.md"
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:46] [debug] notesDirectoryWasModified: "C:/Users/Held/Nextcloud/Notes"
[12:47:46] [status] Notizordner wurde extern verändert
[12:47:46] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:46] [debug] setupNoteFolderTables - 'database version': 13
[12:47:46] [debug] updateNoteText: true
[12:47:46] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:46] [warning] QTextCursor::setPosition: Position '19' out of range
[12:47:50] [debug] buildNotesIndex - 'noteSubFolderId': 0
[12:47:50] [debug] setupNoteFolderTables - 'database version': 13
[12:47:52] [debug] storing note file: ""
[12:47:52] [critical] "Notiz-Datei konnte nicht gespeichert werden: C:/Users/Held/Nextcloud/Notes/ - Fehlermeldung: The system cannot find the path specified."
[12:47:52] [status] Aktuelle Notiz konnte nicht auf der Festplatte gespeichert werden
[12:47:52] [debug] loadNoteDirectoryList
[12:47:52] [debug] reloadTagTree
[12:47:52] [debug] reloadTagTree - 'noteSubFolderIds': (-1)
[12:47:52] [debug] setCurrentNote - 'note': Note: <id>0 <name>"" <fileName>"" <noteSubFolderId>0 <relativePath>"" <hasDirtyData>false - 'updateNoteText': true - 'updateSelectedNote': true
[12:47:52] [warning] QTextCursor::setPosition: Position '19' out of range
pbek commented 6 years ago

Thank you, I hope I can reproduce that somewhere. So far I couldn't.

pbek commented 6 years ago

so far it worked on KDE Neon and macOS for me...

pbek commented 6 years ago

I could see that once under Windows, but the next times it was reloaded automatically...

pbek commented 6 years ago

18.08.11

pbek commented 6 years ago

There now is a new release, could you please test it and report if it works for you?

kiuuik commented 6 years ago

I have done some imports on windows and linux and now I can't reproduce the problems I had. So it seems to be fixed. Thanks for your great work and dedication. I guess it can be closed?

pbek commented 6 years ago

Yes, thank you for testing! :)