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

 main


Solution to 2.1.0 problem found!
Squishdot Posted by Alan Pogrebinschi on Friday December 03, 03:30PM, 1999
from the dept.
An email from Scott Kaplan to the Zope List describes a solution that was preventing Squishdot to work with the latest Zope versions. I tested it in my server and it worked just great. Read on...

I will quote Scott's email to the List: "When you add the squishdot product and it begins to create an instance of a squishsite, it would give this error message: Error Type: TypeError Error Value: call of non-function (type module) (i have added the traceback at the bottom of the message) What I did was change the file TextIndex.py in the Zope-2.1.0-linux2-x86/lib/python/SearchIndex and commented out the line 209 : BTree = BTree.BTree and changed lines 253: self._index=BTree() to self._index=BTree.BTree() and 264: self._index=BTree() to self._index=BTree.BTree() "

<  |  >

 

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

    Re: Solution to 2.1.0 problem found!
    by Eric Holcomb on Sunday December 05, 06:46AM, 1999
    I'm installing zope/squishdot for the first time and am having trouble getting the squishdot added. The symptoms are pretty much what you describe though this fix hasn't changed the behavior of the add function. Is there anything else that I must do for this to take effect?

    Thanks,
    e.

    Following is the details of what I am seeing. Just in case it helps....


    Traceback (innermost last):
    File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 214, in publish_module
    File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 179, in publish
    File /usr/local/zope/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
    File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 165, in publish
    File /usr/local/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_addSquishdot)
    File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: manage_addSquishdot)
    File /usr/local/zope/lib/python/Products/Squishdot/Squishdot.py, line 1560, in manage_addSquishdot
    (Object: ElementWithAttributes)
    File /usr/local/zope/lib/python/Products/Squishdot/Squishdot.py, line 381, in __init__
    (Object: ElementWithAttributes)
    File /usr/local/zope/lib/python/SearchIndex/TextIndex.py, line 253, in __init__
    TypeError: (see above)
    [ Reply to this ]
    Re: Solution to 2.1.0 problem found!
    by mob raldo on Monday December 06, 07:29PM, 1999
    First Post !!!!!!
    [ Reply to this ]
    • Pathetic
      by Bruce Atherton on Tuesday December 07, 06:00PM, 1999
      A few observations:

      1. No it's not the first post
      2. Who cares if it was?
      3. Impersonating other people is a net.crime punishable with virtual hangin' (Butch, raytrace the rope)
      4. For goodness sake, we just got the comments opened up! One loser can screw things up for everyone. Don't be that loser.

      I've heard about first post syndrome (affecting the hard of thinking) on Slashdot, but fortunately I've never seen it because of moderation. Posts with no content disappear from my field of vision. Now we see how Squishdot might benefit from the same.

      [ Reply to this ]
      • Re: Pathetic
        by annonimity sniveler on Friday December 10, 09:51PM, 1999
        a few additional observations

        1>on squishdot it was my first post
        2>i thought it was funny as hell (i laughed at the computer for 5 min,yeah my sence of humor is pathetic)
        3>how could i be impersonating other people if i've never impersonated myself
        4>the comments section seems to be working (whats this zope shit i'm reading about)

        my apologies if i have unintentionally offended anyone

        this post is made with 100% recycled bytes

        no animal products are used in this electonic ink

        [ Reply to this ]
        • Re: Pathetic
          by Flip Flop on Thursday December 23, 12:33PM, 1999
          this is just not funny.
          GET THAT THING OFF OF ME!!!

          [ Reply to this ]
    Re: Solution to 2.1.0 problem found!
    by John Hendow on Tuesday December 07, 12:52AM, 1999
    Yes indeed. Good job. I have tested this on two platforms and it does indeed fix the problem. It also fixes the error I was experiencing on WinNT with my own Z object. Thanks for posting this fix.
    [ Reply to this ]
    Re: Solution to 2.1.0 problem found!
    by John Glossner on Tuesday December 07, 11:10AM, 1999
    Does your fix explain why a site which is upgraded to 2.1.0 still works fine (even the search)? It seems to me that an existing site
    should also break but I have not experienced any side effects.

    Thanks,
    John
    [ 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.