Re: [Zope-dev] roman.py missing on 2.7 branch?

2005-01-13 Thread Andreas Jung
FIxed
--On Freitag, 14. Januar 2005 0:12 Uhr +0100 "Stefan H. Holek" 
<[EMAIL PROTECTED]> wrote:

Seems docutils is not there just yet. I have added a test to
reStructuredText that tries to import the rst parser and it - gasp -
fails.
Stefan
--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.   /Pete McBreen/
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


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


[Zope-dev] roman.py missing on 2.7 branch?

2005-01-13 Thread Stefan H. Holek
Seems docutils is not there just yet. I have added a test to 
reStructuredText that tries to import the rst parser and it - gasp - 
fails.

Stefan
--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.   /Pete McBreen/
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] subobject in BaseObject

2005-01-13 Thread Dieter Maurer
Pan Junyong wrote at 2005-1-12 02:00 +0800:
>Archetypes has a cool feature: when MS doc are transform to html, 
>pictures in the doc are stored as subobject of the content.
>
>After many tests, the feature works only when anonymous can view the 
>content. Or the picture will not show even I login at admin.
>
>I traced it, and found it fails at the last step: it returns the correct 
>wrapper object, but fails when call the following __call__ method(no 
>permission).

Did you read already that questions must always be accompanied
with complete information -- especially the precise error text,
the corresponding traceback an a code snippet that caused the
exception?

Furthermore, the "VerboseSecurity" product can help you
to analyse permission problems.

-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Extending SiteErrorLog

2005-01-13 Thread Christian Theune
Am Mittwoch, den 12.01.2005, 20:10 + schrieb Chris Withers:
> Haven't had a look, but since it's related, I'll pipe up.
> 
> I'd love to see all the useful information shown in the error log be 
> storable somewhere persistent, rather than just the rather puny 
> copy-to-log functionality that currently exists. It sounds like you're 
> making this happen by storing things on the file system, that so?

Jup. I'm writing a file for a selected entry called
"Exception-" containing a textual representation of the
whole error log entry (not just the traceback).

> In any case, here's another idea: Make the storage of information to the 
> log pluggable. One obvious way that I can see this is to have another 
> python logger (say called error_log, rather than event) set up which 
> gets the detailed info passed to the log entry format string (you'll 
> need to write a custom Formatter to do this, but it's not hard, I have 
> an example if you're interested).
> 
> Where and how these entries are logged is then configurable in Zope.conf 
> (well, once this is fixed http://zope.org/Collectors/Zope/1613 )

Would that really be needed? I'm pretty happy with the solution as is.

Cheers,
Christian

-- 
gocept gmbh & co. kg - schalaunische str. 6 - 06366 koethen - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 3496 30 99 112 -
fax +49 3496 30 99 118 - zope and plone consulting and development


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] FYI: test.py changes rolled back

2005-01-13 Thread Stefan H. Holek
I have restored test.py to the version shipping with Zope 2.7.3. The 
changes made to accommodate Florent's use-case (adjacent symlinks) 
broke some of mine. In particular, without calling realpath (or 
abspath) on libdir, trailing slashes caused no tests to be found, as 
did some combinations of '.' and '..'. [1]

I am confident we can find a way to solve this, but wanted to avoid 
releasing a "challenged" test runner with Zope 2.7.4.

Florent, in the meantime I am hoping you can run your tests by using a 
combination of --libdir and --dir flags. Sorry for the inconvenience.

Stefan
[1] The real issue in PathInit IMO is the return value of os.getcwd(), 
which is realpath'd one some systems and abspath'd on others...

--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.   /Pete McBreen/
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] INGRES R3 . If you plan to use Ingres please read this

2005-01-13 Thread sathya
http://opensource.ca.com/projects/
Chris Withers wrote:
sathya wrote:
Since Ingres Plone and APE have some things in common I thought I 
should post this on this forum. Your experience may be different  and
the above is just FYI . I hope things get better in the days ahead.

Out of interest, where are APE and Ingres's python support 
downloadable from?

cheers,
Chris

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