-
Notifications
You must be signed in to change notification settings - Fork 38
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
Negative delta for user error #48
Comments
Hi, @emmairwin, cd
cd src
virtualenv foss-heartbeat --python=/usr/bin/python3.5
cd foss-heartbeat
git clone https://github.com/sagesharp/foss-heartbeat.git src
source bin/activate
cd src
pip install -r requirements.txt # This complained about being only for python 3.4, but went through nonetheless
python ghscraper.py foss-heartbeat sagesharp myaccesstoken # Obviously myaccesstoken needs to be replaced by yours
python ghcategorize.py foss-heartbeat sagesharp
python ghstats.py foss-heartbeat sagesharp docs/ All of those worked flawlessly. In order to properly reproduce it I would either need the repo associated with |
yes! I can give you those for this issue: https://github.com/mozilla-l10n/appstores I ran these commands: python ghscraper.py appstore mozilla-l10n [mytokenid] python ghcategorize.py appstores mozilla-l10n python ghstats.py appstores mozilla-l10n docs/ |
Confirmed. |
@emmairwin One last thing to help the maintainer fix this issue: Could you upload the following files?
@sagesharp Steps to reproduce: from ghstats import createGraphs
createGraphs('mozilla-l10n', 'appstores', 'docs/') |
I am trying to figure out why I get merge errors (in different repos) running
Specifically Ive been running into this error which is being called from getRampTime();
('Negative delta for user', 'username', 'for', 'merger', 'on', datetime.datetime(2015, 7, 27, 9, 7, 1))
('first contribution was on', datetime.datetime(2015, 8, 26, 20, 57, 25), 'file', 'mozilla-l10n/appstores/issue-103339758/comment-135168390.json')
Traceback (most recent call last):
File "ghstats.py", line 396, in
main()
File "ghstats.py", line 393, in main
createGraphs(args.owner, args.repository, args.htmldir)
File "ghstats.py", line 371, in createGraphs
os.path.join(repoPath, i[0] + 's-frequency.html'))
File "ghstats.py", line 248, in graphFrequency
recent = nobots[0][4]
The text was updated successfully, but these errors were encountered: