[Zope-dev] PersistentMapping

2001-07-13 Thread Erik Enge

Hi,

I'm trying to use PersistentMapping instead of a regular mapping
object, but I'm running into some problems.  When I add and remove
stuff from the mapping it sometimes fail or removes the wrong thing.

Do I need adapt my code to it, or should it be straight forward?



___
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] Curiously Zope Hanging

2001-07-13 Thread Andre Schubert

Hi,

Ok, we( my SysAdmin and i ) have found the problem of hanging.
After hours of searching in the python Sources of all the Products which
are involved
we have nothing found.
At this point my SysAdmin has the idea to trace the python processes
with gdb.
After this we could see that Zope was running somewhare in the
gdchart.so module.
After an update of the gdchart.so the problem doesn't occur anymore.
I doesn't know enough to work with gdb, but if my SysAdmin were not able
to work with gdb so very well, i never have found the point were Zope
runs into another universe :)

thanks as

Steve Spicklemire schrieb:
 
 Sorry.. got distracted and forgot where I was!
 
 
  I think I get the basic picture... but
 
 I think maybe we need more details of your system to be of any more help..
 
 -steve
 
  
   as
  
   Steve Spicklemire schrieb:
  
Well, the good news is you have a reproducable symptom!
   
 
  ___
  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 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] Management Interface in ZODB

2001-07-13 Thread Adrian Hungate

You might want to look at my PatchKit product that may provide the vehicle
you need for your patch. It provides an override for the management style
sheet (Among other unrelated patches).

Adrian...

-Original Message-
From: Tim R Ansell [mailto:[EMAIL PROTECTED]]
Sent: Monday, 09 July 2001 15:03
To: [EMAIL PROTECTED]
Subject: [Zope-dev] Management Interface in ZODB


I have a couple of small patches here that allow you to override the
manage options (i.e. manage_tabs, manage_page_header,
manage_page_footer) in the ZODB. This simple patch seems a nice way to
provide this option without breaking compatibility with the current
system. It patches the App/Management.py and OFS/Application.py file.

This also causes risk of locking yourself out of management, there are 2
ways around this problem; First is to ftp/webDAV in and delete the
offending file.
I've also added a SUPPRESS_CUST_MANAGE option, (for example
abc/SUPPRESS_CUST_MANAGE/manage_main) when this is in the path it will
stop use the core zope management interface instead of the custom ones.
The problem with this is that i get a Override instance at 8189638
instead of the DTML code that should be in place of the object. As well
this option IS NOT thread safe. I'm looking for a better solution but i
can't think of one?

What do people think of this patch? Is there a better way to do this? Is
it possible to get a patch similar to this integrated into the Zope core
because it's an extremely useful.

Hope to hear from you soon

Mithro

___
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] TALES in DTML

2001-07-13 Thread Evan Simpson

I've been given time to work on draft documentation changes for:

http://dev.zope.org/Wikis/DevSite/Proposals/DTMLplusTALES

If you're interested, now is the time to comment.

Cheers,

Evan @ digicool


___
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] TALES in DTML

2001-07-13 Thread Eric Roby

YES YES YES ... THANKA-YOU THANKA-YOU THANKA-YOU...

Evan Wrote ...

 I've been given time to work on draft documentation changes for:
 
 http://dev.zope.org/Wikis/DevSite/Proposals/DTMLplusTALES
 
 If you're interested, now is the time to comment.
 
 Cheers,
 
 Evan @ digicool
 
 
 ___
 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] help! I've broken refresh

2001-07-13 Thread Simon Michael

And life is just not the same without it!

I had auto refresh working fine until recently. Today, if I change a
py file I see the pyc file being regenerated, but only when I do a
manual refresh. And I do not see the effect of the changes until I do
a full zope restart.

FWIW, several things happened lately:

- I cleaned out some shadowed older product versions from
/usr/lib/zope/lib/python/Products

- I experimented with ZEO (but I'm not running it now), and

- I rearranged the product quite a lot. __init__.py was changed,
modules were split up, imports moved around, and there is a new
sub-package tests which also contains a refresh.txt.

Does this sound familiar to anyone ?

-Simon

___
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] Re: help! I've broken refresh

2001-07-13 Thread Simon Michael

Shane Hathaway [EMAIL PROTECTED] writes:
 Are you running Zope 2.4.x?  If so, don't install the Refresh product,
 since the functionality is now built-in.

No, 2.3.3.

 Or maybe the refresh product isn't initializing... ?

hmm it looks normal.

Perhaps it's something to do with today's date. 

-SM

___
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 )