alibaba / jstorm

Enterprise Stream Process Engine
http://jstorm.io
Apache License 2.0
3.92k stars 1.8k forks source link

python version bug #664

Open Chenfengldw opened 5 years ago

Chenfengldw commented 5 years ago

In jstorm.py, at first the code checked the python version but in: if not os.path.exists(JSTORM_DIR + "/RELEASE"): print ("******************************************") print "The jstorm client can only be run from within a release. You appear to be trying to ") \ "run the client from a checkout of JStorm's source code.") print "\nYou can download a JStorm release " print "******************************************" sys.exit(1) the print function is still in python2 style and will raise bug when using python3.

Chenfengldw commented 5 years ago

repo tag 2.4.0 ./bin/jstorm.py line 120