sorenlouv / fb-sleep-stats

Use Facebook to track your friends’ sleeping habits
https://medium.com/@sqrendk/how-you-can-use-facebook-to-track-your-friends-sleeping-habits-505ace7fffb6
MIT License
1.62k stars 315 forks source link

Scraping stop after 2/3 days and .~db.json appear #80

Open tdelc opened 8 years ago

tdelc commented 8 years ago

Hi,

After I moment (around 3 days), the program don't scrape anything. The two command prompts are still the same, but the file db.json is not uploaded anymore.

A file nammed .~db.json appear and I file this file creates difficulties for the uploading. I cannot delete it or renammed it.

It is the second time i have the same issues.

Thomas

sorenlouv commented 8 years ago

This seems to be an issue with Steno: a dependency used in lowdb, which in turn is a dependency used in fb-sleep-stats.

I have noticed this happen but have no idea how to reproduce this, nor how to fix it. Sorry! My best advice is to delete the file (.~db.json).