instapy-dashboard icon indicating copy to clipboard operation
instapy-dashboard copied to clipboard

Not all data is being summerised

Open an0key opened this issue 7 years ago • 6 comments

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

an0key avatar Nov 28 '18 16:11 an0key

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

andreescocard avatar Nov 29 '18 00:11 andreescocard

updated: https://github.com/converge/instapy-dashboard/commit/dbc5a9253fc38676602022de28e835252c3ed1aa

could you guys confirm if it's working ?

converge avatar Dec 08 '18 23:12 converge

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)

andreescocard avatar Dec 10 '18 14:12 andreescocard

hey @andreescocard , did you fix the issue ?

converge avatar Jan 01 '19 11:01 converge

no, same problem @converge

andreescocard avatar Jan 03 '19 15:01 andreescocard

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?

converge avatar Feb 07 '19 12:02 converge