[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-devel] Tokyo Cabinet fails with invalid record header



Reformatted excerpts from Horacio Sanson's message of 2011-06-14:
> Interesting....  yesterday I started again to sync my gmail account
> but this time using ruby1.8.7 instead of ruby1.9.1 and without any
> hooks configured and it finished without problems. I think the problem
> is the hooks so I will rerun again with ruby 1.9.1 but without the
> hooks.

There is a difference in how strings are marshalled between Ruby 1.8 and
1.9, and you will obviously get different strings if you tokenize
differently, but if either of these two changes is the difference, it's
a bug in TC.

One option is to write some Ruby bindings to LevelDB and try that, but
it would be a bunch of work, would require C++0x which means every OS X
user would be complaining all the time, etc etc. Not sure if I want to
go down that route.
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel