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




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 )




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





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


  


I get:

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

or


  


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] 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
gchiucompkarori.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 bugs

2000-07-23 Thread Graham Chiu


Using the latest checkout on 2.1.4

1. Mailboxes on the IMAP server with a hyphen in their name do not
display
2. The calendar gets out of sync after a few months so that clicking on
a date brings up the day before's events.

-- 
Regards,  Graham Chiu
gchiucompkarori.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: )
  File D:\zope5\lib\python\DocumentTemplate\DT_Util.py, line 337, in
eval
(Object: logoffLogin(REQUEST))
(Info: REQUEST)
  File , 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
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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] ANN: Forthcoming Zope Book

2000-07-06 Thread Graham Chiu

In article <[EMAIL PROTECTED]>
, Amos Latteier <[EMAIL PROTECTED]> writes
>Hi,
>
>We all know that Zope needs better docs. To this end we've added a help
>system, API docs and a tutorial to Zope 2.2.
>
>Now the important work of replacing the aging guides is job number one.
>
>Michel Pelletier has been diligently working on a Zope book for O'Reilly
>for a number of months. I convinced him to take me on as a co-author and
>turn the book into official Zope documentation. O'Reilly is on board and
>is currently choosing between two different open content licenses. Find
>out the full scoop on the Zope Docs Wiki.
>
>  http://www.zope.org/Wikis/Docs/ZopeBook
>
>We're excited about the book and think that it will fill an important
>hole the current official Zope docs.
>
>As soon as a content license is chosen we'll make our rough drafts
>available.
>
>-Amos

Why not invite authors of popular/important products to contribute their
own chapters?

Or, is this too radical 
-- 
Regards,  Graham Chiu
gchiucompkarori.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] 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 

-- 
Regards,  Graham Chiu
gchiucompkarori.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-28 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
gchiucompkarori.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] (no subject)

2000-06-27 Thread Graham Chiu

In article <014501bfdf74$dce74e50$6200a8c0@longwy>, Luc Tonin  writes
>does anybody know how to have some statistic about each web pages 
>under zope?? each pages is da result of query on a mysql database !
>any id ???
>thx by advance
> 
>L.Tonin
> 

I have a sql method in my html header that saves the url, query, and the
remote ip address for any pages that I am interested into a table which
I can query at my leisure.

This way I get real time statistics from within Zope as opposed to
analysing the server logs outside of Zope.

-- 
Regards,  Graham Chiu
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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  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
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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".
>
> 
> 
>
>(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 

-- 
Regards,  Graham Chiu
gchiucompkarori.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] From where does nothing spring from?

2000-06-17 Thread Graham Chiu

In article <001d01bfd861$1cb14470$c7da5e3f@mozart>, Evan Simpson
<[EMAIL PROTECTED]> writes
>- Original Message -
>From: "Graham Chiu" <[EMAIL PROTECTED]>
>> 
>>
>> where f_Email is an instance of the product, then the words
>>
>> 'None'
>>
>> are returned as well, and render to the screen.
>
>REQUEST.set returns None.  You want to use  instead of
>, to ignore the returned value.
>

Thanks, that worked.

-- 
Regards,  Graham Chiu
gchiucompkarori.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] From where does nothing spring from?

2000-06-17 Thread Graham Chiu


I am trying to add some data validation methods to my fieldProduct 
( www.zope.com/Members/gchiu ) - a data entry class.

I have added a method called isNotEmail which returns either a 0 or a 1.

Here's the method definition:



   
0 or
   _.string.find(_[fieldName],'..')>0 ">
  
  
   
  


   valid
email address')">  
   


where fieldName and fieldNameError are properties of the class.

However, when I call the method



where f_Email is an instance of the product, then the words

'None'

are returned as well, and render to the screen.

Where is this coming from?

-- 
Regards,  Graham Chiu
gchiucompkarori.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-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 <019901bfd7ac$51a55640$edbaccc2@agnieszka>, Adam Karpierz
<[EMAIL PROTECTED]> writes
>And there is a big and serious problem (I think not only for me:).
>On my Win box Zope2.2b1 craches (GFP), dont allow add objects (eg. Folder),
>dont allow enter Control Panel if product incorect installed, etc..
>2.2b1 is very , very unstable for now. Of course I understand the reasons

And I thought I was the only one who had GPF's with 2.2b1!

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUnevrTRdIWzaLpMEQLWHgCbBZ1h7+FlIhGLWkTHsF5rDB9EExQAnRmp
5+IygnZUdxKLQLSTTWUFI3oi
=GPfj
-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] 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
gchiucompkarori.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 2.1.5/6/7 & ZSQLMethods problem

2000-06-16 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <00036a32b44872a1_mailit@mail-hub>, Stephen Cimarelli
<[EMAIL PROTECTED]> writes
>So what the best choice? Zope 2.1.4 and MySQL or Zope 2.1.7 and no MySQL?

It's all sql adapters not just MySQL.

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUnXVrTRdIWzaLpMEQIwswCg+XeZmPZApA89bfALtDyJC3TYbcMAn1EB
cyvDUt2qdUHhPFFQiCWjEhFe
=U02/
-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 2.1.5/6/7 & ZSQLMethods problem

2000-06-16 Thread Graham Chiu

In article <[EMAIL PROTECTED]>,
Oleg Broytmann <[EMAIL PROTECTED]> writes
>   I run 2.1.4 too, and for the same reason - ZSQL and SiteAccess. I am
>afraid I couldn't upgrade to 2.1.5+ nor 2.2+ due to SiteAccess :(

Is there a document that explains how to migrate ZSQL across the
2.1.4/2.1.6 boundary?

-- 
Regards,  Graham Chiu
gchiucompkarori.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] 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:
>
>
>...
>
>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
gchiucompkarori.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 2.1.5/6/7 & ZSQLMethods problem

2000-06-15 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, Ron
Bickers <[EMAIL PROTECTED]> writes
>I fought for a full day to get my ZSQLMethods working in 2.1.6, but
>apparently the argument aquisition or something like that is still so broken
>that I had to jump back to 2.1.4.  I applied the various unofficial "fixes"
>from the list archives (not all at the same time, of course) and none of
>them did the trick.  I know others beat themselves up over this too.
>
>The problem I'm talking about is the one where the arguments to the sql
>method seem to be ignored.  That is, if I have an argument 'order', and I
>have a DTML method (or any other "item") named 'order' in the same folder,
> in the sql method refers to the DTML method, not the
>argument.  This breaks dozens of sql methods I have.
>
>With all of these security issues popping up, I don't like not being able to
>upgrade.  Does anyone have a real fix for the ZSQLMethod problems in 2.1.6
>that could be officially applied to the 2.1 series, or should I start using
>the 2.2 betas?

May I second this!

- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope 2.1.4 and not willing to run beta on production

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUjFD7TRdIWzaLpMEQK6+QCgijhq2oTAgjc72mYhLlC9m+cLJt4AoKkc
qZyj4nVLszB1QoBUQuZibW9U
=BDlD
-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-14 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
gchiucompkarori.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] 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
gchiucompkarori.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 )




[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-
sequence-item;


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
gchiucompkarori.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] 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
gchiucompkarori.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
gchiucompkarori.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-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: 

to 

To: <>

Do the same in 'registered_notify'

If that still doesn't work, then change 

mailhost="MailHost"

to 

smtphost="my.smtpserver.com"


-- 
Regards,  Graham Chiu
gchiucompkarori.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] Zope 2.2 beta 1 released

2000-06-13 Thread Graham Chiu

In article <[EMAIL PROTECTED]>,
Christian Wittern <[EMAIL PROTECTED]> writes
>Throwing an empty __init__.py file into $Zope/ZServer/medusa solved the
>problem for me.
>
>Zope 220b1 looks great!
>

I go to the manager interface of my root folder in Zope and it dies with
a Dr Watson :-(   

-- 
Regards,  Graham Chiu
gchiucompkarori.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] 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
gchiucompkarori.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-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
gchiucompkarori.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] Zope/Interbase

2000-06-12 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I saw the Interbase product on the website where Interbase is being used
to store the Zope database.

Does this mean that an Interbase DA also exists now for Linux?

- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope and interested in moving off Win32

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUTMlrTRdIWzaLpMEQIz9QCfe5ofqdLmFqermUpEgiwm/AYFQHMAoJtZ
XrgA3b/cm51UDgQvch5RE5ea
=TcBr
-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
gchiucompkarori.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] Dynamically Picking which object to display

2000-06-09 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, Jason Lee  writes
>a particular object based on a value.  For example, let's say a user tries to
>access www.foo.com/MyAccount/CCInfo.  If the user has authenticated, I need to
>show him the obviously sensitive data he has requested.  If he is not
>authenticated, however, I need to give him a login screen which, for argument's
>sake, is in the DTML document Login in the root folder.  How would I go about
>doing that?  Am I making sense?  Thanks...

This is what I do:

CCInfo
  if user has a valid sessionid and has logged in
display the information
  else
redirect to login screen
login screen redirects back to CCInfo on successful login
  endif

Working examples at my auction site ( the php script just redirects to
my Zope based auction site )

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOUC0crTRdIWzaLpMEQJJUgCg/zVzA+fisMQRtk1SJfaGv63q6sEAoKCk
8M1Tnvzx1vjNT0Nv2X7YrG0e
=pKW1
-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: [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
gchiucompkarori.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 )




Re: [Zope] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)

2000-06-09 Thread Graham Chiu

In article <p04320400b5660d26458c@[209.27.56.93]>, J. Atwood
<[EMAIL PROTECTED]> writes
>This would be possible but I think it would be confusing to the user (posts 
>would jump to the top). See below...

Perhaps not if you just sorted the once when the person first hit the
site.  Of course, that would mean each user would have a different view
of the tree.

I think it would be less confusing to have just one level of indentation
in threads as in UBB rather than unlimited levels as here ( and in
Matt's BBS ).  Takes too many clicks to get to the new messages, and far
too long if you expand all threads.  Perhaps amalgamate all replies to
the main post into one long document.

Also, I would prefer to not have the post message form exposed, but to
click on a button to then expose it.  This would allow me to only allow
registered users to post - they click on post - and then go through a
log on screen, and then they post.  I think in UBB you also have to log
on to post, but you can read anonymously.

-- 
Regards,  Graham Chiu
gchiucompkarori.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 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
gchiucompkarori.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] ANN: ZUBB 0.3.2 (Zope Ultimate Bulletin Board)

2000-06-08 Thread Graham Chiu

In article <[EMAIL PROTECTED]>, J. Atwood
<[EMAIL PROTECTED]> writes
>Take a look and email me with your comments. If you are using it and would
>like to be linked to as an "example" site please send me the url.

Hi,

Looks good. A couple of comments:

How about default sorting the message threads so that the thread with
the most recent reply is at the top?

And instead of just having the number of messages in a thread in
brackets at the end of the thread header, also include the last date, or
the number of new messages since the visitor last was at the ZUBB (
since you're using a persistent cookie )?

--
Regards,  Graham Chiu
gchiucompkarori.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] 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
gchiucompkarori.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 )




[Zope] tracking clients

2000-06-08 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I am just wondering whether it would be worthwhile using a session
product such as SQLSession to profile client activity as they traverse a
website.  With each call to SQLSession, the URL, IPAddress, and time
could be saved, and this could then be analysed later on from within
Zope to profile user activity. ( see where people enter the site, move
around from there, where they exit Eg without going to checkout to
complete purchases, and how long they spend within the site )

Would this replicate the information contained within the ZServer logs?
Would it impact greatly upon the server performance?

Has someone done this already?

( I looked at www.zope.org/About and saw the nice graphs and got to
thinking about this ... )
- -- 
Regards,  Graham Chiu
gchiucompkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOT60g7TRdIWzaLpMEQI3sgCeLmTnvqGtfr62BncXPFxd+amdkEEAn0kF
IlqJfbq6C5zySoAjG5FvpPOw
=uDJi
-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] Zope errors

2000-06-07 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Hi,

I seem to get more than a few errors emailed to me, and am trying to
track down how they are occurring.  I never see these errors myself
which makes it frustrating.

I know the url where these occur.  Most of them occur at forms.  How can
I get the full url including the parameters of the queries that cause
the problems?

( Interestingly most of the errors occur with DNS of the client browser
based in the US whereas my target audience is home in New Zealand. )

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOT6Ba7TRdIWzaLpMEQK/UwCgwBccUuTQt53UH1UBgU5Qfpw6lfwAn1rI
IbypvR/Er3amtKjZkX9ze33g
=zHAB
-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
>



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

- -- 
Regards,  Graham Chiu
gchiucompkarori.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-03 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
gchiucompkarori.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] creating a generic field gadget

2000-06-03 Thread Graham Chiu


Well, I've finished my first pass at this.

http://www.zope.org/Members/gchiu/fieldProduct

It creates a data entry field that can be plugged into a form.  Since
the appearance of the gadget is defined by a method, the gadget is
skinnable in that one could plug in a number of rendering methods to
change the appearance of any data entry form throughout a web site.

Comments please.

-- 
Regards,  Graham Chiu
gchiucompkarori.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 <93F7843B0CACD311A5320090271F3C224D7938@redlion2>, peter
<[EMAIL PROTECTED]> writes
>Where's the 'LIKE' ?

It's Access.

-- 
Regards,  Graham Chiu
gchiucompkarori.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 =   


-- 
Regards,  Graham Chiu
gchiucompkarori.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
>  (the select statement *is* returning the correct
>account)
>   
>   To:  
>   From: 
>   Subject: Mailing Back Password
>
>   Your password is .
>
>   Thank you for shopping at sombody!
>   
>
>   Your password has been mailed to .
>
>   blah blah blah
>

Try removing all whitespace before the headers To: ,From:
-- 
Regards,  Graham Chiu
gchiucompkarori.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] SQL query results as values ?

2000-05-30 Thread Graham Chiu

In article <[EMAIL PROTECTED]>, Richard Smith
<[EMAIL PROTECTED]> writes
>Maybe my question was too dense. I will try again. 
>lets say I do this in a ZSQL method 
>SELECT * FROM foo;
>of course I get a table of results.
>Now can I some how run another query
>base on the results, like to do an UPDATE and
>have the  use the values from the
>table ?  Please, I just need a little help here.
>
>Thanks
>Richard


 
  returning value1, value2 ... valueN

 



-- 
Regards,  Graham Chiu
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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
gchiucompkarori.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] 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
gchiucompkarori.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 )




Re: [Zope] SQLSession and Memory leak

2000-05-26 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, Hung Jung Lu
<[EMAIL PROTECTED]> writes
>After using SQLSession with two different databases (Gadfly and Sybase), and 
>after the problem persisted, and after using manage_debug in Control Panel, I 
>have decided that enough is enough. I implemented my own RAM-based Session 
>Management.

I recall you mentioning the memory leak with Gadfly, but do not recall
you mentioning it again until now.

I've also noticed a memory leak under WinNT and I use SQLSession with
Interbase.  But I assumed it was because I was also using Gadfly for a
navigational tool.  And since I have to reboot once every few weeks, I
wasn't too concerned about it.

Will you be releasing your Session management as a product?

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOS4zALTRdIWzaLpMEQLuqgCcDJimO+vxzZIOyDl1S/1Fmrut/cQAn2J5
aGGcAP28XWP+ZRFbL387CiLo
=eSu9
-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] 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
gchiucompkarori.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] 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
gchiucompkarori.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] Help with simple dtml-if compare

2000-05-26 Thread Graham Chiu

In article <[EMAIL PROTECTED]>, Patrick J.M. Keane
<[EMAIL PROTECTED]> writes
>

 

as discussed yesterday in this list!

-- 
Regards,  Graham Chiu
gchiucompkarori.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] newbie question: parameter passing for ZSQL Object

2000-05-26 Thread Graham Chiu

In article <[EMAIL PROTECTED]>, zope
<[EMAIL PROTECTED]> writes
>My Z SQL method'insertItem' looks like
>
>Arguments: param1, param2, param3, param4
>
>INSERT INTO plan
>(field1, field2, field3, field4)
>VALUES
>(, , , )

Insert into plan ( field1, field2, field3 field4 ) values (
,
,
,

)




-- 
Regards,  Graham Chiu
gchiucompkarori.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
gchiucompkarori.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] 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
gchiucompkarori.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] ZClasses newbie question

2000-05-25 Thread Graham Chiu


I've a ZClass derived from a DTML Document.

When you add a DTML Document, it always has some default DTML present.

How do I get my ZClass to do the same?

( I want to call my instance like

 to display the object as opposed to doing this



)
-- 
Regards,  Graham Chiu
gchiucompkarori.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] Passing multi-line field into SQL

2000-05-24 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, Tony
Mann <[EMAIL PROTECTED]> writes
>You enter a line break by pressing the Enter key!
>
>We are using Gadfly for right now, until our Oracle db server is set up.
>
>We actually found a solution:
>
>')"
>sql_quote>,
>

I seem to recall that there is a problem with Gadfly and multiline data.

I don't use Gadfly, and don't have this problem.  However, I have to
enter  in the text box to produce the effect of a line break since I
only ever work with HTML formatted text.

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSuRNbTRdIWzaLpMEQL+3ACgjzqk2zI2eLe8u3jSPAll0NyPzvQAoLTP
NzXDSlxEk7/QJY6iuh+IpNXB
=S1Bt
-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
gchiucompkarori.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] 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 :
>
>
>  value=""
>

Worked straight away.  Thanks,
- -- 
Regards,  Graham Chiu
gchiucompkarori.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] 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 ...
>
>
> value=""
>> 
>
> 
>
>
>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
gchiucompkarori.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] 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
gchiucompkarori.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] 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
gchiucompkarori.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] SQLSession Problem

2000-05-23 Thread Graham Chiu

In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes

>So I wonder if this is the correct way to call the session component :
>
>
>

This is what I do.





-- 
Regards,  Graham Chiu
gchiucompkarori.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] Zope.org membership

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, mindlace <[EMAIL PROTECTED]>
writes
>This link should show you all the cookies you have at www.zope.org:
>
>http://www.securityspace.com%2fexploit%2fexploit_1b.html%3fdomain==.www.zope.org
>/#exploit_1
> 

Interesting.  I run a Javascript free site anyway :-)

>
>I will, however, look into other possibilities, like maybe your password
>could be filled in server side, if some appropriate check can be made.

That's what I do.  I store the userid and a sessionid in the user's
cookie cache as a permanent (optional) cookie, and if they both match
with what I have saved server side, then I display the userid and
password which has also been stored server side.

Obviously this is also vulnerable :-(

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSlKLbTRdIWzaLpMEQKsAQCcCDyUGBbH4iSP95kWtTW+JX5CrtkAoP3d
3QBPS4irbCnFOl442OgJgboG
=EJJM
-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] Updating one data.fs from another

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I do development on my site on my notebook, and then rather than
overwriting my production data.fs, I then manually make the changes to
the production data.fs by create/cut/paste from my development data.fs
which is all very painful.

I tried ftp'ing into my development site, but some things like
TinyTables are 0 bytes in size and can't be accessed.

My browser also doesn't support cut/paste of whole documents from one
data.fs to another, just the data whereas it supports this within a
data.fs.

Is there some other way to propagate changes from a development site to
a production site?

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSlQv7TRdIWzaLpMEQKLPQCfWcsRKQkXIP5nwaRuetiqpJ/PQ/oAoJf+
q0bL2DJvxMEceE8fCtupQPuq
=kroL
-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] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, Andrew
Kenneth Milton <[EMAIL PROTECTED]> writes
>
>
>
>
>
>
>
>This works for me. 

This code is in the index_html of the same folder containing the
tinytables.  It doesn't work for me unless I specify the folder as in

thisfolder.objectValues()

whereas all the examples I've seen don't need this. Using 2.1.4.

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSjxF7TRdIWzaLpMEQIllQCeNBhRdPYs6+pO1uAX8Derq5mAzR4An0xQ
C5V5fjETLwc/MNy4k6ijIfbC
=xN4l
-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.org membership

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, mindlace <[EMAIL PROTECTED]>
writes
>Graham Chiu wrote:
>> 
>> Can it be changed so that it remembers both my userid and password, or
>> just my password?  I usually remember who I am!
>
>This is certainly true.  Unfortunately, Microsoft has made it so that
>anyone with a modicum of javascript skills can read *all* your cookies
>(if you use IE on Windows):
>
>http://slashdot.org/article.pl?sid=00/05/11/173257&mode=nested

I went there, clicked on the buttons, and got DNS errors.

>
>Now, there may not be hugely deletrious effects resulting from this, but
>until cookies are handled in a sane manner, it's probably inappropriate
>for us to be putting the password there.

Well, you only have to save one half of a pair.  I would prefer you save
the password.  The username I can remember :-)

>
>If you're using IE 5 or Mozilla (NS 6) you can always tell it to
>remember what you've entered into the password field.
>

Doesn't offer to save it for me on IE5. If it did, I wouldn't be asking.


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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSjvJ7TRdIWzaLpMEQLrpQCfZlQdZL7324hKZyuf9qIURHPvpUEAn00B
HZkzbNpdbEWRpfNRXms34cVw
=WSqE
-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] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, Chris Withers
<[EMAIL PROTECTED]> writes
>Graham Chiu wrote:
>> 
>>
>> 
>>   
>> 
>
>Is this code in a DTML document or method?
>
>> I would like to print out the title attribute of the tiny table now, but
>> 
>>   
>> 
>> chokes on title with an attribute error.
>
>What's wrong with just ?
>

Nothing.  Just shows I shouldn't be doing this Zope at 1 am :-(

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSjviLTRdIWzaLpMEQKiPwCghmIzqzzHDE0PefkxLvXDBUN2CM4An1/b
C8sS3SChTJVPvtgHEd0gF4OL
=Ne8G
-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] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, Geir BXkholt
<[EMAIL PROTECTED]> writes
>on Monday, May 22, 2000 Graham Chiu wrote :
>[snip]
>GC> I have a folder full of Tiny Tables.  I would like to go over each
>GC> table, and iterate thru their contents.
>
>GC> 
>GC>   
>GC>  
>GC>   
>GC> 
>
>GC> doesn't do anything.  Clues?
>[snip]
>
>perhaps (untested)  would work
>??
>

Nope, but this does for some reason


   

  



I would like to print out the title attribute of the tiny table now, but

  

chokes on title with an attribute error.


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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSiNxbTRdIWzaLpMEQKTHwCdFRttEtEvI1ygh4edW2w5uv4gfeYAnRdx
NrC161zJKnJBLSrWZQWAEe7w
=DuhO
-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.


  
 
  


doesn't do anything.  Clues?

- -- 
Regards,  Graham Chiu
gchiucompkarori.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 )




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
gchiucompkarori.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 )




Re: [Zope] ZScheduler

2000-05-21 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <001901bfc360$6e3f9280$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>What happens when you execute the event's "trigger" method from the
>browser's location line?

Perhaps this will help.

Here's my Zevent




And here's zMailTest which works fine when called from the browser:


To: GC <[EMAIL PROTECTED]>
From: TV time <[EMAIL PROTECTED]>
Subject: This is cron test

Charmed is on tonight at 7 pm.



And here is the log report.  Isn't 503 an SMTP error of some sort?


2000-05-21T22:48:10 PROBLEM(100) Products.ZScheduler.Loggerr 
Trigger event: http://a7800nt:8080/zTV
Trigger time: 2000/05/22  10:48:00 GMT+12
Failed to trigger event.
Type=exceptions.KeyError
Val=  zTV  http://a7800nt:8080/zTV/trigger
- --
2000-05-21T22:48:10 PROBLEM(100) Products.ZScheduler.Loggerr Failed to
disarm event


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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSfA6LTRdIWzaLpMEQJCGACg39opsy130qgjwfFNS5kFUAHGAyMAoPTO
Fe2zVB6LB3QOX773fJ2NbbsO
=Kq9S
-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] ZScheduler

2000-05-21 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <001901bfc360$6e3f9280$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>What happens when you execute the event's "trigger" method from the
>browser's location line?

Works fine.


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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSe0JbTRdIWzaLpMEQKKbACdGc5oaSRM/ylOkfKu+T1K2omraewAoK8F
eEoeBaR7+nqt1/N69Fo4SYqD
=lKwU
-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] SQLSession vs FSSession for ultra-high scalability and speed.

2000-05-21 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, chas
<[EMAIL PROTECTED]> writes
>>Graham Chiu wrote:
>>It may be the way I designed my site, but if the database serving
>>SQLSessions had to be taken down for maintenance, my site became
>>inaccessible.
>
>Same would happen to my site. Rather than try to build around 
>that, I think I'll try to keep the DB up instead - since I won't
>have much functionality without sessions.

What I meant was that it should be easy to plug in another database
engine for the session serving since there should be nothing database
specific about the interface to SQLSession. ( As it happens, there is
:-(  )  So, taking down the database for Session management should not
take down the site.

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSew+7TRdIWzaLpMEQI03gCfU+VlPOn/x3xXkcJaN8Pc0fVtlH0An1YK
2pdxpkp1E9Fy5aDPUdP2qp20
=8kZ/
-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] ZScheduler

2000-05-21 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <001301bfc35f$959f0780$2101a8c0@pavilion>, Loren Stafford
<[EMAIL PROTECTED]> writes
>Any ideas how to automatically determine whether "now and for the next N
>minutes is a  time period of little activity" from historical or real-time
>data?
>
>-- Loren
>

Read the Zserver logs?

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSeddLTRdIWzaLpMEQIxAQCdGG10NP24JJyRhy+09G77XwEenJwAoJ/H
IfcllPWWjgD19CWeGiaNpf9k
=HV7X
-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 vs FSSession for ultra-high scalability and speed.

2000-05-21 Thread Graham Chiu

In article <[EMAIL PROTECTED]>, Steve Alexander  writes
>> And since for sessions, all you really want is speed without
>> any fancy SQL transactions, then MySQL for the session data seems an
>> appropriate use.
>
>I seem to recall from the MySQL vs Postgres thread a while ago that
>MySQL was fastest in mostly-reading situations, whereas Postgres was far
>better when there is quite a lot of writing as well as reading.
>
>If this is true, the Postgres should be a better choice for a
>session-data DBMS.

For SQLSessions, you only write the session data once, and read multiple
times.  So, that would suit MySQL ?

-- 
Regards,  Graham Chiu
gchiucompkarori.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] Zwiki permissions

2000-05-21 Thread Graham Chiu


I would like to grant anonymous the ability to edit/add a zwiki page,
but they can't.

the docs say:

grant the 'Change ZWiki Page' permission; and to allow page creation,
grant the 'Add ZWiki Page' permission. 

but those permission attributes are not present in my installation of .6

It's at http://www.compkarori.co.nz/x.php?/zwiki

-- 
Regards,  Graham Chiu
gchiucompkarori.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] creating a generic field gadget

2000-05-21 Thread Graham Chiu


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 ...


 value=""
> 

 


Clues?

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

-- 
Regards,  Graham Chiu
gchiucompkarori.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 membership

2000-05-20 Thread Graham Chiu


Can it be changed so that it remembers both my userid and password, or
just my password?  I usually remember who I am!

-- 
Regards,  Graham Chiu
gchiucompkarori.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] SQLSession vs FSSession for ultra-high scalability and speed.

2000-05-20 Thread Graham Chiu

In article <p04310103b54cde3dbe12@[209.27.56.93]>, J. Atwood
<[EMAIL PROTECTED]> writes
>As for the database, MySQL is hands down the fastest, but certainly not the most 
>robust in terms of features. Oracle is great if you have $10,000 and a full time 
>DBA but PostgreSQL 7.0 is really your best bet. You might also want to take the 
>money you were going to spend on the DB2 and put it right back into DB1 and 
>house everything there. Just get a beefy machine, RAID it up for redundancy and 
>call it a day.

It may be the way I designed my site, but if the database serving
SQLSessions had to be taken down for maintenance, my site became
inaccessible.

Based upon this experience, I would therefore now prefer to use
different database engines for the main database and for the session
tables.  And since for sessions, all you really want is speed without
any fancy SQL transactions, then MySQL for the session data seems an
appropriate use.

Session tables wouldn't have to be too big as you could run ZScheduler
to remove expired sessions.

-- 
Regards,  Graham Chiu
gchiucompkarori.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-19 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <000101bfc01a$1ec3e2e0$[EMAIL PROTECTED]>, Loren
Stafford <[EMAIL PROTECTED]> writes
>You can try out ZScheduler on Windows (I tested on Win98). It actually runs
>the scheduled tasks. However, because the inter-thread communication isn't
>working, it degrades to polling the schedule table.

I tried this out on my notebook running NTWK4.0 and got this from the
log

Failed to trigger event.
Type=exceptions.AttributeError
Val=this (File: D:\zope2\lib\python\Products\MailHost\SendMailTag.py
Line: 188)
500 Internal Server Error for http://a7800nt:8080/myfolder/cron/trigger
- --
2000-05-20T05:40:24 PROBLEM(100) Products.ZScheduler.Loggerr Failed to
disarm event

The DTML code just sends an email, and works fine when tested outside
the ZEvent.

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSWAcbTRdIWzaLpMEQLcVwCfSFs3pOY8mL9Q0lXp+uAzY9oXLZwAn1d6
hRJQjCo9t/yt4wdMXWqDiep0
=mBSf
-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] ZScheduler

2000-05-19 Thread Graham Chiu

In article <[EMAIL PROTECTED]>, Jason Spisak
<[EMAIL PROTECTED]> writes
>
>I would add the "last day of the month" as well.
>
>All my best,

Or, how about, only if there is no activity on the web server between
certain hours, then start doing something...

-- 
Regards,  Graham Chiu
gchiucompkarori.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] FYI: Some changes on Zope.org

2000-05-19 Thread Graham Chiu

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In article <[EMAIL PROTECTED]>, J. Atwood
<[EMAIL PROTECTED]> writes
>(not trying to flame this, just open discussion.. or  slow Friday.. either
>way!)
>
>> But they're not promoting a web server technology.
>
>Actually Dell is They are selling servers with NT 2000 and promoting
>"uptime" for the all of them.

I betcha the server is up, and just the MS software is down.  

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

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.7.1

iQA/AwUBOSU2w7TRdIWzaLpMEQIg6gCguzEhcpqz83fUrLd1Yo1ywizXC/YAnAmd
leT3IDb0lVKVUQ0TnjxR5Iud
=G4bU
-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 )




  1   2   >