instapy-dashboard
instapy-dashboard copied to clipboard
Not all data is being summerised
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.

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
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
updated: https://github.com/converge/instapy-dashboard/commit/dbc5a9253fc38676602022de28e835252c3ed1aa
could you guys confirm if it's working ?
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)
hey @andreescocard , did you fix the issue ?
no, same problem @converge
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?