Re: [Zope-dev] problem with TAL statements across multiple lines in zope 2.7b3

2003-12-12 Thread Stuart Bishop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/12/2003, at 3:34 AM, Gerry Kirk wrote: i didn't have this problem with zope 2.6.2. I have a TAL statement as follows: tal:define = "url python:test(item_typeinfo.getId() in use_folder_contents, item.absolute_url()+'/folder_contents', item.ab

Re: [Zope-dev] Zope Head (2.8) breaks "refresh"

2003-12-12 Thread Stuart Bishop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 13/12/2003, at 5:05 AM, Dieter Maurer wrote: Then, it is highly likely that the problems in Zope 2.7 has a different cause. I probably will start working with Zope 2.7 in 2 weeks. And as refresh is an essential functionality for me, I will make it w

[Zope-dev] Re: Converting from old-style BTreess

2003-12-12 Thread Jim Fulton
Sidnei da Silva wrote: /me grumbles Why grumble, the problem may be easier than we thought! Is it right that in general the only old-style BTree in a ZODB is 'ZGlobals' at the root? I dunno. Maybe. :) > It seems ZCatalog have a manage_convertBTrees method since 2.3.1, and at least on my instance,

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-12 Thread Paul Winkler
On Thu, Dec 11, 2003 at 11:03:35PM -0500, Jim Fulton wrote: > 3. The hard part is walking the object tree. You will need a function that, >given an object, will return the oids of the objects it references. >Perhaps Jeremy can help you with that. Perhaps some of the zodb utilities contain

[Zope-dev] Re: problem with TAL statements across multiple lines in zope 2.7b3

2003-12-12 Thread Gerry Kirk
Dieter Maurer wrote: Gerry Kirk wrote at 2003-12-12 11:34 -0500: i didn't have this problem with zope 2.6.2. I have a TAL statement as follows: tal:define = "url python:test(item_typeinfo.getId() in use_folder_contents, item.absolute_url()+'/folder_contents', item.absolute_url()+'/'+action);

Re: Converting from old-style BTreess (was: [Zope-dev] To the brave folks ...)

2003-12-12 Thread Dieter Maurer
Jeremy Hylton wrote at 2003-12-12 10:23 -0500: >> Is it right that in general the only old-style BTree in a ZODB is >> 'ZGlobals' at the root? It seems ZCatalog have a manage_convertBTrees >> method since 2.3.1, and at least on my instance, the indexes BTrees >> are already new. > >I think that is

Re: Converting from old-style BTreess (was: [Zope-dev] To the brave folks ...)

2003-12-12 Thread Sidnei da Silva
| Shane's "BTreeFolder" uses them, too. The old one. BTreeFolder2 uses the new BTrees. -- Sidnei da Silva <[EMAIL PROTECTED]> http://awkly.org - dreamcatching :: making your dreams come true http://plone.org/about/team#dreamcatcher You have mail. ___

Re: [Zope-dev] Zope Head (2.8) breaks "refresh"

2003-12-12 Thread Dieter Maurer
Stuart Bishop wrote at 2003-12-12 09:05 +1100: >>> This is not just a 2.8 issue - the behavior is in the 2.7 betas (at >>> least >>> up to beta 2 - havn't tested autorefresh with beta 3 yet) as well: >>> >>> http://collector.zope.org/Zope/1010 >>> >>> Manually refreshing works fine, but automat

Re: [Zope-dev] problem with TAL statements across multiple lines in zope 2.7b3

2003-12-12 Thread Dieter Maurer
Gerry Kirk wrote at 2003-12-12 11:34 -0500: >i didn't have this problem with zope 2.6.2. I have a TAL statement as >follows: > >tal:define = "url python:test(item_typeinfo.getId() in >use_folder_contents, item.absolute_url()+'/folder_contents', >item.absolute_url()+'/'+action);" > >this stateme

[Zope-dev] problem with TAL statements across multiple lines in zope 2.7b3

2003-12-12 Thread Gerry Kirk
i didn't have this problem with zope 2.6.2. I have a TAL statement as follows: tal:define = "url python:test(item_typeinfo.getId() in use_folder_contents, item.absolute_url()+'/folder_contents', item.absolute_url()+'/'+action);" this statement works if it is all on one line, but i get a synta

Re: [Zope-dev] Environment for Python Development

2003-12-12 Thread Jean Jordaan
Hello. Do any of you know of an IDE(preferably open source) that I can use to develop/debug/test python code in? Thanks. Don't forget Boa Constructor: http://boa-constructor.sourceforge.net/ -- Jean Jordaan http://www.upfrontsystems.co.za ___ Zope-Dev m

Re: Converting from old-style BTreess (was: [Zope-dev] To the brave folks ...)

2003-12-12 Thread Sidnei da Silva
| I think that is true. On the other hand, it was a bit of a surprise to | find a BTree in ZGlobals. Maybe they're hiding somewhere else, too. At least, the script didn't found another one. It did found 7800 objects total, of which one was a BTree (ZGlobals). Now, in 2.7 I get this output (star

Re: Converting from old-style BTreess (was: [Zope-dev] To the brave folks ...)

2003-12-12 Thread Jeremy Hylton
On Fri, 2003-12-12 at 10:09, Sidnei da Silva wrote: > /me grumbles > > Is it right that in general the only old-style BTree in a ZODB is > 'ZGlobals' at the root? It seems ZCatalog have a manage_convertBTrees > method since 2.3.1, and at least on my instance, the indexes BTrees > are already new.

Converting from old-style BTreess (was: [Zope-dev] To the brave folks ...)

2003-12-12 Thread Sidnei da Silva
/me grumbles Is it right that in general the only old-style BTree in a ZODB is 'ZGlobals' at the root? It seems ZCatalog have a manage_convertBTrees method since 2.3.1, and at least on my instance, the indexes BTrees are already new. I'm going to change the code to use BTrees.convert, now that I'

Re: [Zope-dev] Creating a Zope Product

2003-12-12 Thread Max M
Asad Habib wrote: > Does anyone know how to create a Zope Product? One example would be the > Local File System Object that I am using. If you could point me to some > resources that would be great. Thanks. http://zope.org/Members/maxm/index_html/HowTo/minimal_01/ http://zope.org/Members/maxm/inde

Re: [Zope-dev] Creating a Zope Product

2003-12-12 Thread robert
There are sample products on zope.org (look for boring or boringproduct) and then there are the developper documentations Robert Am Freitag, 12. Dezember 2003 14:25 schrieb Asad Habib: > Does anyone know how to create a Zope Product? One example would be the > Local File System Object that I am u

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-12 Thread Sidnei da Silva
| Think of it in terms of modules: | | objects from BTree -> objects from BTrees.OOBTree | objects from IOBTree -> objects from BTrees.IOBTree | objects from OIBTree -> objects from BTrees.OIBTree | objects from IIBTree -> objects from BTrees.IIBTree | objects from intSet -> objects from BTrees.II

[Zope-dev] Creating a Zope Product

2003-12-12 Thread Asad Habib
Does anyone know how to create a Zope Product? One example would be the Local File System Object that I am using. If you could point me to some resources that would be great. Thanks. - Asad ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.o

Re: [Zope-dev] Environment for Python Development

2003-12-12 Thread robert
jeremy recommends this from developerWorks(TM): lesenswert - Title: Charming Python: Review of Python IDEs David looks at four open source development environments for working with Python code on Unix-like operating systems. He

[Zope-dev] Environment for Python Development

2003-12-12 Thread Asad Habib
Hello. Do any of you know of an IDE(preferably open source) that I can use to develop/debug/test python code in? Thanks. - Asad ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encodi

[Zope-dev] Changing the Appearance of the Contents of a Local File System Object

2003-12-12 Thread Asad Habib
Hello. I have a folder that I have created at the root level and inside this folder I have placed one Local File System object. The Local File System object contains two File objects. When I view the Local File System object by clicking on the 'View' option provided by the management interface, I c

[Zope-dev] Re: Post-mortem [Was: Zope 2.7.0 b3 regressions]

2003-12-12 Thread Yuppie
Evan Simpson wrote: Argh. A bug in my refactoring of the tests made them all pass without really testing. I *think* it's fixed now. Thanks! Looks much better now :-) Cheers, Yuppie ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-12 Thread Jim Fulton
Sidnei da Silva wrote: | >Is there any special trick to such script? Provided some pointers of | >what the script should do, I wouldn't mind writing and testing it. | | There are lots of special tricks to such a script. Otherwise, I would | have written it already. :) Obviously. /me slaps his fo

Re: [Zope-dev] To the brave folks trying Zope HEAD...

2003-12-12 Thread Sidnei da Silva
| >Is there any special trick to such script? Provided some pointers of | >what the script should do, I wouldn't mind writing and testing it. | | There are lots of special tricks to such a script. Otherwise, I would | have written it already. :) Obviously. /me slaps his forehead | OK, here's ho