[BlueBream] Form Demo Trouble

Roel Bruggink roel at fourdigits.nl
Tue Sep 14 15:26:01 EDT 2010


You using python2.4 (see ZODB3-3.10.0b6-*py2.4*-freebsd-8.1). You need
python2.6 or up.

-Roel

On Tue, Sep 14, 2010 at 2:46 AM, Christopher Lozinski <
lozinski at freerecruiting.com> wrote:

>  Well I finally figured out that the way to work with the ZTK is to
> download the demo, run it, and read the source code.
>
> Brilliant.  Except the demo did not work.  Here are the commands.
>
> $ svn co svn://svn.zope.org/repos/main/z3c.formdemo/trunk formdemo
> $ cd formdemo
> $ python bootstrap.py
> $ ./bin/buildout -N
> $ ./bin/demo fg
>
> It is the last one which did not work.  At the end is the error message.
>
> In the meantime, I am sure the source code will be very helpful.
>
> Regards
> Christopher Lozinski
>
> ./bin/demo fg
> /usr/local/zope3/formdemo/parts/form-demo-app/runzope -C
> /usr/local/zope3/formdemo/parts/demo/zope.conf
> Traceback (most recent call last):
>  File "/usr/local/zope3/formdemo/parts/form-demo-app/runzope", line 117, in
> ?
>    zope.app.twisted.main.main()
>  File
> "/usr/local/zope3/formdemo/eggs/zope.app.twisted-3.5.0-py2.4.egg/zope/app/twisted/main.py",
> line 74, in main
>    service = setup(load_options(args))
>  File
> "/usr/local/zope3/formdemo/eggs/zope.app.twisted-3.5.0-py2.4.egg/zope/app/twisted/main.py",
> line 140, in setup
>    db = zope.app.appsetup.appsetup.multi_database(options.databases)[0][0]
>  File
> "/usr/local/zope3/formdemo/eggs/zope.app.appsetup-3.14.0-py2.4.egg/zope/app/appsetup/appsetup.py",
> line 213, in multi_database
>    db = factory.open()
>  File
> "/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/config.py",
> line 101, in open
>    storage = section.storage.open()
>  File
> "/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/config.py",
> line 157, in open
>    from ZODB.FileStorage import FileStorage
>  File
> "/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/FileStorage/__init__.py",
> line 3, in ?
>    from ZODB.FileStorage.FileStorage import FileStorage, TransactionRecord
>  File
> "/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/FileStorage/FileStorage.py",
> line 412
>    with self._files.get() as _file:
>            ^
> SyntaxError: invalid syntax
>
>
>
>
> _______________________________________________
> bluebream mailing list
> bluebream at zope.org
> https://mail.zope.org/mailman/listinfo/bluebream
>



-- 
Roel Bruggink
http://www.fourdigits.nl/mensen/roel-bruggink

Four Digits BV
http://www.fourdigits.nl
Willemsplein 44, 6811 KD, Arnhem
tel: +31(0)26 4422700 fax: +31(0)26 7600012
KVK 091621370000 BTW 8161.22.234.B01
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/bluebream/attachments/20100914/83cae690/attachment.html 


More information about the bluebream mailing list