exceptions.ImportError: No module named routes.mapper
On cat.unstable leap-mx is not starting anymore:
Sep 7 07:43:09 cat systemd[1]: Starting Leap MX...
Sep 7 07:43:09 cat systemd[1]: Started Leap MX.
Sep 7 07:43:10 cat python[674]: Unhandled Error
Sep 7 07:43:10 cat python[674]: Traceback (most recent call last):
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 643, in run
Sep 7 07:43:10 cat python[674]: runApp(config)
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 25, in runApp
Sep 7 07:43:10 cat python[674]: _SomeApplicationRunner(config).run()
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 374, in run
Sep 7 07:43:10 cat python[674]: self.application = self.createOrGetApplication()
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 439, in createOrGetApplication
Sep 7 07:43:10 cat python[674]: application = getApplication(self.config, passphrase)
Sep 7 07:43:10 cat python[674]: --- <exception caught here> ---
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 450, in getApplication
Sep 7 07:43:10 cat python[674]: application = service.loadApplication(filename, style, passphrase)
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/twisted/application/service.py", line 411, in loadApplication
Sep 7 07:43:10 cat python[674]: passphrase)
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/twisted/persisted/sob.py", line 224, in loadValueFromFile
Sep 7 07:43:10 cat python[674]: eval(codeObj, d, d)
Sep 7 07:43:10 cat python[674]: File "/usr/share/app/mx.tac", line 23, in <module>
Sep 7 07:43:10 cat python[674]: from leap.mx import couchdbhelper
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/leap/mx/couchdbhelper.py", line 28, in <module>
Sep 7 07:43:10 cat python[674]: from leap.soledad.common.couch import CouchDatabase
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/leap/soledad/common/couch/__init__.py", line 46, in <module>
Sep 7 07:43:10 cat python[674]: from leap.soledad.common.l2db.remote import http_app
Sep 7 07:43:10 cat python[674]: File "/usr/lib/python2.7/dist-packages/leap/soledad/common/l2db/remote/http_app.py", line 30, in <module>
Sep 7 07:43:10 cat python[674]: import routes.mapper
Sep 7 07:43:10 cat python[674]: exceptions.ImportError: No module named routes.mapper
Sep 7 07:43:10 cat python[674]: Failed to load application: No module named routes.mapper
Sep 7 07:43:10 cat systemd[1]: leap-mx.service: main process exited, code=exited, status=1/FAILURE
Sep 7 07:43:10 cat systemd[1]: Unit leap-mx.service entered failed state.
Sep 7 07:43:10 cat systemd[1]: leap-mx.service holdoff time over, scheduling restart.
Sep 7 07:43:10 cat systemd[1]: Stopping Leap MX...
root@cat:~# apt-cache policy leap-mx
leap-mx:
Installed: 0.9.1+0~20170627083954.13239+master+jessie~40.g5b754b0
Candidate: 0.9.1+0~20170627083954.13239+master+jessie~40.g5b754b0
Version table:
*** 0.9.1+0~20170627083954.13239+master+jessie~40.g5b754b0 0
999 http://deb.leap.se/platform/ jessie/master amd64 Packages
100 /var/lib/dpkg/status
I have no idea why this happened now... ?