Re: [Zope] Really dumb newbie question

2000-05-23 Thread Tony McDonald
hing along the lines of: dtml-if action == "add" blah /dtml-if dtml-if "action == 'add'" blah /dtml-if As an aside, whenever anything is in " .. " - it becomes a Python expression. hth Tone -- Dr Tony McDonald, FMCC, Networked L

Re: [Zope] stupid question I guess

2000-06-07 Thread Tony McDonald
-let variablename="'I am a string'" bloot="1" blah blah blah ... ie the scope of the variable dtml-var variablename :: dtml-var bloot /dtml-let See lib/python/DocumentTemplate/DT_Let.py for more details... hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments P

Re: [Zope] stupid question I guess

2000-06-07 Thread Tony McDonald
yntax, huh? ;-) Tsk tsk, that's global :-) dtml-let variablename=1 ... ... /dtml-let Tsk tsk tsk - it don't work ;) dtml-let variablename="1" ... ... /dtml-let tone.. ------ Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School,

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Tony McDonald
dtml-var /images/logo.jpg". And it doesn't work, giving me an error message of: try dtml-with images dtml-var logo.jpg /dtml-with It can get complex quickly though - I'm sure I remember something on thew Zope list about this, I think it was a word of wisdom from Phil Harris... hth tone

Re: [Zope] stupid question I guess

2000-06-08 Thread Tony McDonald
readable, just seems a little out of context.. tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2

Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Tony McDonald
? Therefore, that implies that Zope org is not using ZServer to serve up documents. Still correct? If this is the case then I'm even more impressed, but would like to ask why not use Ansers 'Apache/ZServer HowTo' and get the best of both worlds? TIA Tone. -- Dr Tony McDonald, FMCC, Networked

[Zope] Plea: sequence-item and sequence_item in 2.2?

2000-06-08 Thread Tony McDonald
and python expressions Cheers, Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2

Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Tony McDonald
At 10:52 am + 8/6/00, Oleg Broytmann wrote: On Thu, 8 Jun 2000, Tony McDonald wrote: If you're running Zope from behind Apache/PCGI then you *have* to run Zope single threaded. Am I correct? No, you r not! Yoy can run multithreading ZServer and connect Apache to it via PCGI

[Zope] SQL snippet...

2000-06-15 Thread Tony McDonald
Here's a quickie. If you're using MySQL and return integers, you'll see L added to the end of your numbers (it's a Python thing!) Try this dtml-var result fmt="%u" et volia!, no L added to the end of your numbers... Ithangyu. Tone. -- Dr Tony McDonald, FMCC, Networke

[Zope] Zope 2.2.0 and UserDB-1.2.0 conflict

2000-07-18 Thread Tony McDonald
) -- This is 2.2.0 built from source on Solaris 2.5 and Python 1.5.2 Any thoughts would be mightily appreciated. tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D

[Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-18 Thread Tony McDonald
is that it's not being developed any more. Ah well, it did the job for a long time Can anyone who's using an SQL based authentication system with Zope 2.2 successfully please let me know which one you used and how you did it? ta muchly, tone. -- Dr Tony McDonald, FMCC, Networked

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-19 Thread Tony McDonald
At 9:38 am +0800 19/7/00, Bak @ kedai wrote: On Wed, 19 Jul 2000, Tony McDonald wrote: Hi all, I think the time has come to bite the bullet and change our authentication engine to work in line with Zope 2.2 and above. UserDB-1.2 seems to have some problems with it (see my message today

Re: [Zope] Need an SQL based auth system that works with Zope 2.2

2000-07-19 Thread Tony McDonald
At 12:43 pm +1200 19/7/00, Graham Chiu wrote: In article v0422081ab59a36ddacad@[128.240.198.13], Tony McDonald [EMAIL PROTECTED] writes Can anyone who's using an SQL based authentication system with Zope 2.2 successfully please let me know which one you used and how you did it? What

Re: [Zope] Date time format

2000-07-19 Thread Tony McDonald
At 5:46 pm +0800 19/7/00, [EMAIL PROTECTED] wrote: Hi all, Anyone know if there is any good tutorial for date time format ? Like abstract the day or month or year in a ZopeTime string. as if by magic http://www.zope.org/Members/AlexR/CustomDateFormats hth tone -- Dr Tony McDonald

Re: [Zope] ZopeLDAP with Zope 2.2 - verify_watermark ImportError

2000-07-24 Thread Tony . McDonald
I just installed ZopeLDAP in Zope 2.2 and I am getting the following message: Traceback (innermost last): File "/usr/local/Zope-2.2.0-src/lib/python/OFS/Application.py", line 396, in import_products product=__import__(pname, global_dict, global_dict, silly) File

Re: [Zope] Silly send mail problem

2000-07-27 Thread Tony McDonald
the sendmail tag, whitespace (or rather the lack of it) *is* important. hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D

[Zope] Can't create ZClass under 2.2.0

2000-07-31 Thread Tony McDonald
\012__module__q;U\031*73biqpA I2QDa2iKPitv57g==qlt;utq=t.N.')) Could not load oid contain clues: (see above) -- Thing is, I've deleted the ZDiscussions and ZBase products as well as packing the database - these products shouldn't be there Anyone got any ideas? ta tone -- Dr Tony McDonald, FMCC

[Zope] anyone got a foolproof 2.1.6 - 2.2.0 via import schema?

2000-08-03 Thread Tony McDonald
? this is driving me up the bloody wall. ta tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5888 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2

[Zope] File uploads causing memory to be used up

2000-08-15 Thread Tony McDonald
e roughly 2-3 megs in size, and each time they're uploaded the amount of memory (as reported by 'top') used by the process increases by about that amount. *Any* ideas or thoughts would be greatly appreciated. We've had our server brought down twice by a python process (ie zope) that was taki

[Zope] Import Error 'PTKDemo' - but *no* PTKDemo objects around..

2000-08-15 Thread Tony McDonald
) -- I've also tried this with Zope 2.2.1b1 and get the same result. Any thoughts would be appreciated here, I'm out of ideas. tone. -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 Fingerprint

[Zope] getting rid of PTKDemo

2000-08-16 Thread Tony McDonald
who tells me how to get rid of this thing gets a pint (you'll have to come to Newcastle to collect) cheers Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 Fingerprint: 3450 876D

[Zope] How can I find memory leaks in External Methods?

2000-08-16 Thread Tony McDonald
I have an External method that is used to upload files to a unix file system. Thing is, it seems to be causing more and more memory to be used by Zope. Can anyone give me some pointers on what might be causing this? TIA Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments

RE: [Zope] getting rid of PTKDemo

2000-08-17 Thread Tony McDonald
*don't* have any ID's with 'unusual' characters in them, then I guess I can't help you out... Thank again, greeting from a Berlin draught drinker... -- Ralf Herold :) Tone ps Ralf, I've taken the liberty of ccing this to the list as it might help others... -- Dr Tony McDonald, FMCC

Re: [Zope] mysqlUserFolder woes

2000-08-17 Thread Tony McDonald
to UserDB. hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2 ___ Zope

[Zope] Patch for Netscape 'tree' bug?

2000-08-17 Thread Tony . McDonald
Hi, It seems that 2.2.0 doesn't have the patch for the infamous Netscape 'tree' bug. The site that did have the patch is no longer available. Has anyone got the patch availble? TIA Tone ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] anyone got a foolproof 2.1.6 - 2.2.0 via import schema?

2000-08-22 Thread Tony . McDonald
On Mon, 21-Aug-2000, you wrote: Tony McDonald wrote: I get KeyErrors from 2.2.0 with an Error value of a rubbish character when trying to import a folder of various objects. This also happens when trying to import the XML version, except the Error Value is 'id' (but with no idea of where

Re: [Zope] Patch for Netscape 'tree' bug?

2000-08-29 Thread Tony McDonald
list about rewriting the tree tag somewhat. Can I make a plea that this is considered too? cheers tone. -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 Fingerprint: 3450 876D FA41 B926

Re: [Zope] problem logging in to /manage resource

2000-09-12 Thread Tony McDonald
Hello, I've been tryhing hard for the last two weeks to use zope but I can't seem to get it to go past the /manage resource. Ouch! - you'll like it once you get started. I'm running zserver, I tried the default password, changing it with zpasswd, removing domain restrictions,

Re: [Zope] Help with Zope 'pitch'

2000-09-15 Thread Tony McDonald
Novice but working on it - Linda Doyle! not for long we hope... Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38 18A2

Re: [Zope] Help with Zope 'pitch'

2000-09-15 Thread Tony McDonald
Damn! Sorry about that - trouble with fingers and a local Zope listsigh tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 Fingerprint: 3450 876D FA41 B926 D3DD F8C3 F2D0 C3B9 8B38

[Zope] Bizarre ZMySQLDA problem...

2000-10-10 Thread Tony McDonald
) query. The same query produces a flood of data from the mysql monitor. I'm totally baffled here, and would really appreciate any advice... Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116

Re: [Zope] Bizarre ZMySQLDA problem...

2000-10-11 Thread Tony McDonald
fix it, give me a few hours to see what I did and I'll mail you back. I'd really appreciate that! (my pennance for using Solaris I suppose) :( Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191

[Zope] Need preferred 'import' format for ReportLab Image module

2000-10-11 Thread Tony McDonald
Hi all, This is of interest to those people using the (excellent) PDF generator, ReportLab http://www.reportlab.com/ under Zope. As you may know, there is an import conflict with the 'Image' module from PIL and the built in Zope 'Image' module when using ReportLab. The snippet below is from

Re: [Zope] Re: Upload just file headers?

2000-10-11 Thread Tony McDonald
Much thanks to Knight and to Peter Bengtsson (who replied off-list), I know have at least two possible avenues to explore. If I ever get this to work, I'll post it! Please do - we've got people uploading PowerPoints of up to 25-30 Megabytes (record was an attempt at 170 Mb) and we'd like to

[Zope] Using UserDB objects with DreamWeaver

2000-10-12 Thread Tony McDonald
Hi all, Has anyone managed to get acl_users folders that use UserDB (and I presume any other kind of cookie-based authentication) to work alongside DreamWeaver. Whenever I try to get into a UserDB locked folder I get FTP authentication errors. Any ideas? tone -- Dr Tony McDonald, FMCC

Re: [Zope] Need preferred 'import' format for ReportLab Imagemodule

2000-10-12 Thread Tony McDonald
-packages? Or have I missed something obvious (I probably have - it's been a looong day). tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http

Re: [Zope] How to use the date fmt's

2000-10-16 Thread Tony McDonald
/CustomDateFormats tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope

Re: [Zope] Medusa Monitor

2000-10-17 Thread Tony McDonald
and would like to know if I'm doing anything dopey. cheers tone. -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope

Re: [Zope] dtml-sqlvar quote

2000-10-20 Thread Tony McDonald
Hi all How can i pass a string to a sql method that won't be quoted. i.e so i can do somthing like this . group by foo,blah order by dtml-sqlvar spam thanks mark don't quote it? ... order by dtml-var spam I use this all the time for things like select * from data where dtml-var

Re: [Zope] Sendmail examples

2000-10-24 Thread Tony McDonald
zope_form@thoth Subject: Feedback from the web Feedback from : !--#var name-- Comments: !--#var comments-- !--#/sendmail-- hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A

Re: [Zope] How small a box can zope run on?

2000-10-26 Thread Tony McDonald
an Apache background, I'm used to having dozens of httpd processes hanging around waiting for something to happen. I've always assumed that threads did much the same thing. Perhaps I'm wrong thoughts? Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle

[Zope] how do I get rid of 'ghost' objects in Data.fs

2000-10-31 Thread Tony McDonald
*excellent* news about BDFL and his troupe joining DC! -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope

[Zope] Populating a :list variable from the results of a ZSQL method

2000-11-10 Thread Tony McDonald
ed iterating over new_options, but the variable didn't exist... Has anyone got any solutions for this? TIA Tone -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope lis

Re: [Zope] Populating a :list variable from the results of a ZSQLmethod

2000-11-10 Thread Tony McDonald
got as far as the string.split and ended up using a _.string.find() construct to get a pseudo-lookup working :) I suppose to make it more generic, you'd lose the _.int() part. Thanks for the info Phil. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle U

Re: [Zope] Populating a :list variable from the results of a ZSQLmethod

2000-11-10 Thread Tony McDonald
The code that Chris Withers sent out might be the way to do it, but you've got to be careful of the eval()... def eval_options(self): return eval(self.REQUEST['options']) Thanks for the thoughts Geir Tone -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medi

Re: [Zope] FYI: Digital Creations secures $12M round of investment

2000-11-14 Thread Tony McDonald
rt pushing it out more over the next 24 hours. This is excellent news. Congratulations to all the DC troops... -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.

[Zope] How do I form an XML-RPC query to a remote server?

2000-11-15 Thread Tony McDonald
), I'm a bit lost on where to start here. An External Method seems the best way, but I'd like the received wisdom on this. Ta muchly, tone -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for

Re: [Zope] Newbie Install: Solaris/Zeus

2000-11-16 Thread Tony McDonald
th it. Alternatively, you can compile up your own *version 1.5.2* of Python under Solaris and use that globally through your system. People have said that Zope works with Python 2.0 - but I'd wait until the DC troops say it's ok if I were you. I'd also advise not trying with Python 1.6. hth

Re: [Zope] How do I form an XML-RPC query to a remote server?

2000-11-17 Thread Tony McDonald
On 15/11/00 5:58 pm, "Michel Pelletier" [EMAIL PROTECTED] wrote: Tony McDonald wrote: Hi all, I'm experimenting with collating data from a remote database that uses XML-RPC. I can send it messages like; import xmlrpclib medweb = xmlrpclib.Server("http://b

Re: [Zope] How do I form an XML-RPC query to a remote server?

2000-11-17 Thread Tony McDonald
On 16/11/00 7:10 am, "Edward Muller" [EMAIL PROTECTED] wrote: On Wed, 15 Nov 2000, Tony McDonald wrote: Hi all, I'm experimenting with collating data from a remote database that uses XML-RPC. I can send it messages like; import xmlrpclib medweb = xmlrpclib.Se

Re: [Zope] MySQL Connection String

2000-11-17 Thread Tony McDonald
'localhost' for database servers on the same machine as Zope... hth Tone -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/lis

[Zope] Problems with list?

2000-12-05 Thread Tony McDonald
I've had no email from this list since Friday at 06:50am. Is there anything wrong with it? Tone -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 222 5116 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman

[Zope-dev] Where to put time.sleep(0.01) to get around solaris threadingissue?

2001-11-16 Thread Tony McDonald
requests are then serviced. Can anyone see what I'm doing wrong here? Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope

[Zope-dev] Upgrading to python 2.1.2 and Zope 2.5b4

2002-01-17 Thread Tony McDonald
if this is a daft question - I have a *lot* of zope sites using python 2.1 at the moment) Many thanks Tone -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman

Re: [Zope-dev] Call Profiler

2002-02-01 Thread Tony McDonald
] Any comments? I've been using it for *5* minutes and have found a method that was taking 95%! of one of our most often used scripts and another python script that was effectively stalling the servergobsmacked. Huge kudos and thanks to Richard!! :) Tone. -- Dr Tony McDonald, Assistant

[Zope-dev] Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-05 Thread Tony McDonald
it into 2.7.0rc2 and get the traceback above... cheers tone. -- Dr Tony McDonald, Asst Director, FMSC. 0191 245 4223 Project Manager, FDTL-4 ePortfolios http://www.eportfolios.ac.uk/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman

Re: [Zope-dev] Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-05 Thread Tony McDonald
Thanks for the response Dieter, On 5 Feb 2004, at 18:51, Dieter Maurer wrote: Tony McDonald wrote at 2004-2-5 12:43 +: ... We have an index_html (initially DTML document, then tried method) that can be created (located at /prototype/myporfolio/index_html), have it's security settings

Re: [Zope-dev] Zope2.7.0rc2 AttributeError: 'NoneType' object has no attribute 'setHeader'

2004-02-09 Thread Tony McDonald
tone. -- Dr Tony McDonald, Asst Director, FMSC. 0191 245 4223 Project Manager, FDTL-4 ePortfolios http://www.eportfolios.ac.uk/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding