Git Product home page Git Product logo

Comments (4)

joeljunstrom avatar joeljunstrom commented on September 26, 2024

What does tanker return when you get the error? ie. what's @moments.inspect at that point?
Need some more info to help you mate, a stack trace etc

from tanker.

kidpollo avatar kidpollo commented on September 26, 2024

yes @ronnypm it does sound very odd, can you please elaborate?

from tanker.

 avatar commented on September 26, 2024

It just occurred to me that there might be an uncaught exception. So here's the exception message:

Couldn't find all Moments with IDs (27, 3, 2, 1, 26, 25, 23, 24) (found 5 results, but was looking for 8)

This is what I've done: I searched the term 'facebook', and it's supposed to return 3 moments with that term for my particular user. With the exception handling, it returns me nil.

Then, I went to indextank app on heroku, and tried this query 'title:facebook", and it returns me 8 results.

I am working on this project with a friend, and both of us are using the same index with our own local database, perhaps indextank is confused because there are some IDs which does not exist on my database?

from tanker.

arvida avatar arvida commented on September 26, 2024

Yep, it looks like you are having documents in your indextank index that doesn't exists in your local database. It would probably be a good idea to have your own seperate indexes when developing =) IndexTank offer a free "Starter" plan that you could use for local development.

I guess this is a bit related to issue #32, would nice for these kinds of errors to not break your app in production =)

from tanker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.