Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Error in handling request #1

Description

@vickysy84

Hi,

I tried to deploy this but I got the following error:

2018-12-06T14:05:41.401401+00:00 app[web.1]: [2018-12-06 14:05:41 +0000] [10] [ERROR] Error handling request /wechat
2018-12-06T14:05:41.401404+00:00 app[web.1]: Traceback (most recent call last):
2018-12-06T14:05:41.401406+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 135, in handle
2018-12-06T14:05:41.401407+00:00 app[web.1]: self.handle_request(listener, req, client, addr)
2018-12-06T14:05:41.401409+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/gunicorn/workers/sync.py", line 176, in handle_request
2018-12-06T14:05:41.401411+00:00 app[web.1]: respiter = self.wsgi(environ, resp.start_response)
2018-12-06T14:05:41.401413+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/falcon/api.py", line 209, in __call__
2018-12-06T14:05:41.401415+00:00 app[web.1]: responder(req, resp, **params)
2018-12-06T14:05:41.401417+00:00 app[web.1]: File "/app/src/lib/wechat/wechatapiresource.py", line 26, in on_get
2018-12-06T14:05:41.401418+00:00 app[web.1]: verification_elements.sort()
2018-12-06T14:05:41.401459+00:00 app[web.1]: TypeError: '<' not supported between instances of 'NoneType' and 'str'
2018-12-06T14:05:41.405870+00:00 app[web.1]: 10.33.161.198 - - [06/Dec/2018:14:05:41 +0000] "GET /wechat HTTP/1.1" 500 - "-" "-"

Did I miss anything? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions