Hi, i'm getting this error while trying to launch it on an ubuntu armhf machine. The app does not start.
Critical: SingleApplication: Unable to attach to shared memory block. ((null):0, (null))
Critical: "QSharedMemoryPrivate::initKey: unable to set key on lock" ((null):0, (null))
Any idea please ?
Interesting, no shared memory? Try to run QOwnNotes --allow-multiple-instances.
If that works you can turn off single application in the General settings. And can you then please post the dump from the Debug settings?
It works ! Thank you, I'll post the dump.
And can you then please post the dump from the Debug settings?
Settings / Debug
You posted log output. ;)
[d茅c 14 15:31:43] [warning]: QXcbShmImage: shmget() failed (38) for size 1702624 (1231x691)
haven't seen that before...
What device are you using? Doesn't it have shared memory?
I use a really strange configuration so it's a miracle the app is launching (linux ubuntu 16.04 container used via VNC, on android tablet with armhf cpu)
There is no dump option in the debug settings...
It's a chroot container.
can you please post the dump from the Debug settings? Menu: Note / Settings / Debug
I'm trying
There is no dump option in the debug settings...
there must be a huge block of text there :)
linux ubuntu 16.04 container used via VNC, on android tablet with armhf cpu
interesting setup indeed :)
I found the huge block of text, i'm just changing private information and I'll send it
Current Date: ven. d茅c. 14 15:41:02 2018
Version: 18.12.3
Build date: Dec 11 2018
Build number: 498
Platform: linux
Operating System: Ubuntu 16.04 LTS
Build architecture: arm
Current architecture: arm
Release: Launchpad PPA
Qt Version (build): 5.5.1
Qt Version (runtime): 5.5.1
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, --allow-multiple-instances
Qt Debug: 0
Locale (system): fr_FR
Locale (interface): empty
Icon theme: hicolor
Notes in current note folder: 721
Enabled scripts: 0
serverUrl: empty
appIsValid: yes
notesPathExists: empty
serverVersion: empty
appVersion: empty
currentNoteFolderId: 1
gggid: 1
isCurrent: yes
activeTagId: 0
localPath: /home/user/notes
remotePath: Notes
isShowSubfolders: yes
isUseGit: no
activeNoteSubFolder name: techno
database file: /home/user/notes/notes.sqlite
ActiveNoteHistoryItem (NoteHistoryItem): <binary data>
Debug/fakeOldVersionNumber (QString): false
Debug/fileLogging (QString): true
Editor/CurrentSchemaKey (QString): EditorColorSchema-6033d61b-cb96-46d5-a3a8-20d5172017eb
Editor/autoBracketClosing (QString): true
Editor/autoBracketRemoval (QString): true
Editor/editorWidthInDFMOnly (QString): true
Editor/highlightCurrentLine (QString): true
Editor/vimMode (QString): false
LastUpdateCheck (QDateTime): 2018-12-14T15:40:28
MainWindow/geometry (QByteArray): <binary data>
MainWindow/mainToolBar.iconSize (QString): 18
MainWindow/menuBarGeometry (QByteArray): <binary data>
MainWindow/noteTextEdit.code.font (QString): monospace,9,-1,2,50,0,0,0,0,0
MainWindow/noteTextEdit.font (QString): Sans Serif,9,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.code.font (QString): monospace,9,-1,2,50,0,0,0,0,0
MainWindow/noteTextView.font (QString): Sans Serif,9,-1,5,50,0,0,0,0,0
MainWindow/noteTextView.rtl (QString): false
MainWindow/showNotesFromAllNoteSubFolders (bool): false
NoteHistory-1 (QVariantList): <variant list with 4 item(s)>
NoteHistoryCurrentIndex-1 (QString): 3
PiwikClientId (QString): <hidden>
SearchEngineId (QString): 2
SettingsDialog/geometry (QByteArray): <binary data>
SettingsDialog/mainSplitterState (QByteArray): <binary data>
ShowSystemTray (QString): false
StartHidden (QString): false
WelcomeDialog/geometry (QByteArray): <binary data>
acceptAllExternalModifications (QString): false
allowDifferentNoteFileName (QString): false
allowNoteEditing (bool): true
allowOnlyOneAppInstance (QString): true
appMetrics/disableAppHeartbeat (QString): false
appMetrics/disableTracking (QString): false
appMetrics/notificationShown (QString): true
automaticNoteFolderDatabaseClosing (QString): false
closeTodoListAfterSave (QString): false
cryptoKey (QString): <hidden>
currentNoteFolderId (QString): 1
currentWorkspace (QString): initial
cursorWidth (QString): 1
customNoteFileExtensionList: empty
darkMode (QString): false
darkModeColors (QString): false
darkModeTrayIcon (QString): false
defaultNoteFileExtension (QString): md
disableAutomaticUpdateDialog (QString): true
dockWasInitializedOnce (QString): true
externalEditorPath (QString): empty
fullyHighlightedBlockquotes (QString): false
gitCommitInterval (QString): 30
gitExecutablePath (QString): empty
gitLogCommand (QString): empty
ignoreAllExternalModifications (QString): false
ignoreAllExternalNoteFolderChanges (QString): false
ignoreNoteSubFolders (QString): ^\.
imageScaleDown (QString): false
imageScaleDownMaximumHeight (QString): 1024
imageScaleDownMaximumWidth (QString): 1024
initialLayoutIdentifier (QString): minimal
insertTimeFormat (QString): empty
interfaceFontSize (QString): 11
interfaceLanguage (QString): empty
internalIconTheme (QString): false
itemHeight (QString): 16
localTrash/autoCleanupDays (QString): 30
localTrash/autoCleanupEnabled (QString): true
localTrash/supportEnabled (QString): true
markdownHighlightingEnabled (QString): true
networking/ignoreSSLErrors (QString): true
networking/proxyType (QString): 2
newNoteAskHeadline (QString): false
noteEditIsCentralWidget (QString): true
noteListPreview (QString): false
noteSaveIntervalTime (QString): 10
noteSubfoldersPanelDisplayAsFullTree (QString): true
noteSubfoldersPanelHideSearch (QString): false
noteSubfoldersPanelOrder (QString): 0
noteSubfoldersPanelShowFullPath (QString): false
noteSubfoldersPanelShowNotesRecursively (QString): false
noteSubfoldersPanelShowRootFolderName (QString): true
noteSubfoldersPanelSort (QString): 0
notesPanelOrder (QString): 0
notesPanelSort (QString): 1
notesPath (QString): /home/user/SDINT/media/0/notes
notifyAllExternalModifications (QString): false
overrideInterfaceFontSize (QString): false
ownCloud/password (QString): <hidden>
ownCloud/serverUrl (QString): empty
ownCloud/supportEnabled (QString): false
ownCloud/todoCalendarBackend (QString): 3
ownCloud/todoCalendarCalDAVPassword (QString): <hidden>
ownCloud/todoCalendarCalDAVServerUrl (QString): empty
ownCloud/todoCalendarCalDAVUsername (QString): empty
ownCloud/todoCalendarDisplayNameList: empty
ownCloud/todoCalendarEnabledList: empty
ownCloud/todoCalendarEnabledUrlList: empty
ownCloud/todoCalendarUrlList: empty
ownCloud/userName (QString): empty
ownCloudInfo/appIsValid (bool): true
ownCloudInfo/connectionErrorMessage (QString): empty
ownCloudInfo/notesPathExistsText (QString): empty
ownCloudInfo/serverVersion (QString): empty
restoreCursorPosition (QString): true
showMenuBar (bool): true
showStatusBar (bool): true
taggingShowNotesRecursively (QString): false
tagsPanelHideSearch (QString): false
tagsPanelOrder (QString): 0
tagsPanelSort (QString): 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 (QString): action_Quit
toolbar/6/name (QString): quitToolbar
toolbar/6/title (QString): quitter la barre d鈥檕utils
toolbar/size (QString): 6
useUNIXNewline (QString): false
workspace-initial/name (QString): Minimal
workspace-initial/noteSubFolderDockWidgetVisible (QString): true
workspace-initial/windowState (QByteArray): <binary data>
workspaces (QString): initial
TERM: xterm-256color
SHELL: /bin/bash
SSH_CLIENT: PRIVATE
SSH_TTY: /dev/pts/2
USER: user
LS_COLORS: rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MAIL: /var/mail/user
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD: /home/user
LANG: fr_FR.UTF-8
SHLVL: 1
HOME: /home/user
LOGNAME: user
SSH_CONNECTION: PRIVATE
LESSOPEN: | /usr/bin/lesspipe %s
DISPLAY: localhost:10.0
LESSCLOSE: /usr/bin/lesspipe %s %s
_: /usr/bin/QOwnNotes
QT_IM_MODULE: compose
Yes the setup is totally weird but excellent, I can have my linux desktop everywhere like that.
Thank you.
Usually shared memory should not be a problem on armhf. I wonder does top show any shared memory for you?
@adamsson6 I am the author of the SingleApplication library. Can you provide me the output of uname -a and lscpu. Thank you.
@adamsson6 there now is a new release, could you please test it and report if it works for you by turning single application mode on again and restarting QOwnNotes? The setting should then automatically be turned off again. I couldn't test it myself, I have no system where it fails. :smile:
Hi everybody sorry for the delay, nice to meet the developers of awesome pen-source aaps i'm using eveyday.
I tried thecnew version and it's working ! I think i'm the only one guy having a system where it fails lol.
I will answer to the other questions soon sorry.
lscpu and uname -a
root@localhost:~# uname - a
Linux localhost 3.4.0 #1 SMP PREEMPT Sun Sep 23 16:12:16 UTC 2018 armv7l armv7l armv7l GNU/Linux
root@localhost:~# lscpu
Architecture: armv7l
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0
Off-line CPU(s) list: 1-3
Thread(s) per core: 0
Core(s) per socket: 2
Socket(s): 1
CPU max MHz: 1728,0000
CPU min MHz: 384,0000
top command

Kernel 3.4 on armv7l. I'll try to reproduce it when I have time.
@adamsson6 Thanks a lot, mate.
Typically, it's an andorid device with a linux desktop installed with linuxdeploy
https://github.com/meefik/linuxdeploy
Thank you for developping cool stuff.
@adamsson6 there now is a new release, could you please test it and report if it works for you by turning single application mode on again and restarting QOwnNotes? The setting should then automatically be turned off again. I couldn't test it myself, I have no system where it fails.
were you already able to test the new release by chance?
any news @adamsson6?
It's working ! The new version works on ubuntu and debian ! Thank you !
Great, thank you for testing! Did you turn single application mode on again before you started the new release? You could simply also start QOwnNotes in a new session with QOwnNotes --session test.
I didn't changed anything so... I guess I didn't turned it on. I will try, sorry i'm late.
I also have another question : Is it possible to add a function to disable the web socket listening on port 22222 for security reasons ? May be I should open a new issue for that ? Thank you.
May be I should open a new issue for that ?
yes, please