"TypeError: 'NoneType' object is not subscriptable" for Android devices
See original GitHub issueHi @bachya, Thanks so much for this helpful app. I’m trying to get set up to use it in a research study, but am having trouble getting off the ground.
When trying to run your example code, i get the following response:
{“version”:1,“revision”:1,“timestamp”:“2020-06-30T13:16:15.732Z”,“timestamp_ms”:1593522975732,“result_code”:0,“result”:{“message”:“invalid app version, version=null, app_id=null”}}
Seems like DEFAULT_APP_VERSION is hard-coded in client.py
? Admittedly an api novice, so any help is greatly appreciated
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Python TypeError: 'NoneType' object is not subscriptable
The “TypeError: 'NoneType' object is not subscriptable” error is raised when you try to access items from a None value using indexing. This...
Read more >TypeError: 'NoneType' object is not subscriptable (Python)
The error happens when your browser calls the endpoint with a GET request with no body. Then request.get_json() method will return None ...
Read more >'NoneType' object is not subscriptable · Issue #1081 - GitHub
Inappropriate argument type. 'NoneType' object is not subscriptable. I get this error scanning "DIVA Android" application, available here: https ...
Read more >TypeError: 'NoneType' object is not ... - Net-Informations.Com
NoneType is the type of the None object which represents a lack of value, for example, a function that does not explicitly return...
Read more >Typeerror: 'nonetype' object is not subscriptable (Fixed)
In Python, TypeError is an error generated when you try to perform an operation on the wrong type of object. Python is an...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bachya thanks for this – will try and get back to you
Fascinating. As you alluded to previously, there must be some difference between iOS and Android: my iPhone shows that information.
At any rate, I can add appropriate logic to catch this and handle the exception. Thanks for your help!