Closed JedMeister closed 4 years ago
Are you sure you are using the right Python version? This is not a syntax error in Python 3.5+
@nursix - Thanks!
You are correct, I was using Python 2.7. I was (obviously mistakenly) under the impression that Sahana-Eden was still Python2. Soon after posting this I came across https://github.com/sahana/eden/issues/1560.
Anyway, thanks again. I will update to use Python3.6.
On Wed, 19 Aug 2020 at 03:49, Jeremy Davis notifications@github.com wrote:
Anyway, thanks again. I will update to use Python3.6.
Python 3.7 is the mainline support, although Python 3.8 should also work & patches definitely accepted for that.
F
Python 3.7 is the mainline support, although Python 3.8 should also work & patches definitely accepted for that.
@flavour - Sorry my bad, I'm actually running on Debian Buster, so I have 3.7 (not 3.6). :smile:
Resolves a syntax error in modules/s3/s3forms.py which was causing failure on first run, with no relevant info why. I.e.
This exception occurs because when the below import is attempted, the syntax error fixed by this PR causes as exception. I.e. this code (`models/000_1st_run.py'):
e.message
contains an empty string (soerrors
is a list which contains a single empty string). This is why the "ACTION REQUIRED:" is displayed, but with no info. FWIWe.msg
=invalid syntax (s3forms.py, line 1399)
.