[Zope] python-to-python in zope?

2001-01-18 Thread tom smith
hi all, I've written a bot in python 2.0 and it's running on the same machine as zope 2.2. I'd like somehow to be able to send messages from zope (like...start and stop or go trawl this site etc) to the OTHER version of python running my bot I've tried using external methods but because

[Zope] MacOS X mySQL zope

2000-12-12 Thread tom smith
It's great that zope runs on MacOSX Public Beta, but the only thing keeping me using my PC (well VirtualPC actually) at the moment is the lack of a Database Database adapter on MacOSX for Zope. I can compile mySQL but not the mySQL adapter. Has anyone done this? Anyone have binaries (I'm a

[Zope] Boring ZClass: request for a ZClass example...

2000-12-01 Thread tom smith
I keep getting flummoxed by the tutorials on how to create ZClasses... Is there a really simple product, maybe with just 2 classes (with say 4 properties each)...with methods to create, edit and updateand listwith super simple HTML, (i.e no/few tables to have to scroll around in the

Re: [Zope] Editing SQL methods from Emacs (+ FTP server)?

2000-11-29 Thread tom smith
I'm trying to get a list of lists using ZSQL Methods... I have two related tables, hounds and items. I want to get the hound_id in items like this but can't work out how to pass the hound_id variable... dtml-in get_hounds bdtml-var name dtml-var id/b dtml-in "get_items(hound_id='id')"

Re: [Zope] Search and replace

2000-11-22 Thread tom smith
on 21/11/00 3:05 am, Ender at [EMAIL PROTECTED] wrote: Sadly this is a constraint of zope ide's being browser based (or based on current browsers). I would eagerly like to help out with a project that would like to see this changed. Building such an interface with gnome or kde would be

Re: [Zope] Zope and Windows DB's = NOT! ?

2000-11-14 Thread tom smith
on 14/11/00 12:51 pm, Pavel V. Piankov at [EMAIL PROTECTED] wrote: it seems that the ODBC adaptor is ancient and very error prone so can i conclude that Zope and DB integration under windows is not an option? I found the oDBC stuff works fine with Access and SQLServer. Though passing

[Zope] Re:GoLive

2000-11-01 Thread tom smith
on 1/11/00 10:47 am, Stephan Goeldi at [EMAIL PROTECTED] wrote: Is there? And are there known problems with Zope? "In theory" it all works fine. GoLive can ftp open dtml files. except because they are called index_html and not index.html, GoLive thinks they are text files and not html

Re: [Zope] Re:GoLive

2000-11-01 Thread tom smith
on 1/11/00 2:31 pm, Christopher J. Kucera at [EMAIL PROTECTED] wrote: tom smith wrote: I think there's a trick where dtml files can be saved as index.html, and then you create a method that redirects index_html or /whatever/wherever/ to index.html in the same folder, but I'm not sure how

Re: [Zope] Re:GoLive

2000-11-01 Thread tom smith
I thought for a minute you could add _HTML as a suffix type in GoLive's network prefsthe icon changed but little else. Anyone know if GoLive 5 with WebDav can edit dtml files...or Dreamweaver? thanks tom ___ Zope maillist - [EMAIL PROTECTED]

[Zope] SMIL and mime types

2000-09-21 Thread tom smith
I'm trying to use zope to create SMIL files... So I have a DTML Method with called smil.smi... smil.smi--- smil xmlns:qt="http://www.apple.com/quicktime/resources/smilextensions" qt:chapter-mode="clip" STUFF SNIPPED OUT dtml-call

[Zope] FW: [Zope] FW: list of users tied to database

2000-09-14 Thread tom smith
-- From: tom smith [EMAIL PROTECTED] Date: Thu, 14 Sep 2000 09:01:22 +0100 To: tom smith [EMAIL PROTECTED] Subject: Re: [Zope] FW: list of users tied to database dtml-in "theOTHERintranet.acl_users.getUserNames()" dtml-let TheUserName==dtml-var sequence-item

Re: [Zope] list of users tied to database

2000-09-14 Thread tom smith
on 14/9/00 9:28 am, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: Did you try this proposal posted yesterday ? Yep, and I can't quite get it to work. I'm still trying though tom ___ Zope maillist - [EMAIL PROTECTED]

[Zope] list of users tied to database

2000-09-13 Thread tom smith
I'm trying to create a list of users' emails. There is a table called "tblUsers" and a field called "Email". I have created a sql method called "get_email(UserName)" which works fine. dtml-in "theOTHERintranet.acl_users.getUserNames()" dtml-in "get_email('UserName=dtml-var sequence-item')"

[Zope] FW: list of users tied to database

2000-09-13 Thread tom smith
-- From: tom smith [EMAIL PROTECTED] Date: Wed, 13 Sep 2000 15:37:02 +0100 To: [EMAIL PROTECTED] Subject: Re: list of users tied to database on 13/9/00 3:03 pm, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: So maybe, you could try something like changing your previous code

Re: [Zope] dtml-calendar question (still not working)

2000-08-04 Thread tom smith
This message is about how to use dtml-calendar to get it's data out of an odbc database on 3/8/00 5:35 pm, R. David Murray at [EMAIL PROTECTED] wrote: On Thu, 3 Aug 2000, tom smith wrote: I'm still getting allsorts of errors. My code is like this... dtml-let yearnr="date.yy()&quo

Re: [Zope] dtml-calendar question (I GOT IT!!!!!!!!)

2000-08-04 Thread tom smith
My problem was with passing the arguments around I used ... dtml-in "get_days_events(startDateString=startDateString)" dtml-var namebr /dtml-in notice the startDateString=StartDateString...which I thought the dtml-let would've handled, anywaythis seems to have fixed it can

Re: [Zope] dtml-calendar question (still not working)

2000-08-03 Thread tom smith
on 3/8/00 10:14 am, Chris Withers at [EMAIL PROTECTED] wrote: "R. David Murray" wrote: On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote: | Well, yeah. A restricted python environment. The point being, it follows | python syntax rules grin. kind of... :-) In what way does it *not*

[Zope] dtml-calendar question.

2000-08-02 Thread tom smith
hi, I'm trying to use the calendar tag as a front end to a calendar database. I have a sql database storing events and a sql method called get_days_events which takes an arguement called startDateString In my dtml-calendar tag I have ... dtml-var "date.mm()"/dtml-var "date.dd()"/dtml-var

[Zope] FW: [Zope] dtml-calendar question.

2000-08-02 Thread tom smith
-- From: tom smith [EMAIL PROTECTED] Date: Tue, 01 Aug 2000 17:16:39 +0100 To: Peter Bengtsson [EMAIL PROTECTED] Subject: Re: [Zope] dtml-calendar question. on 2/8/00 4:04 pm, Peter Bengtsson at [EMAIL PROTECTED] wrote: dtml-let yearnr="date.yy()" monthnr="date.mm()&

[Zope] can't install squishdot with 2.2.

2000-07-24 Thread Tom Smith
I upgraded to zope 2.2 and most products migrated OK, but squishdot won't. I always get the "broken" product icon. I'm on Windows2000. any ideas? thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] off topic: How do I run a python cgi?

2000-07-24 Thread Tom Smith
Sorry for the off-topic-ness, but can anyone tell me "exactly" what I have to do to get a python script cgi working under IIS? Or point me at a web page? when I request http://mysite/test.py I just get the contents of the file back...ala print "Content-type: text/html" print print "h1Why

[Zope] worldpilot newbie.

2000-07-11 Thread tom smith
I'm running an IMAP(WebStar) server on a mac. i have no dns, so when I tell WorldPilot the number the machine is running on, I get a Zope error. Although I CAN actually log into WorldPilot correctly, cheers ___ Zope maillist - [EMAIL PROTECTED]

[Zope] SquishDot properties

2000-07-06 Thread tom smith
hi, I'd like to add a URL property to a Squishdot article (and remove the "dept" property), is this possible and how would I do it? Also, can I auto-complete the "from" field with the users' username that they have logged in withthis is for an intranet cheers tom

[Zope] MacOSX

2000-07-06 Thread tom smith
I noticed in the how-tos that someone had managed to make a build of zope for MacOSX . Given that I know nothing about unix commands, is there a pre-made binary I can just drop onto my G4 (running OSX DP4) and run? Is this even possible or is it not the unix way? IS there a reason for there not

[Zope] zope/python startup error

2000-07-06 Thread tom smith
newbie question. when zope starts I get the attached error dialog. Any ideas how I can fix this since zope is running on a remote server? It seemed to start going wrong after installing a shed-load of products into zope. cheers tom ps. to go into greater detail... ...I have two copies of

[Zope] python nigglettes

2000-05-23 Thread Tom Smith
hi all, I'm currently experimenting with zope and noodling with pythoncan anyone give me an answer on these? Python is beautiful (nearly as beautiful as Prograph (but that's another story)). I'm a BIG fan of human readable code, I loved HyperCard and pathelogically refused to get my

[Zope] worldpilot and imap

2000-05-23 Thread Tom Smith
hi, sorry about the HTML postings. quick questioncan anyone recommend a super simple IMAP server to use on NT Workstation with worldpilot? cheers tom ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

[Zope] Broken ZWiki

2000-05-18 Thread Tom Smith
when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? cheers tom [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.dmrl.com http://www.OTHERmedia.com