Thread: Cirk's Notebook
View Single Post
01-15-08, 02:01 AM   #27
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Cirk
In regards to the above discussions and the crashing or losing data, I've implemented long-string protection in the save algorithm
It seems that now if a note is long enough to be split into multiple strings for saving, I get this error when opening Notebook:

Notebook-2.2.0\Notebook.lua:1126: bad argument #2 to 'format' (string expected, got nil)
Notebook-2.2.0\Notebook.lua:1126: in function `NotebookFrame_OnShow'
<string>:"*:OnShow":1: in function <[string "*:OnShow"]:1>
<in C code>: in function `Show'
Interface\FrameXML\UIParent.lua:1596: in function `ShowUIPanel':
<string>:"NOTEBOOK_PANEL":4: in function <[string "NOTEBOOK_PANEL"]:1>

and none of my notes are viewable. They are still saved, though, if I look in the saved variables.

Thanks for the global note change, btw! <3
  Reply With Quote