You using python2.4 (see <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">ZODB3-3.10.0b6-<b>py2.4</b>-freebsd-8.1). You need python2.6 or up.</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">-Roel<br></span></font><br><div class="gmail_quote">On Tue, Sep 14, 2010 at 2:46 AM, Christopher Lozinski <span dir="ltr">&lt;<a href="mailto:lozinski@freerecruiting.com">lozinski@freerecruiting.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">  Well I finally figured out that the way to work with the ZTK is to<br>
download the demo, run it, and read the source code.<br>
<br>
Brilliant.  Except the demo did not work.  Here are the commands.<br>
<br>
$ svn co svn://<a href="http://svn.zope.org/repos/main/z3c.formdemo/trunk" target="_blank">svn.zope.org/repos/main/z3c.formdemo/trunk</a> formdemo<br>
$ cd formdemo<br>
$ python bootstrap.py<br>
$ ./bin/buildout -N<br>
$ ./bin/demo fg<br>
<br>
It is the last one which did not work.  At the end is the error message.<br>
<br>
In the meantime, I am sure the source code will be very helpful.<br>
<br>
Regards<br>
Christopher Lozinski<br>
<br>
./bin/demo fg<br>
/usr/local/zope3/formdemo/parts/form-demo-app/runzope -C /usr/local/zope3/formdemo/parts/demo/zope.conf<br>
Traceback (most recent call last):<br>
  File &quot;/usr/local/zope3/formdemo/parts/form-demo-app/runzope&quot;, line 117, in ?<br>
    zope.app.twisted.main.main()<br>
  File &quot;/usr/local/zope3/formdemo/eggs/zope.app.twisted-3.5.0-py2.4.egg/zope/app/twisted/main.py&quot;, line 74, in main<br>
    service = setup(load_options(args))<br>
  File &quot;/usr/local/zope3/formdemo/eggs/zope.app.twisted-3.5.0-py2.4.egg/zope/app/twisted/main.py&quot;, line 140, in setup<br>
    db = zope.app.appsetup.appsetup.multi_database(options.databases)[0][0]<br>
  File &quot;/usr/local/zope3/formdemo/eggs/zope.app.appsetup-3.14.0-py2.4.egg/zope/app/appsetup/appsetup.py&quot;, line 213, in multi_database<br>
    db = factory.open()<br>
  File &quot;/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/config.py&quot;, line 101, in open<br>
    storage = section.storage.open()<br>
  File &quot;/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/config.py&quot;, line 157, in open<br>
    from ZODB.FileStorage import FileStorage<br>
  File &quot;/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/FileStorage/__init__.py&quot;, line 3, in ?<br>
    from ZODB.FileStorage.FileStorage import FileStorage, TransactionRecord<br>
  File &quot;/usr/local/zope3/formdemo/eggs/ZODB3-3.10.0b6-py2.4-freebsd-8.1-RELEASE-i386.egg/ZODB/FileStorage/FileStorage.py&quot;, line 412<br>
    with self._files.get() as _file:<br>
            ^<br>
SyntaxError: invalid syntax<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
bluebream mailing list<br>
<a href="mailto:bluebream@zope.org">bluebream@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/bluebream" target="_blank">https://mail.zope.org/mailman/listinfo/bluebream</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Roel Bruggink<br><a href="http://www.fourdigits.nl/mensen/roel-bruggink" target="_blank">http://www.fourdigits.nl/mensen/roel-bruggink</a><br><br>Four Digits BV<br><a href="http://www.fourdigits.nl" target="_blank">http://www.fourdigits.nl</a><br>
Willemsplein 44, 6811 KD, Arnhem<br>tel: +31(0)26 4422700 fax: +31(0)26 7600012<br>KVK 091621370000 BTW 8161.22.234.B01<br>
</div>