question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: Got an unexpected keyword argument "maxItems"

See original GitHub issue

Full steps to reproduce the issue:

  1. Open cmd, go to directy where gyb.exe is located
  2. Execute gyb --email YOURMAIL@gmail.com --action estimate
  3. Secelct action 0, 5 and 6, press 7
  4. Select & confirm Gmail account in browser

Expected outcome (what are you trying to do?): Size of Gmail is estimated

Actual outcome (what errors or bad behavior do you see instead?): Using Windows 10

Authentication successful.
Traceback (most recent call last):
  File "gyb.py", line 1583, in <module>
  File "gyb.py", line 1537, in main
  File "gyb.py", line 532, in callGAPIpages
  File "gyb.py", line 485, in callGAPI
  File "googleapiclient\discovery.py", line 718, in method
TypeError: Got an unexpected keyword argument "maxItems"
[13072] Failed to execute script gyb

Using Ubuntu 17.10

Authentication successful.
Traceback (most recent call last):
  File "gyb.py", line 1583, in <module>
    main(sys.argv[1:])
  File "gyb.py", line 1537, in main
    maxItems=500, fields='nextPageToken,messages/id')
  File "gyb.py", line 532, in callGAPIpages
    pageToken=pageToken, **kwargs)
  File "gyb.py", line 485, in callGAPI
    method = getattr(service, function)(**parameters)
  File "/home/osboxes/Downloads/got-your-back-1.01/googleapiclient/discovery.py", line 718, in method
    raise TypeError('Got an unexpected keyword argument "%s"' % name)
TypeError: Got an unexpected keyword argument "maxItems"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
jay0leecommented, Aug 22, 2018
1reaction
jorhettcommented, Jul 14, 2018

He fixed it in commit 374a07539a1774060d8e1f9fc09c4bcf49fe69b9. It’s a one-word change, easy to apply yourself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Got an unexpected keyword argument "maxItems ...
Full steps to reproduce the issue: Open cmd, go to directy where gyb.exe is located Execute gyb --email YOURMAIL@gmail.com --action estimate ...
Read more >
defined function got an unexpected keyword argument 'many ...
When i run the PS script i get an error from my python app: TypeError: make_income() got an unexpected keyword argument 'many'.
Read more >
TypeError: __init__() got an unexpected keyword argument ...
After completing all the procedure, the following error was thrown while running run.py TypeError: init() got an unexpected keyword argument ...
Read more >
PyMC error: TypeError: dict_to_dataset() got an unexpected ...
Running the below model is giving me an error I haven't seen on this site or stackoverflow. Error pops up after sampling is...
Read more >
Error "get_file_data() got an unexpected keyword argument ...
I have configured one input using the File-Meta Data input to monitor a log file. ... TypeError: get_file_data() got an unexpected keyword argument...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found