[Zope] ZopePacks: A Proposal for a new Zope Product...

Shaw, Mark Mark.Shaw@cadus.com
Fri, 21 Jan 2000 14:51:57 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01BF6448.FBD311C0
Content-Type: text/plain;
	charset="iso-8859-1"


 <<mshawproduct1-1_0_tar.gz>> 

Jim,

Here's a product that works in my current 2.0.1 Zope instance.  It lets me
add PDF documents to my site.  It was built by following the HOW-TO found on
the Zope.Org site.  I created a distribution from the Distribution tab, then
import the product into my new 2.1.2 instance which is an upgrade of the
2.0.1 site.  However, I get the following error when trying to access a page
containing a list of PDF documents.

Zope Error[PARA]Zope has encountered an error while publishing this
resource. [PARA]Error Type: KeyError[PARA][PARA]Troubleshooting
Suggestions[PARA]* This resource may be trying to reference a nonexistent
object or variable pub_date. [PARA]* The URL may be incorrect. [PARA]* The
parameters passed to this resource may be incorrect. [PARA]* A resource that
this resource relies on may be encountering an error. [PARA]For more
detailed information about the error, please refer to the HTML source for
this page. [PARA]If the error persists please contact the site maintainer.
Thank you for your patience. 


This is the code for the page that causes the error.


<!-- Start Document List -->

<table border=0 cellspacing=4 cellpadding=2 WIDTH="100%">
   <tr bgcolor="#DDEECC">
      <td><b>Title</b></td><td align="center">Pub Date</td>
   </tr>

   <!--#in "PARENTS[0].objectValues(['PDF File'])" sort=id-->
   <tr bgcolor="#DDEECC">

      <td>
         <FONT color="#666666" FACE="Arial" SIZE="2">
            <a href="<!--#var id url_quote-->"><!--#var title--></a>
         </FONT>
      </td><td align="center">
         <FONT color="#666666" FACE="Arial" SIZE="2">
            <dtml-var pub_date>
         </FONT>
      </td>

   </tr>
   <!--#/in-->

</table>

<!-- End Document List -->

If I comment out the reference to pub_date, this is what I get

	[NL][PARA]Title	Pub Date
This object from the unknown product is broken! 	** 
This object from the unknown product is broken! 	** 
This object from the unknown product is broken! 	** 



Any ideas?  TIA.  Sorry for being such as needy newbie :)

	-Mark


 -----Original Message-----
From: 	Jim Fulton [mailto:jim@digicool.com] 
Sent:	Friday, January 21, 2000 1:52 PM
To:	Butch Landingin
Cc:	zope@zope.org
Subject:	Re: [Zope] ZopePacks: A Proposal for a new Zope Product...

Butch Landingin wrote:
> 
> Hi all,
> 
> I've created a proposal for a new Zope product which I'm
> in the process of building.
> 
> The url of the proposal is:
> 
>     http://www.zope.org/Members/butchland/ZopePackProposal/index_html
> 
> Its a long document and it suffers a little in the
> succintness/clarity department (sorry about that :()
> 
> In summary, I'm proposing a mechanism by which
> we can manage ZClasses and other objects (e.g. Folders)
> exported via .zexp files  and somewhat make the process
> of deploying ZClass-based applications easier and
> error-free.
> 
> I hope you take the time out to read it and give me your
> valuable opinion, advice, and help.

Here's one comment that should provide a good place to start.
There is already a mechanism for creating product distributions
for products created through the web.  When you develop a product
with ZClasses and you want to distribute it, you can use a 
web interface to create a tar ball that can be installed just like
any other Zope product. There is no need to fool around with export
files and no need to have an inconsistent installation mechanisms.

This is documented in the Zope Content Manager's Guide,
http://www.zope.org/Documentation/Guides/ZCMG, in the chapter
on "Zope Applications and Products", 
http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.6.html,
in the section on "Creating Product Distributions", 
http://www.zope.org/Documentation/Guides/ZCMG-HTML/ZCMG.6.4.html.

This mechanism is far from perfect and I look forward to
suggestions and implementation for enhancements.  We also
have some specific ideas for enhancing this mechanism.

This seems to be one of those topics of "Zope Zen" that
is not widely known. (Very few people at DC seem to be
aware of it.) This is a bit ironic, since this feature
has been *documented* for well over a year. :(

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.

_______________________________________________
Zope maillist  -  Zope@zope.org
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 )

------_=_NextPart_000_01BF6448.FBD311C0
Content-Type: application/octet-stream;
	name="mshawproduct1-1_0_tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="mshawproduct1-1_0_tar.gz"

H4sICKyyiDgC/21zaGF3UHJvZHVjdDEtMS4wLnRhcgDt13cw3OvCwHGdEKwSJYtYJYITdtmNsnqJ
LnpndVawyrJBJGpEiE60EI62hGixHBGyrKMsq8TBinKJKFmCRA3xnjvv/efcO3PuzDtzz8x7x+ef
53lmnj+eZ575zm9+/kh32aAItC8qUNYsBOUZ5oEOlQ0I9XXD/GMFkUUgkIFINAIhExRB9X8DBoNv
QaHCfx9/98/j76AKwmAFMFQOIg+Rg0GFwXIQBfm/76f6C4SFot1Cfj+KHzLgT/eFRoSivQL+9JJ/
uNz/EyL/eGfhPzy6CLPwH1Fd+O/k/2/7D/cKCUWiAmXQ99D/qf7B8v/UvxwYCrno/68AkQFfRHDR
/5/0H/S/ExlPt/9Q/zCoPORfvv8KChf9/xWsPKVowgKyrJKkHZsjqt86CKfNPz18XoDssOaPbhbu
NLYkvGYkvW9VjDV7CZ4xpR10kbSZDqFlTh218RSuK/swl2HBk37A52imb4jJOOSgICTE7y/lSuRW
mbiMRW3bNZZqRStX3Z28EvdjXDClILobpt9nx6RFMc2WvMSEQz6vrreYAtIEUjBM1hiqwHM5K66P
rzJUQiLCWi0cmaSG/XdW1smD0E+7qdLT+5funjy5PXNViXZuJC7El+6IUQK+sh2ioKZU1mMyHcZ7
VMMUlQv/0a1TTnnuEJ9f3VWi/R4+DVy3J9aDGO3CMCL5djzly4WErEsb4we5hb7lt6IecMancU4o
taeuuoL8M+3WRIcR7xJ6lgbpXIMnQKJh/k6SBAgVQtlWaH7LwA30mBdzLjCyDWTx/Xx+eqex+WTl
5576yvM1i+ykPA9YZryZJcyDP0nUxxBWV4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