Re: [Zope] Decision question from a beginner

2001-01-31 Thread Phil Harris

Christophe,

I'll try to throw some light on some of this.

1.  There is a piece of software in development called JPE, 
Java-Python-Extensions, you'll find it on sourceforge.net.  It says that it allows you 
to use Python modules from Java and vice-versa.  This may be a way to get Zope talking 
with Java and it's associated ways of doing things (EJB, JSP, etc).

2.  Yes you can/should write your logic in Python.  Normally CPython and JPython 
don't talk all that well, but using JPE this may change.

Now for the caveats, I am in no way associated with the jpe project and am struggling 
to get it working at all myself.  It is developed on Win32 and expects some pretty 
specific things in place (better to read the docs than listen to me tho).

That said it does look interesting.

Another way to look at this is to have a front-end Apache that maps Zope and lets say 
Tomcat into the same URL space.  This would allow your users to at least think that 
it's all one server doing the work.  The biggest problem with this is that the Zope 
security wouldn't cover the Tomcat parts and vice versa.  There are bound to be other 
problems with this way of doing things, I'm no expert 8¬).

If anyone does manage to get the JPE wotsit working then I'd like to know the recipe, 
pretty please 8¬).

hth

Phil
[EMAIL PROTECTED]

On Wed, 31 Jan 2001 11:04:13 +0100, I seem to recall, Christophe <"Christophe Lombart" 
<[EMAIL PROTECTED]>> scrawled something like:

> Tha's clear Zope is really interesting for my web application but I have a 
> small issue concering java.  My customer is using Java (mainly servlet & 
> EJB). It is a well know question on your mailing lists but I want to be sure 
> to understand everything.
> 
> So, can you confirm or give some feedbacks on the following questions :
> 
> 1. Is it possible to add a servlet in my Zope server. By this way, I have 
> the strong features like security defined in Zope and it is not necessary to 
> rewrite the code defined in this servlet.
> 
> 2. If I understand, I can write my business logic in python. From this 
> python code, I can used a java package (thanks to jython). So I can call an 
> EJB method from a zope object. Is it correct ?
> 
> This kind of integration is much interesting for my customer than  rewrite 
> all in python. In fact, his idea is using Zope for the content management 
> and EJB for the business logic. All comments are welcome on that.
> 
> Many thanks in advance
> Christophe
> 
> 
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
> 
> 
> ___
> 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 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] Editors [OT]

2001-01-27 Thread Phil Harris

On Saturday 27 January 2001 03:26, Tres Seaver wrote:
> In the neverending "perfect Zope editor" jihad, "Phil Harris"
> <[EMAIL PROTECTED]> wrote on the side of the angels
>
> of light:
> > I just did a search on google and came up with some
> > interesting  Win32 versions of Vim 5.7.11:
> >
> > See http://vim.sourceforge.net/bin_download/00index.txt
> >
> > Since the Python and TCL interpreters are built in it should
> > be possible to add seamless FTP/WebDAV clients into Vim,
> > cool!
>
> Even more insidious, consider:
>  :py import Zope; app=Zope.app()
>
> ZEO + VIM is a r00ling IDE :)
>
> Tres.

Hmm, never thought of that, hmm.  (Phil starts thinking nice thoughts)

Phil

___
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] subtransactions

2001-01-26 Thread Phil Harris

Now that's a good question ;)
- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Chris McDonough" <[EMAIL PROTECTED]>
Cc: "Ian Sealy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 3:35 PM
Subject: Re: [Zope] subtransactions


> Chris McDonough wrote:
> >
> > Because most databases don't have the notion of a subtransaction.
>
> Hang on... how come, if a file upload needs to commit a subtransaction,
that
> means that an SQL method you call while processing the same request also
needs
> to support sub-transactions?
>
> confusedly,
>
> Chris
>
> ___
> 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 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] Editors [OT]

2001-01-26 Thread Phil Harris

You could use STunnel to wrap Zope in SSL, www.stunnel.org.

Works fine for me.

Phil

- Original Message -
From: "A.J. Rossini" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 2:53 PM
Subject: Re: [Zope] Editors [OT]


> > "GLW" == Geoffrey L Wright <[EMAIL PROTECTED]> writes:
>
>
> GLW> I'm (hopefully) just about to run into a situation where I'm
> GLW> going to start off-site development on another Zope project,
> GLW> but I need a more secure way of editing than XEmacs/efs...
>
> One possible approach (unfortunately no code) -- (X)Emacs can speak
> SSL (uses it, at least, for imap communication :-), so if Zope's ftp
> server could be SSL wrapped...?
>
> A related question -- is there any way to get Zope to listen to scp
> (ssh's copy)?
>
> (I'm interested in exactly the same thing, sigh...).
>
> best,
> -tony
>
> --
> A.J. Rossini Rsrch. Asst. Prof. of Biostatistics
> UW Biostat/Center for AIDS Research [EMAIL PROTECTED]
> FHCRC/SCHARP/HIV Vaccine Trials Net [EMAIL PROTECTED]
>  (friday is unknown) 
> FHCRC: M--W : 206-667-7025 (fax=4812)|Voicemail is pretty sketchy
> CFAR:  ??   : 206-731-3647 (fax=3694)|Email is far better than phone
> UW:Th   : 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
>
> ___
> 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 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] Change Permissions via FTP

2001-01-25 Thread Phil Harris

Matthias,

First thing is that your not looking at files when you ftp into Zope, your
looking at objects.

Secondly Zope uses it's own permissions/security system, that is far more
comprehensive than *nix permissions.  I really rather doubt that you can set
permissions on Zope using a 'simple' chmod.

Basically I'm saying that to change permisions for Zope objects, you need to
use the TTW (through the web) managment interface.

hth

Phil

- Original Message -
From: "Matthias Füsting" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 4:40 PM
Subject: [Zope] Change Permissions via FTP


> Hi,
>
> is there any possibility to change permissions of files via ZOPE-FTP?
> Every time I try this with the command "chmod", I get following error
message:
>
> 500 'SITE': command not understood.
>
>
> What is the problem?
>
>
>
> Thanks.
>
> Matthias Füsting
>
>
> ___
> 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 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] DNS/access problems

2001-01-25 Thread Phil Harris

What error are you getting?

- Original Message - 
From: "Olaf Zanger" <[EMAIL PROTECTED]>
To: "Zope Mailinglist" <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 4:05 PM
Subject: [Zope] DNS/access problems


> hi there,
> for presentation purposes i installed zope on suse 7.0 on a laptop with
> port 8090. 
> 
> i was able to access apache on port 80,
> i was able to access http://vaio:8090/ipOperate
> but then, when i clicked to any link i got an error.
> 
> any idea where to search?
> 
> thanks 
> 
> olaf
> 
> -- 
> soli-con Engineering Zanger
> Dipl.-Ing. (FH) Olaf Marc Zanger
> Lorrainestrasse 23
> 3013 Bern / Switzerland
> Fon: +41-31-332 9782
> Mob: +41-76-572 9782
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> http://www.soli-con.com


___
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] Editors [OT]

2001-01-25 Thread Phil Harris

Boa already has a Zope interface via FTP.

- Original Message -
From: "Tom Deprez" <[EMAIL PROTECTED]>
To: "Dario Lopez-Kästen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 1:23 PM
Subject: Re: [Zope] Editors [OT]


> Hi,
>
> What about http://freshmeat.net/projects/boa-constructor/?highlight=boa ?
>
> I heard about this yesterday from Godefroid. With some changes we perhaps
> could add a Zope interface?
>
> Tom.
> - Original Message -
> From: "Dario Lopez-Kästen" <[EMAIL PROTECTED]>
> To: "Chris Withers" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Thursday, January 25, 2001 11:56 AM
> Subject: Re: [Zope] Editors [OT]
>
>
> > Textpad www.textpad.com
> > EditPluswww.editplus.com
> >
> > I am using TextPad mostly now. Of course, given the choice, I'd much
> rather
> > use BBEdit or Alpha on a Mac
> >
> > /dario
> >
> > - Original Message -
> > From: "Chris Withers" <[EMAIL PROTECTED]>
> > To: "Tres Seaver" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Thursday, January 25, 2001 11:08 AM
> > Subject: [Zope] Editors [OT]
> >
> >
> > > Tres Seaver wrote:
> > > >
> > > > I'm liking it a lot -- the last reason to even consider using
> > > > emacs is gone :)
> > >
> > > Hmmm... interesting, maybe it's time to find a new editor...
> > >
> > > My wishlist would be:
> > >
> > > - Runs nicely on NT4
> > > - Syntax highlighting for Python, C, XML, HTML (and, although this is
> > dreamworld
> > > stuff, DTML ;-)
> > > - FTP or WebDAV editing built in as standard (or alternative solution,
> > like
> > > cadaver making it work ;-)
> > > - Regular Expression search & replace
> > > - search & replace of multiple files
> > >
> > > and my dream list would be:
> > >
> > > - can run multiple copies of the editor at once
> > > - class browser for python, with expand/collapse of code (like the
> editor
> > for
> > > Python 2)
> > >
> > > Any ideas?
> > >
> > > cheers,
> > >
> > > Chris
> > >
> > > ___
> > > 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 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 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 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] Mozilla and Zope (Was: Re: [Zope] Editors [OT])

2001-01-25 Thread Phil Harris

IIRC I saw a post to that effect, they say they haven't got the resources
right now.

Shame.

You could look at Komodo, http://www.activestate.com



- Original Message -
From: "Erik Enge" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 2:00 PM
Subject: [Zope] Mozilla and Zope (Was: Re: [Zope] Editors [OT])


> [Wolfgang Strobl]
>
> | It's pure Python and wxPython (i.a. wxWindows) based, it even comes
> | with a first attempt of a Zope interface! I wonder that it doesn't
> | get more publicity here.  On the other hand, I noticed that Shane
> | Hathaway is listed as one of the developers ...
>
> I though DigiCool was developing a Zope interface with Mozilla, has
> this been abandoned?
>
> ___
> 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 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] Editors [OT]

2001-01-25 Thread Phil Harris

I just did a search on google and came up with some interesting  Win32
versions of Vim 5.7.11:

See http://vim.sourceforge.net/bin_download/00index.txt

Since the Python and TCL interpreters are built in it should be possible to
add seamless FTP/WebDAV clients into Vim, cool!

http://vim.sourceforge.net/bin_download/gvim57ole.zip
Gvim for win32 with ole support
http://vim.sourceforge.net/bin_download/vim5.7.11-win32-perl-tcl.zip
Vim/GVim with Perl 5.6 and TCL 8.3.2 support
http://vim.sourceforge.net/bin_download/vim5.7.11-win32-perl.zip
Vim/GVim with Perl 5.6 support
http://vim.sourceforge.net/bin_download/vim5.7.11-win32-python-perl-tcl.zip
(G)Vim with Python 1.5.2, Perl 5.6, and TCL 8.3.2
http://vim.sourceforge.net/bin_download/vim5.7.11-win32-python-perl.zip
Vim/GVim with Python 1.5.2 and Perl 5.6 support
http://vim.sourceforge.net/bin_download/vim5.7.11-win32-python-tcl.zip
Vim/GVim with Python 1.5.2 and TCL 8.3.2 support
http://vim.sourceforge.net/bin_download/vim5.7.11-win32-python.zip
Vim/GVim with Python 1.5.2 support
http://vim.sourceforge.net/bin_download/vim5.7.11-win32-tcl.zip
Vim/GVim with TCL 8.3.2 support


- Original Message -
From: "Phil Harris" <[EMAIL PROTECTED]>
To: "Oleg Broytmann" <[EMAIL PROTECTED]>; "Zope Mailing List"
<[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 12:43 PM
Subject: Re: [Zope] Editors [OT]


> Vim, seconded apart from the FTP and WebDAV bits ;), but using cadaver
> sounds like a good option.
>
> See also http://www.zope.org/Members/philh/vim_html for a small howto on
> using Vim with FTP.
>
>
> - Original Message -
> From: "Oleg Broytmann" <[EMAIL PROTECTED]>
> To: "Zope Mailing List" <[EMAIL PROTECTED]>
> Sent: Thursday, January 25, 2001 12:31 PM
> Subject: Re: [Zope] Editors [OT]
>
>
> > On Thu, 25 Jan 2001, Chris Withers wrote:
> > > Hmmm... interesting, maybe it's time to find a new editor...
> > > My wishlist would be:
> > >
> > > - Runs nicely on NT4
> > > - Syntax highlighting for Python, C, XML, HTML (and, although this is
> dreamworld
> > > stuff, DTML ;-)
> > > - FTP or WebDAV editing built in as standard (or alternative solution,
> like
> > > cadaver making it work ;-)
> > > - Regular Expression search & replace
> > > - search & replace of multiple files
> >
> >www.vim.org
> >
> > Oleg.
> > 
> >  Oleg Broytmann http://www.zope.org/Members/phd/
[EMAIL PROTECTED]
> >Programmers don't die, they just GOSUB without RETURN.
> >
> >
> > ___
> > 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 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 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] Editors [OT]

2001-01-25 Thread Phil Harris

Vim, seconded apart from the FTP and WebDAV bits ;), but using cadaver
sounds like a good option.

See also http://www.zope.org/Members/philh/vim_html for a small howto on
using Vim with FTP.


- Original Message -
From: "Oleg Broytmann" <[EMAIL PROTECTED]>
To: "Zope Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, January 25, 2001 12:31 PM
Subject: Re: [Zope] Editors [OT]


> On Thu, 25 Jan 2001, Chris Withers wrote:
> > Hmmm... interesting, maybe it's time to find a new editor...
> > My wishlist would be:
> >
> > - Runs nicely on NT4
> > - Syntax highlighting for Python, C, XML, HTML (and, although this is
dreamworld
> > stuff, DTML ;-)
> > - FTP or WebDAV editing built in as standard (or alternative solution,
like
> > cadaver making it work ;-)
> > - Regular Expression search & replace
> > - search & replace of multiple files
>
>www.vim.org
>
> Oleg.
> 
>  Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
>Programmers don't die, they just GOSUB without RETURN.
>
>
> ___
> 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 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] Some help required but no sarcastic comments this time please

2001-01-23 Thread Phil Harris

Alan,

So what are the errors, are there any tracebacks, does the thing your trying 
to do work when outside of Zope?

What version of MySQL is it?

Can you run any queries, or is it one particular query?

What versions of the MySQLDB and MySQLDA are you using?

Answering some/all of these questions will get you closer to an answer.

I can give you some hope though.  I have a Zope+MySQL site that has been 
running non-stop for about 7-8 months with no problems at all, so it can be 
done.

One final note, the people on the list are, as I'm sure you are, busy people. 
 They do their best to help and generally do.  Some posts slip through the 
net though, I wouldn't take offence at not getting answered.

hth

Phil
[EMAIL PROTECTED]

On Tuesday 23 January 2001 23:17, alankirk wrote:
> Hi there,
> i sent an email the other week regarding problems i've been experiencing
> with zope and MySQL. I've set up a database connection for zope and mysql
> and it sort of works. I can send queries to add data to my database ok but
> when i send a query to get data from my database i get one of 3 errors and
> my python server that zope runs from stops. The errors i get are Python
> experienced an error in (either nothing,MYSQL.DLL or PYTHON15.DLL). I am
> using Zope 2.2.2 on windows(this time i'd appreciate no sarcastic comments
> this time) I've sent a few emails about this problem to various people
> (including to this address) and the response has been pretty poor, i've
> even tried to email people involved with the mysql database adaptors and
> got no response. It is really important that i get this problem sorted now
> if possible as my final year project for university depends on this 'bug'
> getting fixed.
>
> If you can give me help on this or point me in the direction of someone who
> can, i'd be grateful
>
> Cheers
>
> Alan


Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 


___
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] Opensource DBMS for WIN?

2001-01-23 Thread Phil Harris

Try:

http://www.mysql.com
http://firebird.sourceforge.net (was Borland Interbase, Firebird is the
open-source version).

hth

Phil

- Original Message -
From: "Paul Zwarts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 23, 2001 9:35 AM
Subject: [Zope] Opensource DBMS for WIN?


> Greetings,
>
> Was wondering if there was an open source dbms to use with Zope on a
> Win2k machine...? I found references of using cygwin to run PGSQL (which
> we have on our unixbox) but would prefer something that doesnt run over
> an extender-shell...
>
> TIA,
> Paz
>
>
> ___
> 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 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] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris

Looks like it could be the same problem, just in a different place.

- Original Message -
From: "Mayers, Philip J" <[EMAIL PROTECTED]>
To: "'Martijn Pieters'" <[EMAIL PROTECTED]>; "Phil Harris"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 3:57 PM
Subject: RE: [Zope] Adding roles in 2.3b2 and CVS


> I've got this problem as well - who wants to report it?
>
> Zope Version  Zope 2.3.0b2 (source release, python 1.5.2, linux2)
> Python Version  1.5.2 (#1, Dec 21 2000, 15:29:32) [GCC egcs-2.91.66
> 19990314/Linux (egcs-
> System Platform  linux-sparc
> Process Id  23242 (1024)
> Running For  18 hours 53 min 23 sec
>
> Error Type: TypeError
> Error Value: too many arguments; expected 2, got 3
>
> Traceback (innermost last):
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 222, in
> publish_module
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 187, in
> publish
>   File /usr/local/Zope23/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
> (Object: ApplicationDefaultPermissions)
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 171, in
> publish
>   File /usr/local/Zope23/lib/python/ZPublisher/mapply.py, line 160, in
> mapply
> (Object: manage_defined_roles)
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 112, in
> call_object
> (Object: manage_defined_roles)
>   File /usr/local/Zope23/lib/python/AccessControl/Role.py, line 489, in
> manage_defined_roles
> (Object: ApplicationDefaultPermissions)
> TypeError: (see above)
>
>
> Regards,
> Phil
>
> +--+
> | Phil Mayers, Network Support |
> | Centre for Computing Services|
> | Imperial College |
> +--+
>
> -Original Message-
> From: Martijn Pieters [mailto:[EMAIL PROTECTED]]
> Sent: 22 January 2001 12:02
> To: Phil Harris
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope] Adding roles in 2.3b2 and CVS
>
>
> On Mon, Jan 22, 2001 at 11:31:27AM -, Phil Harris wrote:
> > Has anyone else had trouble adding roles when using 2.3b2 and CVS
versions
> of Zope?
> >
> > There seems to be a consistent bug in
> /lib/python/AccessControl/role.py.
> >
> > The calls to self.manage_access(self,REQUEST) seem to have too many
> arguments, am I right?
> >
> > I 'fixed' my version of the file ut someone with more nouse will need to
> check this out.
> >
> > Would this be better reported in the collector?
>
> Reporting to the Collector is a good idea, especially if you can reproduce
> the problem.
>
> --
> Martijn Pieters
> | Software Engineer  mailto:[EMAIL PROTECTED]
> | Digital Creations  http://www.digicool.com/
> | Creators of Zope   http://www.zope.org/
> -
>
> ___
> 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 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] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris

btw,  follow on from my last post, looks like the original problem is
already fixed in CVS.

- Original Message -
From: "Mayers, Philip J" <[EMAIL PROTECTED]>
To: "'Martijn Pieters'" <[EMAIL PROTECTED]>; "Phil Harris"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 3:57 PM
Subject: RE: [Zope] Adding roles in 2.3b2 and CVS


> I've got this problem as well - who wants to report it?
>
> Zope Version  Zope 2.3.0b2 (source release, python 1.5.2, linux2)
> Python Version  1.5.2 (#1, Dec 21 2000, 15:29:32) [GCC egcs-2.91.66
> 19990314/Linux (egcs-
> System Platform  linux-sparc
> Process Id  23242 (1024)
> Running For  18 hours 53 min 23 sec
>
> Error Type: TypeError
> Error Value: too many arguments; expected 2, got 3
>
> Traceback (innermost last):
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 222, in
> publish_module
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 187, in
> publish
>   File /usr/local/Zope23/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
> (Object: ApplicationDefaultPermissions)
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 171, in
> publish
>   File /usr/local/Zope23/lib/python/ZPublisher/mapply.py, line 160, in
> mapply
> (Object: manage_defined_roles)
>   File /usr/local/Zope23/lib/python/ZPublisher/Publish.py, line 112, in
> call_object
> (Object: manage_defined_roles)
>   File /usr/local/Zope23/lib/python/AccessControl/Role.py, line 489, in
> manage_defined_roles
> (Object: ApplicationDefaultPermissions)
> TypeError: (see above)
>
>
> Regards,
> Phil
>
> +--+
> | Phil Mayers, Network Support |
> | Centre for Computing Services|
> | Imperial College |
> +--+
>
> -Original Message-
> From: Martijn Pieters [mailto:[EMAIL PROTECTED]]
> Sent: 22 January 2001 12:02
> To: Phil Harris
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope] Adding roles in 2.3b2 and CVS
>
>
> On Mon, Jan 22, 2001 at 11:31:27AM -, Phil Harris wrote:
> > Has anyone else had trouble adding roles when using 2.3b2 and CVS
versions
> of Zope?
> >
> > There seems to be a consistent bug in
> /lib/python/AccessControl/role.py.
> >
> > The calls to self.manage_access(self,REQUEST) seem to have too many
> arguments, am I right?
> >
> > I 'fixed' my version of the file ut someone with more nouse will need to
> check this out.
> >
> > Would this be better reported in the collector?
>
> Reporting to the Collector is a good idea, especially if you can reproduce
> the problem.
>
> --
> Martijn Pieters
> | Software Engineer  mailto:[EMAIL PROTECTED]
> | Digital Creations  http://www.digicool.com/
> | Creators of Zope   http://www.zope.org/
> -
>
> ___
> 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 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: Tools used for programming Zope

2001-01-22 Thread Phil Harris

Andreas,

see www.webdav.org and the w3 pages on it (www.w3.org) 

Phil

- Original Message - 
From: "Andreas Tille" <[EMAIL PROTECTED]>
Cc: "Zope user list" <[EMAIL PROTECTED]>
Sent: Monday, January 22, 2001 2:25 PM
Subject: [Zope] Re: Tools used for programming Zope


> On Fri, 19 Jan 2001, Steve Spicklemire wrote:
> 
> > 2) When you are 'editing' a Zope object you use 
> > an editor that knows about FTP (e.g., emacs), WebDAV or
> > a web browser.
> Sorry for my ignorance.  I tried using emacs with ange-ftp and it
> works.  But what is WebDAV?  I've read this word first time in this
> thread and don't have the slightest idea what it is.
> 
> Kind regards
> 
>Andreas.
> 
> 
> ___
> 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 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] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Phil Harris



All,
 
Has anyone else had trouble adding roles when using 
2.3b2 and CVS versions of Zope?
 
There seems to be a consistent bug in 
/lib/python/AccessControl/role.py.
 
The calls to self.manage_access(self,REQUEST) seem 
to have too many arguments, am I right?
 
I 'fixed' my version of the file ut someone with 
more nouse will need to check this out.
 
Would this be better reported in the 
collector?
 
Phil
[EMAIL PROTECTED]
 


Re: [Zope] OT: Browsers

2001-01-18 Thread Phil Harris

Chris,

It's worse, Mozilla 0.7 also has some issues, Mozilla 0.6 is probably the
best so far.

I use it as my main browser.

You might also want to check out the Beonex Communicator (based on Mozilla,
but with bug/security fixes) http://www.beonex.com.

hth

Phil

- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Shane Hathaway" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 18, 2001 9:37 AM
Subject: Re: [Zope] OT: Browsers


> Shane Hathaway wrote:
> >
> > But I hope this will soon become a moot point.  Go Mozilla!
>
> Hmmm :-( Mozilla has been even more buggy in my experience...
>
> Anyone know how Netscape 6 (Mozilla in Netscape clothing ;-) does on
stability
> and reliability?
>
> cheers,
>
> Chris
>
> ___
> 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 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] Flat-style

2001-01-17 Thread Phil Harris

CSS

- Original Message - 
From: "Tom Deprez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 17, 2001 4:15 PM
Subject: [Zope] Flat-style


> Not really zope specific, but I hope nobody minds me asking.
> 
> How do you implement flat-looking input boxes? Does somebody knows this?
> 
> Thanks in advance,
> Tom.
> 
> 
> ___
> 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 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] Session

2001-01-16 Thread Phil Harris

Seconded,  the docs are good and the product sems to work 8¬)

- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "peter bengtson" <[EMAIL PROTECTED]>
Cc: "Anderson Ami" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 12:07 PM
Subject: Re: [Zope] Session


> > > I´m using the Happy Session, but I heardy bad things about this
product,
> > > Which one do you think is better ?
> > >
> > > Thanks a lot
> > > Anderson
>
> Anderson,
>
> Why not try Zope's own session product:
> http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking
>
> this will be in the Zope core from 2.3 onwards but is available for
> download now.
> It has great docs, so make sure you read them before posting here ;-)
>
> cheers,
>
> Chris
>
> ___
> 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 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] MySQLDA and images beeing corrupted

2001-01-12 Thread Phil Harris

Change your dtml to:


  
  
  


hth

Phil



- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 12, 2001 12:18 PM
Subject: [Zope] MySQLDA and images beeing corrupted


>
> I am using Zope 2.3a2, and MySQLDA 1.1.3, with one patch installed (it was
> supposed to fix problems with autoincrement fields)
>
> Everything is installed, with no apparent problems.
>
> I would like to store images as BLOBs in a MySQL database (version 3.22)
>
> I am able to store the images in the database, but somehow, along the way,
> they become corrupted, and show up in the browser as a corrupted image.
> I can, howover, recognize some of the features of the original image. The
> top part is mostly intact, and the colours seem right.
>
> The image is retreived from the database like this: method named "image",
> with everything *on one line*.
>
> 
> 
> 
> 
> 
>
> With "hent-bilde" as follows:
>
> select * from bilder
> where
> 
>
> The URL used is: "/image?id=10"
>
>
> The image is stored in the database as follows:
>
>
> insert into bilder
> (bildefil, kilde, kommentar, bildetype)
>
> values (
>
> ,
>
> ,
>,
> 
>);
>
>
>
> Any ideas?
>
> I feel like I am *so* close to making this work!
>
>
> Åsmund Hjulstad
>
>
>
> ___
> 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 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] xmldocument

2001-01-10 Thread Phil Harris

Bak,

I can't help you fix it but I can tell you what the problem is, the file is
too big for Zope to cope with in one transaction so it starts a
sub-transaction and there is a bug in the sub-transactioning engine.

The same thing happens with a normal 'File' type as well.

You should probably check the collector to see if this has been fixed or
even reported.

Phil

- Original Message -
From: "Bak@kedai" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 4:40 AM
Subject: [Zope] xmldocument


> happy new year all
> i can't get xmldocument to work with zope2.2x  i can install the product
ok,
> but can;t add XML Document.
>
> i got attribute error.  any insight into the error is appreciated.
>
> can anybody suggest ways of rendering xml documents in zope?
>
> thanks
>
> --8<
> AttributeError
>
>   Sorry, a Zope error occurred.
> 
>
> --
>
> http://www.kedai.com.my/kk
> http://www.kedai.com.my/eZine
>
> We don't need no, no, no, no, no parental guidance here!
>
>
> ___
> 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 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] xmldocument

2001-01-10 Thread Phil Harris

Chris,

This occurs using the bog-standard ZODB as well, nothing to do with any
other storage facility.

Phil
- Original Message -
From: "Chris McDonough" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 9:27 AM
Subject: Re: [Zope] xmldocument


> Relational database adapters (like ZOracleDA, etc.) are currently not
> compatible with subtransactions.  I worked around this for a customer by
> adding dummy commit_sub and abort_sub methods to the database adapter's DB
> class, e.g.
>
> def commit_sub(*arg, **kw): pass
> def abort_sub(*arg, **kw): pass
>
>
> - Original Message -
> From: "Phil Harris" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, January 10, 2001 3:56 AM
> Subject: Re: [Zope] xmldocument
>
>
> > Bak,
> >
> > I can't help you fix it but I can tell you what the problem is, the file
> is
> > too big for Zope to cope with in one transaction so it starts a
> > sub-transaction and there is a bug in the sub-transactioning engine.
> >
> > The same thing happens with a normal 'File' type as well.
> >
> > You should probably check the collector to see if this has been fixed or
> > even reported.
> >
> > Phil
> >
> > - Original Message -
> > From: "Bak@kedai" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, January 10, 2001 4:40 AM
> > Subject: [Zope] xmldocument
> >
> >
> > > happy new year all
> > > i can't get xmldocument to work with zope2.2x  i can install the
product
> > ok,
> > > but can;t add XML Document.
> > >
> > > i got attribute error.  any insight into the error is appreciated.
> > >
> > > can anybody suggest ways of rendering xml documents in zope?
> > >
> > > thanks
> > >
> > > --8<
> > > AttributeError
> > >
> > >   Sorry, a Zope error occurred.
> > > 
> > >
> > > --
> > >
> > > http://www.kedai.com.my/kk
> > > http://www.kedai.com.my/eZine
> > >
> > > We don't need no, no, no, no, no parental guidance here!
> > >
> > >
> > > ___
> > > 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 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 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: Versions

2001-01-08 Thread Phil Harris

Andy,

Follow the instructions as J said and you won't go far wrong, *but* be aware
that if you have any external methods these are not exactly subject to the
versioning.

The problem happens when you restart Zope and the new code is read into both
the versioned and original 'External Method'.

Phil
[EMAIL PROTECTED]

- Original Message -
From: "J. Atwood" <[EMAIL PROTECTED]>
To: "Andy Gates" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 08, 2001 1:10 PM
Subject: Re: [Zope] NEWBIE: Versions


> At 12:43 PM + 1/8/2001, Andy Gates wrote:
> >Hi folks,
> >'Tis time, think I, to use versioning: keep the live site running and
> >work on a version with all changes, let the droids assess it, and then
> >roll it live in one chunk.
>
> Congrats on getting a Zope site up and running (and working with
> marketing at all).
>
> Version is very simple. On the top root level add a version from the
> drop down and give it a name. I usually give it a capital name or
> start it with a number so it will float to the top of the list. Then
> go into it (click on it) and click on the "Start working in "
> button. This will put you into the version and anything you do will
> not be seen by anyone outside of the version. You can browse your
> sites, see the updates etc. When you are done with the changes and
> everything works just go back into the version, Leave it and click on
> the "save/discard" tab. At this point if you save your changes they
> go live, if you discard they are lost. If you drop a note in there
> you will see it in your undo log.
>
> Some notes:
> - You can have more than one version going but they cannot be working
> on the same item
> - A lot of people can join a version to work in it or view it
> - Try to make the name of your version match what you are doing and
> don't let changes sit in it too long or you will forget what you did
>
> Enjoy,
> J
>
> ___
> 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 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] WIN2k batch problem

2001-01-04 Thread Phil Harris

The only thing I could think of is that the output is getting piped to more
or similar!?

Phil

- Original Message -
From: "Robin Becker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 12:54 PM
Subject: [Zope] WIN2k batch problem


> I'm trying to run Zope 2.2.2 under win2000 in a batch file. I'm just
> watching error messages and prints. I find that when zope has written a
> page to the cmd.exe window it locks further prints from python until I
> hit a key in the window and then it releases another page full. Is there
> a Win NT/2K guru who knows about such things and how to prevent this?
> --
> Robin Becker
>
> ___
> 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 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] ZBabel translation to Postgres

2001-01-04 Thread Phil Harris

Olaf,

The left join is a notation that says to get all records from the left hand
side of the join and only those records where the criteria matches from the
right hand side.

It is btw a part of most RDBMS engines I've ever used, so it's not that
unusual a syntax.

You can also do something similar by using unions.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Olaf Zanger" <[EMAIL PROTECTED]>
To: "Zope Mailinglist" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 9:50 AM
Subject: [Zope] ZBabel translation to Postgres


> Hi there,
>
> i'm using ZPyGreSQL successfully for my database. To keep it simple i
> don't want to use MySQL for ZBabel.
>
> ZBabel though uses some MySQL specific syntax which i am unsuccessfully
> translating to PostgreSQL syntax:
> Description "md5Hash" are the same fore entries with different "lang"
> fields. They are used to translate depending on selected language.
>
> SELECT
> Phrases.*
>
> FROM
> Phrases
>
> LEFT JOIN
> Phrases as b
>
> ON
> Phrases.md5Hash = b.md5Hash AND Phrases.lang <> b.lang
>
> WHERE
> b.md5Hash is NULL AND Phrases.lang=
>
> What does the whole thing do anyway?
> How can you join "Phrases.md5Hash = b.mdf5Hash", while "md5Hash is
> NULL"?
> What is different in the LEFT JOIN ... ON ... statement to a normal
> WHERE clause?
> My try for translation to PostgreSQL (which I assume is completely
> ignorant):
>
> SELECT
> Phrases.*
>
> FROM
> Phrases as b
>
> WHERE
> Phrases.md5Hash *= b.md5Hash AND Phrases.lang <> b.lang AND
>
> b.md5Hash is NULL AND Phrases.lang=
>
>
> Has anybody ported ZBabel already?
> Thanks for help
>
> Olaf
>
> --
> soli-con Engineering Zanger
> Dipl.-Ing. (FH) Olaf Marc Zanger
> Lorrainestrasse 23
> 3013 Bern / Switzerland
> Fon: +41-31-332 9782
> Mob: +41-76-572 9782
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> http://www.soli-con.com


___
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] Core Session Tracking kudos & namespaces

2001-01-04 Thread Phil Harris

- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Chris McDonough" <[EMAIL PROTECTED]>
Cc: "Dieter Maurer" <[EMAIL PROTECTED]>; "Bob Sidebotham"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 9:57 AM
Subject: Re: [Zope] Core Session Tracking kudos & namespaces


> Chris McDonough wrote:
> >
> > So the question becomes: do we want DTML namespace lookup magic or no
DTML
> > namespace lookup magic for names that we attempt to look up in a session
> > data object?  I don't know the answer.  I'm so sick of magic at this
point
> > that I'm apt to vote "no", but if it affords us some provable real-world
> > benefits, I could change this vote.  If someone would be kind enough to
give
> > me an example where having DTML namespace lookup magic for names out of
a
> > session data object would be very useful, I'd consider it carefully.
>
> Well, if you want to get something from the session, but it might not be
> there and you want to fall back to somethign that was submitted on the
> form or, more likely, is a property of some other object and hence
> acquirable.

seconded.  This would come in most handy right now for me.

>
> Of course, the best solution would be for the 'magic' lookup to be
> optional...

That'd also be cool.

>
> cheers,
>
> Chris
>
> ___
> 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 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] Advice on searching/indexing Word documents?

2001-01-02 Thread Phil Harris

Alex,

If your running Zope on Win32 you could use COM to snatch the text fairly 
easily and quickly.

The COM interface to Word is well documented in the help files (if they're 
not installed, you'll find them on the CD).

I used this technique to create XML from Word in the past and it works (was 
too slow for my needs tho, YMMV)

hth

Phil
[EMAIL PROTECTED]

On Tue, 02 Jan 2001, Bowyer, Alex wrote:
> Our company has a repository of staff CVs (Resumes) as Word Documents and I
> am about to embark on creating a new feature for our Zope Intranet to allow
> project managers to search those documents for keywords such as particular
> skills or projects.
>
> I am thinking about several possibilities such as a skills/CVs database
> linked in via ODBC, or some task that converts the Word documents to text
> files which can then be searched by Zope (I think Zope can do this, and I
> assume it can't search Word format directly?).
>
> Has anyone ever approached a similar problem, does anyone have any tips on
> how to index/search a load of documents in Zope?
>
> Any tips/suggestions/comments would be most welcome.
>
> Thanks,
>
> Alex
>
> ==
> Alex Bowyer
> IT Consultant, Logica Australasia
> Tel: +61 2 9202 8130
> Fax: +61 2 9922 7466
> E-mail : [EMAIL PROTECTED]
> WWW: http://www.logica.com.au/
> ==
>
> ___
> 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 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] Closer But No Cigar

2000-12-24 Thread Phil Harris

Ben,

Check the permissions on the var folder, it needs to be writable by the user
that starts Zope.

This being said if you start Zope as root then the user changes to nobody,
so var needs to be writable by nobody.

something like chmod -R nobody:nobody var works for me.
- Original Message -
From: "Ben Ocean" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 23, 2000 9:50 PM
Subject: [Zope] Closer But No Cigar


> Hi;
> Well, I've finally got python-1.5.2 installed and running and Zope
> re-installed from the source code to the point where it gives me the good
> 'ol *Done!* line, but when I type
> ./start &
> it chokes. Here's the print-out:
>
> thor:/apache/vhosts/Zope-2.2.4-src# ./start &
> [1] 4983
> thor:/apache/vhosts/Zope-2.2.4-src# --
> 2000-12-23T21:44:24 PROBLEM(100) ZServer Computing default hostname
> --
> 2000-12-23T21:44:24 INFO(0) ZServer Medusa (V1.16.4.3) started at Sat Dec
23
> 13:44:24 2000
> Hostname: thor.galaxynet.com
> Port:8080
>
> --
> 2000-12-23T21:44:24 INFO(0) ZServer FTP server started at Sat Dec 23
> 13:44:24 2000
> Authorizer:None
> Hostname: thor.galaxynet.com
> Port: 8021
> --
> 2000-12-23T21:44:24 INFO(0) ZServer Monitor Server (V1.8.4.1) started on
> port 8099
> Traceback (innermost last):
>   File "/apache/vhosts/Zope-2.2.4-src/z2.py", line 710, in ?
> pf = open(PID_FILE, 'w')
> IOError: [Errno 13] Permission denied:
> '/apache/vhosts/Zope-2.2.4-src/var/Z2.pid'
>
> What am I missing?
> TIA,
> BenO
>
>
> ___
> 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 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] mySQL DA on Win32

2000-12-14 Thread Phil Harris

Lee,

Have you read the MySQL on Win32 howto?

btw,  give my regards to Duncan. 

Phil
[EMAIL PROTECTED]

- Original Message - 
From: "Lee Reilly CS1997" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 14, 2000 2:46 PM
Subject: [Zope] mySQL DA on Win32


> Hi,
> 
> Zope is currently being installed on the Unix machines at my uni but it
> won't be available for a while. However, I have set up a mySQL database
> in the Dept. and installed Zope on a Dept. machine (Windows 95). I can
> only access the database from uni so I must have a database adpater
> setup on this machine.
> 
> I have seen the mySQL DA on Zope.org but I understand that it "does not
> support win32 platforms at this time". I need database access ASAP so
> can anyone offer any advice?
> 
> Thanks very much,
> 
> Lee
> 
> ___
> 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 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] Relocating installed zope -- was LoginManager broken?

2000-12-12 Thread Phil Harris

Oliver,

I haven't been following this thread, but here's how I do it.

It's quite simple.

1.Copy the folder with Zope in.
2.edit z2.py to change all references to the old folder to the new
folder.
3.edit the start script in the same way.

That should be it.

hth
Phil

- Original Message -
From: "Oliver Bleutgen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 12, 2000 9:16 AM
Subject: RE: [Zope] Relocating installed zope -- was LoginManager broken?


> >>Btw. can anybody tell me if and how it's possible to relocate
> >>an installed Zope?
>
> > Hmm... perhaps I am not understanding what exactly you mean, but a
thought
> > might be to use tar (on a UNIX system at least) to preserve your setup.
> > Assuming you are using ZServer, Try shutting down Zope with ./stop, then
> > do
>
> Sorry if I wasn't clear. I wanted to make a functional copy of an existing
> zope installation. I wanted to "clone" a zope in order to be able
> to do an installation of some more "dangerous" products/patches and
> later on just change my apache/proxy pass to point to the new zope.
> I know the techniques w.r.t. shell commands etc.
>
> But very wired things happened with the new zope
> (old paths showed up in tracebacks etc.), although I had changed
> all installation paths...
>
>
> cheer
>
>
> ___
> 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 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] LoginManager broken?

2000-12-12 Thread Phil Harris

Phil,

Something that bit me when using the howto you referenced.

When creating the methods, as soon as the authenticate method is created the
LoginManager starts using it, but since the other methods don't yet exist it
starts generating errors with the result that you are locked out of the
LoginManager and any folders secured by it.

My solution was to create all the methods needed but with bogus names, such
as by sticking an x as the first character of each.

This way you can test each in isolation and when satisfied that they are
correct, rename them all in one fell swoop.

Ipso facto, presto magico you have a working LoginManager.

I've tried this procedure on 2.2.x with various versions of
LoginManager/ZPatterns and it's worked every time.  The latest Zope I've
used it with is 2.2.4.

hth

Phil
[EMAIL PROTECTED]


- Original Message -
From: "Mayers, Philip J" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 11, 2000 8:34 PM
Subject: RE: [Zope] LoginManager broken?


> Thanks, I'll take a look.
>
> Re: LoginManager - After a fast turnaround (confirming my ample faith in
> Open Source software) Magnus Heino pointed me in the right direction - the
> dtml methods and SQL objects need to be inside the UserSource folder,
*not*
> the LoginManager folder as the Howto implies (or maybe I just can't
> read...). Can someone confirm that the SQL methods need to be inside the
> UserSource folder? (which is mildly annoying, but there we go...)
>
> I'm still having some problems getting multiple roles working, but it's
> behaving itself for now. Now all I have to do is solve my LIMIT problem...
>
> Regards,
> Phil
>
> +--+
> | Phil Mayers, Network Support |
> | Centre for Computing Services|
> | Imperial College |
> +--+
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: 11 December 2000 20:18
> To: Mayers, Philip J
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [Zope] LoginManager broken?
>
>
> You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a
> different approach that works for me in early testing.  Note that it
> needs additional work before being turned loose on a live site.
>
> Dan Pierson
>
> "Mayers, Philip J" <[EMAIL PROTECTED]> writes:
>
> > Does it even *work*? Even a little bit? Because other than repeating the
> > same process 12 damn times, so far I'm not convinced. Maybe I'll look in
> the
> > source code to see if there's actually anything in the files (other than
a
> > HOWTO.txt, which is empty, which BTW is more annoying than there not
being
> > one).
> >
> > The "LoginManager with SQL database" on the Zope site seems to end up
with
> > me having a folder I can't access through the management interface
(unless
> > you count "management" as "this is the index_html" document) Wow,
thanks!
> > Now I have to delete it and start all over again...
> >
> > In all seriousness - there *must* be one person who has gotten an
> SQL-backed
> > LoginManger working with 2.2.4 - surely?
> >
> > Thanks for all the great work (little bugs aside...) - Zope is a
wonderful
> > product! Now if only it could serve XML as well as Cocoon...
> >
> > Regards,
> > Phil
> >
> > +--+
> > | Phil Mayers, Network Support |
> > | Centre for Computing Services|
> > | Imperial College |
> > +--+
> >
> > ___
> > 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 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 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] Microsoft IIS 4.0 and Zope

2000-12-08 Thread Phil Harris

That's exactly what I do, use Apache and ProxyPass to provide a unified
URLspacebetween IIS and Zope.

Works well!

- Original Message -
From: "Petter Enholm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 3:17 PM
Subject: Re: [Zope] Microsoft IIS 4.0 and Zope


> The easiest thing to do (for me now) is to add Apache as front-end
> web-server for both IIS and Zope. The access to documentation, well tested
> and documented rules for rewriting, lots of HOW-TO's, mailing lists etc
> makes this a good choice  - open source rules!
>
> Any comments on running Apache as front-end for IIS 4.0 and Zope? I would
> gladly throw out the IIS server, but my customers has software that relies
> on this server.
>
> Best regards
> Petter Enholm
>
> - Original Message -
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, December 08, 2000 4:05 PM
> Subject: RE: [Zope] Microsoft IIS 4.0 and Zope
>
>
> > Hi Petter,
> >
> > I have the same problem.  Could you tell me if you find a way?  I
> > hope someone on this list have an answer!
> >
> >
> >
> > -Message d'origine-
> > De : Petter Enholm [mailto:[EMAIL PROTECTED]]
> > Envoyé : vendredi 8 décembre 2000 07:53
> > À : [EMAIL PROTECTED]
> > Objet : [Zope] Microsoft IIS 4.0 and Zope
> >
> >
> > Hi,
> >
> > This may be more of a Microsoft IIS questions than Zope question, but I
> give
> > it a shot!
> >
> > I have installed Zope (on port 8080) on a Windows NT 4.0 server with IIS
> > 4.0, followed to Howto that explains how to set up PCGI with IIS, and
all
> > works very well. I can access Zope through
> > http://localhost/scripts/zope.pcgi
> >
> > Next step: I want to access the Zope site through a given DNS name, f
eks
> > www.mydomain.com. How can I do this with IIS 4.0? I find no way to
> redirect
> > a virtual host and at the same time rewrite the URL so that the user
gets
> > http://www.mydomain.com in the browser, not .../scripts/zope.pcgi.
> >
> > Anybody out there with knowledge on this issue?
> >
> > Best regards
> >
> > Petter Enholm
> > Snapper as
> >
> >
> > ___
> > 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 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 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] Large XML files

2000-12-05 Thread Phil Harris

Paul,

The XMLDocument type is rather 'expensive' and you may be able to 'get away'
with using a simpler type such as DTMLDocument.

If you don't need the DOMification of your XML when you put it into Zope
this is something i'd look at..

I have done this with large documents and then used an external method to
process them with XSLT, XPath etc.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 10:01 PM
Subject: [Zope] Large XML files


> I am testing the possibilities of delivering the content of  XML Documents
> through the Zope environment.  Unfortunately, some of the proposed file
are
> rather large (up to 760KB) and just uploading them and viewing them on our
> current Zope server is prohibitively slow.  Our server, running Z2 is a
> blazing P133 running NT 4.0 with 32 MB of RAM (I get the bottom feeders).
> Is the bottleneck the hardware; is there something I can do software-wise
> to improve performance; or is development not yet advanced enough to
handle
> this scenario efficiently? Any opinions on this?
>
> Thanks,
>
> P. Johnson
>
>
>
> ___
> 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 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 Beginner

2000-12-05 Thread Phil Harris

Mark,

Here's the line from my Zope start script, it may help:

"D:\zope\bin\python.exe" "D:\zope\z2.py" -X -w20080 -f20021 %1 %2 %3 %4 %5
%6 %7 %8 %9

This line turns off 'debugging' mode (note the absence of -D), it also shuts
down all servers by default (-X), then explicitly starts http on port 20080
(-w20080) and ftp on 20021 (-f20021).

You should also look at the docstrings in /z2.py for more options.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Mark A. Pappas" <[EMAIL PROTECTED]>
To: "Zope User Maillist" <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 9:56 PM
Subject: [Zope] Zope Beginner


> Hi All,
> I'm new to Zope. Just installed it a few minutes ago. Everything installed
> fine. Logged in
>
> http://localhost:8080/manage
>
> worked great. I'm trying to figure out the web server portion of zope. I
was
> reading the docs the chart that talks about ZServer Command Line Switches.
> It tells me the default port is 8080. To change that do a
>
> -w 80
>
> after the -D. In the start.bat. I tried all kinds of things and never was
> able to get zope up on port 80 as a web server (www.whatever.com_ or
> XXX.XXX.XXX.XXX). What am I missing?
>
> Thanks
> Mark A. Pappas
>
>
> Ashecca Communications, Inc.
> 1550 Creighton, Rd.
> Suite 6
> Pensacola, FL 32504
>
> Phone: (850) 474-4027
> Fax: (850) 474-3647
>
>
> ___
> 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 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 in HTML-Kit? Sussed it!

2000-12-05 Thread Phil Harris

Jason,

Working on the HTML-Kit plugin as we speak. ;)

Phil

- Original Message -
From: "Jason Cunliffe" <[EMAIL PROTECTED]>
To: "Paul Browning" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 3:05 PM
Subject: Re: [Zope] FTP in HTML-Kit? Sussed it!


> Paul
>
> Thanks for your notes, especially the  "open as text" tip.
>
> Very fast and easy.
> HTML-Kit Preview is very useful too for changing forms in Zope.
>
> Now if only someone would create an HTML-Kit library Zope extension
complete
> with all essential DTML and pythonisms for auto tag completion
>
> - Jason
> ___
> Jason CUNLIFFE = NOMADICS['Interactive Art and Technology']
>
> - Original Message -
> From: Paul Browning <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 05, 2000 8:04 AM
> Subject: RE: [Zope] FTP in HTML-Kit? Sussed it!
>
> > 1. Go Workspace -> Add FTP Server/Folder -> Add FTP Server.
> >Do the obvious (all familiar to Homesite users).
> >A blue coloured ftp source will appear in the File pane
> >on the RHS. Expand/collapse trees to navigate to the
> >file you want to open.
> >
> > 2. Right-click and "Open As Text". Haven't yet fathomed
> >the significance of this as opposed to other options.
> >What I do know is that "Save" then does the business -
> >saves it back to your FTP source.
>
>
>
>
> ___
> 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 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] Problems with list?

2000-12-05 Thread Phil Harris

Maybe?!?!?

- Original Message - 
From: "Tony McDonald" <[EMAIL PROTECTED]>
To: "Zope List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 05, 2000 10:43 AM
Subject: [Zope] Problems with list?


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

2000-12-04 Thread Phil Harris

Depending on the number of records in the tables this could get *very* slow
*very* quickly.

Surely the ideal would be to move/copy the tables into the same DB.

Phil

- Original Message -
From: "Chris Gray" <[EMAIL PROTECTED]>
To: "Tom Deprez" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 04, 2000 3:21 PM
Subject: Re: [Zope] ZSQLMethods


> Try something like:
>
> 
>   
>  
> display parts of the two records
>  
>   
> 
>
> This keeps it to two db queries and the join work is done by Zope.
>
> Chris
>
> On Mon, 4 Dec 2000, Tom Deprez wrote:
>
> > Hi Chris,
> >
> > Thanks, is this code still efficient if the tables relate to 1:1 and you
> > need to show a list of all records in a tabulare table?
> >
> > eg key, NAME, ALIAS, 
> >
> > where NAME is from database1 and ALIAS is from database2
> >
> > The code below would impact that for every record in database1, I've to
> > query database2
> > Is there another way to do this? (more efficient?, ie less database
query)
> >
> > Tom.
> >
> > - Original Message -
> > From: "Chris Gray" <[EMAIL PROTECTED]>
> > To: "Tom Deprez" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Monday, December 04, 2000 3:45 PM
> > Subject: Re: [Zope] ZSQLMethods
> >
> >
> > > You want something along these lines:
> > >
> > > 
> > >
> > >   display record
> > >
> > > 
> > >
> > > This would be more efficient than pulling out the whole of two tables.
> > >
> > > Chris
> > >
> > > On Mon, 4 Dec 2000, Tom Deprez wrote:
> > >
> > > > Hi,
> > > >
> > > > I'm wondering how the following can be done.
> > > >
> > > > I've 2 databases. I want to do a 'join' with 2 tables, both in a
> > different
> > > > database.
> > > > Is it possible to retrieve data of both tables with a ZSQLMethod and
> > then
> > > > do a programatically join? What's the easiest python way?
> > > >
> > > > Thanks, Tom.
> > > >
> > > > ___
> > > > 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 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 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 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] dynpersist.dll for ZPatterns

2000-12-04 Thread Phil Harris

Ot,

what version do you need?

- Original Message -
From: "Ot Ratsaphong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 04, 2000 4:50 AM
Subject: [Zope] dynpersist.dll for ZPatterns


> Hi,
>
> I am new to Zope (<1 week old) and have installed Zope 2.2.4 on my Win98
PC.
>
> I am interested in learning about the Object-Oriented capabilities of Zope
> and am interested in installing ZPatterns. Unfortunately I do not have
MSVC
> 6.0 installed on my PC 8^(. Subsequently I cannot built dynpersist.dll.
>
> I am wondering whether someone could help me out and send me a copy of the
> above dll. I have installed Zope 2.2.4 in C:\Zope.
>
> I would much appreciate any assistance in this matter.
>
> Thanks in Advance
> Ot Ratsaphong
> Canberra, Australia
>
>
>
> ___
> 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 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] Running Zope

2000-12-03 Thread Phil Harris

Norm,

Calm down, take a deep breath, right that's better.

The behaviour you see is again quite normal.

The decision has been made that the superuser cannot own anything, apart
from user objects and user folder type objects.

So the first thing you need to do is to create another user that has
management rights then use that user for all the tutorial work.

This is mentioned in the docs somewhere, but it escapes me at the moment as
to where that is.

This should be your final major hurdle, and you'll be serving zope pages in
no time ;)

I would urge you to take a look at the upcoming Zope book, which is
available from the front page of Zope.org.

hth

Phil
[EMAIL PROTECTED]


- Original Message -
From: "Norm LaDuke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, December 03, 2000 1:17 AM
Subject: [Zope] Running Zope


| Can anyone out there tell me why anyone would use a product whose tutorial
won't
| even run.  You guys are either INFINITELY more patient than I or you all
have
| WAY too much time on your hands.  I'm about 7 hours into this thing and we
do
| finally have zope up and running but of course the tutorial doesn't work.
| Requires you to put in an ID then blows up and goes no further.What a
piece
| of garbage  (Does my frustration show??)
|
|
| ___
| 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 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] Installation and Startup

2000-12-02 Thread Phil Harris

Norm,

This is the right place to ask such questions so ask whatever you like.

First off the docs are talking about Windows NT/2K as Zope won't run as a
service on W95/98.

If there is ever a problem starting Zope it will print a traceback, if you
can send that to the list we'll get this problem solved asap.

If your running start.bat from Explorer then you'll probably find the
traceback disappears too quick to see.

You'll need to run it from a command prompt.

Since the batch file is called start.bat you can't run it by typing just
'start' you have to put '.\start' instead,  as start is a 'reserved' word in
W95/98/NT/2K.

Try it from the command prompt, and if it still fails, send the traceback
and we'll get it fixed for you.

hth


- Original Message -
From: "Norm LaDuke" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 02, 2000 9:52 PM
Subject: [Zope] Installation and Startup


| I have installed Zope on a 300Mhz K6 machine with 92 Megs of RAM running
Windows
| 98. It seemed to install ok except that it didn't ask if I wanted to run
as a
| service (as the documentation said it would). As a result I had to start
zope
| with start.bat. It doesn't run. Who in the world can I talk to about this.
I'd
| love to use the product but it's not much use to me if there's no one I
can
| communicate with about problems - particularly problems like "It doesn't
run!".
|
|   Can anyone suggest a place for me to go or a way to get
answers?
|
|
|
| ___
| 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 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] Status of HiperDom, again ;-) (Re: [Zope] Presentation & Object Model)

2000-12-01 Thread Phil Harris

- Original Message -
From: "Lalo Martins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 01, 2000 6:37 PM
Subject: Re: [Zope] Status of HiperDom, again ;-) (Re: [Zope] Presentation &
Object Model)


| On Fri, Dec 01, 2000 at 04:08:06PM +0100, Martijn Pieters wrote:
| > On Thu, Nov 30, 2000 at 03:00:47PM -0200, Lalo Martins wrote:
| > > The only thing that *can* happen before that, if I feel like it
| > > and have a free weekend, is a version of HiperDom based on 4DOM
| > > instead of the old xml-sig code. Version 1.0 definitely *will*
| > > be based on 4DOM, as that is the official DOM now for both Zope
| > > and Python, so I'd like to tackle that ASAP, but I don't think
| > > that will be possible as soon as I'd like it.
| >
| > Note that the 4DOM DOM is *not* the official Zope DOM to be used; it is
| > deemed (amongst other reasons) to be too heavy for Zope use.
|
| No? I thought there was a 4thought/DC partnership in this
| direction.


Not any more it seems, a message on the Zope-xml list from Chimezie Ogbuji
says that the two (DC and 4Thoght) have parted way due to 'strategic'
differences :(

Oh well back to doing my own xslt document thingy.

Phil


___
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] Finding PARENTS in an external method.

2000-11-30 Thread Phil Harris

Max,

Try self.REQUEST.PARENTS[-1].

Phil
- Original Message - 
From: "Max M" <[EMAIL PROTECTED]>
To: "Zope@Zope. Org" <[EMAIL PROTECTED]>
Sent: Thursday, November 30, 2000 10:50 PM
Subject: [Zope] Finding PARENTS in an external method.


| I have an external Method. How do I call PARENTS[-1] from it?
| in dtml it would be: 
| 
| I have tried something like:
| self.PARENTS[-1].objectValues('Folder')
| 
| I have also checked if PARENTS get passed to the method like:
| myMethod(self, PARENTS=None):
| 
| To get a list of the root's Folder's, but no luck.
| 
| Regards Max M
| 
| Max M. W. Rasmussen,Denmark.   New Media Director
| private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
| -
| Specialization is for insects.  -  Robert A. Heinlein
| 
| ___
| 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 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!!

2000-11-29 Thread Phil Harris

Ot,

I've seen this myself.

Are you using IE5.5?

It seems that on occasion when you have active desktop and outlook express
running that win98/2K remembers the authentication details between instances
of IE5.5.

Realising that Outlook Express uses IE to display mail and active desktop is
also based on IE then this starts to make some sense.

It's only happened to me when using W2K but it definitely happened and made
me doubt my sanity for a while ;)

I reinstalled the machine and downgraded to IE5 to get rid of the problem.

One ray of hope though is that IE5.5sp1 seems to cure the problem, at least
for me.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Ot Ratsaphong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 29, 2000 3:16 AM
Subject: [Zope] Help!!


> Hi,
> I'm new to Zope and have just installed Zope on a Win98 PC.
>
> I'm trying to install squishdot and TinyTable, but Zope tells me that
> superuser has no permission to install the above products.
>
> I have created another user called 'admin' with Manager priviledges but I
> don't know how to logout of superuser and login as 'admin'.
>
> I have tried shutting down Zope and closed off internet explorer and
> restarting again but I still get into superuser.
>
> If I need to login as a non superuser, how do I do this?
>
> I have looked for all relevant documentation but can't find anything on
> this.
>
> Your help would be appreciated.
>
> TIA
> Ot Ratsaphong
> Canberra, Australia
>
>
> ___
> 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 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] html expertise anyone.

2000-11-28 Thread Phil Harris

Robin,

My educated guess is that what you want can't be achieved other than with
css.

The  tag has no properties for changing colors of one particular link.

The  tag is the only place for this and as you know this changes them
globally.

This taken from the HTML reference Library:



>From the horses mouth so to speak :(.

If I needed to do this I'd use css in some way.

Phil

- Original Message -
From: "Robin Becker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 28, 2000 11:22 PM
Subject: Re: [Zope] html expertise anyone.


| In article <009c01c05961$a584d6a0$ae03a8c0@fork>, Andy McKay
| <[EMAIL PROTECTED]> writes
| >I think this is a css question and not related to DTML. Go to
| >http://freezope.nipltd.net/dna and you will see a simple style sheet that
| >shows use of active and visited links.
| >--
| ...
| yes I know how to set up style sheets; what I want is to be able to use
| inline definitions for the :link, :active, :visited (:hover) colours. I
| just don't know the correct incantation.
| --
| Robin Becker
|
| ___
| 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 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: Redirect from Python?

2000-11-27 Thread Phil Harris

You need to be careful when redirecting from an external Python wotsit.

RESPONSE.redirect raises an exception which can make the transaction get
rolled back.

This seems not to happen when called from dtml but I've seen it happen from
an external Python wotsit.

Note:

My use of wotsit above in no way has a bearing on the new name for the
Python Methods/ZMethods/Script or whatever the hell they are called now. ;)

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Paul Winkler" <[EMAIL PROTECTED]>
To: "Zope mailing list" <[EMAIL PROTECTED]>
Sent: Monday, November 27, 2000 6:26 PM
Subject: [Zope] newbie question: Redirect from Python?


| I want the user to be sent to a particular URL after calling the
| product's manage_add method. How can I do that?
| The URL I want is REQUEST['URL3'].
|
| I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
| RESPONSE doesn't seem to exist here.
|
|
| --
| .paul winkler..
| slinkP arts:   music, sound, illustration, design, etc.
|web page:  http://www.slinkp.com
|   A member of ARMS:   http://www.reacharms.com
|
| ___
| 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 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 to get authentiedcated user name in pythong method?

2000-11-22 Thread Phil Harris

self.REQUEST.AUTHENTICATED_USER.getUserName()


- Original Message -
From: "Dirksen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 23, 2000 1:33 AM
Subject: [Zope] How to get authentiedcated user name in pythong method?


| How can I do that just as  in
dtml? I don't
| want to pass AUTHENTICATED_user as a parameter. A hint please.
|
| cheers
| Dirksen
|
| __
| Do You Yahoo!?
| Yahoo! Shopping - Thousands of Stores. Millions of Products.
| http://shopping.yahoo.com/
|
| ___
| 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 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] External Methods

2000-11-22 Thread Phil Harris

Wouldn't it be better to pass in self?

As in:

def my_method(self,REQUEST=None):
  '''my_method interpreting *REQUEST*.form.'''
  if REQUEST is None:
REQUEST=self.REQUEST # safety_valve in case you forget to pass in
REQUEST
  form= REQUEST.form # this is a dictionary containing form
 # variables and associated values


- Original Message -
From: "Dieter Maurer" <[EMAIL PROTECTED]>
To: "Kini Natekar" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 8:43 PM
Subject: Re: [Zope] External Methods


| Kini Natekar writes:
|  >I have got a html form which accepts an input from
|  > the user. This input has to be passed to a Python
|  > script, as a parameter, which is added as an external
|  > method in zope.
|  >Is there any way to do this ?
| Your method:
|
| def my_method(REQUEST):
|   '''my_method interpreting *REQUEST*.form.'''
|   form= REQUEST.form # this is a dictionary containing form
|  # variables and associated values
|   .
|
|
| If you like, you can directly use it as form action.
| But probably, you will wrap it into a DTML method:
|
| DTML wrapper:
|
|   .
|   
|   .
|
|
| Dieter
|
|
| ___
| 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 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] Multiple ZODBC sources

2000-11-22 Thread Phil Harris

Link the SQL table into Access and then use both from Zodbcda connected to
Access.

hth

Phil
- Original Message -
From: "Capesius, Alan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 3:56 PM
Subject: [Zope] Multiple ZODBC sources


> I need to join tables from two ODBC sources, one MS Access one SQL.
>
> ZODBC DA seems to be limited to one data source at a time. Is there any
way
> to join tables from two different sources?
>
>
> Alan Capesius, MCSE+20
> Technical Support Engineer
> Sysmex Corporation of America
> [EMAIL PROTECTED]
>
> ___
> 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 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] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Phil Harris

In reality changing the dbms shouldn't cause too many problems (I'd give it
a day to get the conversion done myself).

Try MySQL or Interbase as they work fine on Win32 (which if I remember
correctly is what you use?)

Phil
- Original Message -
From: "subrahmanyan kalathur" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>; "Chris Withers"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 11:36 AM
Subject: Re: [Zope] is it possible to see whether any user is using a
perticular zope object


> No,
> I haven't used any other DBMS.
> I have almost finished working in this gadfly.
> So I can't change now.
> Because there is no time to change it now.
> So please give me the solution.
> thanks
>
> yours,
>
> K.H.Subrahmanyan
>
> ( [EMAIL PROTECTED] )


___
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] is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Phil Harris

Have you tried using any other dbms to alleviate the problem.

- Original Message -
From: "subrahmanyan kalathur" <[EMAIL PROTECTED]>
To: "Chris Withers" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 11:03 AM
Subject: Re: [Zope] is it possible to see whether any user is using a
perticular zope object


> hi
>   I am n using gadfly database.
> This is not the problem of ZSQL method.(I think)
> Because when only one user is working there won't be any problem.
>  It seems like when more than one users access the same table it gives the
> error message.
> That is why when more than one users try to access the same DTML method
> only one will be able to continue , others will get the error message.
>
> thanks
>
> yours,
>
> K.H.Subrahmanyan
>
> ( [EMAIL PROTECTED] )
>
>
> ___
> 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 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] Question about security

2000-11-22 Thread Phil Harris

You need to use the same method as you would to create a user, manage_users.

If you look at the Zope Quick Reference you will see that it can take  a
parameter called submit which can be 'Add...','Add', 'Edit' or 'Change'.

If you use the 'Change' variant you can change the password as you require.

Take a look in /lib/python/AccessControl/User.py and then take a
look at the manage_users method in the BasicUserFolder class.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Harris Peter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 22, 2000 9:25 AM
Subject: Re: [Zope] Question about security


> Dieter wrote:
>
> >Joaldo Junior writes:
>  >> Does anyone can inform if is there any kind of function,
>  >> which a common user can change your password by the same way a
superuser
> can
>  >> do in ACL_User?
> >Look at the built-in Zope API reference: User object.
> >The User object has methods to read and change the information
> >associated with a user.
>
> >These methods are (of cause) protected such that only
> >users with high priviledges can execute them.
> >You will need to set a proxy role for the DTML object
> >that calls them, in order to allow less priviledged users
> >to call them.
>
> >Dieter
>
> I'm sorry, I must be missing something.
>
> The API reference I have doesn't contain any such thing. Neither does the
> Zope book, before anyone else suggests that. The DTML on zope.org uses
> a method that isn't recognised by the standard User Folder, so no help
> there.
>
> If ANYONE has EVER successfully implemented a way for users to
> change their own passwords using standard 2.2 Zope then *please* -
> post your source code here or put a HOWTO on zope.org!
>
> It's a basic requirement of any system that uses passwords, but if it
can't
> be
> done just admit it. After all, zope is still *quite* good without it. ;-)
>
> Peter Harris ()
>
>
>
>

> This message and any files transmitted with it are confidential.
> The contents may not be disclosed or used by anyone other
> than the addressee.
> If you have received this communication in error, please delete
> the message and notify JBB (Greater Europe) Plc immediately
> on 0141-249-6285.
>
> The views expressed in this email are not necessarily the views
> of JBB (Greater Europe) PLC.
>  As it has been transmitted over a public network,
> JBB (Greater Europe) PLC makes no representation nor accepts
> any liability for the email's accuracy or completeness unless
> expressly stated to the contrary.
>
> Should you, as the intended recipient, suspect that the message
> has been intercepted or amended, please notify
> JBB (Greater Europe) Plc immediately on 0141-249-6285.
>
>

>
> ___
> 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 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] Still More Problems On the Install...

2000-11-19 Thread Phil Harris

The result you got is what is supposed to happen.

By default Zope runs in 'debug' mode and doesn't unattach itself from the
console.

To make it unattach itself, basically making it run in the background, you
need to edit the start script and remove the '-D'.

See z2.py for more start options.

My start script looks something like this for instance.

"f:\zope\bin\python.exe" "f:\zope\z2.py" -X -w80 -f 21 %1 %2 %3 %4 %5 %6 %7
%8 %9

Which turns off all servers by default (-X), and then selectively turns on
http on port 80 (-w80) and ftp on port 21 (-f21).

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Ben Ocean" <[EMAIL PROTECTED]>
To: "seb bacon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, November 19, 2000 11:16 PM
Subject: Re: [Zope] Still More Problems On the Install...


| At 09:50 PM 11/19/2000 +, you wrote:
| >from INSTALL.txt:
| >
| >   
| >
| > ./start
|
| I apparently didn't mention in my last email that I *tried* ./start and it
| hung my computer. It got this far:
|
| [webmaster@thor Zope-2.2.2-linux2-x86]$ ./start
| --
| 2000-11-19T23:11:01 PROBLEM(100) ZServer Computing default hostname
| --
| 2000-11-19T23:11:01 INFO(0) ZServer Medusa (V1.16.4.3) started at Sun Nov
| 19 15:11:01 2000
|  Hostname: thor.galaxynet.com
|  Port:8080
|
| --
| 2000-11-19T23:11:01 INFO(0) ZServer FTP server started at Sun Nov 19
| 15:11:01 2000
|  Authorizer:None
|  Hostname: thor.galaxynet.com
|  Port: 8021
| --
| 2000-11-19T23:11:01 INFO(0) ZServer PCGI Server started at Sun Nov 19
| 15:11:01 2000
|  Unix socket: /apache/vhosts/Zope-2.2.2-linux2-x86/var/pcgi.soc
| --
| 2000-11-19T23:11:01 INFO(0) ZServer Monitor Server (V1.8.4.1) started on
| port 8099
|
|
| Then it hung. I did a ^C and it printed this:
|
|
| òTraceback (innermost last):
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 719, in ?
|  asyncore.loop()
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py",
| line 138, in loop
|  poll_fun (timeout, map)
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/ZServer/medusa/asyncore.py",
| line 66, in poll
|  r,w,e = select.select (r,w,e, timeout)
| KeyboardInterrupt
| Traceback (innermost last):
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/z2.py", line 537, in ?
|  zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
|File "/apache/vhosts/Zope-2.2.2-linux2-x86/lib/python/zdaemon.py", line
| 208, in run
|  p,s = os.waitpid(pid, 0)
| KeyboardInterrupt
| [webmaster@thor Zope-2.2.2-linux2-x86]$
|
|
| It would appear (from my limited knowledge of programming) that it's
having
| trouble finding that port. Now, for the record, I own the machine, and
it's
| co-located (goes through a server called *galaxynet.com*). Again, your
help
| is appreciated. Thank you in advance.
| BenO
|
|
| ___
| 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 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 paramaters for form processing

2000-11-16 Thread Phil Harris

Steve

Use hidden fields on the form:



 .
.
 .


hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "steve smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2000 1:50 PM
Subject: [Zope] Passing paramaters for form processing


> How do I set some parameters for use in a form processing method? I have a
> HTML "FORM" tag referencing a DTML method name, and I want that method to
> have visibilty of some variables from the calling methods space. I've
tried
> passing them with the url (eg, "ACTION=/someurl?fred=") and
> by using REQUEST.set syntax in the calling method. Neither seems to result
> in the variable being visible to the form processing method. Any ideas?
>
> Steve
>
>
> ___
> 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 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] DTML and SQL question...

2000-11-15 Thread Phil Harris

Try

0">
   YES! There's some data!

   no records found!


or


  YES! There's some data!

   no records found!


hth

- Original Message -
From: "zope" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 15, 2000 4:22 PM
Subject: [Zope] DTML and SQL question...


| Hi.
|
| I want to test if there is some data in a table.
| If so, I want to perform some action, otherwise I wan't to print out a
message.
| ()
|
| My SQL statement is something like:
|
| Select count(*) from my_table where my_field = something
|
| What DTML code do I need to perform that if-statement?
|
| Something like the following does not work :-(
|
| 
|YES! There's some data!
| 
|no records found!
| 
|
| Thanks for any help.
|
| Greetings, Marc Ludwig
| Luxembourg
|
|
| ___
| 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 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] Where to store my data?

2000-11-13 Thread Phil Harris

Randall,

As to the use of xml/xsl.

I'm in the process of creating a product called (originality abounds)
nXMLDocument.

This is a XML doc that can render itself based on a XSL stylesheet.  At the
moment it uses the Microsoft XSLT parser on Win32, but changing it to use
another parser/os shouldn't be difficult at all.

It works right now, the XML and the XSL can be built using DTML calls as
well, so building XML from a database is very simple indeed, and using DTML
in the XSL is just as useful.

I'm looking for some alpha testers if your interested.

Phil
[EMAIL PROTECTED]

- Original Message -
From: Randall Kern
To: [EMAIL PROTECTED]
Sent: Monday, November 13, 2000 8:00 PM
Subject: [Zope] Where to store my data?


I've just started playing with Zope again, and this time I'm going to spend
enough time with it to actually decide if it's crazy or I am :)

My project currently consists of a bunch of community "modules" written in
PHP using MySQL as a data store.  Each modules PHP code produces an XML
page, by running a bunch of queries in the database, and performing some
logic.  These XML pages are then processed using XSLT, with a model very
similar to Acquisition.

I'm getting very tired of the poor language design inherent in PHP, and
wanted to start using Python again.

(Big reason for doing this work:  In the current package, each module is
only accessible from a hardcoded URL, such as /links for the Links module,
etc.  Many of my customers want to change the layout of their site, and in
fact maybe have two Links modules, etc.)

So far, sounds like Zope would be a great system for me.  It would give my
customers a good platform to customize their sites, and give me a good
platform to build my modules with.

Now, short of just doing it and then discovering what I did wrong, I'm
hoping to get some advice from the Zope community on how to structure this
system.

This is a fairly large system, I host about 10 customers per box, serving
about 4MM page views.  99% of the pages are dynamic, doing real-time
database queries.

Some of my first questions:
-Is Zope a good choice for this kind of project?
-Which is better:  Store my content (Forum posts, Links, etc) in ZODB, or a
MySQL database?
-Build my Product (right term?) in DTML/ZClasses (seems easier for my users
to customize?) or build it in Python?
-Can I (easily) build this system in 4 layers:
Content-- actual low-level storage, rarely customized
Logic/Object Representation-- layer used to interact with the
content, also rarely customized, although does have configuration options
XML (page contents)-- every URL should result in an XML document,
containing all the information that will be presented on that page.  Written
in DTML?
XSLT (page rendering)-- the XML documents must be transformed into
HTML/etc.  These transformations, like the page contents should be
inherited; excuse me, acquired.
-Simple things should be simple, Complex things should be possible. -- My
users should be able to plop a Links module into their site, edit the
Properties for that Object, and it works.  If they want to change the way
Links are categorized, they should be able to, although it'll take a while
longer :)

Thanks for your Zen,
-Randy


___
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] Are there any man pages out there for these functions?

2000-11-10 Thread Phil Harris

John,

Have you tried http://zdp.zope.org , in particular the Zope Quick Reference.

Every Zope user/developer should use it as their bible.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 11, 2000 12:11 AM
Subject: [Zope] Are there any man pages out there for these functions?


|
| Howdy Folks,
|
| I'm looking for man pages on these dtml functions?
|
| I'm finding it terribly difficult and frustration to figure out how to
| properly program in dtml since I can't do a man on a funtion
| (ie:man objectValues) and read about what parameters the function is
| expection from me.
|
| I'd like to browse the dtml man pages and see what functions are
| available to me. I've been reading all kinds of documents for the last
| week but I get the feeling that Zope is somewhat immature as a product.
|
| So, any ideas about those man pages?
|
| Thanks in advance.
| John
|
| /\
| | John Voth   Mobiltex Data Ltd.Calgary, Alberta,Canada, T1Y-4T7 |
| | [EMAIL PROTECTED] 403-291-2770, 403-259-6795 (fax)|
| \/
|
| ___
| 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 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] DTML on Linux client

2000-11-10 Thread Phil Harris

My take is that it's a client issue.

Since you explicity mention that your using a Linux client, I'd assume
you've tried a windows client?  If so was it Ie/Netscape/Opera etc.

IE and Netscape in particular play by their own rules and render things
differently.  Maybe your html is causing one of those differences to
manifest itself.

When 'actual' doesn't appear in the browser window, can you check the source
for the page, and is the content there in the html?

It doesn't seem to be a Zope problem to me.

Phil

- Original Message -
From: "Stephan Goeldi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 10, 2000 2:31 PM
Subject: [Zope] DTML on Linux client


> I checked my website www.goeldi.com with a SuSE Linux 7 client (Netscape)
> and discovered, that not all DTML is done right.
>
> My index_html file has:
>
> 
>
> Welcome to our website.
>
> 
>
> 
>
> The header and footer are displayed correct. The welcome text of the
> index_html file too. But the dtml-var actual is not displayed at all. The
> text browser lynx has the same problem under linux. I tried it from a
RedHat
> 6.2 system with lynx -> same problem.
> The page is displayed correctly with any Windows browser.
>
> What's going wrong here?
> _
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
>
> ___
> 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 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] Populating a :list variable from the results of a ZSQL method

2000-11-10 Thread Phil Harris

tone,

How about (untested):

where 'dboptions' is the string pulled from the DB, and 'options' is the
list needed.



  


This would then give you take the string "['1','2','3']" and turn it into
the list [1,2,3].

hth

Phil

- Original Message -
From: "Tony McDonald" <[EMAIL PROTECTED]>
To: "Zope List" <[EMAIL PROTECTED]>
Sent: Friday, November 10, 2000 10:10 AM
Subject: [Zope] Populating a :list variable from the results of a ZSQL
method


> Hi all,
> Say I've got a form with this in it
>
> 
> number 1
> number 2
> number 3
> 
>
> When this is put into an SQL database, the field 'options' is this
(string)
>
> ['1', '2', '3']  or ['2', '3'] etc.
>
> When I get the data back from the database, 'options' comes back as a
> string, and  ...  gives errors (basically,
> it can't iterate over a string).
>
> I tried
> 
> and then tried iterating over new_options, but the variable didn't
exist...
>
> Has anyone got any solutions for this?
> TIA
> Tone
> --
> Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
> The Medical School, Newcastle University Tel: +44 191 222 5116
> A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/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 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] XML-RPC

2000-11-08 Thread Phil Harris

Another possibility is to use IE on the client side and use one of the COM
interfaces to XML-RPC.

You could then use javascript/vbscript to get data as required.

hth

Phil

- Original Message -
From: "Hannu Krosing" <[EMAIL PROTECTED]>
To: "David Nimmons" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, November 08, 2000 10:16 PM
Subject: Re: [Zope] XML-RPC


| David Nimmons wrote:
| >
| > I am trying to develop a web based interface to automation equipment
(Allen
| > Bradley plc's in this case) to use for an operator interface. I am using
| > SVG to develop graphics and want to use javascript to manipulate the
| > graphics based on data from the plc. I am looking for a way to pull more
| > data from the server without having to reload the page. My question is
will
| > XML-RPC allow this. Or does Zope have some other mechanism that would
allow
| > this. Thanks for any help.
|
| Actually this is mainly a client-side problem, on server side you have
| total
| freedom to serve any protocol ;)
|
| Often this kind of problem is solved by having twho frames and data is
| aquired
| by reloading the "data-page" which then manipulates the
| "presentation-page"
| using javascript, possibly in its onLoad method.
|
| 
| Hannu
|
| ___
| 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 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] images in directories

2000-11-07 Thread Phil Harris

What's wrong with  ?


- Original Message -
From: "Pete Prodoehl" <[EMAIL PROTECTED]>
To: "'zope-list'" <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 2:27 PM
Subject: RE: [Zope] images in directories


>
> I was sort of hoping it would be easier. It would be ideal to have this:
>
>   
>
> boiled down to one simple tag that works when I store images in a
subfolder
> *and* use file extensions.
>
> But from what I've read so far, it can't be done...
>
> Someone suggested the following:
>
>
>
> but that didn't work for some reason, and still seems a little complex for
> just inserting an image.
>
>
> Pete
>
>
>
> > --
> > Subject: Re: [Zope] images in directories
> >
> > hi,
> >
> > Sure they are.  If you ftp a jpg to the server it comes up with an id of
> > bla.jpg, you can then refrence it in html just like you would on an
Apache
> > server or whaterver 
> >
> >
>
> ___
> 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 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] OT Zope book images -> PDF

2000-11-01 Thread Phil Harris

Eric,

I got Acrobat to recognise the png's by first loading the html nto msword
and then 'printing' the PDF from there.

hth

Phil

- Original Message -
From: "Eric Walstad" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Sent: Thursday, November 02, 2000 12:58 AM
Subject: [Zope] OT Zope book images -> PDF


| In light of all the hubbub about the Zope book, I thought I would try and
| make my own copy of it in PDF format (just for me, of course).  I'm
finding
| that Acrobat doesn't know how to convert the PNG image file type used in
the
| Zope Book.  (or rather, I don't know how to get it to work !)  Anyone know
| how to get png files into Acrobat?  Oh, I'm trying to use their 'Open Web
| Page' method of creating the document.  Is there another/better way that
| will get the png images?
| Thanks,
| Eric.
|
|
| ___
| 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 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-11-01 Thread Phil Harris

Subject says it all


___
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-book] Re: [Zope] Zope Book Beta

2000-10-31 Thread Phil Harris

Hi all,

If your talking about me with the PDF and eBook, then if it's a problem I
won't redistribute it.

It's actually sitting on my machine waiting to go, but I'll hold if need be.

Let me know either way.

hth

Phil


- Original Message -
From: "Wolfgang Strobl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "Amos Latteier" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, October 31, 2000 10:08 PM
Subject: Re: [Zope] Re: [Zope-book] Re: [Zope] Zope Book Beta


| On 31 Oct 2000, at 12:54, Michel Pelletier wrote:
|
| > That was a joke.  Sorry.
|
| Uh, oh.  Well, my thought was as follows: people are already
| annoucing making PDF versions, which are a much greater
| potential harm to to the number of sales of a printed book.With a
| good pdf file, I can get to my local prinshop and get a perfect
| bounded book back within half an hour.
|
| On the other hand, a MS HTML help file is of little use other than
| having a compact, searchable file which fits well into a
| development environment on Windows. Frankly, I can't see how
| these could do any harm to selling your book. To the contrary; I
| tend to beleive that having a properly indexed and tightly
| integrated online format might even might help selling the book.
|
| For example; I have HTML help versions _and_ printed copies of
| the - outdated - Zope docs, and one of each from the actual
| howto-collection, and I'm using them both.
|
| --
| Wolfgang Strobl
|
| ___
| 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 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 Book Beta

2000-10-31 Thread Phil Harris

Nah, I use the offical stuff , Adobe Distiller.

For the eBook stuff I use a Microsoft Word Add-in, available from
www.pocketpc.com (really microsoft under a pseudonym)

hth

Phil



- Original Message -
From: "Ender" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, October 31, 2000 12:52 PM
Subject: Re: [Zope] Zope Book Beta


| Phil Harris wrote:
| >
| > Give me a few hours and I'll be knocking out the eBook and PDF versions.
| >
| > By the end of the day.
| >
| > Phil
|
| Hi Phil,
|
| how do you do that? for the pdf are you dumping stuff into reportlab?
|
| Kapil
|
|
| > - Original Message -
| > From: "Chris Withers" <[EMAIL PROTECTED]>
| > To: <[EMAIL PROTECTED]>
| > Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
| > Sent: Tuesday, October 31, 2000 11:49 AM
| > Subject: Re: [Zope] Zope Book Beta
| >
| > > There a PDF of it anywhere?
| > >
| > > cheers,
| > >
| > > Chris
| > >
| > > Michel Pelletier wrote:
| > > >
| > > > Amos and I are gibbering like madmen with excitement to announce the
| > > > Zope Book Beta.  This is the complete, technical draft of the book
with
| > > > all screenshots (but minus illustrations, those are on there way!).
| > > > Some other things like a colophon and information about the authors
is
| > > > missing. The beta includes all completed chapters, the API
reference,
| > > > and the DTML reference.  We've received over a hundred comments,
| > > > corrections, and ideas from you the community and it has made a much
| > > > better book.  This is the one to print out and give to your friends
as
| > > > christmas gifts, folks, so get crackin and start reading at
| > > > http://www.zope.org/Members/michel/ZB/.
| > > >
| > > > Enjoy,
| > > >
| > > > -Michel
| > > >
| > > > ___
| > > > 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 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 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 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 Book Beta

2000-10-31 Thread Phil Harris

Give me a few hours and I'll be knocking out the eBook and PDF versions.

By the end of the day.

Phil

- Original Message - 
From: "Chris Withers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, October 31, 2000 11:49 AM
Subject: Re: [Zope] Zope Book Beta


> There a PDF of it anywhere?
> 
> cheers,
> 
> Chris
> 
> Michel Pelletier wrote:
> > 
> > Amos and I are gibbering like madmen with excitement to announce the
> > Zope Book Beta.  This is the complete, technical draft of the book with
> > all screenshots (but minus illustrations, those are on there way!).
> > Some other things like a colophon and information about the authors is
> > missing. The beta includes all completed chapters, the API reference,
> > and the DTML reference.  We've received over a hundred comments,
> > corrections, and ideas from you the community and it has made a much
> > better book.  This is the one to print out and give to your friends as
> > christmas gifts, folks, so get crackin and start reading at
> > http://www.zope.org/Members/michel/ZB/.
> > 
> > Enjoy,
> > 
> > -Michel
> > 
> > ___
> > 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 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 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] problem installing login manager

2000-10-29 Thread Phil Harris

Henny,

You also need the ZPatterns product, which you then have to compile to get
the dynpersist.pyd file.

hth

Phil
- Original Message -
From: Henny van der Linde
To: Zope mailing list
Sent: Monday, October 30, 2000 12:27 AM
Subject: [Zope] problem installing login manager


Hi,

I just installed Zope 2.2.2 and tried to install the latest version of Login
Manager.

It failed:

LoginManager Import Traceback
Traceback (innermost last):
  File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397,
in import_products
product=__import__(pname, global_dict, global_dict, silly)
  File "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ?
import LoginManager, LoginMethods, UserSources
  File "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8,
in ?
from Products.ZPatterns.Specialists import Specialist
  File "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ?
import Rack, Specialists, Customizers, AttributeProviders,
SheetProviders
  File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py",
line 9, in ?
from DataSkins import DataSkin
  File "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ?
from DynPersist import DynPersist
ImportError: No module named DynPersist

What 's happening?

Thanks


Henny van der Linde


___
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] None-debug mode on win2k

2000-10-29 Thread Phil Harris

Peter,

When running Zope as a service you can add the parameter by using regedit,
goto:

hkey_local_machine\system\currentcontrolset\services\zope\parameters.

The problem is though that the console window is hidden by default, but you
have two options.

1. the easy way. run Zope by double-clicking on the start.bat file in
your Zope folder.
2.the hard way. let the service interact with the desktop.  You can do
this by going to the services manager and double clicking on the the zope
service, then on the log-on tab and changing the option 'allow service to
interact with desktop'.

I'm not sure how the second option works when no-one is logged though.

hth

Phil
- Original Message -
From: "Peter Bengtsson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 29, 2000 10:56 PM
Subject: [Zope] None-debug mode on win2k


| Zopistas,
|
| I have searched the mailinglist and look under the carpets and READMEs.
| Maybe I'm just blind but how do I run Zope in none-debug mode ??
| In other words; how do I add the -D param?
|
| I run Zope2.2.2 on a win2k pro as a service.
|
|
|
| ___
| 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 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] Z SQL Objects (Newbie)

2000-10-26 Thread Phil Harris

Yvonne,

The format of your 'if' is incorrect:

You have <:if .> it should be 

so the whole statement is as Jens says below.

hth

Phil
[EMAIL PROTECTED]


- Original Message - 
From: Jens Grewen 
To: [EMAIL PROTECTED] 
Cc: Zope Maillist 
Sent: Thursday, October 26, 2000 2:51 PM
Subject: Re: [Zope] Z SQL Objects (Newbie)


Hi,

Arguments |  team

Query template


  select *
  from data

  select *
  from data


this is normal

but may it helps if you post the traceback of the error message

Jens Grewen

- Original Message - 
From: Yvonne Totty 
To: [EMAIL PROTECTED] 
Sent: Thursday, October 26, 2000 3:22 PM
Subject: [Zope] Z SQL Objects (Newbie)


I have the O'Reilly book, but can't seem to find more
complete information on how to do 'if's' in a SQL thing.

Here's the scenario:
I have three different 'teams' and want to run a call
specific to each team. I am passing in three parameters,
two of which go in the sql statement, the other goes in 
the if statement:
<:if "team='S"'>
sql statement
<:elif "team='C'">
blah, blah


It tells me it doesn't like the syntax of the 'if' (I have
stuff in the python file that lets me use ':' in place of
'dtml-'). I have tried all the flavors: "team=='S'",
"team=S", "team==S", etc. and it doesn't like any of
them.

If you guys know of another reference, please let me
know!

TIA,
Yvonne 8)
~~~
Yvonne Totty
Database Engineer
-
Wolverine: You actually go outside in these things?
Cyclops: Well, what would you prefer? Yellow spandex?


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

2000-10-24 Thread Phil Harris

How about (sort of tested):



  

  ignore the error or otherwise report it


hth

Phil
- Original Message -
From: "Jens Grewen" <[EMAIL PROTECTED]>
To: "kosh" <[EMAIL PROTECTED]>
Cc: "Zope Maillist" <[EMAIL PROTECTED]>
Sent: Wednesday, October 25, 2000 2:14 AM
Subject: Re: [Zope] 


| Hi,
|
| I am not quite sure if this is what you want but may this helps
|
| 
|   
|  do something
|   
| 
|
| This is not resolving the URL.
| If you found a solution let me know.
|
| Jens Grewen
|
|
| - Original Message -
| From: "kosh" <[EMAIL PROTECTED]>
| To: <[EMAIL PROTECTED]>
| Sent: Tuesday, October 24, 2000 10:56 PM
| Subject: [Zope] 
|
|
| > What would be the correct dtml-if contrstruct for this behavior?
| >
| > I want to check and see if zope can resolve a url to a valid object.
| >
| > Ie does http://foo.com/bar/foo get you to a valid page or is it not
| > found.
| >
| > I need something like http://foo.com/bar/foo> that way I can
know
| > when to rewrite the url based on zope finding the object or not.
| >
| > Thanks
| > Kosh
| >
| >
| > ___
| > 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 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 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] Calling objects by name

2000-10-24 Thread Phil Harris

Danny,

Try something like



or



hth

Phil

- Original Message - 
From: "Danny William Adair" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 6:50 PM
Subject: [Zope] Calling objects by name


| How can I render an object in DTML if I have its id as a string?
| I would like to construct its name as a string and then call the object
| variable by its name.
| (Meaning I will have to make sure such an object exists)
| 
| tia,
| 
| CU+Prost,
| 
| Danny
| 
| 
| ___
| 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 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] dtml-in returning null

2000-10-24 Thread Phil Harris

Diego,

Do you mean that you want at least one input tag appearing at all times?

If so, try this:


  ">

  ">


hth

Phil


- Original Message - 
From: "Diego Rodrigo Neufert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 4:24 PM
Subject: [Zope] dtml-in returning null


| Hi...
| 
| I want to do something like this...
| 
| 
| ">
| 
|  But, if InMethod return nothing it display this  tag one time
| 
| There's a way to do that??
| 
| Thanks
| -- 
| ---
| Diego Rodrigo Neufert
| -webmaster
| ---
| (Magic Web Design)
| (email) ([EMAIL PROTECTED])
| (curitiba) (pr)
| 
| ___
| 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 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] redirect

2000-10-24 Thread Phil Harris

http://zope.org/index.htm?cod=' + test)">

- Original Message - 
From: "Joaldo Junior" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 3:38 PM
Subject: [Zope] redirect


> how to for that function REDIRECT understand a variable.
> 
> ex.
> 
> http://zope.org/index.htm?cod= test>')">
> 
> ___
> 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 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] Apache in front of ZServer

2000-10-24 Thread Phil Harris

Jorn,

I'm no Apache GrandMaster but couldn't you use the [p] option of a
RewriteRule to make it proxy if the url matches a pattern:

RewriteEngine on
RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l]

Or something along those lines.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Jørn Helge B. Dahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 1:40 PM
Subject: Re: [Zope] Apache in front of ZServer


> * [EMAIL PROTECTED] (JXrn Helge B. Dahl)
>
> | | for the other part of serving static content, it really depends what
you
> | | want but here are two ways to do it.
> | |
> | | 1.use the LocalFileSystem product,
> | |
http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg
> | | z
> |
> | That I already do, so that one is okay.
> |
> | | 2.use Apache to intercept calls to a specific dir before passing
it onto
> | | Zope, e.g. use a RewriteRule.
> |
> | Yup, this is what I need. I think was being unclear about what I really
> | -wanted: I want to still be able to use php and such thing, even if I
> | serve Zope from root. So the RewriteRule does the trick?
>
> On a second thought: What I _really_  want (I think, unless someone
> tells me differently :-) ) is a conditional ProxyPass, to tell apache
> to redirect everything _unless_ the URI is /static (or something).
>
> But this is probably something for apache geeks.
>
> Thanks anyway.
> --
> Jørn Helge B. Dahl
> http://falch.net
>
>
> ___
> 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 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] Apache in front of ZServer

2000-10-24 Thread Phil Harris

Jorn,

It's perfectly possible, you just need to do a little work ;)

Your proxy pass will be something like this:

ProxyPass / http://myserver.com:8080/
ProxyPassReverse http://myserver.com:8080/ /

for the other part of serving static content, it really depends what you
want but here are two ways to do it.

1.use the LocalFileSystem product,
http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg
z

2.use Apache to intercept calls to a specific dir before passing it onto
Zope, e.g. use a RewriteRule.

hth

Phil


- Original Message -
From: "Jørn Helge B. Dahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 9:39 AM
Subject: [Zope] Apache in front of ZServer


> Hi all!
>
> I am aware of http://www.zope.org/Members/anser/apache_zserver>,
> but I am looking for at way to make Apache serve Zope from the root URL.
>
> It is possible to make the apache front end
>  be served by zope backend
> , but what really want is to make apache
> frontend  be served by Zope, and still be
> able to serve static content from selected locations. Example:
>
> <- Zope w/Apache frontend
>   <- Apache static
>
> Am I clear? Is it possible to do that without NameVirtualHost?
> --
> Jørn Helge B. Dahl
> System Administrator
> http://falch.net
>
>
> ___
> 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 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] a problem with 'start' command

2000-10-23 Thread Phil Harris

Gaby,

I'd say you need to get your disk quota extended.

If your not the sysadmin then you need to speak to the relevant person about
it.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Gabriela Arevalo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, October 23, 2000 4:23 PM
Subject: Re: [Zope] a problem with 'start' command


| Phil,
|
| thanks for your suggestion, i understood it
|
| > If you are in the Zope directory, since most uni(x)es don't have the
current
| > directory in the path, you need to start zope with './start'.
|
| but now when i execute the command i have the following message:
|
| --
---
|
| Traceback (innermost last):
|   File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 537, in
| ?
| zdaemon.run(sys.argv, os.path.join(CLIENT_HOME, Zpid))
|   File
| "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/lib/python/zdaemon.py",
| line 204, in run
| pf.close()
| IOError: [Errno 49] Disc quota exceeded
| aurora:~/zope/Zope-2.2.2-solaris-2.6-sparc.24 % --
| 2000-10-23T15:18:55 PROBLEM(100) ZServer Computing default hostname
| --
| 2000-10-23T15:18:55 INFO(0) ZServer Medusa (V1.16.4.3) started at Mon Oct
| 23 17:18:55 2000
| Hostname: aurora
| Port:8080
|
| --
| 2000-10-23T15:18:55 INFO(0) ZServer FTP server started at Mon Oct 23
| 17:18:55 2000
| Authorizer:None
| Hostname: aurora
| Port: 8021
| --
| 2000-10-23T15:18:55 ERROR(200) ZServer Cannot write PID file.
| --
| 2000-10-23T15:18:55 INFO(0) ZServer PCGI Server started at Mon Oct 23
| 17:18:55 2000
| Unix socket:
| /home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/var/pcgi.soc
| --
| 2000-10-23T15:18:55 INFO(0) ZServer Monitor Server (V1.8.4.1) started on
| port 8099
| Traceback (innermost last):
|   File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 715, in
| ?
| pf.close()
| IOError: [Errno 49] Disc quota exceeded
|
| --

|
| what does this message mean ? what can i do ?
|
| in fact, my problem is when i tried to execute
| "localhost":8080/pecos/ where i have the information i need, there seems
| to have problems, because the connection is not possible.
| first thing i thought is just to try to start the server again, but i can
| not.
|
| thanks for any help
|
| have a nice evening.
|
| Gaby
|
|
| ___
| 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 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] a problem with 'start' command

2000-10-23 Thread Phil Harris

Gaby,

If you are in the Zope directory, since most uni(x)es don't have the current
directory in the path, you need to start zope with './start'.

hth

Phil

- Original Message -
From: "Gabriela Arevalo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 23, 2000 2:57 PM
Subject: [Zope] a problem with 'start' command


> hi all,
> I am a starter with Zope and i have a simple question.
> I need to execute 'start' command to start the server again.
> when i tried to do it, it gives me the message:
> command not found
> I looked at the directory, i can find the start command, and the
> permissions are -rwx--x--x.
>
> Can somebody help me with this ?
>
> Thanks
>
> Gaby
>
>
> ___
> 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 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 Object

2000-10-22 Thread Phil Harris

Sal,

You need to create a normal user with a role of 'Manager'.

This will allow you to create things to your hearts wotsit.

In the Zope management screen, click on acl_users and follow the
instructions.

Just one thing, make sure you select Manager from the list of roles, the
list is just the possibles.

hth

Phil
- Original Message -
From: "Salvatore DIDIO" <[EMAIL PROTECTED]>
To: "Zope" <[EMAIL PROTECTED]>
Sent: Sunday, October 22, 2000 9:41 PM
Subject: [Zope] Creating Object


| Hello,
|
| I am new to Zope
| I've just installed Zope on Linux. I just can't create any object !.
| I receive the following message :
| the object can not be owned by the superuser
| (line 217 in file Owned.py)
| Could someone help me ?
|
| Thank you very much
|
|
|
| ___
| 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 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] Multiple queries in a ZSQL method?

2000-10-22 Thread Phil Harris

Noah,

Try something like:

insert into author
(id, name, sort_name, email, bio, initials)
values
(null,
,
,
,
,
)



select LAST_INSERT_ID()

hth

Phil
[EMAIL PROTECTED]


- Original Message -
From: "Noah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 22, 2000 9:29 PM
Subject: [Zope] Multiple queries in a ZSQL method?


| Hi,
|
| I'm using MySQL.  I need to have a ZSQL Method that does an insert and a
select in one call.
| After I do an insert I need to check the LAST_INSERT_ID to get the primary
key of the
| record that I just inserted. Something like this:
|
| insert into author
| (id, name, sort_name, email, bio, initials)
| values
| (null,
| ,
| ,
| ,
| ,
| );
|
| select LAST_INSERT_ID();
|
| If I put this into two different methods then I'm afraid that I will have
some
| threading problems due to the fact that another client might come in and
| do an insert using the database connection I was using. LAST_INSERT_ID
| is safe as long as you have an unshared connection. Zope does
| connection pooling, so I worry that using two separate ZSQL Methods
| may not always work. And WILL NOT work if Zope gives me a different
connection
| for the second ZSQL call.
|
| Is there a better way to do this?
|
| Yours,
| Noah
|
|
|
|
|
|
| ___
| 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 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] UserDb - Please just WORK

2000-10-18 Thread Phil Harris

ed,

If I'm right it should be a fairly simple job to fix it.

I use Interbase to hold my user database and out of the box I get almost
exactly the same problems you do.

The problem is that 'password' is a reserved word.

The interbase solution is to rewrite the UserDB sql queries to be something
like :

select username, "PASSWORD",domains,roles from users

Note the quotation marks around 'password'.

Another solution involves editing UserDB.py, I can't remember the exact
place, but you need to tell it to use a different name for the password
field, I chose 'password_' at one time, which also fixed the problem.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "ed colmar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 18, 2000 2:40 PM
Subject: [Zope] UserDb - Please just WORK


> Since Login Manager isn't doing the trick, I've been trying User DB to
> authenticate to my postgresql DB.
>
> I get some strange errors, like when I try to view a page that is
> 'protected' by UserDb, I get the error message below.  Also, when I click
a
> user in the management screen, it says "the specified user does not
exist".
>
> Arrggg this task is so simple but REALLY FRUSTRATING...
>
> Thank you, thank you, thank you...  (to anyone who can help)
>
> Error Type: TypeError
> Error Value: argument 1: expected read-only character buffer, None found
>
> Traceback (innermost last):
>   File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 222, in
> publish_module
>   File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 187, in
> publish
>   File /usr/local/zope/lib/python/Zope/__init__.py, line 221, in
> zpublisher_exception_hook
> (Object: Traversable)
>   File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 162, in
> publish
>   File /usr/local/zope/lib/python/ZPublisher/BaseRequest.py, line 440, in
> traverse
>   File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 310, in
> validate
> (Object: RoleManager)
>   File /usr/local/zope/lib/python/AccessControl/User.py, line 437, in
> validate
> (Object: RoleManager)
>   File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 147, in
> getUsers
> (Object: RoleManager)
>   File /usr/local/zope/lib/python/Products/UserDb/UserDb.py, line 52, in
> __init__
> TypeError: (see above)
>
>
>
>
> ___
> 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 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] Thanks for the comments

2000-10-13 Thread Phil Harris

Rik,

I've upped both the Zope_book.lit and the Zope quick Reference.

The ZQR is not as readable as the zBook due to the formatting.  I'll get the
XML and reformat it to look a bit better.

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Rik Hoekstra" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>
Sent: Friday, October 13, 2000 8:25 AM
Subject: Re: [Zope] Thanks for the comments


>
>
> Phil Harris wrote:
> >
> > I'll stick onto my Zope members page
> >
> > http://zope.org/Members/philh
>
>
> except that the http://www.zope.org/Members/philh/zope_book.lit is dead
> ;-)
>
> Rik


___
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-dev] Re: [Zope] Thanks for the comments

2000-10-12 Thread Phil Harris

I'll stick onto my Zope members page

http://zope.org/Members/philh

Phil

- Original Message -
From: "knight" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>
Cc: "knight" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Michel
Pelletier" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, October 13, 2000 1:23 AM
Subject: Re: [Zope] Thanks for the comments


> Send it over ;]
>
> On Thu, 12 Oct 2000, Phil Harris wrote:
>
> > As another side note, I generally make it into an eBook ready for the
> > Microsoft Reader.
> >
> > If anyone's interested let me know.
> >
> > Phil
> > [EMAIL PROTECTED]
> > - Original Message -
> > From: "knight" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: "Michel Pelletier" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
> > <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Thursday, October 12, 2000 10:59 PM
> > Subject: Re: [Zope] Thanks for the comments
> >
> >
> > > On a side note, how about also including a PDF version (if possible)
for
> > > us developers who are busy hacking away at source and don't have time
to
> > > convert it ourselves... ;]
> > >
> > > Knight
> > > [EMAIL PROTECTED]
> > >
> > > On Thu, 12 Oct 2000 [EMAIL PROTECTED] wrote:
> > >
> > > > Just out of curiosity, how often do you update the book (i.e., the
> > version on
> > > > the web)?  Or, put another way, how long should we consider that
> > catching a typo
> > > > or split infinitive will have already been brought to your attention
but
> > hadn't
> > > > yet made it to the web site?
> > > >
> > > > If you update on a continuous basis, then my question is moot.
However,
> > if you
> > > > update on a periodic basis, could you drop me (or this list group) a
> > note to
> > > > indicate that the next version is available for our hungry eyes?
> > > >
> > > > Just a suggestions...
> > > >
> > > > Ron
> > > >  ./.
> > > >
> > > > > Just thought we'd mention that we have gotten lots of great
comments
> > on
> > > > > the Zope book so far, especially in the last week or so.  You're
all
> > > > > helping make it a better book and ensuring Zope's future.  if
you've
> > > > > felt in the past that you may not be technically proficient enough
to
> > > > > contribute to the technology of Zope, you can certainly contribute
to
> > > > > the documentation by catching our mistakes and making good
> > observations
> > > > > and asking good questions. It is really, really helping.  Keep it
up,
> > > > > cuz we're not done yet!
> > > >
> > > >
> > > >
> > > > ___
> > > > 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 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 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-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope] If/And statements?

2000-10-11 Thread Phil Harris




- Original Message - 
From: "J. Atwood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 11, 2000 10:15 PM
Subject: [Zope] If/And statements?


> Ok.. a very simple question.
> 
> How do you do a if statement with an 'and'. If this, and that..
> 
> Was just asked of me and I had really not come up against it in Zope.
> 
> (must be Wednesday)
> 
> Thanks,
> J
> 
> 
> ___
> 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 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 a DTML expression/comparison

2000-10-10 Thread Phil Harris

Manuel,

You'll probably find that your comparing a string 'begin_day' to an integer
'sequence-item'.

Try something like:

 

hth

Phil


- Original Message -
From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative
Solutions http: //www.alomega.com/" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 9:56 PM
Subject: [Zope] Help with a DTML expression/comparison


> Hey to everyone,
>
> I'm shooting myself in the foot here with this
> construct:
>
> 
>
>   
>   
>  selected
>  
>   >&dtml-sequence-item;
>
>
> 
>
> Inserting with dtml-var any of begin_day or sequence-
> item yields at some point the same result, logically.
> I'm trying to make the form field default to a formerly
> specified value.
>
> BUT, the comparison between the two, won't work.  Even
> comparing two _.getitems doesn't work.  So it's
> expected that at no point does the selected property
> appear in my html source.
>
> Please help.  I'm shooting myself in the foot here.
>
> Thanks in advance,
>
>
> Manuel
>
> --
>Universidad Federico Santa Maria - Campus Guayaquil
>
> ___
> 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 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] Bizarre ZMySQLDA problem...

2000-10-10 Thread Phil Harris

Tone,

What version of the MySQL DA are you using, there is a bug in one of them
that causes no data to be returned in specific circumstances, at least as
far as I can see.

I did at one time fix it, give me a few hours to see what I did and I'll
mail you back.

hth

Phil
- Original Message -
From: "Tony McDonald" <[EMAIL PROTECTED]>
To: "Zope List" <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 5:35 PM
Subject: [Zope] Bizarre ZMySQLDA problem...


> Hi all,
> I've just installed Zope-2.2.1 onto a clean Solaris 8 machine. I've
> built Python 1.5.2 from source and have MySQL 3.22 on the server.
>
> I've compiled up the ZMySQLDA product and put the MySQLModule.so in
> the correct place (ie one directory up from the src directory).
>
> I've restarted the Zope server, checked that ZMySQLDA is not broken
> and created a connection:
> test@localhost root
>
> I've created a ZSQL method that is essnetially 'select * from
> my_table' (and there *is* data in this table).
>
> The DA reports:
> There was no data matching this Z MySQL Database Connection (connected)
query.
>
> The same query produces a flood of data from the mysql monitor.
>
> I'm totally baffled here, and would really appreciate any advice...
>
> Tone
> --
> Dr Tony McDonald,  FMCC, Networked Learning Environments Project
> http://nle.ncl.ac.uk/
> The Medical School, Newcastle University Tel: +44 191 222 5116
> A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/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 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] DTML Method not working

2000-10-08 Thread Phil Harris

Oops:

That should be:




 




hth

Phil
[EMAIL PROTECTED]


- Original Message -
From: "Phil Harris" <[EMAIL PROTECTED]>
To: "Ronald L. Chichester" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, October 07, 2000 9:38 PM
Subject: Re: [Zope] DTML Method not working


> Is the code you used in a DTML Method or a DTML Document?
>
> Is it in a DTML Method being called from a DTML Document?
>
> If the answer to either of these is 'yes' then it's doing as you ask!
>
> The thing that gets most new zope users is that a DTML Document is itself
a
> container.  This means that anytime you use code similar to yours or when
> using a  it will probably return a blank, as the DTML
> Dopcument has no children(?!?).
>
> Solutions:
>
> 1.Try moving the code into a DTML Method.
> 2.Use a dtml-with around it.
>
> The second one works most places but if in the root then it's slightly
more
> difficult as the top object is hard to reference (please someone tell me
I'm
> wrong here).
>
> You could try something like:
>
> 
> 
> 
>  
> 
> 
> 
>
> The resolve_url(BASE0+'/') should give you a reference to the top Zope
> object (root).
>
> hth
>
> Phil
> [EMAIL PROTECTED]
>
> - Original Message -
> From: "Ronald L. Chichester" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, October 08, 2000 8:58 PM
> Subject: [Zope] DTML Method not working
>
>
> > I took some code that was in the (work-in-progress) O'Riley book on
> > Zope.  In that example, then had a DTML Method used for identifying
> > folders and hyperlinking to them.  The code is as follows:
> >
> > 
> > 
> >  
> > 
> > 
> >
> > The problem is, it doesn't work.  I know the method is being invoked
> > because there is some other text that is indeed being inserted.
> > Moreover, there are sub-folders in the folder that calls the method.
> >
> > Does anyone know what the problem is?  Is it a permission issue.  The
> > standard_html_header and _footer, show up just fine, along with logos
> > and such.  The only part that isn't showing up is the stuff that was
> > supposed to be generated by the  block.
> >
> > Any hints?
> >
> > Thanks in advance.
> >
> > Ron
> >  ./.
> >
> >
> > ___
> > 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 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 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] DTML Method not working

2000-10-08 Thread Phil Harris

Is the code you used in a DTML Method or a DTML Document?

Is it in a DTML Method being called from a DTML Document?

If the answer to either of these is 'yes' then it's doing as you ask!

The thing that gets most new zope users is that a DTML Document is itself a
container.  This means that anytime you use code similar to yours or when
using a  it will probably return a blank, as the DTML
Dopcument has no children(?!?).

Solutions:

1.Try moving the code into a DTML Method.
2.Use a dtml-with around it.

The second one works most places but if in the root then it's slightly more
difficult as the top object is hard to reference (please someone tell me I'm
wrong here).

You could try something like:




 




The resolve_url(BASE0+'/') should give you a reference to the top Zope
object (root).

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Ronald L. Chichester" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 08, 2000 8:58 PM
Subject: [Zope] DTML Method not working


> I took some code that was in the (work-in-progress) O'Riley book on
> Zope.  In that example, then had a DTML Method used for identifying
> folders and hyperlinking to them.  The code is as follows:
>
> 
> 
>  
> 
> 
>
> The problem is, it doesn't work.  I know the method is being invoked
> because there is some other text that is indeed being inserted.
> Moreover, there are sub-folders in the folder that calls the method.
>
> Does anyone know what the problem is?  Is it a permission issue.  The
> standard_html_header and _footer, show up just fine, along with logos
> and such.  The only part that isn't showing up is the stuff that was
> supposed to be generated by the  block.
>
> Any hints?
>
> Thanks in advance.
>
> Ron
>  ./.
>
>
> ___
> 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 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] AUTHENTICATED_USER (or something) making me crazy

2000-10-07 Thread Phil Harris

Dennis,

try:


Guest

  


Zope is 'celver' enough to realise that you must mean the username when you
do:

  

but 'stupid' enough not to realise when you do:



Basic rule of thumb is that anythin in quotes is Python, and since AU is an
object, it must be treated as such.

btw, if you haven't yet got the Zope Quick Reference, get it now!

you still here, what you waiting for! - go get it now!  8¬)

http://zdp.zope.org

hth

Phil


- Original Message -
From: "Dennis Nichols" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 07, 2000 11:40 PM
Subject: [Zope] AUTHENTICATED_USER (or something) making me crazy


> If I inspect REQUEST by inserting a  in my dtml I can
see
> that AUTHENTICATED_USER is set to Anonymous User. Yet when I insert the
> following code, it never displays Guest. It takes the else branch and
then,
> perversely, displays Anonymous User. Please point out my stupid mistake.
>
> 
>   Guest
> 
>   
> 
>
> Thanks. Maybe I shouldn't work on Saturdays. Zope 2.2.2 roughly, Python
> 1.5.2, RH 6.2
>
> --
> Dennis Nichols
> [EMAIL PROTECTED]
>
>
> ___
> 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 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 - Weird stuff.

2000-09-30 Thread Phil Harris

Steve,

Thanks for replying.

I wish I could!

I'll try to follow a chain of events though, maybe that will shed some
light.

I developed a site in 2.1.6 which was imported to a 2.2.1 installation.

I didn't try much of anything on that install before upgrading to 2.2.2.  So
I'm not sure if the problem was caused by the importation or the upgrade.

I eventually got round the problem by moving the site to aother 2.2.2
install manually, i.e. copy and paste the text of the methods etc. No
importation involved.

All this took place on a pair of NT4 boxes, one workstation(2.1.6) and one
server(2.2.1->2.2.2).

The problem has now gone away, so for the moment I'm happy to let it be.

Thanks again

Phil

- Original Message -
From: "Steve Alexander" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>
Cc: "Zope@Zope. Org" <[EMAIL PROTECTED]>
Sent: Saturday, September 30, 2000 8:53 AM
Subject: Re: [Zope] Help - Weird stuff.


> Phil Harris wrote:
>
> > Hi all,
> >
> > Sorry for the subject but I don't really know how to describe this.
> >
> > I have a folder 'hp' which has loads of stuff in it, if I try to copy
and
> > paste into it though I get this error:
> >
> > 'The object index_html does not support this operation '
>
> I can't reproduce this in Zope 2.2.2, linux.
>
> Can you describe a simple case that has the problem?
>
> --
> Steve Alexander
> Software Engineer
> Cat-Box limited
> http://www.cat-box.net
>
>
>
>
> ___
> 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 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] dtml-with equivalent in external methods?

2000-09-29 Thread Phil Harris

Dieter,

Thanks for replying but I was being a bit confused, by science so to speak.

It was a lot simpler than I thought.

Thanks anyway.


Phil
- Original Message -
From: "Dieter Maurer" <[EMAIL PROTECTED]>
To: "Phil Harris" <[EMAIL PROTECTED]>
Cc: "Zope@Zope. Org" <[EMAIL PROTECTED]>
Sent: Friday, September 29, 2000 10:59 PM
Subject: Re: [Zope] dtml-with equivalent in external methods?


> Phil Harris writes:
>  > Anyone know offhand how to do an equivalent to dtml-with in an external
>  > method?
> Do you have a namespace (i.e. a DocumentTemplate.DT_Util.TemplateDict)?
>
> If so, you use its push method.
>
> If the thing, you would like to "with" is an object
> (rather than a mapping), you would wrap it into
> a "DocumentTemplate.DT_Util.InstanceDict" before it is
> being pushed.
>
>
>
> Dieter
>
> ___
> 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 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] python methods

2000-09-29 Thread Phil Harris

Python methods are not yet part of the standard distribution, you can
however get the product install tarball from Zope.org

- Original Message -
From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative
Solutions http: //www.alomega.com/" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 29, 2000 10:56 PM
Subject: [Zope] python methods


> Oh, another thingy:
>
> An object called Python method is supposed to appear on
> the Add list? or am I supposed to emulate it with some
> kind of external method and files?  If that's the case,
> well, sad kludge.  Please let me know.
>
> --
>Universidad Federico Santa Maria - Campus Guayaquil
>
> ___
> 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 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] Deleting data using ZSQL

2000-09-29 Thread Phil Harris

Steve,

Your user for the dataase does have permission to delete does it?

Phil
- Original Message -
From: "Steve Drees" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, September 29, 2000 3:00 PM
Subject: RE: [Zope] Deleting data using ZSQL


>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > [EMAIL PROTECTED]
> > Sent: Thursday, September 28, 2000 10:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: [Zope] Deleting data using ZSQL
> >
> >
> > Hi,
> >
> > I am writing a dtml method that deletes data from a database, and I
found
> > myself unable to do this.  It seems that ZSQL is used to insert, update
> > and query a database. but can not use
> > "delete from table where var="
>
>
> delete from this_table where var=
> is what I use (Changing type accordingly of course).
>
> >
>
> ___
> 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 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] dtml-with equivalent in external methods?

2000-09-29 Thread Phil Harris

Hi all,

I know I've seen the answer to this somewhere, but I'm buggered if I can
find it.

Anyone know offhand how to do an equivalent to dtml-with in an external
method?

tia

Phil
[EMAIL PROTECTED]



___
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] Adding user to folder

2000-09-28 Thread Phil Harris

Scott,

Try something like (UNTESTED):





hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Scott Burton" <[EMAIL PROTECTED]>
To: "Zope List" <[EMAIL PROTECTED]>
Sent: Thursday, September 28, 2000 7:12 AM
Subject: [Zope] Adding user to folder


> I would like to add a user to a folder that is being created via a form
> processing method with 
"manage_addFolder(folderName,folderName,'createAUserFolder','createAPublicIn
> terface')">
> Now, since this folder does not exist yet except in the context of the
> script. How can I put a user in that above folder during execution? Is
this
> where the _.namespace can be used to access what is in Zope's compiler
stack
> during execution? Or, am I just way off and it is much less complicated
than
> I think?
>
> TIA
>
> Scott
>
> ___
> 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 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] Displaying all subobjects

2000-09-27 Thread Phil Harris

Actually,

This would probably work a bit better (since the last one doesn't work at
all 9¬) )


  

  
  



- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2000 11:20 AM
Subject: [Zope] Displaying all subobjects


> The second dumb question today:It's a horrible one
> How to iterate over all subfolders?
> "objectValues" shows only the same level, where the method resides.
> Thanks.
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
>
> ___
> 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 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] Displaying all subobjects

2000-09-27 Thread Phil Harris

How about,



create an dtml-method called iterate:

with this contents:








The you can call this like so, from any other DTML_XXX:



or



Or
..

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 27, 2000 11:20 AM
Subject: [Zope] Displaying all subobjects


> The second dumb question today:It's a horrible one
> How to iterate over all subfolders?
> "objectValues" shows only the same level, where the method resides.
> Thanks.
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
>
> ___
> 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 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] String manipulation

2000-09-26 Thread Phil Harris

Jens,

You have a few options:

1.Cut the string, 

hth

Phil (ex. twinky-salesman)
[EMAIL PROTECTED]

- Original Message -
From: jensebaer
To: [EMAIL PROTECTED]
Sent: Tuesday, September 26, 2000 8:28 PM
Subject: [Zope] String manipulation


Hi all,

how can I manage it to cut a string.

for example:

a string property (testtext) with 500 words.

but only want to give out 20 characters of tis text.

Thank you

 Jens


___
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] Favorites

2000-09-26 Thread Phil Harris

rishi,

What does the ASP script look like?

Send me a copy privately if you want, I'll scan through and see if I can
make any suggestions.

Phil (ex. ASP thingy 8¬))
[EMAIL PROTECTED]

- Original Message -
From: "rishi" <[EMAIL PROTECTED]>
To: "'Tino Wildenhain'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 26, 2000 8:29 AM
Subject: RE: [Zope] Favorites


>
> Thank dewd but  doesn't give the info I'am looking for.
> I allready tried that and a lot more.
> I did get a asp script for this but I can't implement it into zope.
>
>
> -Original Message-
> From: Tino Wildenhain [mailto:[EMAIL PROTECTED]]
> Sent: dinsdag 26 september 2000 8:27
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Zope] Favorites
>
>
> Hi rishi,
>
> rishi wrote:
> >
> ...
> > The following tihng is going on; they are uploading the bookmark file
> > manualy, by exporting from IE or NS. There is a util called
> > "ImportExportFavorites", a javascript syntax that gets the bookmarks and
> > post them to the server.
>
> One has to have a glance at it to say more.
>
> > --" javascript:window.external.ImportExportFavorites(false,'your server
> > adress') "--
> >
> > when I use this util, it will send it's data tru the http_user_agent
> called
> > "favorites",
> > is there a posible way for grabbing the data it is sending into zope ?
> > it will send a file called 'img.fav'
> Depends. It would always helpful, if you make a dtml_method with just
>
> 
> 
> 
>
> to see whats going on.
>
> HTH
> Tino
>
>
> ___
> 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 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] cannot run without -D on win2000 ?

2000-09-25 Thread Phil Harris

Gijs,

I'm running Zope 2.2.2 on Windows 2000 Advanced Server at home wih -D with
no problems.

Here's the registry entry for it:

"D:\zope221\bin\python.exe" "D:\zope221\z2.py" -S

hth

Phil
[EMAIL PROTECTED]

- Original Message -
From: "Gijs Reulen" <[EMAIL PROTECTED]>
To: "Mailinglist Zope" <[EMAIL PROTECTED]>
Sent: Tuesday, September 26, 2000 12:44 AM
Subject: [Zope] cannot run without -D on win2000 ?


> Hi
>
> I tried to run Zope without the -D option but it will hang after the
> initial:
> C:\Program Files\Zope_220\bin\python.exe" "C:\Program Files\Zope_220\z2.py
> I tried both the 2.1.6 and 2.2.0 versions.
>
> Does anybody else have this same problem ?
> With the -D option Zope runs ok, but I would like to supress the traceback
> on errors.
>
> Gijs Reulen
>
>
> ___
> 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 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] Help - Weird stuff.

2000-09-25 Thread Phil Harris

Hi all,

Sorry for the subject but I don't really know how to describe this.

I have a folder 'hp' which has loads of stuff in it, if I try to copy and
paste into it though I get this error:

'The object index_html does not support this operation '

with this traceback:

Traceback (innermost last):
  File D:\zope221\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File D:\zope221\lib\python\ZPublisher\Publish.py, line 187, in publish
  File D:\zope221\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
  File D:\zope221\lib\python\ZPublisher\Publish.py, line 171, in publish
  File D:\zope221\lib\python\ZPublisher\mapply.py, line 160, in mapply
(Object: aspire_personal_pasteObjects)
  File D:\zope221\lib\python\ZPublisher\Publish.py, line 112, in call_object
(Object: aspire_personal_pasteObjects)
  File D:\zope221\lib\python\OFS\DTMLMethod.py, line 172, in __call__
(Object: aspire_personal_pasteObjects)
  File D:\zope221\lib\python\DocumentTemplate\DT_String.py, line 528, in
__call__
(Object: aspire_personal_pasteObjects)
  File D:\zope221\lib\python\DocumentTemplate\DT_Util.py, line 337, in eval
(Object: manage_pasteObjects(cb_copy_data=SESSION['cbdata']))
(Info: manage_pasteObjects)
  File , line 0, in ?
  File D:\zope221\lib\python\OFS\CopySupport.py, line 203, in
manage_pasteObjects
(Object: Traversable)
  File D:\zope221\lib\python\OFS\CopySupport.py, line 406, in
_verifyObjectPaste
(Object: Traversable)
Copy Error: (see above)

Any Ideas?

Phil
[EMAIL PROTECTED]



___
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] Close your eyes . . .

2000-09-21 Thread Phil Harris

Cool!

- Original Message - 
From: "Spicklemire, Jerry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 21, 2000 11:47 PM
Subject: [Zope] Close your eyes . . .


> and pretend that Zope can do this today!
> 
> http://standardbrains.editthispage.com/
> 
> This is where we're headed with DAV, XML / DOM, Zope Studio, etc.
> 
> Sorry the demo only works (today) with MS IE v. 5+. If you can get 
> to a desktop with this installed, it is such a trip to swipe some 
> content, and edit in place, without a #%&@ text box! So this is what 
> Tim Berners Lee had in mind with that funny little put method . . .
> 
> Later,
> Jerry S.
> 
> ___
> 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 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   >