Re: [Zope] ANNOUNCE: FAQ Tool sample Zope app.
Amos Latteier wrote: <bobbit>
But the levered faq product .DAT file apparently failed to unpickle - as described by others in this thread.
Can you tell me why you believe this to be the case?
I assumed that the .DAT file contained all the component DTML and PY scripts etc and that these would be expanded into the Product's home directory somehow. Is this not the case? Is the .DAT distribution a way of distributing the objects without the source ? (more Cathedral than Bazaar)
My product management screen shows the FAQ product as installed, but the actual product directory still has just the three files from the tarball.
This is normal. That's what's supposed to be there.
Does the FAQ item show up in the product add list?
No - but it does show up in the installed products control panel.
If not, then you have a problem. If you have this problem, then please send to me, not the zope list, information about your platform, and the version of Zope you have installed.
As stated before, Zope 1.10.2 running on ZAP-Linux. many tias, gary
At 00:53 02/03/99 , Gary Stephenson wrote:
I assumed that the .DAT file contained all the component DTML and PY scripts etc and that these would be expanded into the Product's home directory somehow. Is this not the case? Is the .DAT distribution a way of distributing the objects without the source ? (more Cathedral than Bazaar)
The .DAT file only contains information to be added to the Object Database. It won't be expanded into files onto your harddisk. Zope stores all instances of classes in it's object databse, via a process called 'pickling'. This, in simple terms, means that all data stored in an object is turned into one stream of data that can be stored in a file. As a 'Levered' product contains nothing but instances of classes, not the classes themselves, it suffices to distribute only the compressed pickled contents of the product. The source for the used classes you allready have (at least with the FAQ you do, it uses only DTML Methods and Folders), and the DTML scripts can be viewed in Zope, so you do get all the source. The objects that make up the product should normally be automaticly decompressed and imported into Zope, but the decrompressing seems to be failing. -- M.J. Pieters, Web Developer | Antraciethttp://www.antraciet.nl | Tel: +31-35-6254545 Fax: +31-35-6254555 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (2)
-
Gary Stephenson -
Martijn Pieters