Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

run Gittip 98 #2290

Closed
chadwhitacre opened this issue Apr 17, 2014 · 18 comments
Closed

run Gittip 98 #2290

chadwhitacre opened this issue Apr 17, 2014 · 18 comments

Comments

@chadwhitacre
Copy link
Contributor

97

@chadwhitacre
Copy link
Contributor Author

43 accounts reviewed. One marked suspicious:

https://www.gittip.com/galim7771/

Two left unreviewed (cf. last week, #2268):

https://www.gittip.com/ejuhlin/
https://www.gittip.com/knotweed/

@chadwhitacre
Copy link
Contributor Author

Backup taken and verified.

@chadwhitacre
Copy link
Contributor Author

Droplet spun up and updated.

@chadwhitacre
Copy link
Contributor Author

Script started.

@chadwhitacre
Copy link
Contributor Author

Thu Apr 17 14:44:02 UTC 2014
pid-1351 thread-140491469403904 (MainThread) Traceback (most recent call last):
pid-1351 thread-140491469403904 (MainThread)   File "/home/whit537/www.gittip.com/gittip/cli.py", line 32, in payday
pid-1351 thread-140491469403904 (MainThread)     Payday(db).run()
pid-1351 thread-140491469403904 (MainThread)   File "/home/whit537/www.gittip.com/gittip/billing/payday.py", line 131, in run
pid-1351 thread-140491469403904 (MainThread)     self.db.self_check()
pid-1351 thread-140491469403904 (MainThread)   File "/home/whit537/www.gittip.com/gittip/models/__init__.py", line 22, in self_check
pid-1351 thread-140491469403904 (MainThread)     self._check_paydays_volumes()
pid-1351 thread-140491469403904 (MainThread)   File "/home/whit537/www.gittip.com/gittip/models/__init__.py", line 167, in _check_paydays_volumes
pid-1351 thread-140491469403904 (MainThread)     assert len(charge_volume) == 0
pid-1351 thread-140491469403904 (MainThread) AssertionError

@chadwhitacre
Copy link
Contributor Author

Repro'd locally with this script:

#!/usr/bin/env python                                                                                   
from gittip import wireup                                                                               
db = wireup.db(wireup.env())                                                                            
db._check_paydays_volumes()

@chadwhitacre
Copy link
Contributor Author

The self-check is saying that during the last payday we recorded a charge volume of 11,079.68 in the paydays table, but in the exchanges table we have a total of 11,358.18. So that's 278.50 in charges that happened during payday but weren't recorded in the paydays table.

Hypothesis: those charges were made manually and weren't actually part of payday even though they happened during payday.

@chadwhitacre
Copy link
Contributor Author

I see two exchanges manually recorded by @bruceadams on April 16, but that's outside of last payday.

@chadwhitacre
Copy link
Contributor Author

Got it! There are two more manually recorded entries from @bruceadams that did occur during payday. The payday check should be updated to exclude entries with a non-null recorder.

@chadwhitacre
Copy link
Contributor Author

Script restarted using refine-self-check branch from #2292.

@chadwhitacre
Copy link
Contributor Author

Script ran for {age} (1:56:40.881698).

@chadwhitacre
Copy link
Contributor Author

Tweet tweeted on Twitter.

@chadwhitacre
Copy link
Contributor Author

Log downloaded.

@chadwhitacre
Copy link
Contributor Author

Droplet destroyed.

@seanlinsley
Copy link
Contributor

It looks like Balanced's CC failed this week. I mentioned this to @steveklabnik in IRC (Botbot's down)

@steveklabnik
Copy link

We re-stocked the card with funds. @seanlinsley thought there might be a need to re-enter the card, is that true?

@chadwhitacre
Copy link
Contributor Author

@steveklabnik No need to reenter the card. We'll try it again this week. :-)

@chadwhitacre
Copy link
Contributor Author

MassPay done and escrow shuffled.

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

No branches or pull requests

3 participants