Re: [Zope] Broken 'What's New' on Zope.org?
This is a longstanding bug. Send complaints to [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, September 15, 2000 12:31 PM Subject: [Zope] Broken 'What's New' on Zope.org? Is it just me or is the 'What's New' Feature on Zope.org been broken for months? I get.. System Unavailable This site is currently experiencing technical difficulties. Please contact the site administrator for moreinformation. For additional technical information, please refer to the HTML source for this page. Thank you for your patience. Error type: TypeError Error value: unhashable type And in the code.. Traceback (innermost last): File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/dc/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/dc/Zope2/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: newitems.html) File /usr/local/dc/Zope2/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: newitems.html) File /usr/local/dc/zope_soft/lib/python/OFS/DTMLDocument.py, line 177, in __call__ (Object: newitems.html) File /usr/local/dc/Zope2/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: newitems.html) File /usr/local/dc/Zope2/lib/python/DocumentTemplate/DT_Let.py, line 147, in render (Object: results="SiteIndex(REQUEST=REQUEST)") File /usr/local/dc/Zope2/lib/python/DocumentTemplate/DT_In.py, line 493, in renderwb (Object: results) File /usr/local/dc/Zope2/lib/python/DocumentTemplate/DT_In.py, line 741, in sort_sequence (Object: results) TypeError: (see above) Just me? Or is this a 'known' issue? It was/is my favorite feature of Zope.org. Thanks, J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Broken 'What's New' on Zope.org?
I looked at the source once and tried to figure it out. Mostly it looks like they keep it all in a catalog (duh) and set a cookie as to your last visit. When login and go to the 'What's New' page they check the cookie, compare it against the items recently added and show you the list. I guess it would only require the site catalog and the users logging in. They might also write the 'last visit' into the ZODB. It is also something I have wanted to do for awhile but have not really built that many user based sites. Let me know what you come up with or if you want further description. I am also going to try (someday) to build a simple version into ZUBB (as you probably are going to into Squishdot). Hope it helps... J From: Chris Withers [EMAIL PROTECTED] Organization: New Information Paradigms Date: Fri, 15 Sep 2000 18:18:39 +0100 To: Chris McDonough [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: [Zope] Broken 'What's New' on Zope.org? Chris McDonough wrote: This is a longstanding bug. Send complaints to [EMAIL PROTECTED] If anyone fixes it, please let us all know... I'm looking for just the same functionality for a site here adn I was hoping to do a view_source for the answer :-S cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Broken 'What's New' on Zope.org?
Hi Chris ! Chris Withers wrote: Chris McDonough wrote: This is a longstanding bug. Send complaints to [EMAIL PROTECTED] If anyone fixes it, please let us all know... I'm looking for just the same functionality for a site here adn I was hoping to do a view_source for the answer :-S Shouldn't the following do ? dtml-in "Catalog()" reverse sort=bobobase_modification_time size=50 Show stuff in Catalog here. /dtml-with At least that is what works perfectly for the ZDP site: http://zdp.zope.org/new Regards, Maik -- Uzopia - Digging la vida Zopa - http://uzopia.editthispage.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )