Welcome to Squishdot Websites Squishdot How-To
 about
 search
 post article
 Documentation
 Mailing Lists
 Bug Tracking
 Development
 Installation
 Upgrading
 Download
 admin
 rdf

 main


Zope 2.0 and Squishdot
Squishdot Posted by Luke Tymowski on Thursday September 02, 01:43AM, 1999
from the dept.
Zope 2.0 was released today. It's out of beta. Squishdot as it is works with Zope 1.x; however, to get it working with Zope 2.0, you need a changed Squishdot.py file, and you need to edit the permissions for TinyTables.

<  |  >

 

Related Links
  • Articles on Squishdot
  • Also by Luke Tymowski
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Re: Zope 2.0 and Squishdot
    by Bill Thompson on Sunday September 05, 02:36PM, 1999
    What extactly needs to be changed in the Squishdot.py file and what are the permissions for TinyTables?


    Thanks,
    Bill

    [ Reply to this ]
    • Re: Zope 2.0 and Squishdot
      by Chui Tey on Monday September 06, 05:25AM, 1999
      I haven't quite figured out what to modify on Tinytable, but the required changes on Squishdot.py are:


      import ts_regex, regsub, re


      replace all references to ts_regex.compile with re.compile


      replace all references to regsub.gsub with re.sub


      replace regsub.split(file,PATH_SEP)[-1]
      with re.split(PATH_SEP,file)[-1]


      I think that is it. Please correct me if I'm wrong. I'm new to Python and have been hacking away at it last night.


      [ Reply to this ]
    Re: Zope 2.0 and Squishdot
    by Squishdaughter on Sunday September 05, 06:01PM, 1999
    Okay, so what changes need to be made to Squishdot.py, or if they have been made somewhere, where do I get that version. And what permissions do I need to edit for TinyTables?

    [ Reply to this ]
    Re: Zope 2.0 and Squishdot
    by Luke Tymowski on Monday September 06, 11:11AM, 1999
    The changed Squishdot.py file has been posted somewhere here on Squishdot. A few times I think.


    You copy the updated Squishdot.py file to the Squishdot directory under Zope (eg /usr/local/zope/lib/python/Products/Squishdot).


    After you create a Squishdot site within Zope, go to the Security tab and edit the permissions to allow anonymous users the ability to query TinyTables. (if you don't anon users will be prompted for a username and password when they try to view your site.)


    To recap:

    install Zope

    install TinyTables and Squishdot

    (you do that by unzipping the files in the zope directory (/usr/local/zope) or by copying the unzipped folders to:
    /usr/local/zope/lib/python/Products)


    so you should see:

    /usr/local/zope/lib/python/Products/Squishdot

    /usr/local/zope/lib/python/Products/TinyTables


    create a Squishdot site within Zope. Edit the Security tab for your site to allow anonymous users the ability to query TinyTables.

    [ Reply to this ]
    Re: Zope 2.0 and Squishdot
    by squishdaughter on Wednesday September 08, 04:37AM, 1999
    How come there are six (now seven) replies to this article and the front page (as of now) says there are only two? What kind of caching is going on? And is this site using 2.0 yet?

    [ Reply to this ]
    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.