mscolab server command crashes

Issue #491 resolved
Joern Ungermann created an issue

There is an error with respect to the “app” variable missing. Changing the code of the stub to

#!/home/icg173/anaconda3/envs/mss-1.9.0/bin/python

# -*- coding: utf-8 -*-
import re
import sys

from mslib.mscolab.server import main, app

if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(main(app))

Fixes the problem, but we need a clean solution that generates a) the proper stub or b) doesn’t require the app argument in the call to main().

Comments (2)

  1. Log in to comment