KeepNote could not load my notebook in KeepNote format (.nbk)

I already installed KeepNote thanks to the help of this forum. Now KeepNote does not open my KeepNote files, that were created on my old debian based distro I get the error:

Could not load notebook '/home/jose/O/1d/Block de Notas General'.

I checked ownership and is correct, owner/group is jose the user with sudo that I am using.

Any idea?
Thanks

1 Like

Something more in Error log?

Spaces aloud in filenames?

You open a GUI with sudo?

2 Likes

Thanks @SGS here the output of the error file, unfortunately I do not understand that:

/home/jose/.config/keepnote/error-log.txt.bak

==============================================
KeepNote 0.7.8: Tue Sep 15 20:07:39 2020
enabling extension 'notebook_http'
enabling extension 'backup_tar'
enabling extension 'new_file'
enabling extension 'editor_insert_date'
enabling extension 'command_basics'
enabling extension 'export_html'
enabling extension 'python_prompt'
enabling extension 'keepnote'
==============================================
KeepNote 0.7.8: Tue Sep 15 20:14:41 2020
** stderr - unavailable for messages - IOError: [Errno 32] TuberĂ­a rota

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/keepnote/gui/__init__.py", line 568, in func
    notebook.load(filename, conn)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/__init__.py", line 1405, in load
    attr = self._conn.read_node(self._conn.get_rootid())
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 888, in get_rootid
    return self._read_root()["nodeid"]
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 775, in _read_root
    attr = self._read_node(None, self._filename)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 978, in _read_node
    current, mtime = self._node_index_current(nodeid, path)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 995, in _node_index_current
    index_mtime = self._index.get_node_mtime(nodeid)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/index.py", line 311, in get_node_mtime
    WHERE nodeid=?""", (nodeid,))
DatabaseError: database disk image is malformed
==============================================
KeepNote 0.7.8: Tue Sep 15 20:19:07 2020
enabling extension 'notebook_http'
enabling extension 'backup_tar'
enabling extension 'new_file'
enabling extension 'editor_insert_date'
enabling extension 'command_basics'
enabling extension 'export_html'
enabling extension 'python_prompt'
enabling extension 'keepnote'
==============================================
KeepNote 0.7.8: Tue Sep 15 20:20:07 2020
** stderr - unavailable for messages - IOError: [Errno 32] TuberĂ­a rota
enabling extension 'notebook_http'
enabling extension 'backup_tar'
enabling extension 'new_file'
enabling extension 'editor_insert_date'
enabling extension 'command_basics'
enabling extension 'export_html'
enabling extension 'python_prompt'
enabling extension 'keepnote'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/keepnote/gui/__init__.py", line 568, in func
    notebook.load(filename, conn)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/__init__.py", line 1405, in load
    attr = self._conn.read_node(self._conn.get_rootid())
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 888, in get_rootid
    return self._read_root()["nodeid"]
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 775, in _read_root
    attr = self._read_node(None, self._filename)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 978, in _read_node
    current, mtime = self._node_index_current(nodeid, path)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/__init__.py", line 995, in _node_index_current
    index_mtime = self._index.get_node_mtime(nodeid)
  File "/usr/lib/python2.7/site-packages/keepnote/notebook/connection/fs/index.py", line 311, in get_node_mtime
    WHERE nodeid=?""", (nodeid,))
DatabaseError: database disk image is malformed
==============================================
KeepNote 0.7.8: Tue Sep 15 20:36:59 2020
enabling extension 'notebook_http'
enabling extension 'backup_tar'
enabling extension 'new_file'
enabling extension 'editor_insert_date'
enabling extension 'command_basics'
enabling extension 'export_html'
enabling extension 'python_prompt'
enabling extension 'keepnote'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/keepnote/gui/main_window.py", line 1102, in view_error_log
    self._app.run_external_app("text_editor", filename2)
  File "/usr/lib/python2.7/site-packages/keepnote/__init__.py", line 1044, in run_external_app
    raise KeepNoteError(_("Must specify '%s' program in Helper Applications" % app.title))
KeepNoteError: Must specify 'Text Editor' program in Helper Applications

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/keepnote/gui/main_window.py", line 1102, in view_error_log
    self._app.run_external_app("text_editor", filename2)
  File "/usr/lib/python2.7/site-packages/keepnote/__init__.py", line 1044, in run_external_app
    raise KeepNoteError(_("Must specify '%s' program in Helper Applications" % app.title))
KeepNoteError: Must specify 'Text Editor' program in Helper Applications

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/keepnote/gui/main_window.py", line 1113, in view_config_files
    self._app.run_external_app("file_explorer", filename)
  File "/usr/lib/python2.7/site-packages/keepnote/__init__.py", line 1044, in run_external_app
    raise KeepNoteError(_("Must specify '%s' program in Helper Applications" % app.title))
KeepNoteError: Must specify 'File Explorer' program in Helper Applications

Last was setting text app is not set like geany/kate.
Is internet connection needed?

If I try to load .nbk I can only move it from file browser in a window from KeepNote.
The file browser in KeepNote does not work.
Now it does not open :slight_smile:

Erweiterung 'notebook_http' aktivieren
Erweiterung 'backup_tar' aktivieren
Erweiterung 'new_file' aktivieren
Erweiterung 'editor_insert_date' aktivieren
Erweiterung 'command_basics' aktivieren
Erweiterung 'export_html' aktivieren
Erweiterung 'python_prompt' aktivieren
Erweiterung 'keepnote' aktivieren
Unmanaged change detected. Reindexing '/home/sgs/Dokumente/KeepNote/test 1'

So start KeepNote from terminal and look what happend.

Again my question.

Thanks SGS I opened with sudo from terminal and all buttons and menu appeared, from KDE launcher, does not appear icons and menu, only from sudo on terminal, but navigating the directory structure everything is gray, Keepnote is unable to load any file. It looks to some kind of permission problem. But I am not able to troubleshoot that, sorry.

$ LANG=C sudo keepnote
[sudo] password for jose:

==============================================
KeepNote 0.7.8: Tue Sep 15 21:08:01 2020
/root/.gtkrc-2.0:16: error: unexpected character ':', expected keyword - e.g. `style'
/usr/lib/python2.7/site-packages/keepnote/gui/icons.py:97: GtkWarning: Unable to locate theme engine in module_path: "adwaita",
self.theme = gtk.icon_theme_get_default()
enabling extension 'notebook_http'
enabling extension 'backup_tar'
enabling extension 'new_file'
enabling extension 'editor_insert_date'
enabling extension 'command_basics'
enabling extension 'export_html'
enabling extension 'python_prompt'
enabling extension 'keepnote'

I open the app without sudo and it work accept the internal file browser.

same here.

so issue by developer?

GitHub - josephkingstone/keepnote: Quick and Dirty Penetration…

Quick and Dirty Penetration Testing Notes. Contribute to josephkingstone/keepnote development by creating an account on GitHub.
GitHub - mdrasmus/keepnote: Note-taking and organization app

Note-taking and organization app. Contribute to mdrasmus/keepnote development by creating an account on GitHub.
GitHub - dileepkm6/KeepNote-step1-solution

Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects Want to be notified of new releases in dileepkm6/KeepNote-step1-solution?

So you must ask them :slight_smile:

2 Likes

Never open a GUI app as sudo!!!

I cant explain well but trust me, that is mor risky then the AUR :wink:

2 Likes

Thanks for the warning, that is not the official version, that version is not original KeepNote, the last stable version was 0.7.8 and the AUR is 0.7.8.4 is altered version.

KeepNote 0.7.8: keepnote-0.7.8.exe (Windows Installer)
2012.3.26KeepNote 0.7.8: keepnote-0.7.8.tar.gz (platform indenpendent)
2012.3.26KeepNote 0.7.8: keepnote_0.7.8-1_all.deb (Linux Debian Package)
2012.3.26KeepNote 0.7.8: keepnote-0.7.8-1.noarch.rpm (Linux RPM)
2012.3.26KeepNote 0.7.8: keepnote-0.7.8.ebuild (Linux Gentoo ebuild)

@SGS I appreciate a lot your time in helping me. I only need to be able to convert one of those official packages the .deb or the tar.gz or the .rpm to Arch that is all. Do you think it is possible? Is there an application to do that in an easy way?
This is my last challenge to be at home with Garuda. I will not bother you more if I can run KeepNote smoothly.
Thanks and regards SGS

1 Like

I could not not help with the .deb thing but
I am sure you will find a tutorial in web if you search for deb to pkg or something :wink: :slight_smile:

I found it how to convert .deb to Arch, is in my original post, but I got the error of wrong architecture:

And it is frustrating reading the issue tracker of KeepNote project since February exist this same issue, it is a pity seeing such a wonderful software abandoned, If I were a programmer I would try to contribute to make it stable again.

Thanks a lot for your kind help SGS :+1:

1 Like

The project is abandoned 4-5 years ago.
Your only option is to find another one that can import your notes in some way.

There are several. I use Joplin. Importing, when/if possible may need a lot of manual intervention.

4 Likes

It’s not an altered version - it’s the same as the upstream project, the AUR package provides version 0.7.8 using a file downloaded directly from the project ite.

0.7.8 is the version provided by the AUR package; you might be misinterpreting 0.7.8-4 as 0.7.8.4 ?

2 Likes

Just an aside - is there any chance he has an uid difference problem? Often stuff from elsewhere is expecting uid 1000....

Will be happy to 'fix' if that's it... :grin:

As a quick check - sudo chown username:username filename to see if it helps...

I remove it today, its so buggy.

I have so many directories in directories (same name) that thunar could not delete it ( to long filename) I must use terminal for remove.

Hello to all, I spent all day reading the documentation and I tried to:

  1. Convert the .deb to pkg but I get architecture error, probably because the .deb is a 32 bits
  2. Then I tried to created an appimage of the official .deb package, but the process failed
    I followed this documentation:
    https://docs.appimage.org/packaging-guide/converting-binary-packages/pkg2appimage.html
  3. The KeepNote site has a noarch.rpm package, Âżis there a way to convert it to Arch package, with an easy procedure?
    http://keepnote.org/download/keepnote-0.7.8-1.noarch.rpm
    Thank you and regards

Hello @jonathon hope you are doing well,
Yes you are right, I misinterpreted the version numbers, sorry.

With regards to my last post:
KeepNote could not load my notebook in KeepNote format (.nbk)

Should I open a new topic or my question is out of the scope of this forum?
Thanks and regards

You seem to have simply ignored several very astute pieces of advice from very knowledgeable users.

  1. No matter how much you like the software, if it has been abandoned for an extended period of time the most prudent course would be to find a comparable replacement.

See if you can find a program that is compatible with your needs that can import your pre-existing notes.

  1. Change your users UID to 1000 and chown any drives containing your notes as @freebird54 suggested. Perhaps this may help with your issue (although it is a longshot).
4 Likes

Thank you for your response @tbg. I have not ignored the other users' valuable responses. I have tested about 15 other programs, among the most used, like Joplin which @petsam recommend, none can compare with this one despite it is abandoned.

KeepNote is powerful and also is simple, I do not have to do anything to have access to my data even without KeepNote, even with a File Manager I can search into all my notes and with a web browser I can still look into my notes without KeepNote and to export them as PDF documents. The most important part is that taking and inserting screenshots of webpages and video screens, to visually document investigation, is a breeze. It has also a search utility to find text among my almost 1GB of data.

I do appreciate all the support I got on this forum, all people are very kind and cooperative, and I value all their responses, I am sorry if I do not respond to all the kind and valuable answers. I live in the country with the highest hyperinflation in the world and we are confined to our homes since this virus scam started, food is scarce and prices goes up every week, without much possibilities to work, our survival is at risk; so I do not have much time to response to all messages, besides I am trying to make it run and I am not technical user. If I where a programmer I had done my own, since a year ago that I suspected that I would have this problem when switching from MX16 to other distro.

Again I do appreciate a lot all the good cooperation from the members of this forum and Garuda staff for providing such a good and advanced distro.
Best regards
Jose

3 Likes

By the way, I use Cherry Tree for my online courses assignments, but it lacks of a good text formatting and it has not screenshot feature so is painful to include some image from web or other documents, but the search function of Chery Tree is very good and the Arch repos has the latest version. All data is closed in an SQLite file, so it is more or less for courses, but not good for investigation and documentation. I tested also a lot of Mind Maps and Concept Map software, some of them are cumbersome, and not fast to use for documenting, perhaps xMind or The Brain but The Brain is costly and requires Java.
Regards

2 Likes