Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Mongo::ConfigurationError
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Asaxena  
View profile  
 More options Jan 16 2011, 7:10 am
From: Asaxena <abhis...@gmail.com>
Date: Sun, 16 Jan 2011 04:10:54 -0800 (PST)
Local: Sun, Jan 16 2011 7:10 am
Subject: Mongo::ConfigurationError
I am getting this error while attempting to use this adapter.

Mongo::ConfigurationError: Trying to connect directly to slave; if
this is what you want, specify :slave_ok => true.
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/mongo-0.18.3/lib/
mongo/connection.rb:317:in `block in connect_to_master'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/mongo-0.18.3/lib/
mongo/connection.rb:303:in `each'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/mongo-0.18.3/lib/
mongo/connection.rb:303:in `connect_to_master'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/mongo-0.18.3/lib/
mongo/connection.rb:121:in `initialize'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/dm-mongo-
adapter-0.2.0.pre3/lib/mongo_adapter/adapter.rb:249:in `new'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/dm-mongo-
adapter-0.2.0.pre3/lib/mongo_adapter/adapter.rb:249:in `connection'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/dm-mongo-
adapter-0.2.0.pre3/lib/mongo_adapter/adapter.rb:227:in `database'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/dm-mongo-
adapter-0.2.0.pre3/lib/mongo_adapter/adapter.rb:208:in
`with_collection'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/dm-mongo-
adapter-0.2.0.pre3/lib/mongo_adapter/adapter.rb:39:in `read'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/dm-core-0.10.2/lib/
dm-core/repository.rb:145:in `read'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/dm-core-0.10.2/lib/
dm-core/model.rb:353:in `last'
        from (irb):1
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/
rails/commands/console.rb:44:in `start'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/
rails/commands/console.rb:8:in `start'
        from /home/abhishiv/.rvm/gems/ruby-1.9.2-p136/gems/railties-3.0.3/lib/
rails/commands.rb:23:in `<top (required)>'
        from script/rails:6:in `require'

Anyone has an idea why? Using it with mongohq
DataMapper.setup :default, "mongo://xxx:x...@flame.mongohq.com:xx/
app40xxx9"

In Gemfile

 dm-mongo-adapter (0.2.0.pre3)
      dm-aggregates (~> 0.10.2)
      dm-core (~> 0.10.2)
      mongo (~> 0.18.3)
      mongo_ext (~> 0.18.3)

Btw seems like developments in this is stalled. Is it true? DM with
mongo makes so much sense because of the ability to have cross
database relationships.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
solnic  
View profile  
 More options Jan 17 2011, 6:05 am
From: solnic <piotr.soln...@gmail.com>
Date: Mon, 17 Jan 2011 03:05:21 -0800 (PST)
Local: Mon, Jan 17 2011 6:05 am
Subject: Re: Mongo::ConfigurationError
Hey!

It's possible that the current pre-release is broken. Development on
the adapter has slowed down lately, true, but it hadn't stopped! We
are releasing DataMapper 1.1 in the upcoming weeks and I will upgrade
the adapter to the latest version of DM and fix any known issues.

Cheers

# solnic

On Jan 16, 1:10 pm, Asaxena <abhis...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Asaxena  
View profile  
 More options Jan 17 2011, 10:24 am
From: Asaxena <abhis...@gmail.com>
Date: Mon, 17 Jan 2011 07:24:00 -0800 (PST)
Subject: Re: Mongo::ConfigurationError
hey

thanks for your reply. i think the issue is that mongohq uses version
1.6 which isnt compatible with the ruby mongo driver currently being
used in the adapter.

Perfect, I'll for it and try to fix it when i have time.

On Jan 17, 12:05 pm, solnic <piotr.soln...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »