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

bug with report of tag #58

Closed
ioiioi opened this issue Dec 4, 2012 · 9 comments
Closed

bug with report of tag #58

ioiioi opened this issue Dec 4, 2012 · 9 comments

Comments

@ioiioi
Copy link

ioiioi commented Dec 4, 2012

when I click the report of tag, the app.js process throw error messages:

/node_modules/node-uptime/node_modules/mongoose/lib/utils.js:437
throw err;
^
TypeError: Invalid select() argument. Must be a string or object.
at Query.select (/node_modules/node-uptime/node_modules/mongoose/lib/query.js
:1075:11)
at Function.findOne (/node_modules/node-uptime/node_modules/mongoose/lib/mode
l.js:970:46)
at model.populate [as _populate](/node_modules/node-uptime/node_modules/mong
oose/lib/model.js:139:6)
at next (/node_modules/node-uptime/node_modules/mongoose/lib/model.js:265:14)
at next (/node_modules/node-uptime/node_modules/mongoose/lib/model.js:228:57)
at next (/node_modules/node-uptime/node_modules/mongoose/lib/model.js:228:57)
at next (/node_modules/node-uptime/node_modules/mongoose/lib/model.js:228:57)
at next (/node_modules/node-uptime/node_modules/mongoose/lib/model.js:228:57)
at next (/node_modules/node-uptime/node_modules/mongoose/lib/model.js:228:57)
at next (/node_modules/node-uptime/node_modules/mongoose/lib/model.js:228:57)

@fzaninotto
Copy link
Owner

Which branch are you on? master or interval?

@awildeep
Copy link

awildeep commented Dec 4, 2012

I get the same error. I simply installed via the git clone command in the docs.

Click on a tag, then the reports for that tag and boom.

@ioiioi
Copy link
Author

ioiioi commented Dec 5, 2012

I install uptime with npm install node-uptime, my node.js version is 0.8.9, the mongod version is 2.2.2

@fzaninotto
Copy link
Owner

I think this is due to the tag not yet being calculated. This bug should fix itself after 5 minutes of monitoring.

I am concentrating my efforts on the next version, currently in the interval branch, where this problem doesn't appear. I suggest you switch to the interval branch.

@ioiioi
Copy link
Author

ioiioi commented Dec 5, 2012

hmm, but how to install interval version?
git clone -b interval git://github.com/fzaninotto/uptime.git
is that right?

@fzaninotto
Copy link
Owner

yep, that'll do the trick

@ioiioi
Copy link
Author

ioiioi commented Dec 6, 2012

wow! thanks for you great work, I just installed interval version, It's impressive. two question:

  1. when will it be release as master.
  2. where is the report function which is included on uptime2.

@fzaninotto
Copy link
Owner

  1. pretty soon (we're talking days)
  2. it's not necessary anymore. Check and Tag pages are printable and look great on paper.

@fzaninotto
Copy link
Owner

V3 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants