[Zope] Cobalt Qube

2001-01-27 Thread Graham Chiu


Inexplicably I purchased a Qube 2 to play around with but am
wondering whether I should keep or dispose of it now.  I've
left the shrinkwrap on while I decide. It was *cheap*!

Is it possible to set up Zope +/- SSL on this box without
having to purchase software modules from Cobaltnetworks?

( I have no Linux experience )

--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] insert but updates don't work

2000-11-05 Thread Graham Chiu

On Mon, 6 Nov 2000 11:20:12 +1000
 Andrew Kenneth Milton [EMAIL PROTECTED] wrote:
 *This message was transferred with a trial version of
 CommuniGate(tm) Pro*
 +---[ Bowyer, Alex ]--
 |  but get an authentication challenge that I can not
 pass.
 |  Is there something special about sql updates?
 
 You don't have 'permissions' to an update, this is a ZSQL
 perms problem.
 You might need to give your update method a 'proxy' role
 to fix it.
 
 I thought this was fixed some time ago, do you have some
 particularly
 ancient version of Zope ?

Using 2.1.3.  Is this considered ancient?

I have a work round, and now find what I was trying to do
has not succeeded in speeding up my queries :-(
--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] insert but updates don't work

2000-11-04 Thread Graham Chiu


I have this rather curious problem with Zope 2.1.3 on WinNT.

I have a zsql query which returns a number of records.  I
want to do an update on the same table that is being queried
for each record returned, but get an authentication
challenge that I can not pass.

If instead I do, eg, an insert into another table with each
value returned, it works fine.  Is there something special
about sql updates?

--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] insert but updates don't work

2000-11-04 Thread Graham Chiu

On Sat, 04 Nov 2000 13:05:08 -0800
 Michel Pelletier [EMAIL PROTECTED] wrote:
 
 There shouldn't be, are you using DTML in both methods?

Yes.  It's the same method, I just change the inner zsql
statement.  The one with the update fails, the one with the
insert is okay.

 If so, I
 suspect one of the methods is using DTML which requires
 higher
 authentication privledges.
 

But I'm the superuser.  When it fails the authentication, it
says I don't have rights to access standard_html_header

--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Tiny tables

2000-10-19 Thread Graham Chiu

On Fri, 13 Oct 2000 19:40:08 -0400
 [EMAIL PROTECTED] wrote:

 The problem with the TinyTable and TinyTablePlus products
 is that they use
 the tokenize.py module which treats any field value as a
 possible Python expression.
 Since ":" is a special token in Python, it gets
 interpreted as such. One
 quick way to get around this is to quote your field value
 -
 
 "criteria:tokens"

Hi,

I tried this, and the tinytables just discarded the column.

As a temporary fix, I've just created a ZClass to hold the
tokens.

What I would like to do now is feed the tokens into a
sqlmethod, which then populates a tinytable with new values.
My zclass has a string attribute called p_tinytable which
holds the name of the tinytable to be changed.

However, if I call the function as follows:

dtml-with MyZClass
  dtml-call "p_tinytable.manage_editData(newData)"
/dtml-with

I get:

Error Type: AttributeError
Error Value: 'string' object has no attribute
'manage_editData'

or

dtml-with MyZClass
  dtml-call "_[p_tinytable].manage_editData(newData)"
/dtml-with

I get:

Error Type: AttributeError
Error Value: manage_editData

--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Why doesn't this method work?

2000-10-19 Thread Graham Chiu


I'm still struggling with Tiny Tables.

Why does this flag an error??

dtml-call "REQUEST.set('table','thenameofmytinytable')"
dtml-call "REQUEST.set('tableData',_.chr(34)+'Mydata'+_.chr(34)
+ '\n')"
dtml-call "table.manage_editData(tableData)"

Error Type: AttributeError
Error Value: 'string' object has no attribute
'manage_editData'

--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Why doesn't this method work?

2000-10-19 Thread Graham Chiu

On Fri, 20 Oct 2000 11:30:46 +1100
 Curtis Maloney [EMAIL PROTECTED] wrote:

 
 Why don't you try
 
 dtml-call "_.getitem('thenameofmytinytable').manage_editDate(tableDate)"
 
 instead?

Thanks.  I tried this last night, and it didn't work for me,
and now it does :-(

I was following the howto at

http://www.zope.org/Members/cguardia/changeTinyTable

which doesn't use the getitem() function.

--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Tiny tables

2000-10-12 Thread Graham Chiu


I would like to run some regular reports based upon
sqlmethods.  The input to these are a mixture of normal
values, and some tokenised values.

I tried storing these in tiny tables, but it doesn't seem
that tiny tables allow one to store tokens.  If I specify
the value as say, criteria:tokens, it gets changed to just
criteria.

Any suggestions as to how to store the input as tokens for
my reports?

--
Graham Chiu

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] demo Zboard 0.2.4

2000-07-28 Thread Graham Chiu

In article [EMAIL PROTECTED],
rainlood [EMAIL PROTECTED] writes
Hello.
Zboard run on my server
http://gnome.wdb.co.kr:8080/

Not found.


something problem on filename..

You can get Zboard 0.2.4
http://www.zope.org/Members/rainlood/Zboard/


Your source code makes 5 references to a 'Clist' but this is not defined
anywhere.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] worldpilot and communigate pro

2000-07-22 Thread Graham Chiu


I came across communigate pro which is a multiplatform IMAP server (
www.stalker.com ).  I've set it up under Win32, and tried to connect to
it using a new installation of worldpilot.   The IMAP port is at 143.
However, it doesn't recognise my IMAP userid and password.

Does anyone know if this combination ( NT, Communigate, worldpilot)
works?

The worldpilot mailing archives do not seem to be accessible.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] worldpilot and communigate pro

2000-07-22 Thread Graham Chiu

In article [EMAIL PROTECTED], Graham Chiu
[EMAIL PROTECTED] writes

I came across communigate pro which is a multiplatform IMAP server (
www.stalker.com ).  I've set it up under Win32, and tried to connect to
it using a new installation of worldpilot.   The IMAP port is at 143.
However, it doesn't recognise my IMAP userid and password.

Does anyone know if this combination ( NT, Communigate, worldpilot)
works?

Oh dear, answering my own question.  I specified my IMAP server as
192.168.1.253:143 whereas it works fine just as 192.168.1.253

But, when I log off, I get the following traceback:

AttributeError

Sorry, a Zope error occurred.

Traceback (innermost last):
  File D:\zope5\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File D:\zope5\lib\python\ZPublisher\Publish.py, line 187, in publish
  File D:\zope5\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: RoleManager)
  File D:\zope5\lib\python\ZPublisher\Publish.py, line 171, in publish
  File D:\zope5\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: logoff)
  File D:\zope5\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: logoff)
  File d:\zope5\lib\python\Products\WorldPilot\WorldPilot.py, line 2446,
in logoff
(Object: RoleManager)
  File d:\zope5\lib\python\Products\WorldPilot\WorldPilot.py, line 2399,
in displayIfLoggedOn
(Object: RoleManager)
  File d:\zope5\lib\python\Products\WorldPilot\WorldPilot.py, line 372,
in callResource
  File d:\zope5\lib\python\Products\WorldPilot\Resource.py, line 137, in
callResource
  File D:\zope5\lib\python\DocumentTemplate\DT_String.py, line 502, in
__call__
(Object: string)
  File D:\zope5\lib\python\DocumentTemplate\DT_Util.py, line 337, in
eval
(Object: logoffLogin(REQUEST))
(Info: REQUEST)
  File string, line 0, in ?
  File d:\zope5\lib\python\Products\WorldPilot\WorldPilot.py, line 2313,
in logoffLogin
(Object: RoleManager)
  File d:\zope5\lib\python\Products\WorldPilot\WorldPilot.py, line 2364,
in getLogon
(Object: RoleManager)
  File d:\zope5\lib\python\Products\WorldPilot\WorldPilot.py, line 2277,
in logon
(Object: RoleManager)
AttributeError: 'string' object has no attribute 'has_key'


-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




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

2000-07-18 Thread Graham Chiu

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 are the requirements for such a beast?

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] linuxworld article

2000-07-17 Thread Graham Chiu

In article [EMAIL PROTECTED],
Firestar [EMAIL PROTECTED] writes
http://www.linuxworld.com/linuxworld/lw-2000-07/lw-07-penguin_2.html

Hmm...what is your opinion on the article above? I'm interested to see the
author's comparison btwn Enhydra and Zope.

The author creates a straw man ( a shoe shop built upon a shoe object )
without mentioning that Zope users can use a relational database instead
to build their store.

And he is not aware of the way that many here use editors with FTP
capabilities to interact with Zope. ( though FTP doesn't work in many
situations ).

Far from being torture "Expecting someone to code in a browser text box
is considered a human-rights violation in most civilized nations" the
small text browser box encourages code to be factored.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zboard 0.1 released

2000-07-17 Thread Graham Chiu

In article [EMAIL PROTECTED],
rainlood [EMAIL PROTECTED] writes
Hello.
I want to announce this.

http://www.zope.org/Members/rainlood/Zboard/


Umm, what is it?

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Non compliant robots

2000-06-29 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


What do people do when their sites get traversed by a robot that keeps
generating Zope errors ( cookies not enabled I guess ) that doesn't
observe the robots.txt conventions?  ( I get the errors emailed me which
is annoying :-(  )

The one currently going thru my site comes from 171.69.236.238
 and 171.69.236.239

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOVpAZbTRdIWzaLpMEQLmGwCcDRIgm2pZo0XLAGTd+5iM0EcYlzIAoLQj
r1yx7QiLPzpVABkExHGi8UM6
=dJ5z
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Non compliant robots

2000-06-29 Thread Graham Chiu

In article [EMAIL PROTECTED], J. Atwood
[EMAIL PROTECTED] writes

I have exactly the same problem (robot hits my site, I get 400 emails of
errors even with a robots.txt file). I am not sure what the answer is except
to add something to your error page that would filter out robot errors.

Since mine happens only on certain pages (forms), perhaps I should just
build up a list of bad remote IP addresses ( criteria - generates more
than 5 errors on the same page ), and then redirect those clients to
another non form page with indexing information for my site... sounds
like the basis of a product g

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] 2.2.0b2 dies in Windows NT4

2000-06-25 Thread Graham Chiu

In article [EMAIL PROTECTED]
, Brian Lloyd [EMAIL PROTECTED] writes
(1) should be fairly simple to diagnose. If you install a fresh, 
clean b2 on your NT box and start it with the *default* database 
and _no_ third party products installed, do you get these odd 
crashes? If not, then the next step is to determine which product 
is activating the problem.

Damm.  It works okay as a fresh new installation.  So, there must be
something screwy with one of the products I have installed.  I guess I
have to go thru and delete each one until I find the culprit.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] 2.2.0b2 dies in Windows NT4

2000-06-24 Thread Graham Chiu


I've tried this again.  When I access the manage page, an Import/Export
tab at folder / comes up, and then Python.exe dies with an NT exception
which is a stack overflow :-(

Same thing happened with 2.2.0b1.

Also, if I try to access any pages that use SQLSession ( an older
version ), I get authentication challenges from ZopeSecurityPolicy.py
when I use the getName() method of the session object.  Hopefully this
will go away if I upgrade to the latest version.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] zgadfly and zsql problem

2000-06-23 Thread Graham Chiu

In article 00b201bfdcf9$5bb7e8d0$6200a8c0@longwy, Luc Tonin ltonin@lw
.multithematiques.com writes
i m using da zgadfly database
and i m still trying to use this type of query
SELECT *
FROM table_name
WHERE field_name LIKE 'test'
 
but it s seems that zgadfly doesn t support da LIKE sql tag!
anyone have an ID ???

It doesn't AFAIK.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Validating page entry help

2000-06-22 Thread Graham Chiu

In article [EMAIL PROTECTED]
, Stuart Foster [EMAIL PROTECTED] writes
1. What is the best way to do page validation before it is submited. 
2. If the way I am doing it seems to be an ok way, how do I go BACK with out
losing everything (equivalent of pressing the back button)

Stuart Foster
MediServe Information Systems

Never go back - always go forward!

http://www.zope.com/Members/gchiu/

Explanation of one way to build bullet proof data entry forms

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] User DB, GUF, et al broken under 2.1.7?

2000-06-18 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes
Is it just me or are about all the third party ACL folders broken in
2.1.7?  I have tired User DB, and GUF and can't seem to get either to
work.  I was one of the bright fellows who updated to 2.1.7
immediately when it became available from 2.1.4, and now all my user
folders are broken and I (like an idiot) did not make a backup before
upgrading.  (Well I did, but I actually have done some work on the
site since then, and it seems the Data.fs is not compatable if I take
it from 2.1.7 and try to use it in 2.1.4.  ARGH...

Help!

Have you actually tried reinstalling 2.1.4?  I've never had a problem
with installing an older version on top of a newer one.

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUvpdLTRdIWzaLpMEQIvNQCgi4zLDaPUhmj5i6AbAmT/lXVrT+cAoJnz
mmtHvXt8j6sXQ3nhRIGiuErV
=V8V7
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: From where does nothing spring from?

2000-06-17 Thread Graham Chiu

In article [EMAIL PROTECTED], Hung Jung Lu
[EMAIL PROTECTED] writes
This mistake happens all the time. :) Instead of "var", use "call".

 dtml-call "REQUEST.set('error',f_Email.isNotEmail(f_Email,_))"
 dtml-var "REQUEST.error"

(I think you face is red, now. ha! OK, I maybe wrong.)

Not really, I continue to be confused by Zope syntax and so make these
errors all the time g

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Re: Zope 2.1.5/6/7 upgrading issues

2000-06-16 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED]
, Brian Lloyd [EMAIL PROTECTED] writes
  o release a "Product" today that, if you install it and 
restart your Zope (no matter what version), patches the 
hole at runtime (in memory change only).

I'd go for that.


  o retract the 2.1.7 release in favor of getting 2.2 beta 2 
out on Monday, which doesn't have the cruft problem of 
the 2.1.x branch and contains all fixes to date (and 
which will fix SQLMethod problems and support the SiteAccess
release that Evan is making today).


What's the explanation for the breaking of SQLMethods in the first
place?

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUnZILTRdIWzaLpMEQKVJACfQ5/qHCIuo3FMeZKxiCskjuC6zdkAoIST
lLVzFEKQxwWOMajGZfm3vxf0
=JZqc
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] zope-web issues was: (Re: [Zope] How do you search Tiny Tables?)

2000-06-15 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], ethan mindlace fremen
[EMAIL PROTECTED] writes
Graham Chiu wrote:

 There is a TinyTables+ product, but da***ed if I can find it thru the
 search mechanism on www.zope.com

Graham, I'm trying to get the search engine more informative.  When I did a
search for "TinyTable", TinyTables + was the fourth item listed. I'm going to
work on adding descriptions to the search view.

Oops.  I was rushing this morning.  I was looking for the words plus but
the actual description is TinyTable with update.

 
 The new presentation of products also means that there is much more text
 to scroll thru.

Heh.  And Phillip Eby is telling me to put whitespace between the items, which
would make it more scrolling ...

Also, it looks odd when some descriptions are graphics, some are large
fonts, and so forth.

The category listing ( ordered by name rather than ascending date )
would be very useful.

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUfNWbTRdIWzaLpMEQKGrQCfYbxcVLKmGgSBmdad0WLkCVMWLJAAnjWD
fIWwLbqcspdtSL5Q2ZBmnP6i
=aO/i
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] left(string, n) equivalent (newbie q.)

2000-06-15 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article 000901bfd712$42628800$[EMAIL PROTECTED], Luis Cortes
[EMAIL PROTECTED] writes
You should be able to use python's slice like so:

dtml-if "word[:4] == 'help'" 
...

where "word" is the variable you want to use only 4 characters of.

Hope this helps,

But he is referring to a zsqlmethod, and you should be able to pass sql
thru.

Perhaps if he posts the zslqmethod..  Maybe it's an Access thing.

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUjGTrTRdIWzaLpMEQL1IACgp1lkupw3pCyxkAbVJ6melhuv2/8AoJ78
U//cKJwG0QQsCwyWWHIM/LbL
=e+7V
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] zope as program

2000-06-14 Thread Graham Chiu

In article [EMAIL PROTECTED], George Donnelly [EMAIL PROTECTED]
writes
true. and this newbie searches first before asking. however i have noticed
my questions very often going unanswered. yeah they may be stupid but i only
ask if i cant find it myself.

The obvious solution is to improve the docs, but that's a work in
progress already.

It's a pity the mailing list software can't monitor the messages, and
automatically re-post question messages that go unanswered.  Questions
could be flagged with a Q: header or whatever.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] PTK questions

2000-06-14 Thread Graham Chiu


Using the 0.7.1 snapshot

I've patched my Members/index_html to read

dtml-in "getRoster(REQUEST)"
 a href="dtml.url_quote-sequence-item;/index_html/index_html"dtml-
sequence-item;/abr
dtml-else

but there's another one of these that says

'created by '

which gives the wrong url.  Where can I patch that? I had a quick look
thru the methods of the portal instance, and in the portal product, but
couldn't find it.

Also, I've deleted a couple of test members I created but they still
show in the members listing.  How can I reindex to remove them?

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How do you search Tiny Tables?

2000-06-14 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED],
jesse [EMAIL PROTECTED] writes
I created a tiny table and then fed the information into a DTML Method by 
inserting the tiny table subject headers into a table I creating inthe method 
html.  Is is possible to search the tiny table since the Method is just calling 
the information and it is not actually in the document?  Yes? No?  If yes, how 
would I go about doing this or could you direct me to the resource that I would 
need to do this.  If no, is there another table factory that IS searchable? 


There is a TinyTables+ product, but da***ed if I can find it thru the
search mechanism on www.zope.com

The new presentation of products also means that there is much more text
to scroll thru.

How about an option to present a product listing ordered by name, and
case insensitive...

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUc9brTRdIWzaLpMEQI+fwCdH7XS9EYvx7MOsZEmVwcuYw4KanAAmwdb
EwLrN9qqhK5fY1BAu8+M4YC0
=W1Dc
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope/Interbase

2000-06-13 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Chris McDonough
[EMAIL PROTECTED] writes
No... you wanna write a DA?  :-)

Somebody should.  I would try, but I can't right now.  It's a very nice
database.

Well, the news on the Interbase list is that an alpha ODBC driver for
Win32/Linux is to be released in a few days.  I don't know how you use
ODBC from Linux though ...

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUVITrTRdIWzaLpMEQLP3wCgkw/4UlQO3e+2YBq3HrCOLez56P0AnjyK
NZKnjX0OZpGm9Gl/YV9b2KQF
=M8Ou
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] mail host question

2000-06-13 Thread Graham Chiu

In article 01bfd4d1$04fce840$28eaa0a7@Sean, Sean Kelley
[EMAIL PROTECTED] writes
I am having some problem configuring zope mail to work properly,
particularly with PTK v 0.7.1.
When I logon as a new member, its says "successful", but I get no mail to
confirm my logon (I did get it to work once but don't know how).  I have the
smtp host set to an IP address for an smtp mail server.  I tried a couple of
others by name such as "mail.domain.com" but got an error relating to
needed/missing "domain"

I installed this version on Sunday as well and have had the same
problems.  There appear to be a few brackets missing!

In mail_password_template, change

From: "dtml-email_from_name;" dtml-email_from_address

to 

From: "dtml-email_from_name;" dtml-email_from_address

And

To: dtml-var email

to 

To: dtml-var email

Do the same in 'registered_notify'

If that still doesn't work, then change 

mailhost="MailHost"

to 

smtphost="my.smtpserver.com"


-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Beta Zope Error

2000-06-13 Thread Graham Chiu

In article [EMAIL PROTECTED], Michel Pelletier
[EMAIL PROTECTED] writes
 I keep getting the Zope pop up password box in many menus.  I also keep 
getting a access denied error when quering database records.  What is wrong 
here?  I am able to query records using the test menus but not within the Zope 
SQL methods.

Hit cancel when a box pops up, the traceback that results will tell you
what thing you are not authorized to see.  This information coudl be
useful for you and us, either you have your permissions set up wrong and
you are getting denied for something, or there is a bug in the security
machinery.

Anyone else see this?

I got an authentication challenge on any page with sqlsession doing
.getName()

However, I found the NT exception more challenging, and have gone back
to 2.1.4

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] mail host question

2000-06-12 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article 01bfd4d1$04fce840$28eaa0a7@Sean, Sean Kelley
[EMAIL PROTECTED] writes
I am having some problem configuring zope mail to work properly,
particularly with PTK v 0.7.1.
When I logon as a new member, its says "successful", but I get no mail to
confirm my logon (I did get it to work once but don't know how).  I have the
smtp host set to an IP address for an smtp mail server.  I tried a couple of
others by name such as "mail.domain.com" but got an error relating to
needed/missing "domain"

I'd be interested if you get this going. I had the same error.

You put the IP address for the SMTP server field.
What goes in the 'local' field?

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUTmL7TRdIWzaLpMEQILPgCfdo9MMnki1hFdaialOgf5McyQBBQAn3k8
EfZa90UkLXZ1GUp0nAusqO2I
=7zVk
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] closed Portal

2000-06-10 Thread Graham Chiu


I just downloaded and installed the latest checkout from the PTK for the
first time.

It seems that if I want to have a closed Portal, I can't use Zope's
authentication mechanisms to allow users into the folder that contains
the Portal as the Portal then complains that the user has already been
authenticated outside the Portal.

Is that correct?

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Re: [ZCommerce] Secure storage of credit card info

2000-06-09 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Ng Pheng Siong
[EMAIL PROTECTED] writes
Take a look at ZSmime, 

http://www.post1.com/home/ngps/zope/zsmime


Hi,

Any ETA on the Win32 binaries?

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUCjubTRdIWzaLpMEQKpMACgnwmcR4sNmRpNk0g4Nm6RLq9O6lsAoIi3
PMOYM6R69bu0DbW8IBgScTwE
=1D+1
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] user contributions to Zope.org

2000-06-08 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


This has been mentioned before, but some sites like the main PHP one
allow visitors to add comments to web pages.

My thought was that this should be relatively easy to implement with the
Zope.org site.  A small form at the bottom of each page, URL0 indexed in
a SQL table, and when a page is accessed, commentary is returned ordered
by submission date.

You may wish to allow only members rather visitors to make comments.

Anything wrong with this scenario ( apart from comments not being
Catalogued ) ?

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOT9hrLTRdIWzaLpMEQLFfwCdFcoOFImah9VotLJuCGOw12KxIEkAn2+5
Cdhy/TF81iDBrBgC1l8Ao6Lb
=oVHM
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] user contributions to Zope.org

2000-06-08 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Shane Hathaway
[EMAIL PROTECTED] writes

Not to put down your idea, but in what way is this not addressed? 

Because you can comment directly on the object in question - Eg. point
out some Zope Zen, or errors in products etc.

There are already free accounts for everyone to submit their own
content (not just comments, but anything that can be put in a member
folder) and access to wikis for everyone.


Rule of thumb - 3 clicks to anywhere in a web site.

And, how would I redirect a user to my commentary when they were at User
XYZ's product page?

For a site devoted to advancement of a product, aren't wikis more
useful than comment pages?

Quite disorganised. I've left comments on people's wikis and a month
later, nada.

Now, if you were to make a Wiki page that attached to the bottom of the
relevant page, then that would be better.



New ideas are, of course, encouraged.


I'll don my thinking cap!

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOT+MLrTRdIWzaLpMEQKt8ACgjk6R4h2dVRlCuV+HBIh7OWQ5bBgAoK4K
M6yBTgzUP9ptkaIIe79Rk7Rt
=K73y
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] PFH

2000-06-06 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Heiko Stoermer
[EMAIL PROTECTED] writes


snippo

First spam in German I've come across :-(

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOTzk0rTRdIWzaLpMEQJQEwCgpQ+bv4VyM3UgmNqzuhMa/MlAIhEAoNSu
oPwcN3ZNSDdm58fmi+OEZgbp
=/2Vv
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZHealth?

2000-06-04 Thread Graham Chiu

In article [EMAIL PROTECTED], Alexander Chelnokov
[EMAIL PROTECTED] writes
Hello All,

Similarly to E-Commerce there is also E-Health (or E-He@lth) trend
now. While there is ZCommerce here what is about ZHealth? An
OpenSource project FreeMed (www.freemed.org) exists in PHP+MySQL -
does anybody know about the activity (or any other attempts to build
medical web applications)in Zope's part of the world?
THX in advance.

I looked at www.freemed.org a while back, and the online demo is still
broken for several functions.  Looks very pretty though.

I can't see why such a beast could not be done in Zope given the time.
I've thought about doing this myself but not sure that I'm willing to
give up the incremental searches that my current desktop application
gives me.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Using sql to search in zope

2000-06-02 Thread Graham Chiu

In article [EMAIL PROTECTED],
[EMAIL PROTECTED] writes
Hi All,

I tried to build a search feature using sql in zope, this is what I normal
do in sql to do a range search :

select * from table1 where table1_id = %field1_value%

where table1_id = dtml-sqlvar "'%'+ field1_value + '%'" type=string  


-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] mailhost problem

2000-05-31 Thread Graham Chiu

In article [EMAIL PROTECTED], Mike Mikkelsen
[EMAIL PROTECTED] writes
dtml-in select_Get_Account  (the select statement *is* returning the correct
account)
   dtml-sendmail mailhost="MailHost"
   To: dtml-var account 
   From: do_not_reply@somebodycom
   Subject: Mailing Back Password

   Your password is Bdtml-var passwd/B.

   Thank you for shopping at sombody!
   /dtml-sendmail

   Your password has been mailed to dtml-var account.
dtml-else
   blah blah blah
/dtml-in

Try removing all whitespace before the headers To: ,From:
-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope documentation

2000-05-30 Thread Graham Chiu


I may be a bit naive, but it seems to me that one should be able to
build a tool (object inspector) which when queried will produce all the
methods of a queried object, the property sheets, the variables of the
property sheets, the applicable methods, and report back the ancestry of
the product. 

The same report could then be run on the ancestors.

This could serve as a documentation tool.

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] What does it mean?

2000-05-30 Thread Graham Chiu

In article [EMAIL PROTECTED],
Morten W. Petersen [EMAIL PROTECTED] writes
"The Zope Gadfly product is a free Zope adapter [...] so it should not be
used to create large databases.

What does large databases mean in this context?

-Morten

I don't think it should be used at all except for testing purposes as
the data is stored in ram.  So, if your table is going to grow, you
might run out of memory :-(

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZClass questions

2000-05-29 Thread Graham Chiu


I can't recall if my question made it to the list following last week's
outage, but here goes again...

1. How does one iterate over values within a property sheet?

2. When adding a selection field to a property sheet, how does one

"returns a list of strings from which the selection(s) can be chosen"

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope.org down

2000-05-27 Thread Graham Chiu


Hmm. zope.org has been down most of the afternoon.  

Not that Friday afternoon change over to Zeo that they were talking
about doing ?


-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] ZClass - iterating over a propertysheet

2000-05-27 Thread Graham Chiu


How does one list the names/values of a property sheet from a Zclass's
method?

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-26 Thread Graham Chiu

In article 019501bfc6c2$91e19b60$2101a8c0@pavilion, Loren Stafford
[EMAIL PROTECTED] writes
Graham,

Thanks for sending all the info. I haven't had a chance to check it all out.
But I want to ask one more thing: did you install the patch to client.py as
mentioned in CHANGES.txt and
http://www.zope.org/Members/lstaffor/ZScheduler/ZSchedulerWiki/BugReports



Loren,

Since this bug referenced a reschedule operation, I didn't bother to
apply the patch - should I?

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] E-Commerce solution using Python and Zope.

2000-05-26 Thread Graham Chiu

In article [EMAIL PROTECTED], Itamar Shtull-Trauring
[EMAIL PROTECTED] writes
Jilani Khaldi wrote:
 
 Hi All,
 do you know about something written in Python  Zope for e-commerce
 solutions?

Etailer - http://e-tailer.adriot.net

It's simple, but very nice.

A bit buggy too!  I went to the Jane Ollerenshaw Photography site, put
things into my shopping basket, and managed to lose those items by
stepping back a few pages :-( 

-- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ZScheduler

2000-05-26 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article 001301bfc731$2af9c480$2101a8c0@pavilion, Loren Stafford
[EMAIL PROTECTED] writes
Yes. The Client.py patch must be applied for any use of ZScheduler, if the
server is not listening on the default port.

The default port in Zope is 8080, whereas I recall seeing the bug
applies if not on 80.


"reschedule" is always called when an event is triggered, so that there is
an opportunity to reschedule or disarm the event. If "reschedule" fails (as
it will if the server is not on the default port and the patch is not
applied), the whole transaction fails.

Except that I scheduled a non-smtp event which worked fine without the
patch.


By the way, what version of Zope are you using? I reported the bug in
version 2.1.4. I wonder (because I haven't checked yet) if it was fixed in
later versions.

Well, it's clear I need to install this patch and try again.  I'm using
2.1.4.

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOS4xebTRdIWzaLpMEQIPWwCg5uZpGCphTW2SAnYt0nHBQ6m5IgsAn2xW
4n4onec3rtzBnz9ZB3SRmuzc
=5YOQ
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] ANN: Perl For Zope

2000-05-26 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Jim Fulton
[EMAIL PROTECTED] writes
In the future, I'd be happy (and expect) to see
other languages supported, XQL, TCL, PHP, lisp, 
Fortran, . :)

What I would like to see first is support for Rebol ( www.rebol.com ).
It's a great language for writing internet robots ( grabbing content off
remote pages or ftp sites, retrieving mail, sending mail, scheduling
jobs ) inter alia.  Would fill a lot of the gaps that Zope has.

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOS5h87TRdIWzaLpMEQILLQCbBzAYZ90+UTWq1dWvm8EnOhd+k9gAoIaE
kpoJVTSfQiK5eMstHi54zNSf
=XWCR
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] sequence-*

2000-05-25 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Many of these variables cause problems for those starting out with Zope.
Why not create alternate names such as sequence_* and degrade the
former?

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOS0vJbTRdIWzaLpMEQJ1pwCgtHuwKcKLTI3xRV6PvL3nOU8acV0AnR4H
Lu3wVAMYiBLQIjF2Je3fHmrq
=+Lzv
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Running multiple instances of Zope with SSL

2000-05-24 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm thinking of doing this ( on an NT box ), and was wondering what the
easiest way to do this was ...

Roxen?
Apache?
NT Server?


- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSr0l7TRdIWzaLpMEQIG5gCgvGbsLu2xIGHANQA0xqpIkFFtKHsAoM+A
EWryGQvuKA2WOmNNKD/1IXk7
=63Xp
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Passing multi-line field into SQL

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Tony
Mann [EMAIL PROTECTED] writes
We have a form with a textarea on it, that can contain line breaks. When we
try to pass it into an SQL statement

How do you enter line breaks into a text area?  

What database adapter are you using?

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSphfrTRdIWzaLpMEQKc9ACg2/2B5q8Wtq0I8g6mgtbUGrWYMOIAoOp/
F4I2em/FF62qjkwoP/Ud/xG1
=2ttC
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] FTP

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED]
, Stuart Foster [EMAIL PROTECTED] writes
When I try this I get an unauthorized user error. Can you give an example of
how to connect to port 8021 with a simple ftp program. 

Using WS_FTPPro, the address of the ftp server is the IP address of your
Zope installation.  In advanced tab, change the port setting from 21 to
8021.  Put your superuser id and password in the connection tab, and you
should be in.

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSpi17TRdIWzaLpMEQI4JACgpJlPVve1fygT6GaETg+vVlZOZFMAn00k
0UFdcSKURFv/SqIaKTzSHIMp
=PKxf
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] creating a generic field gadget

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Graham Chiu
[EMAIL PROTECTED] writes

To help me with the tedious business of creating forms, I would like to
make a generic field gadget.

I thus have a dtml-document which has a number of attributes: 
 Eg: fieldname = 'userid'
 fieldname-error = 'userid-error'


But I now want this dtml-document when rendered to read the values of
fieldname, and fieldname-error, and then generate the dtml equivalent to
this ...

dtml-if userid
 value="dtml-var userid"
/dtml-if br
dtml-if userid-error
 font size="2" color="red"dtml-var userid-error/fontbr
/dtml-if

Clues?

I presume the MetaPublisher product does this in rendering the dtml to
another final dtml-document.


Does anyone have any leads for me on this one? ( How come the easy
questions get 5 answers in row :-) ?)

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSpkDbTRdIWzaLpMEQLJtACbBNK2nHGdfZffF2QowmsG+jmhn7oAoOjP
id684BKh5Zsy91GY8qptmcQH
=wDb8
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] creating a generic field gadget

2000-05-23 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED]
, R. David Murray [EMAIL PROTECTED] writes
Here's a clue grin:

dtml-if "_.has_key(fieldname)"
  value="dtml-var "_[fieldname]""
dtml-else

Worked straight away.  Thanks,
- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSqvM7TRdIWzaLpMEQJ7uQCgnfUZ6EI4Tjr0bhulRnOMO4YgZzwAoKuN
Q+ieEnfiTQF/T/Qk8KId+dKb
=nQxO
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] SQLSession users - who's using what DB?

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article [EMAIL PROTECTED], Anthony Baxter
[EMAIL PROTECTED] writes

A short survey for SQLSession users out there:

  What database are you using for SQLSession?

Interbase.

Also - how many people would be upset if the default table schema
was changed? The default schema uses names that conflict with some
databases' keywords.

Good idea!

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOShgGbTRdIWzaLpMEQIPnwCeOi2h4b5M+kGyx+fH6sVbVx9zp6QAoI4V
mNRzcbU7p+6NymdcAt0QawB+
=w74T
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I have a folder full of Tiny Tables.  I would like to go over each
table, and iterate thru their contents.

dtml-in "objectValues(['TinyTable'])"
  dtml-in sequence-item
 dtml-var valuebr
  /dtml-in
/dtml-in

doesn't do anything.  Clues?

- -- 
Regards,  Graham Chiu
gchiuatcompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOShmmLTRdIWzaLpMEQK1bgCfZzGV36/mDJUv0cMs+l0aLXIx2eMAoKwF
fFOcpW6t4quJ2qisBnvYU/n4
=hdRX
-END PGP SIGNATURE-

___
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-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )