[Zope-dev] ZMI: preserve the sort criteria

2002-08-29 Thread THerp
I often sort the object list in the ZMI by modification date, to get the script on top I'm currently working on. However, whenever I navigate to another folder, the default sorting is by name. I'd like it very much if the sort criteria would be kept until changed explicitly, e. g. by storing it i

[Zope-dev] Site-crawler (find unused objects)

2002-08-29 Thread THerp
Hi, has anyone written a script which crawls a site and lists all objects which aren't referenced anymore? Tobias Herp Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informier

Re: [Zope-dev] find unused objects: hopefully the last misunderstanding...

2002-08-30 Thread THerp
* > Starting at root, check all objects if they are referenced, * > and produce a list of those which are not, for cleanup purposes. * Packing the database cleans up in this manner. Oh well. Third try: I know about the 'pack database' button. Garbage collection of this kind is not my problem.

Re: [Zope-dev] find unused objects: hopefully the last misunderstanding... :o)

2002-08-30 Thread THerp
* > I have lots of scripts, dtml methods etc. everywhere which are * > perfectly well-known to the ZODB, nothing wrong with that, but which * > are simply not used by me anymore. No usage from other scripts nor * > methods nor documents. And these buggers I'd like to find. * There is no easy way

Re: [Zope-dev] find unused objects: hopefully the last misunderstanding... :o)

2002-08-30 Thread THerp
Original problem: > I have lots of scripts, dtml methods etc. everywhere which are > perfectly well-known to the ZODB, nothing wrong with that, but which > are simply not used by me anymore. No usage from other scripts nor > methods nor documents. And these buggers I'd like to find. @Steve: > Y

[Zope-dev] install complains about 'invalid' Python files

2003-03-13 Thread THerp
Hi, I hope this is the proper list for my question, or at least for my suggestion. I have a Python product which contains Python scripts (*.py) and DTML methods (*.dtml) which can get used by the user to create certain standard versions of e.g. generated menus etc.; the ZODB objects can then be

Re: [Zope-dev] install complains about 'invalid' Python files

2003-03-13 Thread THerp
Lennart Regebro wrote: > [EMAIL PROTECTED] wrote: > > When I run the Zope install script on a freshly installed Zope, and my > > Product is already there, it complains that the *.py scripts (aimed for > > import) would be invalid, because there are return-, but no def statements. > > Thus, install