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: 'NoneType' object is not subscriptable" for Android devices

See original GitHub issue

Hi @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:closed
  • Created 3 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
cmilandocommented, Aug 7, 2020

@bachya thanks for this – will try and get back to you

0reactions
bachyacommented, Sep 11, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >

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