arshadansari27 / fitranginew

1 stars 0 forks source link

Geo Location East of Sikkhim is not being accepted. #362

Open arshadansari27 opened 9 years ago

arshadansari27 commented 9 years ago

Error OperationError: Could not save document (Can't extract geo keys: { _id: ObjectId('55efbd97453d1e3588510453'), created_timestamp: new Date(1441774999167), modified_timestamp: new Date(1441789178973), not_ok_count: 0, image_gallery: [], currency: "INR", activities: [ ObjectId('552f8459453d1e340aa1d7c1'), ObjectId('552f8459453d1e340aa1d7be'), ObjectId('552f8459453d1e340aa1d7a9') ], extra_activities: [], published: true, admin_published: false, departure_type: "On Request", price_on_request: true, starting_from: "Delhi", about: "

<span style="mso-bidi-font-size:9.5pt;font-family:"Aria...", expected_conditions: "", other_details: "", published_timestamp: new Date(1441774999629), optional_location_name: " Christchurch,New Zealand", itinerary: "

<span lang="EN-IN" style="font-size:11.0pt;mso-bidi-font-size:9.5pt;font-family:&qu...", inclusive_exclusive: "<p style="margin: 0in 0in 0.0001pt 28.35pt; line-height: 14.25pt; vertical-align: baseline; background-image: initial; background-attachment: initial;...", expected_duration: "14 Days / 13 Nights", cover_image: ObjectId('55efbd97453d1e3588510456'), organizer: ObjectId('55ee6c21453d1e30a6e0c268'), slug: "/trip/nz-bespoke", name: "NZ Bespoke", path_cover_image: "/media/trip/55efbd97453d1e3588510453/cover.jpeg", description: "A palette of dramatic scenes, New Zealand\u2019s South Island hos...", announcements: "", city: "", country: "IN", region: "", state: "Manipur", geo_location: { type: "Point", coordinates: [ 24.6637173, 93.90626880000002 ] }, location: "Manipur, India" } longitude/latitude is out of bounds, lng: 24.6637 lat: 93.9063) ERROR:app:Exception on /admin/location_update/ [POST] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request rv = self.handle_user_exception(e) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception reraise(exc_type, exc_value, tb) File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request rv = self.dispatch_request() File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request return self.view_functionsrule.endpoint File "/usr/local/lib/python2.7/dist-packages/flask_admin/base.py", line 68, in inner return self._run_view(f, _args, _kwargs) File "/usr/local/lib/python2.7/dist-packages/flask_admin/base.py", line 344, in _run_view return fn(self, _args, _kwargs) File "/home/ubuntu/buildenv/fitrangi/app/views/admin/init.py", line 759, in set_location model.save() File "/usr/local/lib/python2.7/dist-packages/mongoengine/document.py", line 367, in save raise OperationError(message % unicode(err))