On Wed, Oct 6, 2010 at 10:05 PM, Victor Ruotti <ruotti@wisc.edu> wrote:
Hi,
Any help will be appreciated. I'm following the steps to configure the LIMS system and I'm stuck in step 3. Maybe I'm missing something, I get an SyntaxError. my version of python maybe? Python 2.4.3 (#1, Sep 3 2009, 15:37:37) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] on linux2 Thanks, Victor 3. Add configured request types, forms and sample states to the database:
$ python scripts/nglims/add_ng_defaults.py universe_wsgi.ini
sudo python scripts/nglims/add_ng_defaults.py universe_wsgi.ini File "scripts/nglims/add_ng_defaults.py", line 51 with open(config["nglims_config_file"]) as in_handle: ^ SyntaxError: invalid syntax
The "with" statement is Python 2.5+ only and you have Python 2.4 Peter