[ZPatterns] Bug in Zpatterns on debian testing

Steve Spicklemire steve@spvi.com
Tue, 29 Apr 2003 10:55:53 -0500


Hi Kevin,

Also.. if you are creating a DataSkin subclass (as a ZClass) you 
normally wouldn't click on 'create constructor' since there's really no 
need for a factory for most ZPatterns objects (since DataSkins are 
created by their managers, e.g., Rack or Specialist).

Also.. if you want to test some fresh code, you might check out 'ZApp' 
which is an embryonic (yet functional!) set of tools to build ZPatterns 
apps quickly. There is a subproject called 'ZAppStart' that is aimed at 
getting you started quickly. ZApp doesn't use ZClasses.. but the base 
classes are functional enough that you don't need to add much to a 
plain python class to play with ZPatterns.

It's just in CVS at sf.net/projects/zapp

Good luck!
-steve

On Friday, April 18, 2003, at 11:46  AM, Kevin Chambers wrote:

> Hi there--
>
> I just switched over to Zope 2.6, and included zpatterns in my 
> installation of debian testing (Sarge).  I found I could not create a 
> zclass in a product I'd just created.  Uninstalling zpatterns fixed 
> the problem.
>
> Traceback:
>
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 98, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 39, in call_object
>   Module Products.PlugIns.PlugIns, line 842, in manage_addZClass
> KeyError: title
>
> Any ideas on fixing this?  I've been reading the docs on zpatterns, 
> and I really want to give it a shot for making sql-fed sites.
>
> Thanks in advance
> KC
>
>
>
>
> _______________________________________________
> ZPatterns mailing list
> ZPatterns@eby-sarna.com
> http://www.eby-sarna.com/mailman/listinfo/zpatterns