You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an output only when I use python3 getactivityrecords.py -o json
using python3 getactivityrecords.py -o csv
i get
Traceback (most recent call last):
File "getactivityrecords.py", line 89, in <module>
printresult(files_result_json, output_style, cols)
File "/home/ubuntu/pyviyatools/sharedfunctions.py", line 624, in printresult
csvresults(result,columns=colsforcsv,header=header)
File "/home/ubuntu/pyviyatools/sharedfunctions.py", line 485, in csvresults
total_items=resultdata['count']
KeyError: 'count'
@tomstarr pointed out that this happens when the number of records exceeds the "limit", which defaults to 1000. It works if you increase the value with the --limit argument. I will increase the default limit and put in some error handling.
No description provided.
The text was updated successfully, but these errors were encountered: