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

Not all data is being summerised #4

Open
an0key opened this issue Nov 28, 2018 · 6 comments
Open

Not all data is being summerised #4

an0key opened this issue Nov 28, 2018 · 6 comments

Comments

@an0key
Copy link

an0key commented Nov 28, 2018

I have scripts that run multiple times per day, and therefore have a number of activity rows in the DB.

I am not sure if the dashboard is suppsed to summerise those, per day, or show the multiple rows, however neither is happening now.

image 28-11-2018 at 16 32

sqlite> select * from recordActivity where profile_id = 3;
3|32|14|6|2|331|2018-11-28 13:32:29
3|39|11|23|2|489|2018-11-28 15:42:31

@andreescocard
Copy link

andreescocard commented Nov 29, 2018

I same a similar issue, in my case, each profile run twice / three times daily
In likes column, shows 12
In Instapy log (Sessional Live Report) shows 65 images liked
Followed column too, 10 users followed on Instapy log, on dashboard shows 0

@converge
Copy link
Owner

converge commented Dec 8, 2018

updated: dbc5a92

could you guys confirm if it's working ?

@andreescocard
Copy link

pulled here, removed package.json, package-lock.json and node_modules folder
reinstalled over npm install
on npm run start i got the error:

Error: Cannot find module '../build/better_sqlite3.node'
[1]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:506:25)
[1]     at Module.require (internal/modules/cjs/loader.js:636:17)
[1]     at require (internal/modules/cjs/helpers.js:20:18)
[1]     at Object.<anonymous> (/home/pi/instapy-dashboard/node_modules/better-sqlite3/lib/database.js:5:21)
[1]     at Module._compile (internal/modules/cjs/loader.js:688:30)
[1]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
[1]     at Module.load (internal/modules/cjs/loader.js:598:32)
[1]     at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:529:3)

@converge
Copy link
Owner

converge commented Jan 1, 2019

hey @andreescocard , did you fix the issue ?

@andreescocard
Copy link

andreescocard commented Jan 3, 2019

no, same problem @converge

@converge
Copy link
Owner

converge commented Feb 7, 2019

I just updated the project and now we don't need better-sqlite3 neither node-sqlite to have it working 🥇
Could you guys test it and let me know if it's working?

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