Skip to content
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

TypeError #13

Open
superxuu opened this issue Jul 25, 2018 · 6 comments
Open

TypeError #13

superxuu opened this issue Jul 25, 2018 · 6 comments

Comments

@superxuu
Copy link

Traceback (most recent call last):
File "D:\Program Files\JetBrains\PyCharm 2017.2.3\helpers\pydev\pydevd.py", line 1599, in
globals = debugger.run(setup['file'], None, None, is_module)
File "D:\Program Files\JetBrains\PyCharm 2017.2.3\helpers\pydev\pydevd.py", line 1026, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "D:/project/PythonProjects/tem.py", line 12, in
my_test = gt.start_test(value)
File "D:\Python27\lib\site-packages\gtmetrix\interface.py", line 83, in start_test
return _TestObject(self.auth, **response_data)
TypeError: init() got an unexpected keyword argument 'credits_left'

@Dineshchitta
Copy link

+1

1 similar comment
@trv-review
Copy link

+1

@sourabhkt
Copy link
Contributor

This seems to be working for me.

@superxuu / @Dineshchitta / @hdilaver can you please provide some more details.

@shanejones
Copy link

shanejones commented Nov 19, 2019

I am also getting this issue too. Any update?

This has also started taking credits off my API call balance too.

➜  gtmetrix-python python run.py
Site: under2 - Url: https://amazon.co.uk
Traceback (most recent call last):
  File "run.py", line 10, in <module>
    my_test = gt.start_test(value)
  File "/Users/shane/Library/Python/2.7/lib/python/site-packages/gtmetrix/interface.py", line 83, in start_test
    return _TestObject(self.auth, **response_data)
TypeError: __init__() got an unexpected keyword argument 'credits_left'

@dlopez12003
Copy link

Any update on this?

@sourabhkt
Copy link
Contributor

@dlopez12003 could you please install the package from Github and try again -

pip install git+https://github.com/aisayko/python-gtmetrix

@aisayko This issue was fixed in #9 long back. can we make a new release? I would be happy to help if you need me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants