Re: [Zope-DB] ZSQL Question - Insert multiple rows in one statement?

2010-08-24 Thread Garry Saddington
Garry Saddington wrote: Andreas Jung wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would assume that you can use DTML-IN for looping and generating multiple SQL statements of the same kind. You have to ensure that the statements having a proper delimiter (there was something

Re: [Zope] Storing DTML in SQL

2010-08-18 Thread Garry Saddington
tried mixing the DTML in with the HTML and it shows the HTML correctly but no DTML. Is it possible to even do this? Are there other suggestions on how to go about this? The closest I have found is on Zopelabs (http://www.zopelabs.com/cookbook/1078612026) Regards Garry

Re: [Zope] Storing DTML in SQL

2010-08-18 Thread Garry Saddington
Garry Saddington wrote: Justin Dunsworth wrote: I am currently working on a project where I am storing HTML within a MySQL database to display dynamic pages and content in sequences. I would like to be able to store DTML within the tables as well and be able to call them within the page

Re: [Zope] Storing DTML in SQL

2010-08-18 Thread Garry Saddington
Andrew Milton wrote: +---[ Garry Saddington ]-- | Garry Saddington wrote: | Justin Dunsworth wrote: | I am currently working on a project where I am storing HTML within a | MySQL database to display dynamic pages and content in sequences. I | would like

[Zope] Placeless Translation service

2010-08-08 Thread Garry Saddington
I am using PTS to translate our application and it works perfectly in every browser except IE8. Can anyone cast any light on why IE8 may not work? Regards garry ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope

[Zope] run raw sql

2010-07-27 Thread Garry Saddington
Is there any way to run raw sql statements from within a python script? Any help at all much appreciated. Thanks Garry ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] cookie crumbler

2010-06-18 Thread Garry Saddington
appear in the log? AUTHENTICATED_USER returns the correct user name. I am using Zope 2.9.0. Thanks Garry ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https

[Zope] javascript experts?

2010-05-22 Thread Garry Saddington
(document.forms.playlist['phones.number:records'][ + idx + ].value) 0) However,IE interprets it as: document.forms.playlist.phones.number:records and of course therefore does not find the element referenced. Can anyone suggest a workaround for IE in this respect. Thanks Garry

[Zope] cron like service

2010-05-05 Thread Garry Saddington
Can anyone suggest the easiest way to automatically have a python script fire at set times of the day/month/year. Regards Garry attachment: garry.vcf___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] cron like service

2010-05-05 Thread Garry Saddington
Chris Withers wrote: Garry Saddington wrote: Can anyone suggest the easiest way to automatically have a python script fire at set times of the day/month/year. I just use Stepper and fire it from cron ;-) http://www.simplistix.co.uk/software/zope/stepper Chris Just got TimerService

Re: [Zope] javascript problem

2010-04-23 Thread Garry Saddington
Jaroslav Lukesh wrote: Did You have the number field in the hidden layer? - Original Message - From: Garry Saddington ga...@schoolteachers.co.uk I'm using the following javascript to gather phones:number values for form submission. for (var idx = 1; idx max; idx

Re: [Zope] javascript problem

2010-04-23 Thread Garry Saddington
, sorry, javascript, not python :o) JL That's OK, thanks for trying. Garry ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo

[Zope] javascript problem

2010-04-22 Thread Garry Saddington
) but not in ie8 where I get this error: Message: 'document.forms.playlist.phones.number:records.1.value' is null or not an object Any help appreciated, but I am not surprised that ie errors, it usually does. Garry ___ Zope maillist - Zope@zope.org

[Zope] preventing form submission

2010-02-02 Thread Garry Saddington
Has anyone any suggestions as to how to prevent form submission by the using pressing the refresh or back buttons? Garry ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] python help needed

2010-01-19 Thread Garry Saddington
stops and not all data is inserted. Without an error all the data is inserted. So how can I make this script skip over errors and continue? The reason is that there may already be some data in the database table that I want to preserve. regards Garry

Re: [Zope] python help needed

2010-01-19 Thread Garry Saddington
Andrew Milton wrote: +---[ Garry Saddington ]-- | I am trying to upload a csv file (called data) using the following script: | | i=0 | d=data.readlines() | for row in d: | i+=1 | a=row.split(',') | if i 1: | subjectid=a[0

[Zope] dynamically call zsqlmethod

2009-11-25 Thread Garry Saddington
=row.meaning print option value=%s%s/option (code,meaning) print /select return printed I can not work out how to substitiute the command with the variable, any help much appreciated. Regards Garry ___ Zope maillist - Zope@zope.org https://mail.zope.org

Re: [Zope] dynamically call zsqlmethod

2009-11-25 Thread Garry Saddington
, getattr(context, column)() or possible context[column] if you like that better. Thanks, Andreas' solution works for me. Regards Garry ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] zope2.zope.org launched

2009-10-01 Thread Garry Saddington
with the current old www.zope.org site). Nice work and thank you. Garry attachment: garry.vcf___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org

[Zope] moving a zope install

2009-07-30 Thread Garry Saddington
Garry ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] external method

2009-06-16 Thread Garry Saddington
Chris Withers wrote: Garry Saddington wrote: I have the following external method to back up a postgres database, using the following software versions. Why on earth would you not just do this in a cron job?! Chris Because I want the backup to be done manually, through

Re: [Zope] external method

2009-06-16 Thread Garry Saddington
Garry Saddington wrote: Chris Withers wrote: Garry Saddington wrote: Because I want the backup to be done manually, That doesn't seem like such a hot idea. Something that's easilly forgotten. Thanks, I've sorted it. Turns out that pg_dump was being run by SYSTEM

[Zope] external method

2009-06-15 Thread Garry Saddington
that is running zope in an interactive shell and run these commands then it works as expected. Can anyone spot what I am obviously missing? Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] is there a zope product for generating spreadsheets?

2009-05-05 Thread garry
://www.zopelabs.com/cookbook/994090604/1090929950 HTH Regards Garry ___ 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-announce http

[Zope] auto login user

2009-04-30 Thread garry
to that user. Regards Garry ___ 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-announce http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Database Adapter For Windows DB

2009-04-14 Thread garry
Quoting Bobby cybercruis...@yahoo.com: Hi, I'm running Zope on a Linux box and need to connect to a Window's SQL Server machine. Which Zope's DB Adapter should I use? Thanks. I found this, I hope it is useful to you http://www.zope.org/Members/roberth/ZMSSQLServer Regards Garry

[Zope] znolk wizard

2009-04-02 Thread garry
Does anybody have a recent-ish copy of Znolk wizard product or know where I could get hold of a copy. The original source no longer has it and the one on the zope.org site is very old. In particular I would like it to function with SQLite. Regards Garry

Re: [Zope] znolk wizard

2009-04-02 Thread garry
away just because it's old. Regards Garry ___ 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-announce http

[Zope] 404 error

2009-03-21 Thread garry
I am trying to verify my site with google but keep getting this error: We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header. How could I correct this? Regards Garry ___ Zope maillist - Zope

Re: [Zope] 404 error

2009-03-21 Thread garry
. This is the URL I have submitted to Google: http://www.reidcarleasing.co.uk/googleb6e4b8f92f9cedbf.html Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] appending paths in zpt

2009-01-12 Thread Garry Saddington
I have this: tal:attributes=href here/getUserName in a link that works but I want to append a hard coded extension to it. How would I turn it into this and get it to work ? tal:attributes=href here/getUserName/listview?page=1000 Regards Garry ___ Zope

Re: [Zope] appending paths in zpt

2009-01-12 Thread Garry Saddington
On Monday 12 January 2009 20:45, Thibaud Morel l'Horset wrote: Sounds like you need to use a string: tal:attributes=href string:${here/getUserName}/listView?page=1000 Thanks that's done it Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org

[Zope] cron or time server

2008-12-27 Thread Garry Saddington
Does anyone know of a time/cron server for Zope that works. I want to be able to schedule a script to run every hour or so? Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] problem with a form in IE 7

2008-12-15 Thread garry
: # # http-header-max-length 16384 Regards Garry 2008/12/11 C baiew...@gmail.com: We are running Zope 2.9.8 on Macintosh OS X Server 10.5.5 behind Apache 2.x. I am having a problem when trying to submit one of my forms in IE 7. This only happens on Windows XP and it only started happening recently

Re: [Zope] problem with a form in IE 7

2008-12-15 Thread Garry Saddington
difference between POST and GET and which to use when. I wasn't suggesting that he fiddles with it, but that someone else may have already fiddled, so therefore to check that the default was still extant. Regards Garry ___ Zope maillist - Zope@zope.org

Re: [Zope] problem with a form in IE 7

2008-12-11 Thread garry
these sorts of problems go away very quickly. Regards Garry ___ 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-announce

Re: [Zope] sorting ids in python

2008-12-09 Thread Garry Saddington
On Tuesday 09 December 2008 03:15, Andreas Jung wrote: On 08.12.2008 21:11 Uhr, robert rottermann wrote: Garry Saddington schrieb: Can anyone help me sort the following by id in a python script? for object in context.objectValues(['Folder', 'DTML Document','ZipFolder','File','Image

[Zope] sorting ids in python

2008-12-08 Thread Garry Saddington
Garry ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )

[Zope] Obtaining user name in python

2008-11-27 Thread Garry Saddington
I can do this in DTML: dtml-var _.SecurityGetUser().getUserName() but I want to do it from a Python script, where the use of the underscore is not allowed. Can anyone point me in the correct direction? Regards Garry ___ Zope maillist - Zope@zope.org

Re: [Zope] Was Problem using nested dtml-in with zsql

2008-11-09 Thread Garry Saddington
that is dead in one system is the best thing since sliced bread in another! I too appreciate all the work that goes into maintaining Zope, thanks Andreas, long may you continue your contributions. Regards Garry ___ Zope maillist - Zope@zope.org http

Re: [Zope] Was Problem using nested dtml-in with zsql

2008-11-08 Thread Garry Saddington
going to be re-written using ZPT? Regards Garry ___ 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-announce http

[Zope] zope's clipboard

2008-10-27 Thread Garry Saddington
Is there a way to programmatically remove items from the clipboard. Regards Garry ___ 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's clipboard

2008-10-27 Thread Garry Saddington
On Monday 27 October 2008 17:37, Andreas Jung wrote: On 27.10.2008 18:05 Uhr, Garry Saddington wrote: Is there a way to programmatically remove items from the clipboard. There nothing like a clipboard. The information you consider as clipboard is stored as __cp cookie on the client side. OK

Re: [Zope] zope's clipboard(solved)

2008-10-27 Thread Garry Saddington
On Monday 27 October 2008 18:35, Garry Saddington wrote: On Monday 27 October 2008 17:37, Andreas Jung wrote: On 27.10.2008 18:05 Uhr, Garry Saddington wrote: Is there a way to programmatically remove items from the clipboard. There nothing like a clipboard. The information you consider

Re: [Zope] .html from python

2008-10-17 Thread Garry Saddington
On Friday 17 October 2008 21:30, Andrew Milton wrote: +---[ Garry Saddington ]-- | How would I do this: | | dtml_method = context.singleitemview.html | s = | return s dtml_method = getattr(context, 'singleitemview.html') return dtml_method(client=context, REQUEST

[Zope] changing permissions in python

2008-10-13 Thread Garry Saddington
I have been searching everywhere for the correct syntax to use to change permissions on a dtml method from a python script. I know it could be using manage_changePermissions() but exactly how can I call it on any method. Regards Garry ___ Zope maillist

[Zope] remote authentication

2008-08-31 Thread Garry Saddington
Is there a way to have two separate zope instances on different machines and have them both authenticate against one acl_users folder on only one of these machines? regards garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo

Re: [Zope] remote authentication

2008-08-31 Thread Garry Saddington
On Sunday 31 August 2008 15:10, Andreas Jung wrote: --On 31. August 2008 15:01:24 +0100 Garry Saddington [EMAIL PROTECTED] wrote: Is there a way to have two separate zope instances on different machines and have them both authenticate against one acl_users folder on only one

Re: [Zope] remote authentication

2008-08-31 Thread Garry Saddington
On Sunday 31 August 2008 15:31, Andreas Jung wrote: --On 31. August 2008 15:38:38 +0100 Garry Saddington [EMAIL PROTECTED] wrote: On Sunday 31 August 2008 15:10, Andreas Jung wrote: --On 31. August 2008 15:01:24 +0100 Garry Saddington [EMAIL PROTECTED] wrote: Is there a way to have

[Zope] iterating over result sets in python

2008-08-24 Thread Garry Saddington
a pythonic background. Could anyone point me in the correct direction? Regards garry ___ 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] python split

2008-08-17 Thread Garry Saddington
Is it possible to split a string at the first occurence of a non-digit character using a python script in zope, or does this need an external method for security purposes? regards garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope-DB] Calling SQL Query in DTML Method with a string argument

2008-07-28 Thread Garry Saddington
-var Uni_Longitude/ /dtml-in /markers or just let the ZSQL get the argument from the REQUEST: markers dtml-in uniSingleByCode mrk nm=dtml-var Uni_Name lat=dtml-var Uni_Latitude lng=dtml-var Uni_Longitude/ /dtml-in /markers HTH regards Garry

[Zope] CMF content types

2008-07-23 Thread Garry Saddington
I would like to use ZipFolder as an addable type in a CMF site. All the documentation I can find is either out of date or confusing. Can anyone help by pointing me to some accurate documentation on this subject. regards Garry ___ Zope maillist - Zope

Re: [Zope] Bug in ZSQL test?

2008-07-10 Thread Garry Saddington
. regards garry ___ 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-announce http://mail.zope.org/mailman/listinfo/zope-dev )

Re: [Zope] zope stops responding

2008-07-05 Thread Garry Saddington
Thanks for all your help. I have solved the problem with the Deadlock Debugger which showed up threads locked by a call to Aspell. Re-installing Aspell was the solution. I was very impressed with this product and all your assistance. Thanks again Garry

[Zope] zope stops responding

2008-07-03 Thread Garry Saddington
cause Zope to stop responding and whether there is anything we can do to mitigate against such an event. Thanks and regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] unicode support

2008-06-27 Thread Garry Saddington
not intend my product to be installed in any Zope that I do not setup/specify and not with any other product. It will be distributed with its own custom Zope/Postgres distribution. Kind regards and thanks again Garry ___ Zope maillist - Zope@zope.org

Re: [Zope] unicode support

2008-06-27 Thread Garry Saddington
On Friday 27 June 2008 05:38, Andreas Jung wrote: --On 26. Juni 2008 22:05:06 + Garry Saddington [EMAIL PROTECTED] wrote: On Thursday 26 June 2008 15:12, Andreas Jung wrote: --On 26. Juni 2008 14:09:50 + Garry Saddington [EMAIL PROTECTED] wrote: I am using Zope 2.9 connected

Re: [Zope] unicode support

2008-06-27 Thread Garry Saddington
On Friday 27 June 2008 07:42, Andreas Jung wrote: --On 27. Juni 2008 06:42:28 + Garry Saddington [EMAIL PROTECTED] wrote: On Friday 27 June 2008 05:38, Andreas Jung wrote: --On 26. Juni 2008 22:05:06 + Garry Saddington [EMAIL PROTECTED] wrote: On Thursday 26 June 2008 15:12

[Zope] unicode support

2008-06-26 Thread Garry Saddington
I am using Zope 2.9 connected to a Posgres DB via psycopg. My database encoding is UTF8. I am getting the following error when users try to insert text in the database containing £ signs: ERROR: invalid byte sequence for encoding UTF8: 0xa3 This is due to the encoding of a £ sign in the text

Re: [Zope] unicode support

2008-06-26 Thread Garry Saddington
On Thursday 26 June 2008 15:12, Andreas Jung wrote: --On 26. Juni 2008 14:09:50 + Garry Saddington [EMAIL PROTECTED] wrote: I am using Zope 2.9 connected to a Posgres DB via psycopg. My database encoding is UTF8. I am getting the following error when users try to insert text

Re: [Zope] UTF8 encoding

2008-06-18 Thread Garry Saddington
On Wednesday 18 June 2008 07:56, Tino Wildenhain wrote: Hi Garry, Garry Saddington wrote: I am getting a few of this type of error only coming from Windows machines, does anyone know how to sort this out? ProgrammingError: ERROR: invalid byte sequence for encoding UTF8: 0xa3 HINT

[Zope] UTF8 encoding

2008-06-17 Thread Garry Saddington
I am getting a few of this type of error only coming from Windows machines, does anyone know how to sort this out? ProgrammingError: ERROR: invalid byte sequence for encoding UTF8: 0xa3 HINT: This error can also happen if the byte sequence does not match the encoding expected by the server,

[Zope] dtml-tree documentation

2008-05-25 Thread Garry Saddington
Is there a complete documentation of the dtml-tree tag anywhere? The dtml reference of the Zope book has the following for some options: This attribute is for advanced usage only Where can I find out about this 'advanced usage'? Regards Garry ___ Zope

[Zope] centos

2008-05-13 Thread Garry Saddington
(entered=today,auth=auth,studentid=studentid) today += 1 return b class=redAbsences entered/b Any ideas because I am getting very frustrated here. Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] centos

2008-05-13 Thread Garry Saddington
On Tuesday 13 May 2008 08:09, Andreas Jung wrote: --On 13. Mai 2008 08:14:05 +0100 Garry Saddington [EMAIL PROTECTED] wrote: Does anyone have any experience running Zope on Centos 5. I have some Python scripts which just will not work. They work on Windows, Ubuntu, and SuSe but just

[Zope] disappearing external methods

2008-05-07 Thread Garry Saddington
pdflatex on Ubuntu and this seems to be distro specific, with no apparent way to fix it, unless anyone knows any better? Kind Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] disappearing external methods

2008-05-07 Thread Garry Saddington
On Wednesday 07 May 2008 16:54, Jonathan wrote: - Original Message - From: Garry Saddington [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, May 07, 2008 11:52 AM Subject: [Zope] disappearing external methods I have recently moved our Zope installation over to a centos server

Re: [Zope] Re: disappearing external methods

2008-05-07 Thread Garry Saddington
On Wednesday 07 May 2008 18:13, Josef Meile wrote: Garry Saddington schrieb: Have you tried deleting the .pyc files associated with the external methods and then restarting zope? There are no .pyc files in any of our installations. Have you used the Zope that comes with Centos or from

[Zope] try clause in external method

2008-04-14 Thread Garry Saddington
) dtmlMethodName=manage_import_from_timetabler return self[dtmlMethodName](self,self.REQUEST) regards garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] type checking

2008-04-14 Thread Garry Saddington
Is there any way to do data type checking in dtml-if, for example to check that a variable is an integer? regards garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] how many zope instances

2008-04-04 Thread Garry Saddington
be useful to be able to predict the number of servers I would need. Regards Garry ___ 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] how many zope instances

2008-04-04 Thread Garry Saddington
On Friday 04 April 2008 16:38, Andreas Jung wrote: --On 4. April 2008 16:33:48 +0100 Garry Saddington [EMAIL PROTECTED] wrote: I have tried to find information on how many Zope instances can be run on a single machine but all searches have failed to be definitive. Is there any

Re: [Zope] silly DTML question: in test

2007-11-28 Thread Garry Saddington
-call REQUEST.set('z','f') /dtml-in If the variable is in table then dtml-in returns a result set and the dtml-call REQUEST.set('z','t') is called, if not the dtml-else is called. HTH Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Frustrated with Python and Frameworks. Zope, Grok, Django, CherryPy

2007-11-27 Thread Garry Saddington
was the response friendly and helpful but many responders actually wrote code to solve my problem or to show me how to solve it. It is this sort of attitude that we should try to foster on this list. Everyone has to learn sometime - how about helping them with a little more kindness. Regards Garry

[Zope] bounties

2007-11-10 Thread Garry Saddington
How would I go about offering bounties to Zope developers? Regards Garry ___ 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

Re: [Zope] running pg_dump on windows as external method

2007-10-26 Thread Garry Saddington
On Friday 26 October 2007 05:24, Andreas Jung wrote: --On 25. Oktober 2007 22:48:42 +0100 Garry Saddington [EMAIL PROTECTED] wrote: I am using zope on windows with an external python method to backup my database. I am struggling to run the following command: pg_dump.exe database file

[Zope] running pg_dump on windows as external method

2007-10-25 Thread Garry Saddington
','database','','c:/dir/dir/output file']) The command string works perfectly in a terminal. Does anyone know how I should be doing this? I get no errors or traceback when I try the method through Zope. regards garry ___ Zope maillist - Zope@zope.org

Re: [Zope] sql and auto generated forms

2007-09-16 Thread garry saddington
/Znolk_SQL_Wizard regards Garry ___ 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-announce http://mail.zope.org/mailman/listinfo

Re: [Zope-DB] case insensitive ZSQL queries

2007-09-06 Thread garry saddington
dtml-or dtml-sqltest client op=like type=string optional /dtml-sqlgroup Thanks... Jim If you use Postgresql then change the 'like' to 'ilike'. Regards Garry ___ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo

[Zope] dtml method contents

2007-08-30 Thread garry saddington
-in Is it possible to do the same with all dtml methods? I have tried replacing template with document_src but this gives a mixture of part rendered methods and error messages which is completely jumbled. Regards Garry ___ Zope maillist - Zope@zope.org http

[Zope] htmldoc problem

2007-07-15 Thread Garry Saddington
that kmail is enforcing on this code snippet!? Regards Garry ___ 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-announce http

[Zope] html2pdf

2007-07-12 Thread Garry Saddington
, python 2.4.2, win32) and latest version of html2pdf. Regards Garry ___ 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-announce

Re: [Zope] Re: html2pdf

2007-07-12 Thread Garry Saddington
On Thursday 12 July 2007 18:19, Maurits van Rees wrote: Garry Saddington, on 2007-07-12: I am trying to use html2pdf and htmldoc to generate pdfs on the fly. I can get it to work perfectly if I set all view permissions for anonymous. However, this is not suitable for a member only site. Can

[Zope] datetime format

2007-03-04 Thread Garry Saddington
) Python Version 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] System Platform win32 Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] datetime format

2007-03-04 Thread Garry Saddington
On Sunday 04 March 2007 13:32, Andreas Jung wrote: --On 4. März 2007 12:45:20 + Garry Saddington [EMAIL PROTECTED] wrote: I have 'datetime-format international' set in zope.conf but the date output is still rendered in the format (y,m,d) Reading helps.. Yes, indeed it does, how did

[Zope] frameset problems

2007-02-21 Thread Garry Saddington
in the correct direction? Regards Garry ___ 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-announce http://mail.zope.org/mailman

[Zope] add user from python problem

2007-02-15 Thread garry saddington
') userfolder.userFolderAddUser(name, password,roles,domains) regards garry ___ 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] add user from python problem

2007-02-15 Thread garry saddington
On Thu, 2007-02-15 at 18:58 +0100, Andreas Jung wrote: --On 15. Februar 2007 17:34:10 + garry saddington [EMAIL PROTECTED] wrote: roles='Manager' As the name 'roles' indicates you have to specify a sequence of roles and not a *single* one. -aj Thanks this has

Re: [Zope] add user from python problem

2007-02-15 Thread garry saddington
On Thu, 2007-02-15 at 19:35 +0100, Andreas Jung wrote: --On 15. Februar 2007 18:31:46 + garry saddington [EMAIL PROTECTED] wrote: On Thu, 2007-02-15 at 18:58 +0100, Andreas Jung wrote: --On 15. Februar 2007 17:34:10 + garry saddington [EMAIL PROTECTED] wrote

Re: [Zope-DB] Please help me about driver adapter

2007-02-15 Thread garry saddington
://www.plope.com/Books/2_7Edition/RelationalDatabases.stx there you find examples how to use a query with like. robert Here's an example of how to use like and wildcards in sqlvar's select * from students where surname ilike dtml-sqlvar expr='%'+surname+'%' type=string Regards Garry

[Zope] python script syntax

2007-02-14 Thread garry saddington
I want to do something like this in a script: forms='7L' context.forms.manage_addFolder('filey') ie. substitute the variable 'forms' for the correct value but I can not get the syntax correct, can anyone help? regards garry ___ Zope maillist - Zope

Re: [Zope] zope sql_delimiter windows

2006-12-27 Thread garry saddington
On Sun, 2006-12-24 at 21:00 +0100, Dieter Maurer wrote: garry saddington wrote at 2006-12-23 22:26 +: I have a Zope application that runs perfectly on Linux. However, my target audience is likely to use Windows so I am trying to port my app. to that platform. Whenever I use a multiple

Re: [Zope] zope sql_delimiter windows

2006-12-24 Thread garry saddington
On Sat, 2006-12-23 at 23:39 +0100, Jaroslav Lukesh wrote: Does run your multiple INSERT queries at Database Adapter Test tab? None of them run (and I have many) from the test tab as I collect the data from a web form using the :records structure. Regards Garry

Re: [Zope] zope sql_delimiter windows

2006-12-24 Thread garry saddington
and I have searched the mailing list. My last resort is always to ask on this list simply because of the sort of answer you have just given. Regards Garry ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] zope sql_delimiter windows

2006-12-24 Thread garry saddington
I provide any further information? Regards Garry ___ 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-announce http

[Zope] zope sql_delimiter windows

2006-12-23 Thread garry saddington
, 2.9, 2.10 have been tested and all fail, is there an issue with this? Regards Garry ___ 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] external method strangeness

2006-10-19 Thread garry saddington
On Wed, 2006-10-18 at 15:07 -0400, Paul Winkler wrote: On Wed, Oct 18, 2006 at 06:13:38PM +0100, garry saddington wrote: Can anyone explain what is happening here. I am using Saxon to transform an xml file(source) using a stylesheet(style) the result is then written to Postgres

[Zope] external method strangeness

2006-10-18 Thread garry saddington
= r.stdout.read() transformed1=transformed.replace(',)',')') conn = psycopg.connect(dbname=scholarpack user=scholarpack) curs = conn.cursor() do=curs.execute(transformed1) do conn.commit() conn.close Can anyone point me in the correct direction? regards garry

[Zope] zope 3 psycopda

2006-08-12 Thread garry saddington
. Any ideas please? regards garry from zope.rdb import ( zope.configuration.xmlconfig.ZopeXMLConfigurationError: File /var/lib/zope3/instance/sandbox/etc/site.zcml, line 7.2-7.55 ZopeXMLConfigurationError: File /var/lib/zope3/instance/sandbox/etc/package-includes/psycopgda-configure.zcml, line

  1   2   >