« first day  last day (15 days later) » 

9:18 AM
hey guys
Sorry I just saw it
are you here?
 
10:01 AM
The class of the json file that I open as json_file its : <class '_io.TextIOWrapper'>
Maybe that is wrong>
 
 
1 hour later…
11:22 AM
Hey!
 
11:34 AM
hey man
do you want to connect to my pc with team viewr
I do the exact same thing as you man but I still get error
 
12:13 PM
Could you just get me your file?
 
οκκ
I will
where you want me to send it to you?
 
just a sample of it, here would do
 
{'total_count': 3, 'incomplete_results': False, 'items': [{'url': 'https://gits-15.sys.kth.se/api/v3/repos/acollden/AntonC1/commits/00ac2263807778d3c910bb620c16ef1c456d5440', 'sha': '00ac2263807778d3c910bb620c16ef1c456d5440'
 
This is not valid.
no closing brackets
 
yeah true
its 350k lines
wait I have to make it
valid
somehow
Can i just email it
ok Its too long ill send you 3 parts
{'total_count': 3, 'incomplete_results': False, 'items': [{'url': 'https://gits-15.sys.kth.se/api/v3/repos/acollden/AntonC1/commits/00ac2263807778d3c910bb620c16ef1c456d5440', 'sha': '00ac2263807778d3c910bb620c16ef1c456d5440', 'node_id':
'MDY6Q29tbWl0MjY4ODowMGFjMjI2MzgwNzc3OGQzYzkxMGJiNjIwYzE2ZWYxYzQ1NmQ1NDQw', 'html_url': 'https://gits-
15.sys.kth.se/acollden/AntonC1/commit/00ac2263807778d3c910bb620c16ef1c456d5440', 'comments_url': 'https://gits-15.sys.kth.se/api/v3/repos/acollden/AntonC1/commits/00ac2263807778d3c910bb62
0c16ef1c456d5440/comments', 'commit': {'url': 'https://gits-15.sys.kth.se/api/v3/repos/acollden/AntonC1/git/commits/00ac2263807778d3c910bb620c16ef1c456d5440', 'author': {'date': '2015-09-11T20:44:30.000+02:00', 'name':
'Anton Collden', 'email': 'acollden@csc.kth.se'}, 'committer': {'date': '2015-09-11T20:44:30.000+02:00', 'name': 'Anton Collden', 'email': 'acollden@csc.kth.se'}, 'message': 'Hejsan', 'tree': {'url': 'https://gits-15.sys.kth.se/api/v3/repos/acollden/AntonC1/git/trees/fb169505c38546f107ceb3b619acde35aa6bc0a9', 'sha': 'fb169505c38546f107ceb3b619acde35aa6bc0a9'}, '
comment_count': 0}, 'author': {'login': 'acollden', 'id': 1329, 'node_id': 'MDQ6VXNlcjEzMjk=', 'avatar_url': 'https://gits-15.sys.kth.se/avatars/u/1329?', 'gravatar_id': '', 'url': 'https://gits-15.sys.kth.se/api/v3/users/acollden', 'html_url':
'https://gits-15.sys.kth.se/acollden', 'followers_url': 'https://gits-15.sys.kth.se/api/v3/users/acollden/followers', 'following_url': 'https://gits-15.sys.kth.se/api/v3/users/acollden/following{/other_user}', 'gists_url': 'https://gits-
15.sys.kth.se/api/v3/users/acollden/gists{/gist_id}', 'starred_url': 'https://gits-15.sys.kth.se/api/v3/users/acollden/starred{/owner}{/repo}', 'subscriptions_url': 'https://gits-15.sys.kth.se/api/v3/users/acollden/subscriptions', 'organizations_url':
'https://gits-15.sys.kth.se/api/v3/users/acollden/orgs', 'repos_url': 'https://gits-15.sys.kth.se/api/v3/users/acollden/repos', 'events_url': 'https://gits-15.sys.kth.se/api/v3/users/acollden/events{/privacy}', 'received_events_url':
'https://gits-15.sys.kth.se/api/v3/users/acollden/received_events', 'type': 'User', 'site_admin': False}, 'committer': {'login': 'acollden', 'id': 1329, 'node_id': 'MDQ6VXNlcjEzMjk=', 'avatar_url': 'https://gits-15.sys.kth.se/avatars/u/1329?',
 
12:29 PM
okay. wait.
 
'gravatar_id': '', 'url': 'https://gits-15.sys.kth.se/api/v3/users/acollden', 'html_url': 'https://gits-15.sys.kth.se/acollden', 'followers_url': 'https://gits-15.sys.kth.se/api/v3/users/acollden/followers', 'following_url': 'https://gits-
Yeah send an email or smthing cuz its too long
 
{
'total_count': 3, 'incomplete_results': False, 'items': [{'url': 'https://gits-20.bkf.sda.eu/api/v3/repos/repo/name/commits/2189312903jsadada',
'sha': '2131932103812jdskfsl', 'node_id': 'asl;dkas;ldjasldasio1203',
'html_url': 'https://gits-20.bkf.sda.eu/api/v3/repos/repo/name/commits/2189312903jsadada',
'comments_url': 'https://gits-20.bkf.sda.eu/api/v3/repos/repo/name/commits/2189312903jsadada',
'commit': {'url': 'https://gits-20.bkf.sda.eu/api/v3/repos/repo/name/commits/2189312903jsadada', 'message': 'Initial commit 1'}}]
 
yes it is but has more properties but its ok
lets take message for example
and the file ends with .json
commits.json
 
This is exactly what I did here: stackoverflow.com/questions/55610497/…
How is not working for you Alex?
did you try running the code I answered? only that!
 
Yeah bro I did!!
You really have to see for youself
I dont know whats going on man
 
12:39 PM
Teamviewer?
 
Yeah
Sec Ill give you connection
team viwer 14
1 046 503 734
f61hw4
 
go here:
paste your json file and see
 
where?
 
it is probably not valid.
 
is it because it is too big?
and python cant handle it?
 
I think its too big
 
have a look at this too: pypi.org/project/ijson
 
350K lines...
 
Incase if the size of the file is the issue
 
Yeah the validator wont even respond. Cuz file too big i think. Ill check the ijson. How it works and stuff...
 
12:54 PM
sure.
also zip and mail me the file?
emkay992@gmail.com
I'll try giving it another shot
 
ok bro sec
Sent you google drive link
 
ok
 
Im heading home. Send me email and Ill see it
 

« first day  last day (15 days later) »