[Zope] Recursively creating folders in python

2000-10-20 Thread Robert Joseph Roos
This is something I need to have done yesterday... iterates over a list, and adds namespaces, but how do I recursively enter INTO a folder, creating objects within that folder from *it's* point of view? Is this even possible in dtml, or do i need to use raw python? If so, do you have any hin

[Zope] How to type check OR better list selector ways

2000-10-20 Thread Robert Joseph Roos
causes a name error, while other python builtins like _.string(some_int) work fine. What gives? Is there some other "zopist" way to type-check? More generally, is there a better way to deal with the annoying fact that multiple selectors return a list UNLESS there are <=1 items selected, in wh

[Zope] LoginManager dlpierson example

2001-01-30 Thread W. Robert Kellock
Hi,   I'm new to Zope and I've been examining the LoginManager example given by dlpierson (http://www.zope.org/Members/dlpierson/sqlLogin).  Although I am nowhere near understanding what it is doing, I'm very close to getting it to work - I think!  It looks to me like I'm falling down in the

Re: [Zope] LoginManager dlpierson example

2001-01-30 Thread W. Robert Kellock
Thanks Fred,   On passing 'request' (why the extra argument anyway?) I got   Error Type: TypeErrorError Value: not enough arguments; expected 3, got 2 so I'm wondering have you got LoginManager to work on the Zope 2.3.0 release?   >>On Wed, Jan 31, 2001 at 09:25:

[Zope] Full-text search in Office/PDF

2005-04-12 Thread Robert Sösemann
implement this functionality? I am looking forward to your questions. Robert PS: I have seen similar questions on other ZOPE lists, but they never had meaningful answers. Konzeption Gölz & Schwarz GmbH Waltherstr. 29, 80337 München, Germany phone: + 49 - (

[Zope] Epoz and Tidy

2005-04-29 Thread Robert (Jamie) Munro
How do I control tidy options when using Epoz and uTidyLib? I'd like it to output xhtml, but it is currently outputting uppercase tag names etc. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

Re: [Zope] strange getPhysicalRoot behaviour

2005-07-28 Thread Robert-Reinder Nederhoed
en it is so easy to access the root anyway... Why not just add 'root' to the script vocabulary? Friendly greetings from an almost nightly The Hague, Robert-Reinder -- ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/z

[Zope] detail record editing

2000-06-05 Thread Robert Del Huerto
---+-++ | |Haggis |Meister |$100.00 | +---+---+-++ | |Zoper |Doper|$723.00 | +---+---+-++ | +--+ +--+ +--+ | | | ADD| | MODIFY | | DELETE | | | +--+ +--+ +-

Re: [Zope] Saving a Rendered DTML Document

2005-12-08 Thread Robert (Jamie) Munro
. Normally in PHP if you replace the file path with a URL starting http:// (or ftp:// etc.) it will fetch the file from the web instead of the file system, no problem. Robert Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

[Zope] Storing things in the session from ZPT

2006-02-24 Thread Robert (Jamie) Munro
How can I put something in a session from ZPT? I've tried: Do I really have to write a python method just to assign a single value? Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

[Zope] TAL page whitespace removal

2006-04-10 Thread Robert (Jamie) Munro
rious caches meaning the caches will expire less, and/or be equally functional will less RAM or disc space. The ability to switch off this feature and leave whitespace in for debugging may be useful, but not very, because you can always use an XML indenting tool to get readable output from TAL. R

Re: [Zope] TAL page whitespace removal

2006-04-12 Thread Robert (Jamie) Munro
Dieter Maurer wrote: > Robert (Jamie) Munro wrote at 2006-4-10 13:14 +0100: >> >> For example, I downloaded the www.plone.org home page and it was 47704 >> bytes. I removed all whitespace from the beginning and end of lines, and >> then removed blank lines, and

[Zope] Generic SQL insert

2006-04-13 Thread Robert (Jamie) Munro
of values in the same order What do other people think of this? Is it a really bad idea? Robert Munro ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mai

[Zope] PAS and md5 or crypt passwords

2006-10-10 Thread Robert (Jamie) Munro
How do you use md5 passwords in PAS? I've got an SQL database already populated with usernames and md5 passwords from an old system that I am replacing - I don't have the cleartext passwords. Thanks, Robert (Jamie) Munro ___ Zope maillis

Re: [Zope] Re: PAS and md5 or crypt passwords

2006-10-12 Thread Robert (Jamie) Munro
Tres Seaver wrote: > Robert (Jamie) Munro wrote: >>> How do you use md5 passwords in PAS? >>> >>> I've got an SQL database already populated with usernames and md5 >>> passwords from an old system that I am replacing - I don't have the >>

Re: [Zope] Re: PAS and md5 or crypt passwords

2006-10-16 Thread Robert (Jamie) Munro
ield, you are allowed into the site. It doesn't matter too much for my application, but it's something that should probably be fixed. Thanks for everyone's advice, though. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://ma

Re: [Zope] cpu load 99 percent a lot in plone evinironment

2007-02-13 Thread Robert (Jamie) Munro
he page template. > Those simple types don't cause security assertions and the rendering is > sped up immensely. There seems to be a built in method - .dictionaries() that does exactly this. Unfortunatley, neither it, nor a simple external method I wrote to call my ZSQL methods seemed to

Re: [Zope] cpu load 99 percent a lot in plone evinironment

2007-02-15 Thread Robert (Jamie) Munro
Philip Kilner wrote: > Hi Robert (Jamie?), Most people call me Jamie, but Robert is fine, and it's what it says on all my official documents. > AHAH does not seem to be much discussed here - it's worth reading: - > > http://microformats.org/wiki/rest/ahah > &

Re: [Zope] How to get nice traceback like from old versions?

2008-03-03 Thread Robert (Jamie) Munro
le to debug without line numbers of exceptions. Otherwise I might have to downgrade zope to 2.5 - thanks for that tip from Jaroslav Lukesh - I had no idea that it used to be better. Thanks, Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://

Re: [Zope] Managing Zope objects in Subversion

2008-03-03 Thread Robert (Jamie) Munro
mbers/tseaver/FSDump Although compatibility between the 2 is not perfect - not everything you dump is usable in File System Site unmodified, they do make a good combination. Robert (Jamie) Munro ___ Zope maillist - Zope@zope.org http://mail.zop

<    1   2   3