Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console errors in dev mode #4

Closed
ingro opened this issue May 18, 2016 · 3 comments
Closed

Console errors in dev mode #4

ingro opened this issue May 18, 2016 · 3 comments
Assignees

Comments

@ingro
Copy link

ingro commented May 18, 2016

Hello I'm running lovli in dev mode and every two minutes it logs this error in the console:

Unhandled rejection ReqlOpFailedError: Table `lovli.todos` does not exist in:
r.table("todos").insert({
^^^^^^^^^^^^^^^^
    text: "Invest in shrimps."
})

    at Connection._processResponse (D:\projects\lovli.js\node_modules\rethinkdbdash\lib\connection.js:382:15)
    at Socket.<anonymous> (D:\projects\lovli.js\node_modules\rethinkdbdash\lib\connection.js:201:14)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at readableAddChunk (_stream_readable.js:153:18)
    at Socket.Readable.push (_stream_readable.js:111:10)
    at TCP.onread (net.js:531:20)

For what I understand, in dev mode lovli is inserting every two minutes a random todo, and tries to delete them all every 10 minutes.

Problem is that the table created automatically by horizon is not called todos, but something like todos_f75f4192870d (I guess it's a random name), hence the errors.

@flipace
Copy link
Owner

flipace commented May 18, 2016

Hi, yes lovli is going to add random todos automatically.

You could either remove or adapt the offending code for now or wait until I figured out a solution. I think I'll have to get in touch with the horizon devs to fix this correctly.

@ingro
Copy link
Author

ingro commented May 18, 2016

No problem, that's not a big deal, just wanted to report it :)

@flipace
Copy link
Owner

flipace commented May 25, 2016

fixed #10

@flipace flipace closed this as completed May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants