tomibgt / GitHubResearchDataMiner

A python application to mine GitHub for research data
GNU General Public License v2.0
0 stars 0 forks source link

AttributeError: 'NoneType' object has not attribute 'created_at' #5

Open tomibgt opened 9 years ago

tomibgt commented 9 years ago

Read commit df8df543c348fe0b9c77d1a98aff76ac2352c16c(2010-07-09 06:10:06: Merge branch 'develop' into topic/KnowYourParent Traceback (most recent call last): File "/Users/bgt/git/GitHubResearchDataMiner/src/GitHubResearchDataMiner.py", line 19, in connection.getCsv() File "/Users/bgt/git/GitHubResearchDataMiner/src/GitHubConnection.py", line 41, in getCsv fileh.write(self.getCsvLineFromCommit(commit)+'\n') File "/Users/bgt/git/GitHubResearchDataMiner/src/GitHubConnection.py", line 64, in getCsvLineFromCommit reva = commit.sha+";"+str(commitauthor.created_at)+";"+commitfiles+";"+commitadds+";"+commitdels+";"+commitchanges+";"+commitcommit.message AttributeError: 'NoneType' object has no attribute 'created_at'

tomibgt commented 9 years ago

Would appear to be a defect in PyGithub. Submitted an issue there: https://github.com/jacquev6/PyGithub/issues/279