I think there's a problem where the snapshot file, which is
essentially a zip file, is corrupted. I was never able to determine if
it was madeleine, ruby-zlib or zlib itself, as I never managed to
consistently repro this. The file was unopenable by zlib-based
decompression, but you should be able to open it in another zip
program like 7zip (www.7-zip.org).

Go to the storage directory and try to open the latest (highest
number) .snapshot file with it. it will have an annonymous content
file. you can extract this and rezip it (in a "gz" format) and then
use it as normal. Needless to say, backup everything before you try
:-)

If that doesn't work, try deleting the .command_log files and the
latest snapshot. You'll lose some recent information, but you'll be
able to get an older version of the data.

HTH,
Assaph

On 3/26/06, cjw <[EMAIL PROTECTED]> wrote:
> i'm getting the following when i launch instiki.  please help....
>
> C:\instiki>ruby instiki
> => Starting Instiki on http://0.0.0.0:2500
> => Data files are stored in C:/instiki/storage/2500
> C:/instiki/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in
> `read': buffer
>  error (Zlib::BufError)
>         from
> C:/instiki/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in
> `
> load'
>         from C:/instiki/vendor/madeleine-
> 0.7.1/lib/madeleine/automatic.rb:402:in
>  `load'
>         from
> C:/instiki/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:155:in
>  `load'
>         from C:/instiki/vendor/madeleine-0.7.1/lib/madeleine.rb:211:in
> `recover_
> snapshot'
>         from C:/instiki/vendor/madeleine-0.7.1/lib/madeleine.rb:210:in
> `open_uri
> _original_open'
>         from c:/ruby/lib/ruby/1.8/open-uri.rb:87:in `open'
>         from C:/instiki/vendor/madeleine- 0.7.1/lib/madeleine.rb:210:in
> `recover_
> snapshot'
>         from C:/instiki/vendor/madeleine-0.7.1/lib/madeleine.rb:53:in `new'
>         from
> C:/instiki/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:272:in
>  `initialize'
>         from C:/instiki/app/models/wiki_service.rb:184:in
> `new'
>         from C:/instiki/app/models/wiki_service.rb:184:in
> `initialize'
>         from C:/instiki/app/models/wiki_service.rb:147:in
> `new'
>         from C:/instiki/app/models/wiki_service.rb:147:in
> `instance'
>         from ./script/server:91
>         from instiki:6:in `load'
>         from instiki:6
>
> C:\instiki>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Instiki-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/instiki-users
>
>

_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users

Reply via email to