-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
Joplin Import - No folders, Broken links, Empty attributes #3175
Comments
Thank you. I'll look into that. |
Replace Joplin export method "RAW - Joplin Export Directory" with "MD - Markdown" and place the export files into QOwnNotes directory. Move the png files in the |
This is where the magic happens, if anyone wants to have a go at the code: https://github.com/pbek/QOwnNotes/blob/main/src/dialogs/joplinimportdialog.cpp |
So the code is in C++ which I would need to learn in order to work on the code. I've heard it's the most efficient programming language and the most popular after Python, the second most inefficient. Fortunately, there are a lot of free C++ compilers. Is this a good one? https://www.onlinegdb.com/online_c++_compiler |
Depends on which platform you are on. Working with QtCreator is an easy choice... |
If you have installed the Nix package manager, you can also do https://github.com/pbek/QOwnNotes/blob/main/webpage/src/installation/building.md#building-with-nix. |
I have Linux Mint package manager which has a QtCreator flatpak which is a big package for my dozen-year-old computer but I'll see how it goes. Thanks. |
😅 Or you can go the nix route... |
I've read from Arch users that NIX lacks documentation and Arch is easier! If that's the case, I'll stick with Linux Mint which is very lean on my old machine. 😉 |
I was just talking about nix, the package manager, not NixOS. I wouldn't want to work without nix and direnv, even on Ubuntu and Arch... |
Linux Mint has |
With nix you can create an environment with all tools, settings and even services for a project, like https://github.com/pbek/QOwnNotes/blob/main/shell.nix. In the case of QOwnNotes, you just type |
Great job! 💪🏻🚀 |
Wow, that simplifies the process! I'm taking notes. 😉 |
These are the folders that were created for me: Maybe that's an issue with the Flatpak version of QOwnNotes? 🤔 Have you tried the AppImage or something else? |
How would a dialog after the import helping in users not closing the dialog before that? |
That's very hard to support, because the note names will be determined when the note file generated locally, so there is no way to know the name of the other note. |
That's why they go into the frontmatter of the Markdown file. But just uncheck |
Unfortunately, I only tried the Flatpak version. |
Good point. Then it's not needed but it would be nice to be notified when complete - just a nice touch. |
This is great software and I appreciate your effort! I've been looking for note taking apps for months and have decided to go the database route instead of the file system route. MD notes saved via the file system seems more portable with easy access but gets slower with increasing note quantity and more prone to mishaps (broken links, orphan file names, duplicates, unprotected Metadata, etc.) compared to keeping in an open source database which exports MD. |
Thank you. |
You're absolutely right because I noticed with exports that some data always needs fixing and with a huge database it would become a very cumbersome, time-consuming fix. So if I go the file system route, the folders must contain fewer notes and more linkage to other folder notes so that I can open the folders seperately without slowing the software when involving thousands of notes. Good points. |
This issue is stale because it has been open for 30 days with no activity. |
Joplin 3.1.20 Flatpak Export3.zip
Expected behaviour
Actual behaviour
Steps to reproduce
Steps to reproduce the behavior:
Output from the debug section in the settings dialog
Expand
QOwnNotes Debug Information ===========================General Info
Current Date:
Mon Dec 9 23:59:31 2024
Version:
24.12.1
Build date:
Dec 5 2024
Build number:
1143
Platform:
linux (xcb)
Operating System:
KDE Flatpak runtime
Build architecture:
x86_64
Current architecture:
x86_64
Release:
GitHub
Qt Version (build):
5.15.10
Qt Version (runtime):
5.15.10
Portable mode:
no
Settings path / key:
/home/pops/.var/app/org.qownnotes.QOwnNotes/config/PBE/QOwnNotes.conf
Application database path:
/home/pops/.var/app/org.qownnotes.QOwnNotes/data/PBE/QOwnNotes/QOwnNotes.sqlite
Application arguments:
QOwnNotes
Qt Debug:
0
Locale (system):
en_US
Locale (interface): empty
Primary screen resolution:
1920x1080
Screen resolution(s):
1920x1080, 1920x1080
Icon theme:
Mint-Y-Sand
Notes in current note folder:
817
Calendar items:
0
Enabled scripts:
1
Database drivers:
QSQLITE
Server Info
serverUrl: empty
appIsValid:
no
notesPathExists: empty
connectionErrorMessage: empty
Spellchecking
Enabled:
true
Selected language:
auto
Language codes:
en_AU, en_BS, en_BZ, en_CA, en_GB, en_GH, en_IE, en_IL, en_IN, en_JM, en_MW, en_NA, en_NZ, en_PH, en_TT, en_US, en_ZA, en_ZW
Language names:
Australian English (Australia), English (Bahamas), English (Belize), Canadian English (Canada), British English (United Kingdom), English (Ghana), English (Ireland), English (Israel), English (India), English (Jamaica), English (Malawi), English (Namibia), English (New Zealand), English (Philippines), English (Trinidad & Tobago), American English (United States), English (South Africa), English (Zimbabwe)
Application dictionaries path:
/home/pops/.var/app/org.qownnotes.QOwnNotes/data/PBE/QOwnNotes/dicts
Note folders
currentNoteFolderId:
1
Note folder
default
id:
1
isCurrent:
yes
activeTagId:
-1
localPath:
/home/pops/Downloads/QOwnNotes
remotePath:
Notes
cloudConnectionId:
1
isShowSubfolders:
yes
isUseGit:
no
allowDifferentNoteFileName:
yes
activeNoteSubFolder name:
UN
database file:
/home/pops/Downloads/QOwnNotes/notes.sqlite
Cloud connections
Cloud connection
Default
id:
1
isCurrent:
yes
serverUrl: empty
username: empty
accountId: empty
Enabled scripts
Script
Mermaid Diagrams
id:
1
path:
/home/pops/.var/app/org.qownnotes.QOwnNotes/data/PBE/QOwnNotes/scripts/mermaid/mermaid.qml
variablesJson:
identifier:
mermaid
version:
0.0.4
minAppVersion:
22.1.1
Settings
AboutDialog/geometry (QByteArray):
<binary data>
ActiveNoteHistoryItem (NoteHistoryItem):
<binary data>
Debug/fakeOldVersionNumber (QString):
false
Debug/fileLogging: empty
Editor/CurrentSchemaKey (QString):
EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb
Editor/autoBracketClosing (QString):
true
Editor/autoBracketRemoval (QString):
true
Editor/disableCursorBlinking (QString):
false
Editor/editorWidthInDFMOnly (QString):
true
Editor/highlightCurrentLine (QString):
true
Editor/indentSize (QString):
4
Editor/removeTrailingSpaces (QString):
false
Editor/showLineNumbers (QString):
false
Editor/useTabIndent (QString):
true
Editor/vimMode (QString):
false
FileDialog/LastPath (QString):
/home/pops/Desktop/Temp
FileDialog/LastPath-Joplin Import (QString):
/home/pops/Desktop/Temp
JoplinImport/AttachmentImportCheckBoxChecked (QString):
true
JoplinImport/FolderImportCheckBoxChecked (QString):
false
JoplinImport/ImageImportCheckBoxChecked (QString):
true
JoplinImport/MetadataImportCheckBoxChecked (QString):
true
JoplinImport/TagImportCheckBoxChecked (QString):
true
JoplinImportDialog/geometry (QByteArray):
<binary data>
LastUpdateCheck (QDateTime):
2024-12-09T23:59:05.150
LinkDialog/geometry (QByteArray):
<binary data>
LocalTrashDialog/geometry (QByteArray):
<binary data>
MainWindow/geometry (QByteArray):
<binary data>
MainWindow/mainToolBar.iconSize (QString):
28
MainWindow/menuBarGeometry (QByteArray):
<binary data>
MainWindow/noteSubFolderTreeWidgetExpandState-1 (QStringList):
God/Bible/Noah cursed Canaan, Import, Temp, Temp/Utils, Temp/Utils/Testing Note Apps, Temp/Utils/Testing Note Apps/Logseq, Pending/Transactions, Government/Local/Licenses, Utils/Testing Note Apps, Houses/Braintree, Government/Constitution, Satan/International Bankers/CFR_Bilderbergers, Satan/International Bankers/CFR_Bilderbergers/UN/_Wars_, Satan/International Bankers/CFR_Bilderbergers/UN/Fallacies, Satan/International Bankers/CFR_Bilderbergers/UN, Satan/International Bankers
MainWindow/noteTextEdit.code.font (QString):
monospace,10,-1,2,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString):
Ubuntu,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):
Ubuntu,10,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.ignoreCodeFontSize (QString):
true
MainWindow/noteTextView.refreshDebounceTime (QString):
600
MainWindow/noteTextView.rtl (QString):
false
MainWindow/noteTextView.underline (QString):
false
MainWindow/noteTextView.useEditorStyles (QString):
true
MainWindow/noteTextView.useInternalExportStyling (QString):
true
MainWindow/showNotesFromAllNoteSubFolders (QString):
false
MessageBoxOverride/delete-attachment-files (QString):
16384
MessageBoxOverride/delete-image-files (QString):
16384
MessageBoxOverride/local-trash-notes-removed (QString):
1024
MessageBoxOverride/local-trash-notes-restored (QString):
1024
MessageBoxOverride/local-trash-remove-notes (QString):
16384
MessageBoxOverride/local-trash-restore-notes (QString):
16384
MessageBoxOverride/move-notes (QString):
16384
MessageBoxOverride/remove-folders (QString):
16384
MessageBoxOverride/remove-script (QString):
16384
MessageBoxOverride/remove-tags (QString):
16384
MessageBoxOverride/script-install-successful (QString):
1024
NoteFolder-1/NoteTabNameList (QString):
Hunger
NoteFolder-1/NoteTabStickinessList: empty
NoteFolder-1/NoteTabSubFolderPathDataList (QString):
God
NoteFolder-1/allowDifferentNoteFileName (bool):
true
NoteHistory-1 (QVariantList):
<variant list with 61 item(s)>
NoteHistoryCurrentIndex-1 (QString):
57
PiwikClientId (QString):
<hidden>
ScriptRepositoryDialog/geometry (QByteArray):
<binary data>
ScriptRepositoryDialog/mainSplitterState (QByteArray):
<binary data>
SearchEngineId (QString):
2
SettingsDialog/geometry (QByteArray):
<binary data>
SettingsDialog/mainSplitterState (QByteArray):
<binary data>
ShareDialog/geometry (QByteArray):
<binary data>
Shortcuts/MainWindow-customAction_exportWebsite (QString): empty
ShowSystemTray (QString):
false
StartHidden (QString):
false
StoredAttachmentsDialog/geometry (QByteArray):
<binary data>
StoredImagesDialog/geometry (QByteArray):
<binary data>
WelcomeDialog/geometry (QByteArray):
<binary data>
acceptAllExternalModifications (QString):
false
ai/enabled (QString):
false
ai/groq/apiKey (QString):
<hidden>
ai/openai/apiKey (QString):
<hidden>
allowNoteEditing (bool):
true
allowOnlyOneAppInstance (QString):
true
appMetrics/disableAppHeartbeat (QString):
true
appMetrics/disableTracking (QString):
true
appMetrics/notificationShown (QString):
true
autoReadOnlyMode (QString):
false
autoReadOnlyModeTimeout (QString):
30
automaticNoteFolderDatabaseClosing (QString):
false
checkSpelling (bool):
true
closeTodoListAfterSave (QString):
false
cryptoKey (QString):
<hidden>
currentNoteFolderId (QString):
1
currentWorkspace (QString):
initial
cursorWidth (QString):
1
darkMode (QString):
false
darkModeColors (QString):
false
darkModeIconTheme (QString):
false
darkModeTrayIcon (QString):
false
defaultNoteFileExtension (QString):
md
demoNotesCreated (QString):
true
disableAutomaticUpdateDialog (QString):
true
disableSavedSearchesAutoCompletion (QString):
false
dockWasInitializedOnce (QString):
true
enableNoteTree (QString):
true
enableSocketServer (QString):
true
enableWebAppSupport (QString):
false
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (QString):
false
gitCommitInterval (QString):
30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
guiFirstRunInit (bool):
true
ignoreAllExternalModifications (QString):
false
ignoreAllExternalNoteFolderChanges (QString):
false
ignoreNoteSubFolders (QString):
^\.
ignoredNoteFiles (QString): empty
imageScaleDown (QString):
false
imageScaleDownMaximumHeight (QString):
1024
imageScaleDownMaximumWidth (QString):
1024
initialLayoutIdentifier (QString):
full
insertTimeFormat (QString): empty
interfaceFontSize (QString):
11
interfaceLanguage (QString): empty
internalIconTheme (QString):
false
itemHeight (QString):
17
legacyLinking (QString):
false
localTrash/autoCleanupDays (QString):
1
localTrash/autoCleanupEnabled (QString):
true
localTrash/supportEnabled (QString):
true
localTrashSplitterSizes (QByteArray):
<binary data>
markdownHighlightingEnabled (QString):
true
maxNoteFileSize (QString):
1046528
navigationPanelAutoSelect (QString):
true
navigationPanelHideSearch (QString):
false
networking/ignoreSSLErrors (QString):
true
networking/proxyType (QString):
2
newNoteAskHeadline (QString):
false
noteEditIsCentralWidget (QString):
true
noteFileExtensionList (QStringList):
md, txt
noteListPreview (QString):
false
noteSaveIntervalTime (QString):
10
noteSubfoldersPanelDisplayAsFullTree (QString):
true
noteSubfoldersPanelHideSearch (QString):
false
noteSubfoldersPanelOrder (QString):
0
noteSubfoldersPanelShowFullPath (QString):
false
noteSubfoldersPanelShowNotesRecursively (QString):
true
noteSubfoldersPanelShowRootFolderName (QString):
false
noteSubfoldersPanelSort (QString):
0
noteSubfoldersPanelTabsUnsetAllNotesSelection (QString):
false
notesPanelOrder (QString):
0
notesPanelSort (QString):
0
notesPath (QString):
/home/pops/Downloads/QOwnNotes
notifyAllExternalModifications (QString):
false
overrideInterfaceFontSize (QString):
false
ownCloud/supportEnabled (QString):
false
ownCloud/todoCalendarBackend (QString):
1
ownCloud/todoCalendarCalDAVPassword (QString):
<hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarCloudConnectionId (QString):
1
ownCloud/todoCalendarDisplayNameList: empty
ownCloud/todoCalendarEnabledList: empty
ownCloud/todoCalendarEnabledUrlList: empty
ownCloud/todoCalendarUrlList: empty
ownCloudInfo/appIsValid (bool):
false
ownCloudInfo/connectionErrorMessage (QString): empty
ownCloudInfo/notesPathExistsText (QString): empty
ownCloudInfo/serverVersion (QString): empty
restoreCursorPosition (QString):
true
restoreLastNoteAtStartup (QString):
true
restoreNoteTabs (QString):
false
showMatches (QString):
true
showMenuBar (bool):
true
showStatusBar (bool):
true
showStatusBarNotePath (QString):
true
showStatusBarRelativeNotePath (QString):
false
spellCheckLanguage (QString):
auto
startInReadOnlyMode (QString):
false
systemIconTheme (QString):
false
taggingShowNotesRecursively (QString):
false
tagsPanelHideNoteCount (QString):
true
tagsPanelHideSearch (QString):
false
tagsPanelOrder (QString):
0
tagsPanelSort (QString):
0
todoCalendarSupport (QString):
false
toolbar/1/items (QStringList):
actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote, actionToggle_text_case
toolbar/1/name (QString):
formattingToolbar
toolbar/1/title (QString):
formatting toolbar
toolbar/2/items (QStringList):
actionInsert_text_link, actionInsert_image, actionInsert_current_time
toolbar/2/name (QString):
insertingToolbar
toolbar/2/title (QString):
inserting toolbar
toolbar/3/items (QStringList):
action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note
toolbar/3/name (QString):
encryptionToolbar
toolbar/3/title (QString):
encryption toolbar
toolbar/4/items: empty
toolbar/4/name (QString):
aiToolbar
toolbar/4/title (QString):
AI toolbar
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):
window toolbar
toolbar/6/items (QString):
action_Quit
toolbar/6/name (QString):
quitToolbar
toolbar/6/title (QString):
quit toolbar
toolbar/7/items (QString):
action_Quit
toolbar/7/name (QString):
quitToolbar
toolbar/7/title (QString):
quit toolbar
toolbar/size (QString):
7
useNoteFolderButtons (QString):
false
useUNIXNewline (QString):
false
webAppClientService/serverUrl (QString):
wss://app.qownnotes.org
webAppClientService/token (QString):
<hidden>
webSocketServerService/bookmarksNoteName (QString): empty
webSocketServerService/bookmarksTag (QString):
bookmarks
webSocketServerService/commandSnippetsNoteName (QString):
Commands
webSocketServerService/commandSnippetsTag (QString):
commands
webSocketServerService/port (QString):
22222
workspace-initial/name (QString):
Modified
workspace-initial/noteSubFolderDockWidgetVisible (QString):
true
workspace-initial/windowState (QByteArray):
<binary data>
workspaces (QString):
initial
System environment
XDG_RUNTIME_DIR:
/run/user/1000
container:
flatpak
ALSA_CONFIG_DIR:
/usr/share/alsa
ALSA_CONFIG_PATH:
/usr/share/alsa/alsa-flatpak.conf
AT_SPI_BUS_ADDRESS:
unix:path=/run/flatpak/at-spi-bus
CINNAMON_VERSION:
6.2.9
DBUS_SESSION_BUS_ADDRESS:
unix:path=/run/flatpak/bus
DESKTOP_SESSION:
cinnamon
DISPLAY:
:0
FLATPAK_ID:
org.qownnotes.QOwnNotes
FLATPAK_SANDBOX_DIR:
/home/pops/.var/app/org.qownnotes.QOwnNotes/sandbox
GDMSESSION:
cinnamon
GDM_LANG:
en_US
GIO_LAUNCHED_DESKTOP_FILE:
/var/lib/flatpak/exports/share/applications/org.qownnotes.QOwnNotes.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID:
11208
GI_TYPELIB_PATH:
/app/lib/girepository-1.0
GJS_DEBUG_OUTPUT:
stderr
GJS_DEBUG_TOPICS:
JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID:
this-is-deprecated
GPG_AGENT_INFO:
/run/user/1000/gnupg/S.gpg-agent:0:1
GST_PLUGIN_PATH:
/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
GTK3_MODULES:
xapp-gtk3-module
GTK_MODULES:
gail:atk-bridge
HOME:
/home/pops
KDE_FORK_SLAVES:
1
LANG:
en_US.UTF-8
LANGUAGE:
en_US
LD_LIBRARY_PATH: empty
LIBVIRT_DEFAULT_URI:
qemu:///system
LOGNAME:
pops
PATH:
/app/bin:/usr/bin
PS1:
[📦 $FLATPAK_ID \W]\$
PWD:
/home/pops
PYTHONUSERBASE:
/var/data/python
QML2_IMPORT_PATH:
/app/lib64/qml:/app/lib/qml
QT_ACCESSIBILITY:
1
QT_PLUGIN_PATH:
/app/lib64/plugins:/app/lib/plugins:/usr/share/runtime/lib/plugins
SESSION_MANAGER:
local/pops-pc:@/tmp/.ICE-unix/1758,unix/pops-pc:/tmp/.ICE-unix/1758
SHELL:
/bin/sh
SHLVL:
0
SSH_AUTH_SOCK:
/run/user/1000/keyring/ssh
USER:
pops
XAUTHORITY:
/run/flatpak/Xauthority
XDG_ACTIVATION_TOKEN:
cinnamon/QOwnNotes/2141-13-pops-pc_TIME8952414
XDG_CACHE_HOME:
/home/pops/.var/app/org.qownnotes.QOwnNotes/cache
XDG_CONFIG_DIRS:
/app/etc/xdg:/etc/xdg
XDG_CONFIG_HOME:
/home/pops/.var/app/org.qownnotes.QOwnNotes/config
XDG_CURRENT_DESKTOP:
X-Cinnamon
XDG_DATA_DIRS:
/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
XDG_DATA_HOME:
/home/pops/.var/app/org.qownnotes.QOwnNotes/data
XDG_GREETER_DATA_DIR:
/var/lib/lightdm-data/pops
XDG_SEAT:
seat0
XDG_SEAT_PATH:
/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS:
user
XDG_SESSION_DESKTOP:
cinnamon
XDG_SESSION_ID:
c2
XDG_SESSION_PATH:
/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE:
x11
XDG_STATE_HOME:
/home/pops/.var/app/org.qownnotes.QOwnNotes/.local/state
XDG_VTNR:
7
__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS:
/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d
Relevant log output in the Log panel
(If this is needed, I'll provide later.)
Expand
The text was updated successfully, but these errors were encountered: