Closed gal064 closed 8 months ago
Open QT settings
Do you mean "QOwnNotes settings"?
Warning: "Removed database file: " "/Users/aaa/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite" (:0, )
That's not a message from QOwnNotes. Is anything else on your system deleting the file?
When I restart QOwnNotes after a change in settings a terminal window is opened. This is where the message is coming from, so I'd be surprised if it's unrelated to QOwnNotes
You can search for it in the source code yourself: https://github.com/search?q=repo%3Apbek%2FQOwnNotes%20%22Removed%20database%20file%22&type=code
The same goes for everything after that warning ("Saving session..." and so on). That's not from QOwnNotes either...
Yep understood but it's a window that launched following me launching QOwnNotes. My guess is that it comes from a 3p library you import or related to how Mac handles the software.
There is no 3rd party library for macos I'm aware of.
OK so not sure what's going on. Great software, btw. Where are the settings stored?
It consistently happen were settings are deleted every time I make a settings change which require a reset
Thank you. 😉 You can see the path in the debug settings. Currently there should only be two ways to reset the settings, with a CLI parameter and with a button in the general settings
I have exactly the same problem on an Apple M1 chip. When I change some settings in QOwnNotes the settings are deleted and I lose my current configuration.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Expected behaviour
When reloading the app following a change in settings that requires a reload (eg add a dictionary), everything's working
Actual behaviour
Settings are reset, I see the wizard screen again and settings start from scratch.
I see these in the terminal window Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)) Warning: libpng warning: iCCP: known incorrect sRGB profile ((null):0, (null)
Last login: Mon Dec 11 11:05:24 on ttys021 /Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes ; exit;
/Users/aaa :/Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes ; exit; Warning: "Removed database file: " "/Users/aaa/Library/Application Support/PBE/QOwnNotes/QOwnNotes.sqlite" (:0, )
Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.
[Process completed]
Steps to reproduce
Relevant log output in the Log panel
Expand
``` ```Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Mon Dec 11 11:34:48 2023` **Version**: `23.11.3` **Build date**: `Nov 23 2023` **Build number**: `1064` **Platform**: `macosx` **Operating System**: `macOS 13.5` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `GitHub Actions` **Qt Version (build)**: `5.15.2` **Qt Version (runtime)**: `5.15.2` **Portable mode**: `no` **Application arguments**: `/Applications/QOwnNotes.app/Contents/MacOS/QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `en_US` **Locale (interface)**: *empty* **Primary screen resolution**: `1920x1080` **Screen resolution(s)**: `1920x1080, 1512x982` **Icon theme**: `breeze-qownnotes` **Notes in current note folder**: `641` **Calendar items**: `0` **Enabled scripts**: `0` ## Server Info **serverUrl**: *empty* **appIsValid**: `no` **notesPathExists**: *empty* **connectionErrorMessage**: *empty* ## Spellchecking **Enabled**: `true` **Selected language**: `en_US` **Language codes**: `en_US` **Language names**: `American English (United States)` **Application dictionaries path**: `/Users/aaa/Library/Application Support/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `2` ### Note folder `default` **id**: `1` **isCurrent**: `no` **activeTagId**: `9` **localPath**: `/Users/aaa/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/Users/aaa/Notes/notes.sqlite` ### Note folder `default` **id**: `2` **isCurrent**: `yes` **activeTagId**: `0` **localPath**: `/Users/a/Downloads/untitled folder` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `no` **isUseGit**: `no` **allowDifferentNoteFileName**: `no` **activeNoteSubFolder name**: *empty* **database file**: `/Users/aaa/Downloads/untitled folder/notes.sqlite` ## Cloud connections ### Cloud connection `Default` **id**: `1` **isCurrent**: `yes` **serverUrl**: *empty* **username**: *empty* **accountId**: *empty* ## Enabled scripts ## Settings **AKLastEmailListRequestDateKey** (QDateTime): `2023-12-11T09:20:32.655` **AKLastIDMSEnvironment** (qlonglong): `0` **AKLastLocale** (QString): `en_US` **ActiveNoteHistoryItem** (NoteHistoryItem): `