[Zope] Zope 2, local python script security

2007-05-23 Thread David H
Hi Zope list, I have a (zope 2.8.8-final) folder that gives users with the role Authenticated the following Permissions: --- . access contents . view - note: no webDav or FTP access is allowed --- Playing around with wget and curl

Re: [Zope] Access to list items with path expression

2007-04-11 Thread David H
[0] or you can always call a python script that returns the desired value. David H ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman

Re: [Zope] Zope Products and proprietary software

2007-02-07 Thread David H
Andrew Milton wrote: +---[ Marco Bizzarri ]-- | Hi all. | | I would like to know if someone can provide infos on the following topic: | | we have developed OpenFlow, which is released under GPL. | | A company is distributing a proprietary product based on Zope and

Re: [Zope] Database connectors

2006-11-16 Thread David H
of database adapters as products for Zope that are ready to go (Postgres, mySql, and Interbase come to mind as examples) Good luck, David H ps: in the future try to be more specific, eg: what db are you using, whats your platform ... and since this is a Zope list we kinda assume you want

Re: [Zope] matplotlib and zope problem

2006-11-14 Thread David H
to be a good idea in any case. You have set variable HOME? Best, David H ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] matplotlib and zope problem

2006-11-14 Thread David H
David H wrote: Marek Szczypiński wrote: Here is the traceback. Looks like problem with matplotlib it self, doesn't it? Did anyone have the same problems? Thanks for any help. Marek Traceback (innermost last): Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line

Re: [Zope] Hosting

2006-10-31 Thread David H
mbr wrote: Hi List I am looking for a hosting for one project . From zope.org see zettai.net and webfaction.com Exist another hosting? What hosting recommend? webfaction.com have all need (install my own products, ssh acounts, etc) , but i want sure Hi mbr, you can check out High

Re: [Zope] DTML Call Fails

2006-10-24 Thread David H
[EMAIL PROTECTED] wrote: A little bit of legacy DTML fun here... Zope 2.9.3 On save of a DTML Method, why would this dtml-call fail: dtml-let standards=REQUEST.SESSION dtml-call standards.set('AR-DA-08', AR-DA-08) /dtml-let With the error: Expression (Python) Syntax error: invalid token

Re: [Zope] ZSQL Method's Precision

2006-10-23 Thread David H
Jason C. Leach wrote: Hi: In a PostgreSQL DB I have a Numeric data type with a precision of two decimal places. If I have 1.33 in as the result from my query, it's everything is good. However, if I have 1.30 it reduces the precision to one decimal place and I get 1.3. Not so good when dealing

Re: [Zope] Re: zope hosting

2006-09-23 Thread David H
George Lee wrote: David H [EMAIL PROTECTED] writes: My understanding is that Zettai is closing down. Bummer cause I have been using them. I know they are not accepting new orders, but I wasn't aware they are shutting down. How have you heard? (I also have a Zettai

[Zope] zope hosting

2006-09-22 Thread David H
Hi everyone, My understanding is that Zettai is closing down. Bummer cause I have been using them. Just looking for Zope Host recommendations All best, David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] LocalFS - user needs to be manager?

2006-09-20 Thread David H
Josh Burvill wrote: Hi all, I am experiencing an odd situation where if a user does not have manager role, he/she cannot browse a localfs object. I think it can't be a filesystem permissions or zope process os user problem because if the zope user has the manager role, there is no

Re: [Zope] Turning off authentication for a zpt page

2006-09-15 Thread David H
Sinang, Danny wrote: Hello, I'm using a Zope product called OpenFlowEditor and I modified one of its .zpt pages (view_process.zpt). All is well, except that I now want to allow Anonymous users to view this zpt page. I tried doing so by checking the "Anonymous" checkbox

Re: [Zope] Remove/Ignore P and other HTML tags

2006-09-14 Thread David H
Zhi-Wei Lu wrote: for object in container.research.objectValues(): a = object.getId() if (a == name): text = object.research_description_html.read() else: pass text = str(text) return text[0:400] + '...' ZhiWei, Just post a good fragment of your text[ 0 : 400 ] that pops

Re: [Zope] Custom authentication page...

2006-09-13 Thread David H
Chris Withers wrote: David H wrote: If necessary add dtml-var error_tb to your standard_error_message (if using dtml) for a clearer error expression This is not good advice. There are reasons why the traceback was dropped from standard_error_message in the first place ;-) When have I

Re: [Zope] ZPT based on files in local filesystem folder

2006-09-13 Thread David H
Jonathan wrote: - Original Message - From: Alan [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, September 13, 2006 8:41 PM Subject: [Zope] ZPT based on files in local filesystem folder Hi List, I've been googling, maybe LocalFS is a solution, but I would like to listen a

Re: [Zope] Custom authentication page...

2006-09-12 Thread David H
Steve wrote: I'm just starting to look at Zope as a potential platform to implement a simple authenticated web site... however I do not want to face users with the standard web-browser dialogue, but rather my own log-in page. I've established how to restrict access based upon permissions

Re: [Zope] question on URL styling

2006-09-11 Thread David H
Jonathan wrote: - Original Message - From: Erik Myllymaki [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all in one directory. The page templates are

Re: [Zope] question on URL styling

2006-09-11 Thread David H
Erik Myllymaki wrote: David H wrote: Jonathan wrote: - Original Message - From: Erik Myllymaki [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, September 11, 2006 12:24 PM Subject: [Zope] question on URL styling I am making a survey that has many very similar pages all

Re: [Zope] Session data

2006-09-09 Thread David H
Anton Y. Yakovlev wrote: Hi! From Script (Python) object: request.SESSION[ 'some_data' ] = some_data; raise 'Redirect', context.some_script.absolute_url(); Why session object does not store data after redirect? Hi Anton, Google is bland on this, I don't use redirects.

Re: [Zope] zope and sakai comparison

2006-09-08 Thread David H
David Bear wrote: Our university has dump a lot of money into sakai. I don't know anything about it but I wonder if someone has compared sakai with zope? I only say adopt a good web framework and make it yours ... Zope is a good as it gets ... and I've never seen a smarter (so smart I

Re: [Zope] Need help tracing my application errors.

2006-09-07 Thread David H
Jose Carlos Balderas Alberico wrote: Greetings. I have a problem with an application we have hosted in Zope, and I thought you could give me a hand. Basically, my question is: what's the easiest way to trace errors raised by a python script that's part of the application? This is the

Re: [Zope] tal assignment

2006-09-07 Thread David H
David Bear wrote: I wanted to assign a list object to a tal global variable but I can't seem to find the correct syntax. I tried: div tal:define=global mylist=['item1', 'item2'] tal:content= blah /div but it doesn't like that syntax. Googling turns up thousands of items that deal

Re: [Zope] tal assignment

2006-09-07 Thread David H
David H wrote: David Bear wrote: I wanted to assign a list object to a tal global variable but I can't seem to find the correct syntax. I tried: div tal:define=global mylist=['item1', 'item2'] tal:content= blah /div but it doesn't like that syntax. Googling turns up thousands

Re: [Zope] Need Help--urgently

2006-09-06 Thread David H
Martijn Pieters wrote: cpdm cadlab wrote: thanks for the quick reply. I am glad to be here on active ZOPE mailing list. Let's keep it on the list then; no personal email please. I had initially done the way you have suggested, but it doesn't work in the

Re: [Zope] zope 3 invisibility

2006-09-05 Thread David H
David H wrote: Carlos de la Guardia wrote: Hello everyone, I frequently blog about Zope, and recently posted a list of 10 reasons why I think Zope 3 is kind of invisible to the Python community (see my blog at http://blog.delaguardia.com.mx ). One of the things that I talk about

Re: [Zope] iterating dictionaries with dtml-in

2006-09-03 Thread David H
Dieter Maurer wrote: Ferhat Ayaz wrote at 2006-9-2 04:40 -0700: ... I want to do this with DTML. select dtml-in getDicts option HOW CAN I PUT the keys 'name' HERE /option /dtml-in /select (getDicts returns the above list of dictionaries) You probably need

Re: [Zope] Reportlab issue

2006-08-28 Thread David H
Dieter Maurer wrote: David H wrote at 2006-8-27 17:54 -0700: ... I display an acrobat report (using Firefox or IE 6) and say scroll down to page 10. I then use the browser back button to re-enter my Zope application. Now, even if I click various unrelated pages

Re: [Zope] Reportlab issue

2006-08-27 Thread David H
Jonathan wrote: - Original Message - From: David H [EMAIL PROTECTED] To: zope user list zope@zope.org Sent: Sunday, August 27, 2006 8:54 PM Subject: [Zope] Reportlab issue Hi Zope List, I have an Zope application that uses ReportLab to generate acrobat viewable reports. (I already

Re: [Zope] Reportlab issue

2006-08-27 Thread David H
Jonathan wrote: - Original Message - From: David H [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope user list zope@zope.org Sent: Sunday, August 27, 2006 9:25 PM Subject: Re: [Zope] Reportlab issue Jonathan wrote: - Original Message - From: David H [EMAIL

Re: [Zope] Reportlab issue

2006-08-27 Thread David H
Jonathan wrote: - Original Message - From: David H [EMAIL PROTECTED] To: zope user list zope@zope.org Sent: Sunday, August 27, 2006 9:48 PM Subject: Re: [Zope] Reportlab issue Jonathan wrote: - Original Message - From: David H [EMAIL PROTECTED] To: Jonathan [EMAIL

Re: [Zope] MailBoxer Question

2006-08-23 Thread David H
Philip Kilner wrote: Hi, beno wrote: Apache duplicates 95% of what Zope's server does, so if you're only using Zope, then it's un-elegant to use Apache. Not so - Apache is a mature production web server, Zope is an application server that serves over HTTP, but it's

Re: [Zope] Content-Disposition is driving me batty

2006-08-17 Thread David H
Andreas Jung wrote: --On 16. August 2006 17:28:00 -0500 Kirk Strauser [EMAIL PROTECTED] wrote: I have a Python script that transmits a file to the user. An excerpt: if not skipctypeheader: # Set the content type if one is defined for the file ctype =

Re: [Zope] new user, teething problems

2006-08-03 Thread David H
John P. Looney wrote: Hey, I've made my first page, though it's not working as I'd like. This is the contents of the page: html title testing/title Going ! basdasda /b br dtml-var date fmt=Datebr /html But, the error logs show that it's not happy... Traceback (most recent call last):

Re: [Zope] FW: TSU license exception

2006-08-02 Thread David H
Andreas Jung wrote: --On 2. August 2006 16:46:43 +0200 Kowalski, Piotr [EMAIL PROTECTED] wrote: Hi. Im looking for informations about TSU for Zope. Does somebody have a license exception TSU for Zope? TSU? -aj (TSU) Technology and software unrestricted This would ease us to

Re: [Zope] button to submit with several parameters and call python script

2006-08-01 Thread David H
Alan wrote: Hi Dears, I am looking for ideas of how to use a submitting button to pass several parameters to a python script. I have googled but I found different solutions not really appropriate to my case I guess. I was trying something like this: form action=do_status.py method=POST

Re: [Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread David H
Jesper Steen Steffensen wrote: This won't work: dtml-in qry_user_roles prefix=outer dtml-in qry_roles dtml-if expr=outer_role==role Roles are matching /dtml-if /dtml-in /dtml-in I get an error that says key error - outer_role doesn't exist. It doesn't matter if I

Re: [Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread David H
Jesper Steen Steffensen wrote: Give more info.Define qry_user_roles and qry_roles as part of your question. Why are you using DTML?Its a *dying art*.I can hardly look at it anymore :-) DTML is depreciated in Zope (I think) and new people should go right to Page Templates

Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread David H
Chris Withers wrote: Mark Barratt wrote: 2: In the root of the Zope Management Interface, choose the properties tab. In it, add a new property called MANAGEMENT_PAGE_CHARSET of type 'string' with value utf-8. Actually, for hysterical raisins, this needs to be UTF-8

Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-27 Thread David H
Andrew Milton wrote: +---[ David H ]-- | Chris Withers wrote: | | Actually, for hysterical raisins, this needs to be UTF-8 rather than | utf-8 in order for the unicode property types to make themselves apparent. | | Chris, | Just a correction: hysterical raisins

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-26 Thread David H
beno - wrote: Hi; I have the following block of code: table tal:define="objects here/objectValues; sort_on python:(('title', 'nocase', 'asc'), ('bobobase_modification_time', 'cmp', 'desc')); sorted_objects python:sequence.sort(objects, sort_on); start python:getattr(request,

Re: [Zope] Win32com?

2006-07-25 Thread David H
Garrett DeHoyos wrote: Is there a way to use win32com in Python scripts in Zope? By using it in External Scripts. If you want to know more be more specific. Like "what do you want to do?". ___ Zope maillist - Zope@zope.org

Re: [Zope] variable propagation

2006-07-24 Thread David H
Pavel Zaitsev wrote: Hi, I would like to ask how to propagate variables from initial index_html call to deeper levels. Say I have index_html python script, I invoke it then I would like to feed some data to generic template, that will in turn will invoke template in the same directory that will

Re: [Zope] variable propagation

2006-07-24 Thread David H
Pavel Zaitsev wrote: В Пнд, 24/07/2006 в 15:00 -0700, David H пишет Pavel, You question is a bit vague but ... Make your index_html a python script. And then stuff your REQUEST with info you want Then just call the Page Template ... request.set('formvar1', somevalue) return

Re: [Zope] ExternalFile - getting back the file

2006-07-19 Thread David H
[EMAIL PROTECTED] wrote: Hi :-) I'm using the ExternalFile product: http://www.zope.org/Members/arielpartners/ExternalFile because I need to have a file both in ZMI, as well as in filesystem. I would like to ask if anyone can tell me how to get back the file that ExternalFile was created

Re: [Zope] Script execute with every request

2006-07-18 Thread David H
Joshua Burvill wrote: Hi,   I’d like to log certain parts of each request into a database table for every request to provide an audit trail.   I thought of inserting a dtml-call  xxx into the standard_html_header, but when there is a RESPONSE.redirect, it will not be the

Re: [Zope] cant log in as admin

2006-07-18 Thread David H
Noah wrote: zope-2.8.8 freebsd-4.11 okay I've followed the directions on the zope website, in the PDF, and the Zope/doc docs. Could not really find the proper cure. Then I made an instance and placed it in /usr/local/www/Zope Started zope and the username and password does not

Re: [Zope] Creating and displaying lists

2006-07-13 Thread David H
[EMAIL PROTECTED] wrote: Hi, I need to collect a list of student id numbers from one table so I can take this list, find them in another table, and display their names so their teachers can give them a score. I still like to use DTML but I do not know if I have the

Re: [Zope] Viewing images from a form upload

2006-07-11 Thread David H
vl wrote: I am stuck on trying to preview images that are uploaded from a html form. form method=POST action=py_save_new_image enctype=multipart/form-data input type=file name=file input type=submit name=save value=Upload When the form is submited it sends it to a python script that gets

Re: [Zope] Zope 2.7 installation on SuSE 10.0 - unable to find startup script

2006-07-10 Thread David H
TR wrote: This is rather bizarre, but I'm unable to determine what script to run to start my Zope instance. I installed 2.7.7-3, which comes with the distro, and ran mkzopeinstance.py, which terminated without errors after asking for the instance home and site admin id/password. Isn't there

Re: [Zope] Zope 2.9.3/2.9.1 On Suse 10.1 box version

2006-07-08 Thread David H
Ofer Weisglass wrote: yes, it fixed the problem but now I have this error it seems like user premission problem but I don't know how to solve it /home/ofer/zope1/bin/runzope -X debug-mode=on /home/usr/zopeplone/lib/python/ZServer/utils.py:33: DeprecationWarning: The zLOG package is

Re: [Zope] Zope installation woes

2006-07-05 Thread David H
russ wrote: O.k. thanks, There are a number of lines like this: mailman 2485 2468 2485 01 Jun29 ?00:00:00 /usr/bin/python2.4 /u ...and a few like this: root 12796 11967 12796 01 13:10 pts/100:00:00 /usr/bin/python /usr/ I can't see anything relating to zope

Re: [Zope] Trying to trap ConflictError

2006-07-05 Thread David H
Jonathan wrote: - Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: Dennis Allison [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 2:28 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote at 2006-7-4 13:46 -0400: ... The

Re: [Zope] Trying to trap ConflictError

2006-07-05 Thread David H
Jonathan wrote: - Original Message - From: David H [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday, July 05, 2006 3:00 PM Subject: Re: [Zope] Trying to trap ConflictError Jonathan wrote: - Original Message - From

Re: [Zope] Improved Zope Org Proposal

2006-06-27 Thread David H
Chris Withers wrote: David H wrote: This is sounding more bizzare with each day and it doesnt feel good. Zope cant maintain a friggin web site? Isnt that rich. Hey David, Cool, thanks so much for volunteering to provide all the resources, coders and support staff to look after a 10,000

Re: [Zope] Improved Zope Org Proposal

2006-06-26 Thread David H
Lennart Regebro wrote: On 6/26/06, Dieter Maurer [EMAIL PROTECTED] wrote: I would prefer a single big site as an access point to the most relevant information. But, if this is not possible... Single big site is probably not possible. We have tried and failed. But having a small focused

Re: [Zope] Improved Zope Org Proposal

2006-06-25 Thread David H
Andrew Sawyers wrote: On Sun, 2006-06-25 at 21:41 +0200, Dieter Maurer wrote: Then I fear few interesting content will arrive at this site. Well, I think the content of this site is what I'd noted is what I noted in earlier emails. It might not be 'interesting', but I

Re: [Zope] No joy on 8080.

2006-06-25 Thread David H
[EMAIL PROTECTED] wrote: Do you see anything in your logs? - Original Message - From: Ignacio Valdes [EMAIL PROTECTED] To: thomas desvenain [EMAIL PROTECTED]; zope@zope.org Sent: Sunday, June 25, 2006 7:18 PM Subject: Re: [Zope] No joy on 8080. Thanks, effective-user is zope and it

Re: [Zope] dictionary from sequence-item

2006-06-19 Thread David H
Alric Aneron wrote: Hello, I am looping through a list of dictionary objects using dtml-in... and within the dtml-in body I have: dtml-var "_.getitem('sequence-item')['titled']" missing="none" Some of the dictionaries in the list don't have 'titled' key so it should replace it with the word

Re: [Zope] Basic Template question : 'truthiness'

2006-06-11 Thread David H
Mark Gibson wrote: I thought I knew how this stuff worked, but this has gotten me banging my head against a wall. I'm trying to evaluate a condition expression, and I'm not getting what I expect when using path, and I get a different result when using python. The following expressions

Re: [Zope] Basic Template question : 'truthiness'

2006-06-11 Thread David H
David H wrote: Mark Gibson wrote: I thought I knew how this stuff worked, but this has gotten me banging my head against a wall. I'm trying to evaluate a condition expression, and I'm not getting what I expect when using path, and I get a different result when using python. The following

Re: [Zope] Templates vs DTML

2006-06-05 Thread David H
Dennis Allison wrote: We've been using DTML but we are at a point where we could move to page templates. We are starting a major restruture and rewrite of much of the system and are debating moving to ZPT. Performance is potentially a major issue. We are using Zope 2.9.X, will eventually

Re: [Zope] Ghost user in Zope 2.7.6 on Win32

2006-06-01 Thread David H
Dale Strickland-Clark wrote: We have a strange case of a user disappearing from the acl_users folder. The user used to be there and has been using the web site for some months but today, she reports that she has lost her permissions. Investigation revealed that her user id had disappeared

Re: [Zope] cooked body??

2006-05-10 Thread David H
generated JavaScript - maybe it will work fo you in this case. David H ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Process uploaded text file.

2006-04-26 Thread David H
Jason C. Leach wrote: Hi, Does anyone have an example (URL is fine) on how to processes a text file via a Python script that has been uploaded from a web form? Thanks, Jason. - Jason, Maybe this will help: http://www.zopelabs.com/cookbook/1006887320 David

Re: [Zope] REQUEST.form variables order

2006-04-20 Thread David H
Gaute Amundsen wrote: On Thursday 20 April 2006 15:46, Tino Wildenhain wrote: Gaute Amundsen schrieb: ... The order of the form elements that goes into mail headers is ofcourse irelevant. I'ts the rest of the form, you know name, adress, street, etc. that are the

Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-13 Thread David H
Dieter Maurer wrote: manuel spuhler wrote at 2006-4-12 21:40 +0200: ... File "/opt/Zope2.8/lib/python/ZODB/__init__.py", line 21, in ? from persistent import TimeStamp File "/opt/Zope2.8/lib/python/persistent/__init__.py", line 19, in ? from cPersistence import Persistent,

Re: [Zope] how to include a local html file

2006-04-07 Thread David H
Chris Purves wrote: Hello, How can I include an html file on my local filesystem into a DTML method? Chris, You have asked a two part question. a) how to access your local file system http://sourceforge.net/projects/localfs and b) how to access it in a DTML method Dont know cause I

Re: [Zope] single sign-on

2006-04-02 Thread David H
robert rottermann wrote: Fernando Martins wrote: Hi, I'm doing single sign-on using Apache+mod_ntlm+FastCGI. Since the last is deprecated, is there any alternative? TIA, Fernando Martins ___ Zope maillist - Zope@zope.org

Re: [Zope] Re: Question about Zope and security

2006-03-29 Thread David H
Cyrille Bonnet wrote: Hi Terry, thanks for your comment. Stock Zope doesn't use cookie authentication, so you're actually talking about an alternate user folder product (which you don't specify and I don't know that many of them, so I can't really comment much -- except that

Re: [Zope] newbie dtml-in question objectValues

2006-01-10 Thread David H
Alric Aneron wrote: Hello, I am trying to find how to get the relative path of an object. If i do: dtml-in "objectValues('DTML Document')" dtml-var URLPATH0 /dtml-in URLPATH0 does not give me the relative path of the objects interated, but rather the path of the object doing the

Re: [Zope] Help me!

2006-01-09 Thread David H
Bruno Grampa wrote: Hello, i'm building a site to sell images (this is the concept, the reality is different...). All the images are in a directory mapped through LocalFS product. For every image i have a record in a SQL table with all the basic informations: author, name of the file, cost.

[Zope] CPU architecture and Zope

2006-01-09 Thread David H
Hi list, Im just wondering what the wisdom is about Zope performance and various CPU types. I'm running Zope on Linux (Ubuntu). I notice that Dell is selling a dual-core Pentium unit. But I have no idea if something like dual core is advantegous to Zope, python execution or one's

Re: [Zope] Leave the ivory tower now!

2006-01-08 Thread David H
Jonathan wrote: To pour fuel on the flames...   +1 DTML -1 ZPT   Why...   1) For 'quick and dirty' demos and rapid application prototyping DTML does the trick (yes, even including ZClasses), it is fast, easy, reasonably robust and it works!   2) For 'heavy

Re: [Zope] Cookie Crumbler

2006-01-06 Thread David H
Dieter Maurer wrote: Infor Gates wrote at 2006-1-4 20:14 -0800: I have a trying time using Cookie Crumbler 1.2 with Zope2.8.4 (windows version). I could NOT figure out how to log out a user. I have simplified to the orginal logged_out form to this: The "Cookie Crumber"

Re: [Zope] Change object/role permissions w/ python?

2006-01-05 Thread David H
John Toews wrote: Hi all, I have a need to restrict anonymous access to an object until after a specific action occurs. For example, the View permission by default is restricted to owner and manager, but after a 'release' flag is checked, it is viewable to anyone. I can't seem to find a way

Re: [Zope] Javascript obfuscator and Zope

2006-01-04 Thread David H
Jean-Marc Orliaguet wrote: Peter Bengtsson wrote: It's not a Zope product but at least it's python. http://www.issuetrackerproduct.com/Download#slimmer It's basically a javascript whitespace optimiser Compare http://real.issuetrackerproduct.com/tw-sack.js with the original:

Re: [Zope] Java vs Zope

2006-01-03 Thread David H
Asad Habib wrote: From my experience, Java development has been a lot faster when applications have middle to high level complexity. Since Java is inherently object-oriented, reusability is much easier to achieve then when using Zope. Also, Java has mature development and debugging

Re: [Zope] Help with Zope Python result object please!

2005-12-30 Thread David H
Alric Aneron wrote: hello, I have a python code that recieves two result objects from two different ZSQL methods. I need to join them (sort of like UNION). I can't do result1+result2, otherwise it raises an exception that the + operator isn't supported. When I try to do this (read below, I

[Zope] Javascript obfuscator and Zope

2005-12-29 Thread David H
Hi list, I am wondering if anyone is obfuscating JavaScript using a python script or product. I did some googling but nothing cropped up. Seems like a nice idea unless the realities of javascript obfuscation make the exercise pointless. Any thoughts? David

Re: [Zope] Change ZSQLMethod connection id

2005-12-23 Thread David H
Andreas Jung wrote: --On 23. Dezember 2005 13:33:08 +0100 Fabio [EMAIL PROTECTED] wrote: Hi! in my zope application I call ZSQLMethods from python script. Is it possible to set connection id property of a ZSQLMethod before call it? How? ZSQLMethod.propertyItems() return only

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
Dennis Allison wrote: Chris McDonough identified a persistence problem with the routine(s) that manage sessions variables. (Thanks Chris) I have put the correction in place which resolved some (but not all) of the problems. There are still problems which are apparently due conflicts in

Re: [Zope] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-19 Thread David H
a downside because one cannot set a _p_changed attribute and so must rely on the assignment paradigm. Perhaps the interface should be in a Product or External Method which is less constrained. Anyhow, David, thanks for the assist. On Mon, 19 Dec 2005, David H wrote: Dennis Allison wrote

[Zope] zyncer 0.7.0?

2005-12-17 Thread David H
Hi List, I downloaded zsyncer-0.7.0 and am having problems. Its not working for me and it no longer displays prompts for destination password and user name when clicking its edit tab. Anyone else seeing this? More importantly, as a fall-back is there a version (0.6.1?) others

Re: [Zope] zyncer 0.7.0?

2005-12-17 Thread David H
Alan Milligan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David H wrote: Hi List, I downloaded zsyncer-0.7.0 and am having problems. Its not working for me and it no longer displays prompts for destination password and user name when clicking its edit tab. Anyone

Re: [Zope] List within a list - how to use in a page template

2005-12-14 Thread David H
David H wrote: Paul Winkler wrote: On Wed, Dec 14, 2005 at 06:06:21PM +1300, Cameron Beattie wrote: I am trying to get my head around representing a list in a page template. Assume the following list: m

Re: [Zope] sessions in the presence of conflicts

2005-12-14 Thread David H
Dennis Allison wrote: Zope 2.8.4, ZODB 3.4.2 I am still trying to resolve a session variables in the presence of conflicts problem. The observed symptom is that suddenly either some session variables disappear or all session variables disappear. In both cases, Zope has raised a KeyError

Re: [Zope] Unauthorized exception when trying to access a list item

2005-12-14 Thread David H
Cameron Beattie wrote: I am trying to access a value in a list. The script getDIDS_list is passed a list called listoflists: list = listoflists ret = [] tup = (0,1,2) factortup = (1,2) factor = 2 for i in range(len(list)): # 1 == 1 if i in tup: if i in factortup: x = list[i] *

Re: [Zope] List within a list - how to use in a page template

2005-12-13 Thread David H
Paul Winkler wrote: On Wed, Dec 14, 2005 at 06:06:21PM +1300, Cameron Beattie wrote: I am trying to get my head around representing a list in a page template. Assume the following list: m [[61282125371L, 1,

Re: [Zope] Simple User Folder Setup

2005-12-12 Thread David H
Infor Gates wrote: Chris Thanks for your email. There is another person I wish to thank. However, I lost his email contact by accident - his advice points me to where to check for the errors. Let me Simple User Folder works. As I googled for some time on this, I noticed there are

Re: [Zope] Re: live dtml updating?

2005-12-11 Thread David H
Jonathan wrote: This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in the right direction. Jonathan

Re: [Zope] Re: live dtml updating?

2005-12-11 Thread David H
David H wrote: Jonathan wrote: This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in the right

Re: [Zope] Simple User Folder Setup

2005-12-09 Thread David H
Infor Gates wrote: Dear zopist I am having problems in setting up Simple User Folder. Error Message: Error Type: UnconfiguredException Error Value: Addition of users has not been configured I have googled around for an answer. However, there is very little info on it. My

Re: [Zope] ZSQL batching with dtml-in

2005-12-08 Thread David H
Ed Colmar wrote: Do ZSQL methods communicate with the dtml-in call and understand the size attribute? for example, in this dtml-in statement: dtml-in SQL_get_large_list size=20 start=query_start /dtml-in Will the database be queried for all results, and only have 20 displayed, or will the

Re: [Zope] Install Zope

2005-12-07 Thread David H
Harry Forster wrote: I would like to install Zope 2.8.4 on a Suse 9.0 system. Has anyone done this and how did you do it? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

Re: [Zope] Zope 2.8.4 compilation error

2005-11-15 Thread David H
Gusti Gonzalez wrote: Hi, I am having the following error when compiling Zope: --- /usr/bin/python /infra/portal/Zope-2.8.4-final/setup.py \ build --build-base=/infra/portal/Zope-2.8.4-final/build-base/python-2.3

Re: [Zope] question about stopping acquisition in VHM sites?

2005-10-27 Thread David H
Gary wrote: On 10/27/05, Chris Withers [EMAIL PROTECTED] wrote: Gary wrote: How do I stop acquisition at the root of my website? If I have two websites in zope, and I set the virtual host mapping to www.sitea.com/websites/SiteA http://www.sitea.com/websites/SiteA

Re: [Zope] help - my zope build exits with compile errors :-(

2005-10-27 Thread David H
Thomas Wolf wrote: Hi, I'm trying to build Zope-2.7.4-0 from source (I can't use a different version because of the releas of Plone we're using.) I ran ./configure --with-python=/usr/local/zope/python/bin/python --prefix=/usr/local/zope and that reported no issues. BTW, I'm using

[Zope] Linux/unix preferences question

2005-10-22 Thread David H
Hi List, I want to soon move from Windox XP to Linux or Unix (intel/amd) for my Zope projects. Just wondering if users experienced with these can recommend versions (freeBSD?, SuSe?, Red Hat? etc) that plays well with Zope and those to avoid. Thanks, David

Re: [Zope] selected in select lists

2005-10-14 Thread David H
Garry Saddington wrote: Tino Wildenhain wrote: Am Freitag, den 14.10.2005, 20:03 +0100 schrieb Garry Saddington: Chris Withers wrote: Garry Saddington wrote: DTML: select name=groupabbrev dtml-in getpastoralgroups option value=dtml-var thisgroupabbrev dtml-if

  1   2   >