Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3670338
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T02:21:08+00:00 2026-05-19T02:21:08+00:00

Exception Type: OperationFailure at / Exception Value: database error: point not in range My

  • 0
Exception Type: OperationFailure at /
Exception Value: database error: point not in range

My code is this:

user_center = [ user_utm[1], user_utm[2] ]
user_radius = tools.milesToMeters(request.session['browser_distance'])

results = db.datasets.find({"test_set":"g2", "loc_utm": {"$within": {"$center" : [ user_center, user_radius ] }}});

For my Mongo query, I did this:

db.datasets.ensureIndex({"loc_utm":"2d"}, {"min":-999999999999, "max":99999999999 } );

My user_center and user_radius is this, when I printed it out:

[553068.42444848095, 4181244.9741927907]
16093.44

All my documents in my mongo collection have a UTM very similar to the user_center, so it should get the query. But, instead of returning the documents, I get this weird error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T02:21:09+00:00Added an answer on May 19, 2026 at 2:21 am

    If you run Mongodb Version 1.4.0/1.5.0 you should upgrade to 1.5.2 where that kind of issue has been fixed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this error is driving me nuts: Unit Test Adapter threw exception: Type 'com.imagehawk.ZDRCreator.Config.ZDRCreatorConfigException' in
I'm using Django, and I have the following error: Exception Type: SyntaxError Exception Value:
Exception Type: TypeError at /robots.txt Exception Value: 'str' object is not callable What gives?
Exception type: System.ComponentModel.Win32Exception Exception message: Error creating window handle. I could not reproduce it
I have a code which throws a specific type of exception like this: throw
Exception Thrown: System.ComponentModel.ReflectPropertyDescriptor is not marked as Serializable Does this mean I missed marking
Error: Unhandled exception type IOException. File imgLoc = new File(player.png); BufferedImage img = ImageIO.read(imgLoc);
Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000 What is Kernel protection error?
What would you consider to be the best exception type to throw when an
I want boost::any_cast<T> to only throw an exception when the type of the any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.