RE: [Zope-dev] Can't access ZClass object unless superuser

2001-12-18 Thread Joshua Lanza

Steve rocks!

It wasn't actually the Ownership, but when I looked at the object I
realized that I did not expose the Ownership tab, or the Security tab
for the objects that I had created from the ZClass. When I created those
views, I found that the permissions for the objects were not set
correctly. I don't know how that happened, since I could not even see
the permissions in order to edit them. I assume that they acquired those
permissions from somewhere, but far better to see them make sure they're
right. 'View' and acquire permissions had been disabled. 

Thanks again!

Josh


-Original Message-
From: Steve Alexander [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 18, 2001 3:32 PM
To: Joshua Lanza
Subject: Re: [Zope-dev] Can't access ZClass object unless superuser

Joshua Lanza wrote:

> No, unfortunately, I haven't deleted any users. But thanks for
> responding :)
> 
> The permissions settings cascade downward through the directory
> structure, so I would think that if I grant Anonymous every permission
> in every folder and every method all the way down through the ZClass
> definition and then do the same for the page that uses the ZClass, it
> should allow Anonymous access. I'm using the latest stable release of
> CMF and Zope on Windex, and not interacting with IIS at all. 


This looks like an ownership issue to me.

I recommend that you ensure that each object you're having problems with

is owned. Look on the "Ownership" tab and see whether it is owned.

--
Steve Alexander




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified, other solutions also suggested

2001-12-18 Thread Joseph Wayne Norton


Matt et al -

We are using python 2.1.1 with pymalloc disabled and gc enabled with
zope 2.4.3 on the solaris platform.  We are currently seeing only 1 or
2 restarts a day for the zope/zeo clients.  Fortunately, we have not
experienced any trouble with the zeo server.

We have applied the a) extensionclass bugfix and I'm also planning to
apply the b) frame setup bugfix later this week.  We feel that patch
a) has reduced the number of restarts ... but the site activity has
descreased as well so it is difficult to really confirm.

1) I would like to know if any patches are available yet for the c)
compiler stack size bug.  When and if this patch is available, would
it require a new python installation, a new zope installation, or
both?

2) Are there any other related patches/comments with respect to python
2.1.1 and zope 2.4.3 and this issue?

thanks,

- joe n.


At Tue, 18 Dec 2001 10:44:33 -0500,
Matthew T. Kromer wrote:
> 
> Well, one suspicion I have is that (aside from memory corruption caused 
> by the compiler sack size bugs and the frame setup bug in 2.1 when 
> handling exceptions) ExtensionClasses are providing bogus data to 
> modules which aren't checking the flags to see if the GC fields are 
> populated.
> 
> Some of the people who have tried the modified extensionclass.h which 
> pads out the type object to align it with the 2.1 type object THINK they 
> have seen a reduction in crashes, but these same folks also have not 
> applied fixes for the two known bugs.
> 
> Soo... if shutting off GC extends time between crashes for some folks 
> from every 15 minutes to 3 times a day, my advise is to shut off GC.
> 

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



RE: [Zope-dev] Can't access ZClass object unless superuser

2001-12-18 Thread Joshua Lanza

No, unfortunately, I haven't deleted any users. But thanks for
responding :)

The permissions settings cascade downward through the directory
structure, so I would think that if I grant Anonymous every permission
in every folder and every method all the way down through the ZClass
definition and then do the same for the page that uses the ZClass, it
should allow Anonymous access. I'm using the latest stable release of
CMF and Zope on Windex, and not interacting with IIS at all. 

Josh

-Original Message-
From: Steve Alexander [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 18, 2001 2:08 PM
To: Joshua Lanza
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope-dev] Can't access ZClass object unless superuser

Joshua Lanza wrote:

> This must be a simple issue, but I can't get objects that I create 
> from custom ZClasses to be visible to Anonymous. In fact they are only

> visible to the SuperUser. I have granted every permission I can find, 
> and tried every possible combination with proxy roles.
>  
> I have wasted almost 2 days on this single issue and it's driving me 
> perfectly mad. It's the only thing I need to sell Zope to upper 
> management, but they're growing more impatient as I twiddle away more 
> and more hours searching for anything helpful on this. The whole 
> site's built, but only available to me.
>  
> Any help really really really appreciated,


Have you deleted any users recently?

If so, your ZClass instances might be unowned. You'll need to take 
ownership of them.

--
Steve Alexander





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Can't access ZClass object unless superuser

2001-12-18 Thread Steve Alexander

Joshua Lanza wrote:

> This must be a simple issue, but I can't get objects that I create from
> custom ZClasses to be visible to Anonymous. In fact they are only
> visible to the SuperUser. I have granted every permission I can find,
> and tried every possible combination with proxy roles. 
>  
> I have wasted almost 2 days on this single issue and it's driving me
> perfectly mad. It's the only thing I need to sell Zope to upper
> management, but they're growing more impatient as I twiddle away more
> and more hours searching for anything helpful on this. The whole site's
> built, but only available to me. 
>  
> Any help really really really appreciated,


Have you deleted any users recently?

If so, your ZClass instances might be unowned. You'll need to take 
ownership of them.

--
Steve Alexander





___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Can't access ZClass object unless superuser

2001-12-18 Thread Joshua Lanza

This must be a simple issue, but I can't get objects that I create from
custom ZClasses to be visible to Anonymous. In fact they are only
visible to the SuperUser. I have granted every permission I can find,
and tried every possible combination with proxy roles. 
 
I have wasted almost 2 days on this single issue and it's driving me
perfectly mad. It's the only thing I need to sell Zope to upper
management, but they're growing more impatient as I twiddle away more
and more hours searching for anything helpful on this. The whole site's
built, but only available to me. 
 
Any help really really really appreciated,
 
Josh
 

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] OpenOffice and Zope ??

2001-12-18 Thread Dirk Datzert

Hi,

has anybody integrated/plans on intragration/experimented with
OpenOffice and Zope ?

- OpenOffice as a HTML Editor / Web-Frontend for Zope

or

- OpenOffice as a HelperTool in the Background (external converter for
MS Office Products) of Zope

Special interests in turning excel-spreadsheets with diagramms (!) into
searchable pdf and/or html with pics into Zope.

Thanks
Dirk


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair

> > I will need to use the $counter variable later on in the script.

Oh sorry, forgot that one...

Inside your loop, you can do:




But then again, this would only give the _total_ number of iterations that 
have been made. If you only need this number :-), then please forget 
everything that I wrote, and just use
sequence-length
or
_.len(WhatYouAreIteratingThrough)

Since you can't break out of a dtml-in, the number of iterations that will be 
made will always be equal to the number of items ("length") in your sequence.

Danny

P.S.: All this should be on [EMAIL PROTECTED], rather than zope-dev

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Iteration counter

2001-12-18 Thread Danny William Adair

On Wednesday 19 December 2001 10:11, Jon Erickson wrote:
> I need a to create a simple counter variable that will store the number of
> iterations by a  structure.  I have yet to find a way how to do
> this in zope.  Here is an example (in perl) of what I need to do:

The number of iterations are already available as:
sequence-index (starting at 0) and
sequence-number (starting at 1)

hth,
Danny

>
> @bar = ("sara","jane","kate");
>
> foreach $foo (@bar) {
>   print "$foo\n";
>   $counter = $counter + 1;
> }
>
> I will need to use the $counter variable later on in the script.  Does
> anyone know how I can do this in zope?
>
> Thanks,
>
> Jon Erickson
>
>
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Iteration counter

2001-12-18 Thread Jon Erickson

I need a to create a simple counter variable that will store the number of 
iterations by a  structure.  I have yet to find a way how to do 
this in zope.  Here is an example (in perl) of what I need to do:

@bar = ("sara","jane","kate");

foreach $foo (@bar) {
  print "$foo\n";
  $counter = $counter + 1;
}

I will need to use the $counter variable later on in the script.  Does 
anyone know how I can do this in zope?

Thanks,

Jon Erickson


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Chris McDonough

Oh, ok, sorry for the misreport.  It sounds then as if we need to fix
whatever is causing the memory corruption that GC trips over.  I dont
know that we have a real good handle on what this is.

Note that in the meantime, folks who turn off gc in order to work
around the issue who are having leakage problems should probably
consider the use of AutoLance, a product that will restart your Zope
if memory consumption is too high:
http://www.zope.org/Members/mcdonc/Products/AutoLance .  It currently
only works on Linux.

> Actually, I don't think the leaks haven't been fixed in CVS.  It
would
> be at best painful to try and get the compiler code to work without
> cycle GC.  I really don't want to have to do it.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Anthony Baxter


>>> Jeremy Hylton wrote
> Actually, I don't think the leaks haven't been fixed in CVS.  It would
> be at best painful to try and get the compiler code to work without
> cycle GC.  I really don't want to have to do it.

In that case, there should probably be a readme note or similar saying "if
you're using pythonscripts, don't bother without cyclic GC". 

For me, I run the ZEO server without GC (because that stops the stomped
stack bug killing the ZEO server), and the ZEO clients with GC (and just
wear the restarts.

-- 
Anthony Baxter <[EMAIL PROTECTED]>   
It's never too late to have a happy childhood.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Jeremy Hylton

> "CM" == Chris McDonough <[EMAIL PROTECTED]> writes:

  CM> Ah ok... yeah, there were reportedly several leaks in the
  CM> compiler stuff that have been fixed in CVS.  I imagine that's
  CM> what this is.

Actually, I don't think the leaks haven't been fixed in CVS.  It would
be at best painful to try and get the compiler code to work without
cycle GC.  I really don't want to have to do it.

Jeremy


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Actually, we use a lot of Scripts (Python)

2001-12-18 Thread Leonardo Rochael Almeida


On Tue, 2001-12-18 at 14:25, Matthew T. Kromer wrote:
> [...]
> Keep in mind that the leaks you may experience are directly related to 
> what code you run, and whether or not they introduce cycles.   Some of 
> the restricted python compiler code did/does create cycles under the 
> assumption that the GC would break them.  But if you dont lean on code 
> that uses RestrictedPython too much, you can live with slow leaks elsewhere.

Yes, I understand that, but we use a lot of PythonScripts, mostly as
ZClass methods, and a 1.5GB Data.fs full of ZClass instances. And
ZCatalog, boy do we use ZCatalog. Well, we couldn't live with a 1.5GB
full of ZClass instances if we didn't lean heavily against the Catalog,
now could we? :-)

Cheers, Leo

-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified, other solutions also suggested

2001-12-18 Thread Matthew T. Kromer

Leonardo Rochael Almeida wrote:

>On Tue, 2001-12-18 at 13:44, Matthew T. Kromer wrote:
>
>>Soo... if shutting off GC extends time between crashes for some folks 
>>from every 15 minutes to 3 times a day, my advise is to shut off GC.
>>
>
>Now I can really confirm that gc.disable() is enough to avoid the
>crashes (no need to recompile python --without-gc).
>
>And as far as we could notice, it didn't start leaking like crazy. We
>haven't been able to identify any noticeable increase in memory
>consumption. If it is leaking we will need some more time to notice it.
>
>Cheers, Leo
>

Keep in mind that the leaks you may experience are directly related to 
what code you run, and whether or not they introduce cycles.   Some of 
the restricted python compiler code did/does create cycles under the 
assumption that the GC would break them.  But if you dont lean on code 
that uses RestrictedPython too much, you can live with slow leaks elsewhere.


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified,other solutions also suggested

2001-12-18 Thread Leonardo Rochael Almeida

On Tue, 2001-12-18 at 13:44, Matthew T. Kromer wrote:
> Soo... if shutting off GC extends time between crashes for some folks 
> from every 15 minutes to 3 times a day, my advise is to shut off GC.

Now I can really confirm that gc.disable() is enough to avoid the
crashes (no need to recompile python --without-gc).

And as far as we could notice, it didn't start leaking like crazy. We
haven't been able to identify any noticeable increase in memory
consumption. If it is leaking we will need some more time to notice it.

Cheers, Leo

-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Re: Zope 2.4 crashes -- possible fix identified, other solutions also suggested

2001-12-18 Thread Matthew T. Kromer

Jeremy Hylton wrote:

>>"MTK" == Matthew T Kromer <[EMAIL PROTECTED]> writes:
>>
>
>  MTK> A side effect of shutting off the garbage collector is that you
>  MTK> can have some storage leaks.  We're working on being able to
>  MTK> re-enable the garbage collector so that you don't exhaust
>  MTK> memory over time.
>
>Do you have any more idea about what shutting the garbage collector
>off achieves?  In practice, the garbage collector's most common effect
>is to turn latent bugs into manifest bugs; a bug has trashed part of
>memory and the garbage collector just happens to find it first.  If
>you turn GC off in these cases, you run a little longer, but you're
>running with corrupted memory.
>
>Jeremy
>


Well, one suspicion I have is that (aside from memory corruption caused 
by the compiler sack size bugs and the frame setup bug in 2.1 when 
handling exceptions) ExtensionClasses are providing bogus data to 
modules which aren't checking the flags to see if the GC fields are 
populated.

Some of the people who have tried the modified extensionclass.h which 
pads out the type object to align it with the 2.1 type object THINK they 
have seen a reduction in crashes, but these same folks also have not 
applied fixes for the two known bugs.

Soo... if shutting off GC extends time between crashes for some folks 
from every 15 minutes to 3 times a day, my advise is to shut off GC.



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Chris McDonough

It is no longer based on bytecodehacks, it uses Jeremy's compiler 
module.  It did produce some (unintended) circrefs, but I think the 
version in CVS as well as the version that will ship with Python 2.2 has 
these taken out.

Toby Dickenson wrote:
> On Mon, 17 Dec 2001 23:13:54 -0500, Chris McDonough <[EMAIL PROTECTED]>
> wrote:
> 
> 
>>Ah ok... yeah, there were reportedly several leaks in the compiler stuff 
>>that have been fixed in CVS.  I imagine that's what this is.
>>
> 
> Is the compiler still based on bytecodehacks? If so, I dont think this
> is a bug
> 
> As I understand it, that package is designed to leave cyclic garbage
> around under the assumption that python's garbage collector will break
> the cycles. Early versions of bytecodehacks broke the cycles manually,
> at a great performance cost.
> 
> 
> Toby Dickenson
> [EMAIL PROTECTED]
> 
> ___
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
> 


-- 
Chris McDonoughZope Corporation
http://www.zope.org http://www.zope.com
"Killing hundreds of birds with thousands of stones"


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-18 Thread Gary Poster

Hi all.  The Virtual Host Folder I released currently has a lot of the
features you want, and is getting a number of other ones.  I think it is
worth a look, but then, that's just me.  It replaces the VHM.  I need to
specify the interface, such as it is, but ...
1) The currently released one is very stable, as far as I can tell
2) I'm working on a CMF tool "front end" to it that should be released in
beta within the week
3) I should also be releasing a new version this week that has
all-but-the-kitchen-sink alias support per-virtual-host.  Kind of a
power-tools approach, where you are responsible for setting up exactly how
you want the alias to work.  Potentially confusing but hopefully flexible
and powerful.  And TTW, of course.
4) Once I have the CMF tool front end, I will of necessity have settled down
on interfaces to get the various pieces of info you want (virtual host root,
location from virtual root for breadcrumbs, etc.)  It will need to be a bit
specialized because of the alias bits.
5) I'm interested in getting feedback on it now (particularly the
soon-to-be-released all-slicing all-dicing alias version) and adding
features/cleaning it up as desired (starting January, when my life will
hopefully have settled down a bit)

For now, it and its current feature list is at
http://www.zope.org/Members/poster/VHF

I'll send a note on Announce when the new one is out.

Gary


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] [IDEA] ZopeRoot and SiteRoot

2001-12-18 Thread Toby Dickenson

On Mon, 17 Dec 2001 10:16:09 -0500, Casey Duncan <[EMAIL PROTECTED]>
wrote:

>That SiteRoot should also be a callable object 
>(if it exists) returning the Root folder of the sub-site. Now this may 
>already be the case, but if not I thought it might be worthwhile.

That makes sense for the simple virtual-hosting scenario of
one-folder-per-virtual-hosts, however what you suggest cant be
achieved in the general case.

Given an arbitrarily complicated set of rewrite rules, the concept of
'Site Root' is not well defined.

Its called VirtualHost*Monster* for a reason ;-)

Toby Dickenson
[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] disabling gc does not necessarily hide memory corruption

2001-12-18 Thread Toby Dickenson

On Mon, 17 Dec 2001 23:13:54 -0500, Chris McDonough <[EMAIL PROTECTED]>
wrote:

>Ah ok... yeah, there were reportedly several leaks in the compiler stuff 
>that have been fixed in CVS.  I imagine that's what this is.

Is the compiler still based on bytecodehacks? If so, I dont think this
is a bug

As I understand it, that package is designed to leave cyclic garbage
around under the assumption that python's garbage collector will break
the cycles. Early versions of bytecodehacks broke the cycles manually,
at a great performance cost.


Toby Dickenson
[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] PDF from Printable Page

2001-12-18 Thread Juergen R. Plasser / HEXAGON

Hi,

I have tried ZpdfDocument but it seems to be not appropriate for more 
complex HTML files. It would be a nice concept to use the HTML and 
structured text sources for generating PDFs but it does not support the 
most important features.

As a second tool there is ReportLab (don't know if there are others). 
ReportLab is Python based (you have to use external methods) but by far not 
so restrictive as ZpdfDocument. Look for ReportLab on 
http://www.reportlab.com/.

Juergen

--On Montag, 17. Dezember 2001 23:12 +0100 Dirk Datzert 
<[EMAIL PROTECTED]> wrote:

> Hi,
>
> I'm looking for a way to get a PDF from a Printable Page. I thought of
> the ZpdfDocument as a base for this kind of issue. Has anybody some
> experience in resolving this issue ?
>
> Regards,
> Dirk
>
>
> ___


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )