Skip to content
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

VNote 1.14 failed on start (AppImage/Linux) #185

Closed
ghost opened this issue Apr 3, 2018 · 11 comments
Closed

VNote 1.14 failed on start (AppImage/Linux) #185

ghost opened this issue Apr 3, 2018 · 11 comments

Comments

@ghost
Copy link

ghost commented Apr 3, 2018

Version: 1.14 (release), AppImage
OS: Debian 9 "Stable", x86_64 (64bit)

VNote failed on start.

Log:

$ ./VNote_x86_64_1.14.AppImage
use user config "/home/mint/.config/vnote/vnote.ini"
user config: "global/theme" QVariant(QString, "v_material")
user config: "global/editor_style" QVariant(QString, "")
user config: "global/css_style" QVariant(QString, "")
user config: "global/code_block_css_style" QVariant(QString, "")
default config: "global/welcome_page_path" QVariant(QString, ":/resources/welcome.html")
user config: "global/markdown_converter" QVariant(QString, "2")
default config: "global/tab_stop_width" QVariant(QString, "4")
default config: "global/is_expand_tab" QVariant(QString, "true")
user config: "global/highlight_cursor_line" QVariant(QString, "false")
default config: "global/highlight_selected_word" QVariant(QString, "true")
default config: "global/highlight_searched_word" QVariant(QString, "true")
default config: "global/auto_indent" QVariant(QString, "true")
default config: "global/auto_list" QVariant(QString, "true")
default config: "global/custom_colors" QVariant(QStringList, ("White:#FFFFFF", "LightGrey:#EEEEEE"))
user config: "global/current_background_color" QVariant(QString, "System")
use editor style file "/home/mint/.config/vnote/themes/v_material/v_material.mdhl"
read file content: "/home/mint/.config/vnote/themes/v_material/v_material.mdhl"
matched font family "WenQuanYi Micro Hei"
unimplemented editor attr type: 2
matched font family "Andale Mono"
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
matched font family "Andale Mono"
unimplemented format attr type: 6
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
matched font family "Andale Mono"
user config: "global/current_render_background_color" QVariant(QString, "System")
default config: "global/find_case_sensitive" QVariant(Invalid)
default config: "global/find_whole_word_only" QVariant(Invalid)
default config: "global/find_regular_expression" QVariant(Invalid)
default config: "global/find_incremental_search" QVariant(Invalid)
default config: "global/language" QVariant(QString, "System")
default config: "global/enable_mermaid" QVariant(QString, "false")
default config: "global/enable_flowchart" QVariant(QString, "false")
user config: "global/enable_mathjax" QVariant(QString, "true")
user config: "global/web_zoom_factor" QVariant(QString, "-1")
user config: "global/web_zoom_factor" QVariant(QString, "-1")
set WebZoomFactor to 1.02083
default config: "global/enable_code_block_highlight" QVariant(QString, "true")
default config: "global/enable_preview_images" QVariant(QString, "true")
default config: "global/enable_preview_image_constraint" QVariant(QString, "false")
user config: "global/enable_image_constraint" QVariant(QString, "true")
user config: "global/enable_image_caption" QVariant(QString, "false")
user config: "global/image_folder" QVariant(QString, "_v_images")
user config: "global/external_image_folder" QVariant(QString, "_v_images")
user config: "global/attachment_folder" QVariant(QString, "_v_attachments")
default config: "global/enable_trailing_space_highlight" QVariant(QString, "true")
user config: "global/enable_vim_mode" QVariant(QString, "false")
default config: "global/enable_smart_im_in_vim_mode" QVariant(QString, "true")
user config: "global/editor_line_number" QVariant(QString, "0")
user config: "global/minimize_to_system_tray" QVariant(QString, "1")
override user shortcuts settings using default settings
captain mode shortcuts: QHash(("ActivateNextTab", "J")("ActivateTab1", "1")("ActivateTab2", "2")("ActivateTab3", "3")("MoveTabSplitRight", "Shift+L")("ActivateTab4", "4")("ActivateTab5", "5")("RemoveSplit", "R")("ActivateTab6", "6")("ActivateTab7", "7")("ActivateTab8", "8")("ActivateTab9", "9")("OnePanelView", "P")("ToolsDock", "T")("DiscardAndRead", "Q")("ActivateSplitLeft", "H")("ExpandMode", "E")("ActivateSplitRight", "L")("LocateCurrentFile", "D")("OpenedFileList", "F")("MoveTabSplitLeft", "Shift+H")("ApplySnippet", "S")("ShortcutsHelp", "?")("ActivatePreviousTab", "K")("Export", "O")("MagicWord", "M")("SearchDock", "C")("CloseNote", "X")("AlternateTab", "0")("NavigationMode", "W")("VerticalSplit", "V")("AttachmentList", "A")("FlushLogFile", ";"))
default config: "global/markdown_suffix" QVariant(QStringList, ("md", "markdown", "mkd"))
doc suffixes QHash((2, ("ls", "list"))(3, ("co", "container", "con"))(0, ("html"))(1, ("md", "markdown", "mkd")))
default config: "global/markdown_highlight_interval" QVariant(QString, "400")
default config: "global/line_distance_height" QVariant(QString, "3")
default config: "global/insert_title_from_note_name" QVariant(QString, "true")
default config: "global/note_open_mode" QVariant(QString, "0")
default config: "global/heading_sequence_type" QVariant(QString, "0")
default config: "global/heading_sequence_base_level" QVariant(QString, "1")
default config: "global/color_column" QVariant(QString, "0")
default config: "global/enable_code_block_line_number" QVariant(QString, "false")
default config: "global/tool_bar_icon_size" QVariant(QString, "18")
default config: "web/markdownit_opt" QVariant(QStringList, ("html", "linkify"))
default config: "global/recycle_bin_folder" QVariant(QString, "_v_recycle_bin")
default config: "global/external_recycle_bin_folder" QVariant(QString, "_v_recycle_bin")
default config: "global/confirm_images_clean_up" QVariant(QString, "true")
default config: "global/confirm_reload_folder" QVariant(QString, "true")
default config: "web/mathjax_javascript" QVariant(QString, "https://cdn.bootcss.com/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_HTMLorMML")
default config: "global/double_click_close_tab" QVariant(QString, "true")
user config: "global/enable_compact_mode" QVariant(QString, "true")
user config: "global/startup_page_type" QVariant(QString, "1")
default config: "global/startup_pages" QVariant(QString, "")
default config: "global/file_timer_interval" QVariant(QString, "2000")
default config: "global/backup_directory" QVariant(QString, ".")
default config: "global/backup_extension" QVariant(QString, ".vswp")
default config: "global/vim_exemption_keys" QVariant(QString, "cv")
default config: "global/close_before_external_editor" QVariant(QString, "true")
default config: "web/styles_to_inline_when_copied" QVariant(QStringList, ("all$border:color:display:font-family:font-size:font-style:white-space:word-spacing:line-height:text-align:text-indent:padding-top:padding-bottom:margin-top:margin-bottom:background-color:font-weight", "code$font-family:font-size:line-height:color:display:overfow-x:background-color:font-weight", "li$line-height:background-color:font-weight", "a$color:vertical-align:background-color:font-weight", "pre$display:overflow-y:overflow-x:color:font-size:font-style:font-weight:letter-spacing:text-align:text-indent:word-spacing:background-color"))
default config: "global/single_click_close_previous_tab" QVariant(QString, "false")
default config: "web/enable_flash_anchor" QVariant(QString, "true")
[5268:5288:0403/233108.020954:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/mint/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[5268:5288:0403/233108.021111:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[5268:5288:0403/233108.021254:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0
#0 0x7fe7e57f63ae <unknown>
#1 0x7fe7e58064b7 <unknown>
#2 0x7fe7e5fd768d <unknown>
#3 0x7fe7e5fd7ba0 <unknown>
#4 0x7fe7e5f06c75 <unknown>
#5 0x7fe7e5df38a7 <unknown>
#6 0x7fe7e5dbfb67 <unknown>
#7 0x7fe7e4f3f52a <unknown>
#8 0x7fe7e4f40a46 <unknown>
#9 0x7fe7e4f42bce <unknown>
#10 0x7fe7e5122207 <unknown>
#11 0x7fe7e544421f <unknown>
#12 0x7fe7e586a5a3 <unknown>
#13 0x7fe7e580fb90 <unknown>
#14 0x7fe7e581199d <unknown>
#15 0x7fe7e5812896 <unknown>
#16 0x7fe7e5813210 <unknown>
#17 0x7fe7e580ef92 <unknown>
#18 0x7fe7e582a9d8 <unknown>
#19 0x7fe7e51571f5 <unknown>
#20 0x7fe7e515762b <unknown>
#21 0x7fe7e58425f6 <unknown>
#22 0x7fe7e583e8ad <unknown>
#23 0x7fe7e242e494 start_thread
#24 0x7fe7e2b8baff clone

[5294:5294:0100/000000.407537:ERROR:broker_posix.cc(41)] Invalid node channel message
Received signal 7 BUS_ADRERR 7f92d36a5190
Aborted
@tamlok
Copy link
Member

tamlok commented Apr 3, 2018

Hi, did 1.13 work on Debian 9?

@ghost
Copy link
Author

ghost commented Apr 3, 2018

did 1.13 work on Debian 9

Yes, VNote 1.13 previously work like a charm

@tamlok
Copy link
Member

tamlok commented Apr 4, 2018

It may related to this issue probonopd/linuxdeployqt#35 . You could uncompress the appimage and delete that so file to have a try. I will try to fix it in the appimage.

Thanks!

@ghost
Copy link
Author

ghost commented Apr 4, 2018

and delete that so file

Which of them? In referenced issue are many different .so-files names

I will try to fix it in the appimage.

I hope you could upload fixed AppImage as soon as possible

@tamlok
Copy link
Member

tamlok commented Apr 4, 2018

Hi, I installed a Debian 9 in a VM and VNote works fine in it. :)

From your log:

[5268:5288:0403/233108.020954:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/mint/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[5268:5288:0403/233108.021111:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[5268:5288:0403/233108.021254:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0

So libsoftokn3.so is missing. I suggest you could try the following steps:

  1. Install it by sudo apt-get install libnss3;
  2. If it does not work, try this:
sudo ln -s /usr/lib/nss/libfreebl3.so /usr/lib/libfreebl3.so
sudo ln -s /usr/lib/nss/libsoftokn3.so /usr/lib/libsoftokn3.so
  1. If it still does not work, try this:
./VNote_x86_64_1.14.AppImage --appimage-extract

Then CD into the extracted directory, find libnss3.so in usr/lib and delete it. Then try to run ./AppRun in the root folder of the extracted directory.

@ghost
Copy link
Author

ghost commented Apr 4, 2018

  1. Install it by sudo apt-get install libnss3;

I already have it.

  1. If it does not work, try this:
sudo ln -s /usr/lib/nss/libfreebl3.so /usr/lib/libfreebl3.so
sudo ln -s /usr/lib/nss/libsoftokn3.so /usr/lib/libsoftokn3.so

This does not help!

If it still does not work, try this:

./VNote_x86_64_1.14.AppImage --appimage-extract

Then CD into the extracted directory, find libnss3.so in usr/lib and delete it. Then try to run ./AppRun in the root folder of the extracted directory.

This help!

But, if just double-click on ./AppRun for execute - look like failed on start.

If execute ./AppRun throw terminal - then it run, but in console output some issues (related to unimplemented, etc.) logged. Here is log (from start to quit from app throw VNote menu)

$ ./AppRun
use user config "/home/mint/.config/vnote/vnote.ini"
user config: "global/theme" QVariant(QString, "v_material")
user config: "global/editor_style" QVariant(QString, "")
user config: "global/css_style" QVariant(QString, "")
user config: "global/code_block_css_style" QVariant(QString, "")
default config: "global/welcome_page_path" QVariant(QString, ":/resources/welcome.html")
user config: "global/markdown_converter" QVariant(QString, "2")
default config: "global/tab_stop_width" QVariant(QString, "4")
default config: "global/is_expand_tab" QVariant(QString, "true")
user config: "global/highlight_cursor_line" QVariant(QString, "false")
default config: "global/highlight_selected_word" QVariant(QString, "true")
default config: "global/highlight_searched_word" QVariant(QString, "true")
default config: "global/auto_indent" QVariant(QString, "true")
default config: "global/auto_list" QVariant(QString, "true")
default config: "global/custom_colors" QVariant(QStringList, ("White:#FFFFFF", "LightGrey:#EEEEEE"))
user config: "global/current_background_color" QVariant(QString, "System")
use editor style file "/home/mint/.config/vnote/themes/v_material/v_material.mdhl"
read file content: "/home/mint/.config/vnote/themes/v_material/v_material.mdhl"
matched font family "WenQuanYi Micro Hei"
unimplemented editor attr type: 2
matched font family "Andale Mono"
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
matched font family "Andale Mono"
unimplemented format attr type: 6
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
unimplemented format attr type: 7
matched font family "Andale Mono"
user config: "global/current_render_background_color" QVariant(QString, "System")
default config: "global/find_case_sensitive" QVariant(Invalid)
default config: "global/find_whole_word_only" QVariant(Invalid)
default config: "global/find_regular_expression" QVariant(Invalid)
default config: "global/find_incremental_search" QVariant(Invalid)
default config: "global/language" QVariant(QString, "System")
default config: "global/enable_mermaid" QVariant(QString, "false")
default config: "global/enable_flowchart" QVariant(QString, "false")
user config: "global/enable_mathjax" QVariant(QString, "true")
user config: "global/web_zoom_factor" QVariant(QString, "-1")
user config: "global/web_zoom_factor" QVariant(QString, "-1")
set WebZoomFactor to 1.02083
default config: "global/enable_code_block_highlight" QVariant(QString, "true")
default config: "global/enable_preview_images" QVariant(QString, "true")
default config: "global/enable_preview_image_constraint" QVariant(QString, "false")
user config: "global/enable_image_constraint" QVariant(QString, "true")
user config: "global/enable_image_caption" QVariant(QString, "false")
user config: "global/image_folder" QVariant(QString, "_v_images")
user config: "global/external_image_folder" QVariant(QString, "_v_images")
user config: "global/attachment_folder" QVariant(QString, "_v_attachments")
default config: "global/enable_trailing_space_highlight" QVariant(QString, "true")
user config: "global/enable_vim_mode" QVariant(QString, "false")
default config: "global/enable_smart_im_in_vim_mode" QVariant(QString, "true")
user config: "global/editor_line_number" QVariant(QString, "0")
user config: "global/minimize_to_system_tray" QVariant(QString, "1")
override user shortcuts settings using default settings
captain mode shortcuts: QHash(("ToolsDock", "T")("ApplySnippet", "S")("Export", "O")("ActivateSplitRight", "L")("ExpandMode", "E")("NavigationMode", "W")("AttachmentList", "A")("AlternateTab", "0")("ShortcutsHelp", "?")("RemoveSplit", "R")("VerticalSplit", "V")("FlushLogFile", ";")("MoveTabSplitRight", "Shift+L")("ActivateTab1", "1")("DiscardAndRead", "Q")("ActivateTab2", "2")("ActivateNextTab", "J")("ActivateTab3", "3")("ActivateTab4", "4")("CloseNote", "X")("ActivateTab5", "5")("ActivatePreviousTab", "K")("ActivateTab6", "6")("ActivateTab7", "7")("MoveTabSplitLeft", "Shift+H")("OpenedFileList", "F")("ActivateTab8", "8")("MagicWord", "M")("ActivateTab9", "9")("OnePanelView", "P")("ActivateSplitLeft", "H")("SearchDock", "C")("LocateCurrentFile", "D"))
default config: "global/markdown_suffix" QVariant(QStringList, ("md", "markdown", "mkd"))
doc suffixes QHash((0, ("html"))(1, ("md", "markdown", "mkd"))(2, ("ls", "list"))(3, ("co", "container", "con")))
default config: "global/markdown_highlight_interval" QVariant(QString, "400")
default config: "global/line_distance_height" QVariant(QString, "3")
default config: "global/insert_title_from_note_name" QVariant(QString, "true")
default config: "global/note_open_mode" QVariant(QString, "0")
default config: "global/heading_sequence_type" QVariant(QString, "0")
default config: "global/heading_sequence_base_level" QVariant(QString, "1")
default config: "global/color_column" QVariant(QString, "0")
default config: "global/enable_code_block_line_number" QVariant(QString, "false")
default config: "global/tool_bar_icon_size" QVariant(QString, "18")
default config: "web/markdownit_opt" QVariant(QStringList, ("html", "linkify"))
default config: "global/recycle_bin_folder" QVariant(QString, "_v_recycle_bin")
default config: "global/external_recycle_bin_folder" QVariant(QString, "_v_recycle_bin")
default config: "global/confirm_images_clean_up" QVariant(QString, "true")
default config: "global/confirm_reload_folder" QVariant(QString, "true")
default config: "web/mathjax_javascript" QVariant(QString, "https://cdn.bootcss.com/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_HTMLorMML")
default config: "global/double_click_close_tab" QVariant(QString, "true")
user config: "global/enable_compact_mode" QVariant(QString, "true")
user config: "global/startup_page_type" QVariant(QString, "1")
default config: "global/startup_pages" QVariant(QString, "")
default config: "global/file_timer_interval" QVariant(QString, "2000")
default config: "global/backup_directory" QVariant(QString, ".")
default config: "global/backup_extension" QVariant(QString, ".vswp")
default config: "global/vim_exemption_keys" QVariant(QString, "cv")
default config: "global/close_before_external_editor" QVariant(QString, "true")
default config: "web/styles_to_inline_when_copied" QVariant(QStringList, ("all$border:color:display:font-family:font-size:font-style:white-space:word-spacing:line-height:text-align:text-indent:padding-top:padding-bottom:margin-top:margin-bottom:background-color:font-weight", "code$font-family:font-size:line-height:color:display:overfow-x:background-color:font-weight", "li$line-height:background-color:font-weight", "a$color:vertical-align:background-color:font-weight", "pre$display:overflow-y:overflow-x:color:font-size:font-style:font-weight:letter-spacing:text-align:text-indent:word-spacing:background-color"))
default config: "global/single_click_close_previous_tab" QVariant(QString, "false")
default config: "web/enable_flash_anchor" QVariant(QString, "true")
$ 

So, what do next?

@tamlok
Copy link
Member

tamlok commented Apr 4, 2018

OK! Thanks for your feedback! The log is fine. I will fix the AppImage now.

@tamlok
Copy link
Member

tamlok commented Apr 5, 2018

Already fixed! Please re-download it from the release page. :)

Thanks!

@bbsteel
Copy link

bbsteel commented Apr 5, 2018

same problem and same error log also appear in my ubuntu 16.04

[13933:13959:0405/104011.819486:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/xc/.pki/nssdb): libsoftokn3.so: 无法打开共享对象文件: 没有那个文件或目录
[13933:13959:0405/104011.819560:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[13933:13959:0405/104011.819572:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0

extract the AppImage and delete libnss3.so in sub dir usr/lib can fix this.

@tamlok
Copy link
Member

tamlok commented Apr 5, 2018

@bbsteel Please re-download it from release page or Baidu NetDisk. :) Thanks!

@bbsteel
Copy link

bbsteel commented Apr 5, 2018

Already try new release and it started successfully, thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants