can't load any notebooks

678 views
Skip to first unread message

ac0la

unread,
Nov 4, 2009, 3:21:42 PM11/4/09
to keepnote
Suddenly today I cannot open any keepnote notebooks. Whichever one I
try to open, I get a "can't load "path/filename" message. Running
latest release version on Ubuntu.

Any troubleshooting help would be much appreciated!!

Matt Rasmussen

unread,
Nov 4, 2009, 3:32:09 PM11/4/09
to keep...@googlegroups.com
Are you using version 0.6? What does the error log say? You can run
on the terminal to see the error log or use "Help > Show error log".

Matt

ac0la

unread,
Nov 4, 2009, 8:02:47 PM11/4/09
to keepnote
I'm running 0.6.

As for the error log--I can't seem to access it on my linux machine.
The menu option just opens a blank, untitled document in OpenOffice.
I don't know how to access it via the terminal as you suggest. What is
the file called? I can just search for it.

However, I also run keepnote on a PC, and I'm having similar but less
extensive problems (i.e. some notebooks open, others do not). I am
able to see the error log there. All the recent entries say the
following, but I'm not sure if that's the same problem I'm having on
Ubuntu:


KeepNote 0.6: Wed Nov 04 19:26:49 2009

KeepNotePreferenceError: No module named tarfile
cannot load extension 'C:\Program Files\KeepNote\extensions
\update_notebook_1_2'
C:\Program Files\KeepNote\library.zip\keepnote\gui\icons.py:142:
GtkWarning: Could not find the icon 'note-open.png'. The 'hicolor'
theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases


Going back to early October I see these messages:

KeepNote 0.6: Wed Oct 07 01:37:06 2009

KeepNotePreferenceError: No module named tarfile
cannot load extension 'C:\Program Files\KeepNote\extensions
\update_notebook_1_2'
C:\Program Files\KeepNote\library.zip\keepnote\gui\icons.py:142:
GtkWarning: Could not find the icon 'note-open.png'. The 'hicolor'
theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
Traceback (most recent call last):
File "keepnote\gui\main_window.pyc", line 187, in <lambda>
File "keepnote\gui\main_window.pyc", line 529, in on_close
File "keepnote\gui\main_window.pyc", line 682, in close_notebook
File "keepnote\notebook\__init__.pyc", line 1513, in close
File "keepnote\notebook\__init__.pyc", line 1294, in save
File "keepnote\notebook\__init__.pyc", line 929, in write_meta_data
File "keepnote\notebook\__init__.pyc", line 1691, in write
keepnote.notebook.NoteBookError: WindowsError(32, 'The process cannot
access the file because it is being used by another process')
Cannot write meta data
==============================================
KeepNote 0.6: Wed Oct 07 14:04:45 2009

KeepNotePreferenceError: No module named tarfile
cannot load extension 'C:\Program Files\KeepNote\extensions
\update_notebook_1_2'
C:\Program Files\KeepNote\library.zip\keepnote\gui\basetreeview.py:
396: GtkWarning: gtk_tree_view_scroll_to_cell: assertion `tree_view-
>priv->tree != NULL' failed
C:\Program Files\KeepNote\library.zip\keepnote\gui\icons.py:142:
GtkWarning: Could not find the icon 'note-open.png'. The 'hicolor'
theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases
C:\Program Files\KeepNote\library.zip\keepnote\gui\richtext
\textbuffer_tools.py:287: GtkWarning: gtk_text_buffer_emit_insert:
assertion `g_utf8_validate (text, len, NULL)' failed
C:\Program Files\KeepNote\library.zip\keepnote\gui\richtext
\richtextbuffer.py:1030: GtkWarning:
gtk_text_buffer_get_iter_at_child_anchor: assertion `!
gtk_text_child_anchor_get_deleted (anchor)' failed
C:\Program Files\KeepNote\library.zip\keepnote\gui\richtext
\richtextbuffer.py:1031: GtkWarning: Invalid text buffer iterator:
either the iterator is uninitialized, or the characters/pixbufs/
widgets in the buffer have been modified since the iterator was
created.
You must use marks, character numbers, or line numbers to preserve a
position across buffer modifications.
You can apply tags and insert marks without invalidating your
iterators,
but any mutation that affects 'indexable' buffer contents (contents
that can be referred to by character offset)
will invalidate all outstanding iterators
On Nov 4, 3:32 pm, Matt Rasmussen <ras...@mit.edu> wrote:





> Are you using version 0.6? What does the error log say? You can run
> on the terminal to see the error log or use "Help > Show error log".
>
> Matt
>

Matt Rasmussen

unread,
Nov 7, 2009, 3:26:25 PM11/7/09
to keep...@googlegroups.com
The error log on Linux is ~/.config/takenote/error-log.txt

The error log in windows is C:\Documents and
Settings\USERNAME\Application Data\takenote\error-log.txt

Try to open a notebook on either machine. Make sure you reproduce the
error. Then close keepnote. Then open the error log and send it to
me. This way the most recent error is the one relevant to this issue.

Most of the errors are actually warnings and should not cause any
problems. The only one that looked like an error was the one about
multiple processes accessing a notebook at the same time.

One thing that might have happened is that you corrupted your
preference settings stored in
YOUR_NOTEBOOK/notebook.nbk. Maybe because of power failure or
multiple processes accessing the same file? I try to prevent this by
writing to a temp file first, but maybe something else unusual
happened. Do you use a network mount or usb drive (and did not
correctly detact it)?

Anyways, if you open this file (notebook.nbk) in a text editor you can
see if it looks truncated (it is an XML file). You can restore the
file by replacing its contents with

<?xml version="1.0" encoding="UTF-8"?>
<notebook></notebook>

If you start up keepnote and open the notebook, it will repopulate the
notebook with default settings. Let me know what you find out.

Matt
Reply all
Reply to author
Forward
0 new messages