regarding Formulator 1.15.5

binyun xie <[email protected]> Wed, 28 Jan 2015 19:12:01 +0000 (UTC)
Newsgroups gmane.comp.web.zope.formulator.general
Message-ID <[email protected]>
Dear:
Can I get help from someone who is familiar with Formulator 1.15.5?
After I downloaded Product. Formulator.1.15.5.tar.gz, i unzip it and created directory call Formulator.1.15.5, then move the subdirectory "Products" to /usr/local/zope2.11.4/instance.
Then I run ./zopectl fg    then got following errors.  What did do wrong?  Thanks a lot.

Beverly



/usr/local/zope2.11.4/instance/bin/runzope -X debug-mode=on
2015-01-28 13:51:01 INFO ZServer HTTP server started at Wed Jan 28 13:51:01 2015
    Hostname: 0.0.0.0
    Port: 8080
2015-01-28 13:51:01 ERROR Application Could not import Products.Formulator
Traceback (most recent call last):
  File "/usr/local/zope2.11.4/lib/python/OFS/Application.py", line 709, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/zope2.11.4/instance/Products/Formulator/__init__.py", line 5, in ?
    from Products.Formulator import Form
  File "/usr/local/zope2.11.4/instance/Products/Formulator/Form.py", line 90
     except Exception as error:
                       ^
 SyntaxError: invalid syntax
Traceback (most recent call last):
  File "/usr/local/zope2.11.4/lib/python/Zope2/Startup/run.py", line 56, in ?
    run()
  File "/usr/local/zope2.11.4/lib/python/Zope2/Startup/run.py", line 21, in run
    starter.prepare()
  File "/usr/local/zope2.11.4/lib/python/Zope2/Startup/__init__.py", line 109, in prepare
    self.startZope()
  File "/usr/local/zope2.11.4/lib/python/Zope2/Startup/__init__.py", line 300, in startZope
    Zope2.startup()
  File "/usr/local/zope2.11.4/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/usr/local/zope2.11.4/lib/python/Zope2/App/startup.py", line 51, in startup
    OFS.Application.import_products()
  File "/usr/local/zope2.11.4/lib/python/OFS/Application.py", line 686, in import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File "/usr/local/zope2.11.4/lib/python/OFS/Application.py", line 709, in import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/local/zope2.11.4/instance/Products/Formulator/__init__.py", line 5, in ?
    from Products.Formulator import Form
  File "/usr/local/zope2.11.4/instance/Products/Formulator/Form.py", line 90
    except Exception as error:
                      ^
SyntaxError: invalid syntax

 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/

_______________________________________________
Formulator-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formulator-general