[Zope] ZSQL-Methods: last inserted id

2000-05-17 Thread Andy
I wonder how I can find out about the last inserted id of a row in my mysql-database, which I inserted through a ZSQL-Method... I tried mysql's built-in function LAST_INSERT_ID(), but that did not solve my problem... ___ Zope maillist - [EMAIL PROT

[Zope] expression evaluation in dtml

2000-05-19 Thread Andy
hi there, I over a ZSQL-method and get a variable named auth_user from the database I am accessing. When I do a , it renders 'andyman', as I expected. Now, when I do a , it also renders 'andyman'. But when I then do a Hello , nothing happens, and that is not what I am expecting. Can

[Zope] Error handling and super users....

2000-06-30 Thread Andy
way of restricting the super_user to a domain? Zope allows you to restrict users, but I would like to tighten down Zope a little more by only allowing super_users from within our domain... Thanks in advance. Andy McKay ___ Zope maillist - [EMAIL

[Zope] Ten days to go to Python-UK

2005-04-11 Thread andy
ease register now at... https://www.accu.org/bookings/ Best Regards, Andy Robinson ACCU Python Conference Chair ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Newbie: MS Access ODBC connection strings

2000-05-18 Thread Andy Gates
e with the ODBC-DA, there's usually no need for a connection string and accordingly I have left it blank; I presume that the DA is defaulting to connecting using the DSN name as its string. The database has no security settings that might limit access. What's going wrong? Help! ---

Re: [Zope] Newbie - problem connecting to MS Access DSN

2000-05-18 Thread Andy Gates
> I have this working fine. Are you running NT or \'98? If NT is > Zope running as a service? If so, did you create your DSN as a > System DSN? I'm running NT4, SP6a. Zope is a service, running. The DSN is system. In fact the whole setup is *identical* to that on a colleague's machine I ha

RE: [Zope] Newbie: MS Access ODBC connection strings

2000-05-18 Thread Andy Gates
> i had a similar problem recently. my access DB was not showing up in the > data sources list until i deleted the ODBC connection from windows control > panel and recreated it - i guess i messed up the first time. make sure your > DB shows up in the "User Data Sources" list in the ODBC Data Sourc

[Zope] ZMirror

2000-05-19 Thread Andy McKay
I seem to be having trouble with ZMirror... I get an error "call of non-function (type string)". Any ideas? Thanks. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Relate

[Zope] Really dumb newbie question

2000-05-23 Thread Andy Gates
blah and whatever I try, I get "Invalid attribute name, "action", for tag " Assuming that I'm not just cursed by the Zope Gods, what am I doing wrong? Yeesh, I feel dumb. -- Andy Gates, Learn

Re: [Zope] Really dumb newbie question

2000-05-24 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Thanks folks :) ------ Andy Gates, Learning and Research Technology [EMAIL PROTECTED

[Zope] newbie question: parameter passing for ZSQL Object

2000-05-26 Thread Andy Pahne
It's pretty easy: There's a problem with your SQL-statement: >INSERT INTO plan >(field1, field2, field3, field4) >VALUES >(, , , ) It should be: INSERT INTO plan (field1, field2, field3, field4) VALUES (, , , ) Andyman ___ Zope mailli

[Zope] SQL-Query works with MySQL-monitor but not with ZMySQLDA

2000-05-29 Thread Andy Pahne
/Shared/DC/ZRDB/DA.py, line 401, in __call__ (Object: sql_get_years_unique) File /zope/ttl/Zope-2.0.1-src/lib/python/Products/ZMySQLDA/db.py, line 191, in query KeyError: (see above) Andy Pahne ap@net22 net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231

[Zope] Two in one?

2000-06-02 Thread Andy Gates
ain bozo error I'm making? Is is possible to programmatically pass variables around like this (surely it is,this would be trivial in ASP/JSP)? -- Andy Gates, Learning and Research Technology [EMAIL PROTECTED] - ICQ#74362415 __

Re: [Zope] Two in one?

2000-06-02 Thread Andy Gates
> Ahh... quotes. Parentheses. Works a treat. Ta. AndyG ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope

[Zope] Multiple Zopes on NT

2000-06-02 Thread Andy McKay
Can anyone point me to a how to on running multiple instances of Zope on NT? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/

[Zope] (no subject)

2000-06-04 Thread Andy Gates
#x27;ve tried just putting the second search in the lop of the first one, which I hoped would mean that the second search had access to the projID var, but it doesn't seem to be passing to the second SQL method. So, in time-honoured tradition: What am I doing wrong? Che

[Zope] another nice error-message

2000-06-05 Thread Andy Pahne
I replaced the standard_error_message whth . Now I'm havin much fun everytime some obscure error occurs. I highly recommend, you developers do the same, not only for you but for your visitors as well.... Andy Pahne ap@net22 net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.:

[Zope] FW: troubles with installing zope

2000-06-08 Thread Andy Gayton
er says that the document returned no data, try again later or contact system administrator : Stack overflow: pid 23282, proc python, addr 0x14085ffe8, pc 0x120038c18 Have I configured something wrongly ? thanks, Andy. ___ Zope maillist - [EMAIL PROTECT

RE: [Zope] FW: troubles with installing zope

2000-06-08 Thread Andy Gayton
Thank you for your replys. Andy > I could then point my browser at the server on 9080 and get the introductory Andy > page. However, if I try to do anything else, like go to admin page or quick Andy > start documentation, the server raises the following debug message and the Andy >

[Zope] xmlrpc problem

2000-06-09 Thread Andy Dawkins
read: Done and change the python module to read: import xmlrpclib s=xmlrpclib.Server("http://www.myserver.com/Zope/test/") s.createDocument() Then it successfully creates the document. So how do I successfully pass arguments in to the DTML method so that it can populate the new docu

[Zope] Newbie: Listing filesystem objects?

2000-06-13 Thread Andy Gates
lfs object called "logos" that maps to the correct folder. And now I'm mired in the docs. I'm thinking that I can just use dtml-in to iterate through the file ids of the objects in that folder, but I'm damned if I can see *how* to do that. Any tips?

RE: [Zope] XML-RPC

2000-06-14 Thread Andy Dawkins
Try http://www.zope.org/SiteIndex/search?date%3Adate=1969%2F12%2F31++16%3A00%3A0 0+US%2FPacific&date_usage=range%3Amin&text_content=xmlrpc -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Budi Wiyono Sent: 14 June 2000 10:34 To: [EMAIL P

[Zope] Stupid question of the day

2000-06-22 Thread Andy McKay
How do I find the size of the results returned by the catalog? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-

Re: [Zope] Stupid question of the day

2000-06-26 Thread Andy McKay
Thank you. - Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 23, 2000 3:07 PM Subject: Re: [Zope] Stupid question of the day > Andy McKay writes: &

[Zope] Newbie: String work

2000-06-27 Thread Andy Gates
ns "bloggs" "fred" returns "fred" "fred~~bloggs~aardvark" returns "aardvark" I can see that rfind is the thing I need to use, but as usual (gah! newbie!) I'm stuck on the syntax. Help! -- Andy Gates,

Re: [Zope] Newbie: String work

2000-06-27 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" > > > this is documented at > http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.4.4.2.3.html > - but not very newbie-friendly Perfe

[Zope] STUPID_FILE_LOGGER

2000-06-27 Thread Andy McKay
Hi, Im trying to run Zope on Win2k and use the stupid_file_logger. No matter what I seem to do to the command line or z2.py I still get the logs going to stderr (ie ms-dos console). Can anyone help? Here are command lines I have tried: "C:\Zope\bin\python.exe" "C:\Zope\z2.py" -D STUPID_FILE_LOG

Re: [Zope] STUPID_FILE_LOGGER

2000-06-27 Thread Andy McKay
\zope.log" Thanks. - Original Message - From: "Loren Stafford" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, June 27, 2000 11:04 AM Subject: RE: [Zope] STUPID_FILE_LOGGER > I develop on Win98

Re: [Zope] DTML/ZClass question

2000-06-27 Thread Andy McKay
You are correct, you're ZClass is not rendering the dtml and it wont. The easiest way I found is simply not to try and find another solution. I came across the same problem a while ago when I was just starting out with Zope. I have solved the problem now, its written in python and derives from DT

Re: [Zope] ZCatalog counting?

2000-06-27 Thread Andy McKay
But that assumes that they are all in the same folder... a ZCatalog query where meta-type = 'DTML Document' followed by a simple sequence-length would get around that. And I think (but dont quote me on this) that a ZCatalog search is quicker than objectValues. - Original Message - From: "

Re: [Zope] How to update DTML built from Python level?

2000-06-28 Thread Andy McKay
Restarting will work (although it is not technically necessary for .dtml). Perhaps there is another reason... - Original Message - From: "Lalo Martins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 28, 2000 3:48 PM Subject: [Zope] How to update DTML built from Python

[Zope] FOR loops?

2000-06-30 Thread Andy Gates
and use. Obvious answer is to use   characters to pad the values thus:   So where does Zope hide its FOR loop? Can't find the bugger anywhere! -- Andy Gates, Learning and Research Technology [EMAIL PROTECTED] - ICQ#74362415

[Zope] SQL method: Trying to be too clever?

2000-06-30 Thread Andy Gates
x27;t work, of course... -- Andy Gates, Learning and Research Technology [EMAIL PROTECTED] - ICQ#74362415 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Rel

Re: [Zope] SQL method: Trying to be too clever?

2000-06-30 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" > > in that case you just want a (you not passing it as sql > > query values) Perfecto. That's two today. My turn to get the beers.

RE: [Zope] MySQL Select Statements

2000-06-30 Thread Andy Dustman
2000 -0400, Ron Bickers wrote: > >Why do you say you "must" use the AS statement? Do you get an error > >otherwise? > > > >MySQLdb 0.2.2 is broken when used with ZMySQLDA. But 0.2.1 works okay for > >me. Andy Dustman (author of the MySQLdb) said he will fix

Re: [Zope] Available Object List (Was Re: [Zope] GOOD)

2000-06-30 Thread Andy McKay
And a "Check all" while they are at it then again 900 objects in one folder aint the best way to do things - Original Message - From: "J. Atwood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 30, 2000 7:27 AM Subject: [Zope] Available Object List (Was Re: [Zope] G

Re: [Zope] Error handling and super users....

2000-06-30 Thread Andy McKay
Hi Tino > My be is what you want? A dtml try works well in dtml in a file. But take an error such as "object not found" (analogous to 404) or some other error that does not specifically call a method. Or does it? This is the question I guess. Yes I use try and except's quite a bit. > Look for

Re: [Zope] Win2000

2000-06-30 Thread Andy McKay
No prob here. I had a brief problem for me with zope 2.2 beta 2 I think on Windows. That is fixed now though... what version and any more detail of the exact problem? - Original Message - From: "Robin Becker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 30, 2000 8:24 AM

RE: [Zope] MySQL Select Statements

2000-06-30 Thread Andy Dustman
e is to look at the server's version. Anyway, more experimenting is needed. -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your strength or cou

[Zope] Cut support

2000-06-30 Thread Andy McKay
Heres a wierd one: I have a class inherited off of DTMLDocument. The object's I create from can be happily copied, deleted, renamed and pasted in pretty much any order. But when I do a cut then paste I get an error message relating to ac_acquire I guess trying to get hold of the absolute_url (for

RE: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-06-30 Thread Andy Dustman
down as having a DA for 3.22 and one for 3.23. Which is, in practice, may not be any different than having one that is not transactional (3.22 never is) and one that is transactional (3.23 sometimes is). -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.

Re: [Zope] Why can't I subclass a ZSQLMethod?

2000-06-30 Thread Andy McKay
ZSQLMethod is not registered as a base class. I dont know why, but you could try changing it in the init.py... But Im sure there is a good reason why it isnt. - Original Message - From: "Cary O'Brien" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, June 30, 2000 12:59 PM Subject:

Re: [Zope] calling standard_html_header from external methods

2000-07-01 Thread Andy McKay
It sounds like it needs some arguments... the most obvious one I would try is request. HEADER=self.standard_html_header(REQUEST) - Original Message - From: "Marco Mariani" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 01, 2000 6:33 AM Subject: [Zope] calling standard_ht

RE: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Andy Dustman
ee any problems. A combination of try-except:ing an > attempted "begin rollback" block and a test for database type should do > the trick, no? If it's 3.22 or earlier, the begin-rollback should throw > the synax error Andy mentioned. If that's ok, a test for database

Re: [Zope] MySQL transaction support (was: MySQL Select Statements)

2000-07-03 Thread Andy Dustman
ltaneously on the same connection, the transactions are going to be whacky. -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your strength or coura

Re: [Zope] MySQL Select Statements

2000-07-03 Thread Andy Dustman
med "weird but legal" from table t. MySQL, OTOH, is case-sensitive on column names. -- andy dustman | programmer/analyst | comstar.net, inc. telephone: 770.485.6025 / 706.549.7689 | icq: 32922760 | pgp: 0xc72f3f1d "Therefore, sweet knights, if you may doubt your

[Zope] oracle8 and cursors

2000-07-05 Thread Andy Pahne
I read DCOracle.txt which comes along with DCOracle-Product, but I do not understand it very well. Any recommended readings? Andy Pahne ap@net22 net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ Zope maillist - [EMAIL PROTECT

[Zope] urgent python questrion: DCOracle

2000-07-05 Thread Andy Pahne
hi, tehre, how to call an oracle8 stored procedure from python? i do not understand this buffer s***t. yours, Andy Pahne ap@net22 net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ Zope maillist - [EMAIL PROTECTED

[Zope] Persisting a dictionary as a object property

2000-07-05 Thread Andy McKay
Hi all, Ok so I have an object, I have many properties persisting on the object using the wonderful PropertyManager. But I want to persist a dictionary. This isn't an option for the PropertyManager. I added a dictionary into the object just by adding the line: _map = {} But it only persists unti

[Zope] Newbie: Date checking?

2000-07-06 Thread Andy Gates
isPast and isFuture and this gives me a true/false response:but how do I use that in an if test? I keep (as usual) getting syntax errors. Help! -- Andy Gates, Learning and Research Technology [EMAIL PROTECTED] - ICQ#74362415

Re: [Zope] LONG insert > 2000 chars fail

2000-07-06 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Possibly related: Webform-based news story editor generates long text strings for body text. Using an ordinary form, this ends up (url-en

Re: [Zope] R: [Zope] Newbie: Date checking?

2000-07-06 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" > > ... > I'll work it out one day, honest. Ta. AndyG ___ Zope maillist - [EMAIL

Re: [Zope] R: [Zope] Newbie: Date checking?

2000-07-06 Thread Andy Gates
> > ... > ... > This gives: Error Type: TypeError Error Value: __div__ nor __rdiv__ defined for these operands The dates are pulled from an access (!) database where they are defined as date/time types. Me confoosed. Andy

Re: [Zope] howto_GUF

2000-07-06 Thread Andy McKay
Wild stab in the dark is that there is a problem writing a the standard stupid_log_file if you get rid of -D to stop logging. But IMHO logging is useful and there is a problem writing to the file for some reason, its worth fixing. - Original Message - From: "Mario Premke" <[EMAIL PROTECTE

Re: [Zope] Re:Web Site newbie

2000-07-06 Thread Andy McKay
A site might be more than just Zope, it could be a whole of bunch of servers applications etc. For example an e-commerce section written in say Perl, or streaming audio from some other server or some fancy. Most stuff 90% of sites do can be done in Zope and ZServer is great for that. To serve fro

Re: [Zope] Python or DTML

2000-07-06 Thread Andy McKay
> The Zope core is *written* in python (with hotspots coded in python > modules written in C), not just integrated with it. Since DTML > must be interpreted by the Zope core (an interpreter running in an > interpreter), whereas the python code in an external method is > simply (more or less) exec

Re: [Zope] Is Zope slow?

2000-07-06 Thread Andy McKay
> -maybe we could discuss network services/hoster_performance? This is more of a problem for most people. One evening whilst bored we calculated that Zope could happily serve enough people to fill up our pipe... so the bottle neck is our connection. Mind you we'd had a beer or two so calculatio

Re: [Zope] Persisting a dictionary as a object property

2000-07-06 Thread Andy McKay
Thanks that worked like a charm! - Original Message - From: "Martijn Pieters" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 05, 2000 5:21 PM Subject: Re: [Zope] Persisting a dictionary as a ob

Re: [Zope] Re:Web Site newbie

2000-07-07 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" > Most stuff 90% of sites do can be done in Zope and ZServer is great for > that. To serve from ZServer I think files have to be in Zope (but

Re:[Zope] Newbie: Date checking?

2000-07-07 Thread Andy Gates
:\PROGRA~1\WebSite\lib\python\DateTime\DateTime.py, line 545, in __init__ TypeError: (see above) Any clues? Andy ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (R

[Zope] [ANN] ZMailIn 0.2.0 Now Available

2000-07-07 Thread Andy Dawkins
ZMailIn 0.2.0 is now available here -> http://www.zope.org/Members/NIP/ZMailIn/ Major Revisions: -- xmlrpc instead of http post -- Python Products instead of ZClass -- Now two items (ZMailIn, ZMailMessage) instead of one (ZMailIn) -- Compatible with mailing lists -- Creates folder struc

Re: [Zope] Redirect Back

2000-07-07 Thread Andy McKay
And Javascripts back function is javascript:history.back() so i think RESPONSE.redirect('javascript:history.back()') - Original Message - From: "Chris McDonough" <[EMAIL PROTECTED]> To: "Chris McDonough" <[EMAIL PROTECTED]>; "'Aaron Williamson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> S

Re: [Zope] Am I getting the idea correctly?

2000-07-08 Thread Andy McKay
You still have to write dtml by hand, but you could say Dreamweaver to connect via FTP to Zope. You can then edit the documents in html. Or use you favorite WSYIWYG and ftp / cut and paste them in.   For a tool that includes all the dtml check out the one day it might be ready - Zope Studio.

RE: [Zope] HEELLPP - Please !!!

2000-07-10 Thread Andy Dawkins
Try using an argument other than 'login' Change it to something else because login could easily be a reserved keyword. To test this simply change it to xlogin or something similar. Let me know if that helps. -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PRO

Re: [Zope] Mirroring to IIS

2000-07-10 Thread Andy McKay
I did a similar thing and when I mirrored it to IIS as static files I changed the filename by adding .html You can fix the header to always add the correct content type (RESPONSE.setHeader('Content-Type', 'text/html')) - Original Message - From: "Jake LeBeau" <[EMAIL PROTECTED]> To: <

Re: [Zope] Mirroring to IIS

2000-07-10 Thread Andy McKay
Oops of course you are mirroring to a static file that setting a header will do no good. Damn need more tea to wake me up. - Original Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 10, 2000 11:40 AM Subject: Re: [Zope]

Re: [Zope] Mirroring to IIS

2000-07-10 Thread Andy McKay
se the ZMirror product and wget with varying degrees of success. See my response to Andy McKay for a description of where I am now. > > Of course, if I was a real Zopista, instead of a newbie, I would rewrite the ZMirror product to assign file extensions to its output, right? > >

[Zope] MessageDialog

2000-07-10 Thread Andy McKay
The MessageDialog is cool, but a little sparse, has anyone tried overriding it with their own or fiddling with it? Im looking at including standard header and footer in it and not gotten very far. Thanks. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming

Re: [Zope] cut and paste or an object

2000-07-11 Thread Andy McKay
Sorry, I cant shed any light but I still have the exact same problem. More bizarrely I could copy then delete then paste and that worked fine. - Original Message - From: "Terry Kerr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 11, 2000 2:10 AM Subject: [Zope] cut and

Re: [Zope] MessageDialog

2000-07-11 Thread Andy McKay
A thanks Chris. I had noticed that and was trying to see if I could do without using REQUEST. I couldnt so I went and changed all the calls to my class *sigh*. Thanks mate. - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Andy McKay" <[

Re: [Zope] 2.2 installation problem on Linux

2000-07-17 Thread Andy Pahne
not for me. everything worked fine on my redhat 6.0 box. first I thought upgrading would be a nightmare but after all it took me 10 minutes and all my sites are up and running smoothly :-) andy >Hi, > >this seams to be a bugglet in the final distribution, the pcgi_wrapper is >not

[Zope] ZClasses gripe

2000-07-17 Thread Andy McKay
estination once a form has been filled. This would give us much better access to things like property manager. Oh well back to Python. -- Andy McKay, Developer, ActiveState http://www.ActiveState.com Programming for the People ___ Zop

RE: [Zope] how to make an Product executable

2000-07-18 Thread Andy Dawkins
> I have a question .. > I create a product and i would like to to use my product when I select > it from the objects combo box. But It always puts me into the security > screen !!! and not my index_html. I have several methods in that product .. To create a new object you must supply an addForm

Re: [Zope] product docs Re: [Zope] Zope docs ??

2000-07-18 Thread Andy McKay
Im curious too... But then I had to write a trivial class to do xyz yesterday morning and doing it in ZClasses was just quicker. - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "ethan mindlace fremen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; "Zope Mailing List" <[E

[Zope] Re: Python or DTML

2000-07-18 Thread Andy McKay
> ...if I call an external method as an action resulting from a > form post, and spit out raw html, it works great. BUT I cannot > seem to use DTML objects very easily from within it. You can, its just very difficult. > Not so if one of those DTML > methods is an EXTERNAL method which would lik

Re: [Zope] Simple DTML-IN question

2000-07-19 Thread Andy McKay
Part of the problem here is that you cannot loop through a string (which is what a DTML Document returns). You can split the string and loop through that or more efficiently create a lines property on an object and loop through that. Something like: property: Course, type: lines .

[Zope] Stability fun on NT

2000-07-20 Thread Andy Gates
s c005 at address 1b040f64 (Ordinal101) " If I stop and restart Zope, I get the same error; if I reboot the server I get a few pages successfully served before the error hits again. Mucho annoying. Has anyone had similar problems with Zope running on NT? -- Andy

Re: [Zope] Stability fun on NT

2000-07-20 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" > How much disk space / RAM have you got? 1.8Gb free on the Zope drive, 256Mb RAM, dual PIII-500 processors. > What size is data.fs? 4.5Mb

Re: [Zope] Stability fun on NT

2000-07-20 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" ...and now it's working again, for a while, and I haven't done anything. Don't like this. AndyG _

[Zope] Zope-killer: zSQL method that crashes Zope

2000-07-20 Thread Andy Gates
Here's a thing. Those problems I was having with some sort of Zope-killing page have been tracked down to a particular zSQL method. The zSQL method is duff, in that is should fail - the perils of late-night coding on decaf, I fear - but it should fail neatly with a Zope error, not crash out t

[Zope] GUF, 2.2 and SQL

2000-07-20 Thread Andy McKay
failure at getting anywhere, or is it just me? Thanks. Andy McKay ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope

[Zope] Fw: [Zope] GUF, 2.2 and SQL

2000-07-20 Thread Andy McKay
Ok heres more if I look up a bogus username it works fine. If I look up a valid username it bombs. Its not running the method that is the problem, its accessing the recordset returned. Has something else changed here? - Original Message - From: "Andy McKay" <[EM

Re: [Zope] Fw: [Zope] GUF, 2.2 and SQL

2000-07-20 Thread Andy McKay
ws w/o patch :) Either > patch or replace the file and restart Zope to fix the > problem. > > This is also checked in for a 2.2.1 release that will > probably happen after a few weeks when enough people > have upgraded to shake out any other problems. > - Original Message -

[Zope] ODBC in 2.2

2000-07-20 Thread Andy McKay
"Class for reading RDB files """ _index=None + + # We need to allow access to not-explicitly-protected + # individual record objects contained in the result. + __allow_access_to_unprotected_subobjects__=1 def __init__(self,file,brains=NoBr

Re: [Zope] dumb dtml-in question

2000-07-21 Thread Andy McKay
This prints out the value every time though so you might do a return or do a request set depending upon what you are doing, or use a first / last system... Prints only once - Original Message - From: "Tom Scheidt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 21

Re: [Zope] A Better Way (Stupid DTML code)

2000-07-21 Thread Andy McKay
Other smug answers include: - dont put - in your SQL methods - use your SQL to give the variable a different name - use python - Original Message - From: "Phil Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Dennis Baker" <[EMAIL PROTECTED]> Sent: Friday, July 21, 2000 4:29 PM Subj

Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay
Did anyone find a solution to this problem? I have the exact same problem when try to access that object: 2000-07-19T22:09:27 ERROR(200) GUF http://127.0.0.1:8080/acl_users/userAuthenticate raised an exception (('Unauthorized', 0, )) Thanks - Original Message - From: "Mario Premke" <[E

Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay
Thanks to you, and thanks to Brad. That works... now there are a whole bunch of other security issues of course :) - Original Message - From: "Mario Premke" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: We

Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay
Nope that was a lie. I still have the same problem. Damn. - Original Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: "Mario Premke" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 19, 2000 4:39 PM Subject: Re: [Zope] GUF Aut

[Zope] zope 2.2.0 simply dies

2000-07-24 Thread Andy Pahne
ution? Has anybody had the same problem? Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] A Better Way (Stupid DTML code)

2000-07-24 Thread Andy McKay
MAIL PROTECTED]> Sent: Monday, July 24, 2000 6:40 PM Subject: Re: [Zope] A Better Way (Stupid DTML code) > "Baker, Dennis [sjmr]" wrote (quote rearranged to be *after* the > previous message, as it should be:): > > > > -Original Message- > > > From

Re: [Zope] Your feedback: what should DateTime strftime() behavior be?

2000-07-25 Thread Andy McKay
+1 - Original Message - From: "Brian Lloyd" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 25, 2000 8:35 AM Subject: [Zope] Your feedback: what should DateTime strftime() behavior be? > Hi all - > > There has recently been some confusion over the expected > behavior

[Zope] monitoring the zope-process with daemontools

2000-07-27 Thread Andy Pahne
27;d really like to know that. Yours, Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTM

[Zope] Searching static copy

2000-07-28 Thread Andy Gates
through the contect of DTML pages and methods? -- Andy Gates, Learning and Research Technology [EMAIL PROTECTED] - ICQ#74362415 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

[Zope] search on www.zope.org

2000-07-28 Thread Andy Pahne
Can anybody please tell me the search on www.zope.org does not find any pages containing? - mod_pcgi2 In fact there are numerous pages including this term. Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640

[Zope] AW: [Zope] search on www.zope.org

2000-07-28 Thread Andy Pahne
I didn't want to say it so clear but that's what I implied. Andy > -Ursprüngliche Nachricht- > Von: Peter Arvidsson [mailto:[EMAIL PROTECTED]] > Gesendet: Freitag, 28. Juli 2000 14:15 > An: Andy Pahne > Cc: [EMAIL PROTECTED] > Betreff: Re: [Zope] search on

RE: [Zope] Packing with cron

2000-08-03 Thread Andy Dawkins
supported Sub Transactions) -Andy > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Spisak > Sent: 03 August 2000 16:37 > To: [EMAIL PROTECTED] > Subject: [Zope] Packing with cron > > > Zopists, > > I am attemtping to u

RE: [Zope] Packing with cron

2000-08-03 Thread Andy Dawkins
Method. Place this in your zope/Extensions directory. Create it if it doesn't exist. You will need to add an external method to the root of your ZODB that points to packExtensions.py script If you have any problem then please let me know. -Andy #!/usr/bin/python # This module

RE: [Zope] Packing with cron

2000-08-04 Thread Andy Dawkins
> Have you ever used this from cron? Just so I know before I try it. > No I haven't tried it from cron yet but I see any reasons why you couldn't, except to make sure all the libs are in a common/accessable place. eg. Python/lib -Andy

RE: [Zope] Moving Objects that are Cataloged...

2000-08-04 Thread Andy Dawkins
but a different implementation. -Andy > then as far as i know there is no way around the problem? anyone else > have comment? > > i think that is the whole point of making objects catalogAware. > > Chris Withers wrote: > > > Terry Kerr wrote: > > > > > >

  1   2   3   4   5   >