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: 'NoneType' object is not subscriptable #3

Open
ndbiaw opened this issue Apr 13, 2022 · 0 comments
Open

TypeError: 'NoneType' object is not subscriptable #3

ndbiaw opened this issue Apr 13, 2022 · 0 comments

Comments

@ndbiaw
Copy link

ndbiaw commented Apr 13, 2022

  File "C:\Users\[REDACTED]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_[REDACTED]\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 2091, in __call__
    return self.wsgi_app(environ, start_response)
  File "C:\Users\[REDACTED]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_[REDACTED]\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 2076, in wsgi_app
    response = self.handle_exception(e)
  File "C:\Users\[REDACTED]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_[REDACTED]\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\[REDACTED]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_[REDACTED]\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\[REDACTED]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_[REDACTED]\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\[REDACTED]\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_[REDACTED]\LocalCache\local-packages\Python37\site-packages\flask\app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "D:\[REDACTED]\Google_form_spammer_flask-master\run.py", line 16, in gform
    fields = get_fields(link)
  File "D:\Google_form_spammer_flask-master\Google_form_spammer_flask-master\googleform.py", line 22, in get_fields
    data = json.loads(data[27:-1])[1]
TypeError: 'NoneType' object is not subscriptable
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