fracte / keepnote

Automatically exported from code.google.com/p/keepnote
0 stars 0 forks source link

Upgrade to version 0.7.1 failed #421

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Under Ubuntu 10.10 upgrading from Keepnote_0.6.8-1_all.deb to 
Keepnote_0.7.1-1_all.deb failed.

After installing the upgrade and starting it, it requires to update the 
database to version 5 and to make a backup. After confirming this the 
application tries to load the notebook but stalls after some seconds while 
memory usage continues to grow. When reaching more than 3 GB (!) I killed the 
process. This problem is reproducible on my system. After going back to v. 
0.6.8 and restoring the backup all is well.

See attached error log.

Original issue reported on code.google.com by thomasl...@gmail.com on 3 Mar 2011 at 4:39

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for this report.  Out of curiosity how many pages are in your notebook?  
Maybe I need some additional optimizations to handle larger notebook.  Did the 
increase in memory occur during the "backup" stage or during the "upgrading" 
stage.  All that should happen during upgrading is full-text indexing by 
sqlite.  Are you able to upgrade smaller notebooks?

Original comment by matt.rasmus@gmail.com on 3 Mar 2011 at 4:59

GoogleCodeExporter commented 8 years ago
How many pages? Good question ;-) I called my notebook (I have only one) simply 
Keepnote - when I click it, it says 43 pages. However, if I click the *first* 
folder below, it says already 46 pages ... Shouldn't the sum of the pages in 
the various folders be equal to the number of pages for the whole notebook? 

The increase in memory occurred during the upgrade stage - or more precisely: 
Keepnote said that the upgrade was successful and tried to load the notebook. 
Some moments later it stalled and memory usage started to grow.

BTW: Thanks a lot for this very useful application! The new version is the 
first one that caused problems on my system.

Original comment by thomasl...@gmail.com on 3 Mar 2011 at 5:27

GoogleCodeExporter commented 8 years ago
You can get a full page count using this command on the command line:

  find path/to/your/notebook -name node.xml | wc -l

Original comment by matt.rasmus@gmail.com on 3 Mar 2011 at 6:16

GoogleCodeExporter commented 8 years ago
Thanks!
Result: 193

Original comment by thomasl...@gmail.com on 3 Mar 2011 at 6:33

GoogleCodeExporter commented 8 years ago
For what it's worth, on a somewhat similar setup (Debian Wheezy, 202 pages), 
the upgrade took a few seconds and has caused absolutely zero trouble.
One difference though: I went through 6.8-1 -> 0.7-1 -> 0.7.1-1.

Original comment by chk.6080...@gmail.com on 3 Mar 2011 at 7:19

GoogleCodeExporter commented 8 years ago
Sorry that I forgot to reply on comment 5: I tried that too but with no success.

Original comment by thomasl...@gmail.com on 31 Mar 2011 at 1:44

GoogleCodeExporter commented 8 years ago
I'm sorry to say that I'm still having the same problem when upgrading from v. 
0.6.8 to v. 0.7.2-1_all.deb.

Original comment by thomasl...@gmail.com on 26 May 2011 at 10:48

GoogleCodeExporter commented 8 years ago
Let me know if you still have upgrading issues with keepnote 0.7.4 or the new 
testing version 0.7.5.
http://keepnote.org/#download-test

Original comment by matt.rasmus@gmail.com on 2 Sep 2011 at 2:06

GoogleCodeExporter commented 8 years ago
Matt,

since the update to newer versions failed I installed v. 0.7.4 completely anew. 
Then I manually copied one subfolder after the other from the old notebook to 
the newly created notebook and started 0.7.4 after every new copied subfolder. 
I found that it didn't start after copying one folder that was relatively 
deeply nested. I solved that problem by separatly copying the sub-subfolders of 
the culprit to the new notebook. Now the new version works flawlessly. :-)

Original comment by thomasl...@gmail.com on 2 Sep 2011 at 8:11

GoogleCodeExporter commented 8 years ago
Ok. good to hear.  Perhaps you were mixing pages with different version 
formats, and this was causing a strange error.

KeepNote has been changing format versions over the 0.6.* and 0.7.* releases, 
but I hope to settle upon a format in 0.7.5 that doesn't need to change for the 
long run.  

Thanks for testing this out.

Original comment by matt.rasmus@gmail.com on 2 Sep 2011 at 9:15