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

2011-06-28 Thread William Morgan
Reformatted excerpts from Alvaro Herrera's message of 2011-06-28: > Hi, I was just trying to get the latest Heliotrope, but I'm getting the > same -fPIC problem with leveldb-ruby. Gem says it's trying to install > 0.4 though; maybe you forgot to actually release 0.5? Yeah, if you try again you sh

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

2011-06-28 Thread Alvaro Herrera
Excerpts from William Morgan's message of mié jun 22 14:06:44 -0400 2011: > Reformatted excerpts from Horacio Sanson's message of 2011-06-22: > > It works!! > > Great. I will release that as leveldb-ruby 0.5. Hopefully the leveldb > branch of heliotrope will work for you too. Hi, I was just tryin

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

2011-06-23 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-23: > Search for "*" return zero items... I forgot to add: make sure you have whistlepig 0.7 installed. -- William ___ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mai

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

2011-06-23 Thread Horacio Sanson
On Thursday 23 June 2011 08:36:07 William Morgan wrote: > Reformatted excerpts from Horacio Sanson's message of 2011-06-22: > > Finally the leveldb branch is not working that well. After reaching > > 130378 indexed messages I started the heliotrope server and the web > > interface only showed two m

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

2011-06-22 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-22: > Finally the leveldb branch is not working that well. After reaching > 130378 indexed messages I started the heliotrope server and the web > interface only showed two messages. What if you search for "*"? -- William

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

2011-06-22 Thread Horacio Sanson
I left heliotrope-add running but it did not finished. I got some strange nil errors (see below): I think this error happens when find_msgids is unable to find the message's id. Not sure what is the best action in this case but skipping it sounds a good option. #

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

2011-06-22 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-22: > It works!! Great. I will release that as leveldb-ruby 0.5. Hopefully the leveldb branch of heliotrope will work for you too. -- William ___ Sup-devel mailing list Sup-devel@rubyforge.o

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

2011-06-22 Thread Horacio Sanson
On Wednesday 22 June 2011 12:25:16 William Morgan wrote: > Hi Horacio, > > Reformatted excerpts from William Morgan's message of 2011-06-20: > > Ok, I have a potential fix for this that I'll try and get out tonight. > > Can you please: > > 1. git clone git://github.com/wmorgan/leveldb-ruby.git >

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

2011-06-21 Thread William Morgan
Hi Horacio, Reformatted excerpts from William Morgan's message of 2011-06-20: > Ok, I have a potential fix for this that I'll try and get out tonight. Can you please: 1. git clone git://github.com/wmorgan/leveldb-ruby.git 2. git checkout fpic 3. rake gem 4. gem install pkg/leveldb-ruby-0.4.gem

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

2011-06-20 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-20: > /usr/bin/ld: ../../leveldb/libleveldb.a(db_impl.o): relocation > R_X86_64_32S against `vtable for leveldb::DB' can not be used when > making a shared object; Ok, I have a potential fix for this that I'll try and get out tonight.

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

2011-06-20 Thread Horacio Sanson
On Tuesday 21 June 2011 01:42:24 William Morgan wrote: > Reformatted excerpts from Horacio Sanson's message of 2011-06-20: > > When you say try 0.4 you mean leveldb-ruby version 0.4 right?, because > > I downloaded the source from github and the latest version I get is > > 0.3. Also rubygems only h

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

2011-06-20 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-20: > When you say try 0.4 you mean leveldb-ruby version 0.4 right?, because > I downloaded the source from github and the latest version I get is > 0.3. Also rubygems only has version 0.3. Whoops, forgot to upload it. Try now. (0.4 sho

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

2011-06-19 Thread Horacio Sanson
On Monday 20 June 2011 12:54:22 William Morgan wrote: > Reformatted excerpts from Horacio Sanson's message of 2011-06-19: > > This morning I tried with g++-4.4 and got a different error. When I > > return from work I will look into it. In the meantime this is the > > > error: > Hm. Try with 0.4. I

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

2011-06-19 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-19: > This morning I tried with g++-4.4 and got a different error. When I > return from work I will look into it. In the meantime this is the > error: Hm. Try with 0.4. If that doesn't work then I can try modifying the original leveldb

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

2011-06-19 Thread Horacio Sanson
This morning I tried with g++-4.4 and got a different error. When I return from work I will look into it. In the meantime this is the error: rm -f libleveldb.a ar -rs libleveldb.a ./db/builder.o ./db/db_impl.o ./db/db_iter.o ./db/filename.o ./db/dbformat.o ./db/log_reader.o ./db/log_writer.o ./

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

2011-06-19 Thread William Morgan
Reformatted excerpts from William Morgan's message of 2011-06-19: > Reformatted excerpts from Horacio Sanson's message of 2011-06-19: > > ./port/port_posix.h:14:22: fatal error: cstdatomic: そのようなファイルやディレクトリはありません > > What is the output of g++ --version on your system, please? Try version 0.4. I b

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

2011-06-19 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-19: > ./port/port_posix.h:14:22: fatal error: cstdatomic: そのようなファイルやディレクトリはありません What is the output of g++ --version on your system, please? -- William ___ Sup-devel mailing list Sup-devel@r

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

2011-06-19 Thread Horacio Sanson
On Saturday 18 June 2011 14:02:59 William Morgan wrote: > I have pushed a branch called 'leveldb' that uses leveldb instead of > TokyoCabinet. Can you try this please? You will need to install the > 'leveldb-ruby' gem. Sorry but I am unable to install the leveldb-gem. It complains about a missing

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

2011-06-17 Thread William Morgan
I have pushed a branch called 'leveldb' that uses leveldb instead of TokyoCabinet. Can you try this please? You will need to install the 'leveldb-ruby' gem. -- William ___ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listi

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

2011-06-15 Thread William Morgan
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 w

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

2011-06-15 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-14: > irb> s.size > => 3469212 Ok, squarely between 2^21 and 2^22. It doesn't seem like you're bumping up against some kind of key size limit. > -rw-r--r-- 1 ryujin ryujin 378M 2011-06-15 07:28 store.tch Looks like 378mb here. You wer

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

2011-06-14 Thread Horacio Sanson
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. On Wed, Jun 15, 20

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

2011-06-14 Thread William Morgan
Reformatted excerpts from Horacio Sanson's message of 2011-06-14: > Now the store.tch got corrupted again for some reason and the only > error I get is "invalid record header". Some googling does not help > and my previous fix (tchmgr optimiza -nl) does not fix this problem. > What is interesting i

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

2011-06-14 Thread Horacio Sanson
Well I will retract what I said earlier... maybe is a good idea to replace TokyoCabinet with something else. Now the store.tch got corrupted again for some reason and the only error I get is "invalid record header". Some googling does not help and my previous fix (tchmgr optimiza -nl) does not fix