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

Module object has no attribute 'Api' #1

Open
darkelement1987 opened this issue Sep 2, 2016 · 1 comment
Open

Module object has no attribute 'Api' #1

darkelement1987 opened this issue Sep 2, 2016 · 1 comment

Comments

@darkelement1987
Copy link

darkelement1987 commented Sep 2, 2016

Sorry for posting here but i can't find something to contact you, im getting this error when launching your app:

c:\PokemonGo-Map-3.1.0\Tools\twdlt-master>twdlt --config=config.json
Traceback (most recent call last):
File "C:\Python27\Scripts\twdlt-script.py", line 11, in
load_entry_point('twdlt', 'console_scripts', 'twdlt')()
File "c:\pokemongo-map-3.1.0\tools\twdlt-master\src\twdlt\twdlt__init__.py", line 275, in cli
d.run()
File "c:\pokemongo-map-3.1.0\tools\twdlt-master\src\twdlt\twdlt__init__.py", line 132, in run
self.api()
File "c:\pokemongo-map-3.1.0\tools\twdlt-master\src\twdlt\twdlt__init__.py", line 64, in api
self.t = twitter.Api(
AttributeError: 'module' object has no attribute 'Api'

Has this something to do with me hitting my daily status limit?

edit: no more limit, still the same error :(

@darkelement1987
Copy link
Author

Allright i've triedt pip install python-twitter --upgrade and now that's fine but im stuck at the next error:

c:\PokemonGo-Map-3.1.0\Tools\twdlt-master>twdlt --config=config.json
Traceback (most recent call last):
File "C:\Python27\Scripts\twdlt-script.py", line 11, in
load_entry_point('twdlt', 'console_scripts', 'twdlt')()
File "c:\pokemongo-map-3.1.0\tools\twdlt-master\src\twdlt\twdlt__init__.py", line 275, in cli
d.run()
File "c:\pokemongo-map-3.1.0\tools\twdlt-master\src\twdlt\twdlt__init__.py", line 132, in run
self.api()
File "c:\pokemongo-map-3.1.0\tools\twdlt-master\src\twdlt\twdlt__init__.py", line 73, in api
self.rateWait('verify')
File "c:\pokemongo-map-3.1.0\tools\twdlt-master\src\twdlt\twdlt__init__.py", line 92, in rateWait
json = self.t._FetchUrl(url, no_cache=True)
AttributeError: 'Api' object has no attribute '_FetchUrl'

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

1 participant