Flask deployed with twistd: Failed to load application: 'NoneType' object has no attribute 'startswith'
问题 I am trying to deploy my Twisted application using .tac files and twistd I tried to deploy it with the command line: twistd -y service.tac I have the error: ... application = getApplication(self.config, passphrase) --- <exception caught here> --- File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 450, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/local/lib/python2.7/dist-packages/twisted/application/service.py",