| <type 'exceptions.TypeError'> | Python 2.7.18: /usr/bin/python2.7 Sun Nov 8 19:41:08 2026 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /opt/clamentis/seafile-server-6.1.1/seahub/thirdpart/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py in run(self=<flup.server.fcgi_base.Request object>) |
| 556 """Runs the handler, flushes the streams, and ends the request.""" |
| 557 try: |
| => 558 protocolStatus, appStatus = self.server.handler(self) |
| 559 except: |
| 560 traceback.print_exc(file=self.stderr) |
| protocolStatus undefined, appStatus undefined, self = <flup.server.fcgi_base.Request object>, self.server = <flup.server.fcgi.WSGIServer object>, self.server.handler = <bound method WSGIServer.handler of <flup.server.fcgi.WSGIServer object>> |
| /opt/clamentis/seafile-server-6.1.1/seahub/thirdpart/flup-1.0.2-py2.7.egg/flup/server/fcgi_base.py in handler(self=<flup.server.fcgi.WSGIServer object>, req=<flup.server.fcgi_base.Request object>) |
| 1118 result = self.application(environ, start_response) |
| 1119 try: |
| => 1120 for data in result: |
| 1121 if data: |
| 1122 write(data) |
| data undefined, result = <generator object __call__> |
| /opt/clamentis/seafile-server-6.1.1/seahub/thirdpart/wsgidav/wsgidav_app.py in __call__(self=<wsgidav.wsgidav_app.WsgiDAVApp object>, environ={'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_HOST': 'mycloud.clamentis.com', 'HTTP_SCHEME': 'https', 'HTTP_USER_AGENT': 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Geck...patible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH_INFO': '/sitemap.xml', 'QUERY_STRING': '', ...}, start_response=<function start_response>) |
| 282 # must still be handled. |
| 283 # All other requests will result in '404 Not Found' |
| => 284 environ["wsgidav.provider"] = share_data['provider'] |
| 285 # TODO: test with multi-level realms: 'aa/bb' |
| 286 # TODO: test security: url contains '..' |
| environ = {'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_ACCEPT_ENCODING': 'gzip, br, zstd, deflate', 'HTTP_HOST': 'mycloud.clamentis.com', 'HTTP_SCHEME': 'https', 'HTTP_USER_AGENT': 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Geck...patible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'PATH_INFO': '/sitemap.xml', 'QUERY_STRING': '', ...}, share_data = None |
<type 'exceptions.TypeError'>: 'NoneType' object has no attribute '__getitem__'
args =
("'NoneType' object has no attribute '__getitem__'",)
message =
"'NoneType' object has no attribute '__getitem__'"