Problem with Instiki update after OCI update

Discussion in 'Ruby' started by Stephan Kämper, Jul 12, 2006.

  1. Hi all,


    I updated the One-Click-Installer to the brand new Ruby 1.8.4. After
    that the Instiki 0.10.2 didn't start any longer (Constant Logger::Format
    not defined). So I tried to update Instiki to 0.11.0

    Now, while trying to migrate that Windows based Instiki installation
    from 0.10.2 to 0.11.0 I ran into this following error message:

    > D:\tmp\test_instiki>ruby script\import_storage -t D:\tmp\instiki-0.10.2\storage\2500
    > -i d:\tmp\instiki-0.10.2 -d sqlite -o instiki_i
    > mport.sql
    > d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in `read': buffer error (Zlib::BufError)
    > from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in `load'
    > from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:402:in `load'
    > from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:155:in `load'
    > from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine.rb:211:in `recover_snapshot'
    > from c:/ruby/lib/ruby/1.8/open-uri.rb:88:in `open'
    > from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine.rb:210:in `recover_snapshot'
    > from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine.rb:53:in `new'
    > from d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/automatic.rb:272:in `initialize'
    > from d:/tmp/instiki-0.10.2/app/models/wiki_service.rb:184:in `initialize'
    > from d:/tmp/instiki-0.10.2/app/models/wiki_service.rb:147:in `instance'
    > from script/import_storage:165



    (Let's hope the formatting doesn't get mangled...)


    Might that be my fault? If yes, what might have caused it?


    Happy rubying

    Stephan
     
    Stephan Kämper, Jul 12, 2006
    #1
    1. Advertising

  2. Stephan Kämper

    Assaph Mehr Guest

    > I updated the One-Click-Installer to the brand new Ruby 1.8.4. After
    > that the Instiki 0.10.2 didn't start any longer (Constant Logger::Format
    > not defined). So I tried to update Instiki to 0.11.0


    I think that was due to some version mismatch between
    instiki/rails/ruby-1.8.2. nm.

    > > d:/tmp/instiki-0.10.2/vendor/madeleine-0.7.1/lib/madeleine/zmarshal.rb:43:in `read': buffer error (Zlib::BufError)

    [snip]
    > Might that be my fault? If yes, what might have caused it?


    Some mystery bug in zlib (i think) which I could never isolate, but it
    caused the snapshot files to be considered as corrupt zips. Solution
    is a bit of black magic: extract the latest .snapshot file contents
    with a non-zlib zip (e.g. 7-zip.org), rezip them again as .gz and try
    the upgrade script again.

    HTH,
    Assaph
     
    Assaph Mehr, Jul 15, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. news.microsoft.com

    can't load OCI.DLL

    news.microsoft.com, Jul 1, 2004, in forum: ASP .Net
    Replies:
    5
    Views:
    13,741
    GrahamA
    Aug 7, 2006
  2. Sweety

    OCI links required

    Sweety, Oct 23, 2003, in forum: C++
    Replies:
    1
    Views:
    316
    Moonlit
    Oct 23, 2003
  3. RTJ
    Replies:
    2
    Views:
    4,096
    Sanjay Rana
    Sep 27, 2006
  4. Dima
    Replies:
    0
    Views:
    334
  5. Peña, Botp
    Replies:
    1
    Views:
    176
    David Heinemeier Hansson
    Sep 19, 2004
Loading...

Share This Page