Thanks for help, i'll try this.

First of all in the MongoDb factor integration page at the low-level
section:

instead :

USING: mongodb.driver ;
"db" "127.0.0.1" 27017 <mdb>
[ "mycollection" [ H{ { "name" "Alfred" } { "age" 57 } } save ]
[ ageIdx [ "age" asc ] key-spec <index-spec> ensure-index ]
[ H{ { "age" H{ { "$gt" 50 } } } } <query> find-one ] tri ] with-db

it should be(change is highlighted):

USING: mongodb.driver ;
"db" "127.0.0.1" 27017 <mdb>
[ "mycollection" [ H{ { "name" "Alfred" } { "age" 57 } } save ]
  [ *"ageIdx"* [ "age" asc ] key-spec <index-spec> ensure-index ]
[ H{ { "age" H{ { "$gt" 50 } } } } <query> find-one ] tri ] with-db

The high level integration example just not working. It connects to the
server as i see in the server log but
it not saves the tuple and end with the next error:
*Generic word element-data-read does not define a method for the fixnum
class.
Dispatching on object: 18*

I have win 7 64 bit. I thought that maybe the problem is with the server
being 64bit so i changed to 32bit, but the result is he same.

Thanks.


On Mon, May 24, 2010 at 4:50 AM, Slava Pestov <[email protected]> wrote:

> On Sun, May 23, 2010 at 8:27 PM, Grisha Freilikhman <[email protected]>
> wrote:
> > Hi,
> > I have two questions:
> > 1) Where should i post documentation mistakes?
>
> You can tell us about them on the mailing list.
>
> > 2) I try to do things with sqlite, it just not working. Where should i
> put
> > the sqlite3.dll file.
>
> Place it anywhere in your PATH, or in the same directory as
> factor.exe. If you are on 32-bit Windows, make sure you download the
> DLL from http://factorcode.org/dlls/; if you are on 64-bit Windows,
> get the DLL from http://factorcode.org/dlls/64/.
>
> Slava
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------

_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to