Comments (4)
Which platform ? GNU/Linux ? MacOSX ?
Which version of Tokyo Cabinet ?
Which version of rufus-tokyo ?
What is the error message / trace ? It should not puke.
Works for me on ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10.0.0] and ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0] with TC 1.4.36. FFI 0.5.1.
from rufus-tokyo.
newer version of FFI have bool type. Adapted. Closed by b70a7dd
from rufus-tokyo.
I've tried this configuration on 2 machines (both w/ ubuntu jaunty installed). Details:
tokyo-cabinet: following versions from source:
tokyocabinet-1.4.36
tokyocabinet-1.4.39
Other info:
swerling@walter:~$ ruby -v ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] (ruby 1.9.1p243 installed from source) swerling@walter:~$ gem -v 1.3.5 swerling@walter:~$ gem list | egrep "(ffi)|(rufus)" ffi (0.5.1) rufus-tokyo (1.0.2) swerling@walter:~$ cat /etc/issue Ubuntu 9.04 \n \l swerling@walter:~$ uname -a Linux walter 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux rufus-tokyo 1.0.2 installed via gems v 1.3.5 ubuntu (jaunty) uname -a: Linux walter 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux swerling@walter:~/dev/sinai$ ruby test_tokyo_works.rb Should be 'surf': surf Should be 'nil': Should be '5000': 5000 Should be 'true': false test_tokyo_works.rb:15:in `test_tokyo': Could not close db (RuntimeError) from test_tokyo_works.rb:18:in `block in ' from test_tokyo_works.rb:18:in `times' from test_tokyo_works.rb:18:in `'
from rufus-tokyo.
Just tried this with rufus-tokyo 1.0.3, and the problem is gone. Thanks.
from rufus-tokyo.
Related Issues (20)
- error classes reorganization HOT 1
- Elise's remark about putting number in Cabinet HOT 1
- keys / values .to_s HOT 1
- add mget (as alias to lget) HOT 1
- query : numge/numgt issue HOT 1
- tokyo and edo TT miss tcrdbtune
- add putcat() and friends HOT 1
- more meaningful error messages for TT and transactions HOT 1
- Please Reenable copy() for Tyrant Classes HOT 2
- Should Table Classes get a query_count() to Match query_delete()? HOT 3
- Unknow bug during table creating/opening. HOT 2
- table query should not return 0 before it's run HOT 2
- implement auto-reconnect HOT 1
- doc discrepancy for Table HOT 1
- Function 'tctdbqrysetmax' not found in [/usr/local/lib/libtokyocabinet.so] HOT 1
- use jeweler in and for Rakefile and .gemspec HOT 1
- memleak as reported by Aaron HOT 1
- B+ Database Segmentation Fault HOT 3
- Attempts to install ffi on jruby HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rufus-tokyo.