[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/ma

Re: [Zope] MySQL Connection String

2000-11-17 Thread Tony McDonald
se@host user passwd 'host' can be '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 Zop

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 s

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;

Re: [Zope] Newbie Install: Solaris/Zeus

2000-11-16 Thread Tony McDonald
til the DC troops say it's ok if I were you. I'd also advise not trying with Python 1.6. 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/mail

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

2000-11-15 Thread Tony McDonald
, I'm going to slap my forehead bloody hard As you can see the data is returned in XML format, and whilst I'm fine with Python code for XML parsing (usually use sgmlop), I'm a bit lost on where to start here. An External Method seems the best way, but I'd like the received wi

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

2000-11-14 Thread Tony McDonald
It's out on the newswire now. We'll start 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

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

2000-11-10 Thread Tony McDonald
ld cut it: > > return list(inputstring) > 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,

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

2000-11-10 Thread Tony McDonald
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 University Tel: +44 19

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

2000-11-10 Thread Tony McDonald
tabase, 'options' comes back as a string, and ... gives errors (basically, it can't iterate over a string). I tried and then tried iterating over new_options, but the variable didn't exist... Has anyone got any solutions for this? TIA Tone -- Dr Tony McDonald, Assistant Dire

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

2000-10-31 Thread Tony McDonald
ere to look for this errant Product? Tone ps *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

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

2000-10-26 Thread Tony McDonald
One thing though, is there a 'party line' on what number the -T parameter should be set to? Coming from 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 thin

Re: [Zope] Sendmail examples

2000-10-24 Thread Tony McDonald
Subject: Feedback from the web Feedback from : Comments: 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 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 > > >thanks mark > don't quote it? ... order by I use this all the time for things like select * from data where like '%%' tone ___

Re: [Zope] Medusa Monitor

2000-10-17 Thread Tony McDonald
rack resource issues? I regularly have Zope processes that hit 150 Megs of RAM 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 19

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

2000-10-16 Thread Tony McDonald
embers/AlexR/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/l

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

2000-10-12 Thread Tony McDonald
rce distributions). If you can do that, you're probably ok with putting PIL into lib/python/shared. So why not have it in site-packages? Or have I missed something obvious (I probably have - it's been a looong day). tone -- Dr Tony McDonald, FMCC, Networked Learning Environments

[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] 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

[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 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] Bizarre ZMySQLDA problem...

2000-10-11 Thread Tony McDonald
LDA-1-1-3 >I did at one time 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 Medi

[Zope] Bizarre ZMySQLDA problem...

2000-10-10 Thread Tony McDonald
ySQL Database Connection (connected) 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, Ne

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

Re: [Zope] Help with Zope 'pitch'

2000-09-15 Thread Tony McDonald
add the dynamic parts as you gain in confidence. I'm specifically thinking of the LocalFS product. >Still a Web 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 S

Re: [Zope] Passing parameters to external methods

2000-09-15 Thread Tony McDonald
; >External methods try to be intelligent with respect >to parameter passing and sometimes they get it wrong. > >You may explicitly pass all parameters: > > Is *that* what this() does!! Enlightenmentaaah. tone -- Dr Tony McDonald, FMCC, Networked Learning Environme

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, ev

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

2000-08-29 Thread Tony McDonald
obably stick with 3 level trees for the time being. There's been some talk on the Zope 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

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 i

[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] http://lists.zope.org/ma

Re: [Zope] mysqlUserFolder woes

2000-08-17 Thread Tony McDonald
work) and even LoginManager (too much Zen needed) and came back 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 Fingerprin

RE: [Zope] getting rid of PTKDemo

2000-08-17 Thread Tony McDonald
PTKDemo Data.fs- | more Binary file Data.fs- matches If you *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

[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

[Zope] getting rid of PTKDemo

2000-08-16 Thread Tony McDonald
ZSQL method. Anyone 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 51

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

2000-08-15 Thread Tony McDonald
his 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: 3450 876D

[Zope] File uploads causing memory to be used up

2000-08-15 Thread Tony McDonald
content-type [%s]" % (filename, filesize, content_type) The files are 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 apprecia

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

2000-08-03 Thread Tony McDonald
any ideas? 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

[Zope] Can't create ZClass under 2.2.0

2000-07-31 Thread Tony McDonald
(and no base classes), but get the following traceback. 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, Networked Learning Environmen

Re: [Zope] Silly send mail problem

2000-07-27 Thread Tony McDonald
LHS of the textarea box. In other words, for 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, Newcast

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] 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 -- D

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 y

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 probl

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

2000-07-18 Thread Tony McDonald
serDB 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,

[Zope] Zope 2.2.0 and UserDB-1.2.0 conflict

2000-07-18 Thread Tony McDonald
;, ie devil methods) It seems to work ok, but when I try to click 'properties' in a UserDB object from the management screen, I get the following; [snipped] 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 T

Re: [Zope] Lists and external methods

2000-07-04 Thread Tony McDonald
>item1["date"] = "21/12/67" >item1["foo"] = "bar" >l.append(item1) > >item2 = {} >item2["date"] = "1/1/2000" >item2["foo"] = "baz" >l.append(item2) > >...etc... > >return l > >I

Re: [Zope] Simple tabular data. Do I need SQL?

2000-06-15 Thread Tony McDonald
ith a real >database, do I have to pay attention to the "Demo Only" warnings in >GadFly? I'd use TinyTable http://www.zope.org/Members/tsarna/TinyTable It's lightweight and functional. No SQL queries as such, but things like and work fine. Shane Hathaway has a product

[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 et volia!, no L added to the end of your numbers... Ithangyu. Tone. ------ Dr Tony McDonald, FMCC, Networked Learning Enviro

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 conn

[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
d. Am I correct? 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 T

Re: [Zope] stupid question I guess

2000-06-08 Thread Tony McDonald
read the docs. it's uploaded as the contents of the email I sent ;) - it's 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 22

Re: [Zope] Newbie question: graphics in subdirs

2000-06-07 Thread Tony McDonald
an error message of: > try 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 -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medica

Re: [Zope] stupid question I guess

2000-06-07 Thread Tony McDonald
, huh? ;-) > >Tsk tsk, that's global :-) > > >... >... > Tsk tsk tsk - it don't work ;) ... ... tone.. -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical School, Newcastle University Tel: +44 191 222 5

Re: [Zope] stupid question I guess

2000-06-07 Thread Tony McDonald
.. ie the scope of the variable You can have multiple variables set too... blah blah blah ... ie the scope of the variable :: See lib/python/DocumentTemplate/DT_Let.py for more details... hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/

Re: [Zope] ANN: Perl For Zope

2000-05-25 Thread Tony McDonald
of them. This is a good point Chris - it's got to be likely that more Perly people will migrate to Python rather than vice-versa isn't it? I mean if you already know Python, you're hardly likely to start doing your work in Perl are you? :) >Sheesh, it's like we'd r

Re: [Zope] Cookies

2000-05-25 Thread Tony McDonald
At 10:28 am -0400 25/5/00, Mabe, Brad wrote: >I am trying to create a cookie based on the value returned from a sql >method. The following code fails with an invalid syntax error. > > > )"> > > should work hth tone -- Dr Tony McDonald, FMCC, Networked

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Tony McDonald
date" etc. > >I try something along the lines of: > > blah > blah As an aside, whenever anything is in " .. " - it becomes a Python expression. hth Tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http

Re: [Zope] FTP

2000-05-23 Thread Tony McDonald
;s set up on port 8021 (how you do this is FTP client specific). It will only allow you to FTP DTML Documents and Methods however, so things like ZSQL methods are right out! hth tone -- Dr Tony McDonald, FMCC, Networked Learning Environments Project http://nle.ncl.ac.uk/ The Medical Schoo

Re: [Zope] gotcha for zope on solaris2.7 - make sure you usepthreads.

2000-05-19 Thread Tony McDonald
guring out why I was seeing very strange behaviour on Solaris >until I noticed this. > >ldd `which python` should show /usr/lib/libpthread.so, NOT >/usr/lib/libthread.so. Can you tell us what kind of behaviour Anthony? I'm using 2.6 on our main box (and 2.7 on another dev. box). cheer