[Zope] No management interface on port 80

2000-06-24 Thread sudhir

I had my zope site up and running smoothly in test environment,
without a glitch on port 8080 for about 2 weeks.

I am using ZServer directly.

Now I decided to make it live, on the default port 80.
I installed Zope as root, with the command:
  zope_dir/install -u nobody

Then I modified the start script  and added  -w 80
after z2.py and took out the -D flag.

The problem I am facing now is that whenever I click to go
to the management screen, I do not get any response back from the
server.

Any suggestion will be greatly appreciately.

Thank you,
-- sudhir


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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 Problems with simple constant/function queries

2000-06-24 Thread Andrew Kenneth Milton

+[ Stefan Franke ]-
[Charset iso-8859-1 unsupported, filtering to ASCII...]
| I'm using MySQLDA 1.1.3 on Win32. When I type the following queries
| into the test tab edit box, I get the traceback below:
| 
|   select LAST_INSERT_ID()
| 
| or
| 
|   select 1 from 

I can give you work_arounds for both cases:-

select 1 from foo as One

select CONV(LAST_INSERT_ID(),10,10) AS LAST_INSERT_ID

This last one took me a little while to work out :-)

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd  |  F:+61 7 3870 4477   | 
ACN: 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068|[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] MySQLDA Problems with simple constant/function queries

2000-06-24 Thread Chris McDonough

Stefan Franke wrote:
> When I look into db.py, the error doesn't look very hard to fix, I think
> I'll give tomorrow. Is there some API documentation of what a DA is
> supposed to do?

Zope site's not responding for me currently, so I can't give you a URL,
but please search the Zope.org site for "how to write a da", it should
return a link to an article by Chris Petrilli that documents the DA
interface.

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] Install on Win98 for Newbie

2000-06-24 Thread Phil

I've followed the instructions of the Install - HOW TO to the letter.  When
I double-click on start.bat, I get the following:


C:\Program Files\WebSite>"C:\Program Files\WebSite\bin\python.exe"
"C:\Program F
iles\WebSite\z2.py" -D
Traceback (innermost last):
  File "C:\Program Files\WebSite\z2.py", line 440, in ?
import ZServer
  File "C:\Program Files\WebSite\ZServer\__init__.py", line 123, in ?
from HTTPServer import zhttp_server, zhttp_handler
  File "C:\Program Files\WebSite\ZServer\HTTPServer.py", line 116, in ?
from HTTPResponse import make_response
  File "C:\Program Files\WebSite\ZServer\HTTPResponse.py", line 97, in ?
from PubCore.ZEvent import Wakeup
  File "C:\Program Files\WebSite\ZServer\PubCore\ZEvent.py", line 91, in ?
Wakeup=trigger().pull_trigger
  File "C:\Program Files\WebSite\ZServer\medusa\select_trigger.py", line
118, in
 __init__
a.listen (1)
  File "", line 1, in listen
socket.error: (10050, 'winsock error')

Thanks in advance for any advice.

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 )




[Zope] 2.2.0b2 dies in Windows NT4

2000-06-24 Thread Graham Chiu


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

Same thing happened with 2.2.0b1.

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

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

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] MySQLDA Problems with simple constant/function queries

2000-06-24 Thread Stefan Franke

I'm using MySQLDA 1.1.3 on Win32. When I type the following queries
into the test tab edit box, I get the traceback below:

  select LAST_INSERT_ID()

or

  select 1 from 


Of course "select * from " works.

When I look into db.py, the error doesn't look very hard to fix, I think
I'll give tomorrow. Is there some API documentation of what a DA is
supposed to do?

Since the 1.1.4 query() code is identical, I think the problem appears
there as well.

Please reply to the posting via email directly, since I'm not subscribed
to the list.

Stefan
www.meso.net


---

Error Type: KeyError
Error Value: unhandled

Traceback (innermost last):
  File D:\Programme\Zope2.2\mensa_m\lib\python\ZPublisher\Publish.py, line
224, in publish_module
  File D:\Programme\Zope2.2\mensa_m\lib\python\ZPublisher\Publish.py, line
189, in publish
  File D:\Programme\Zope2.2\mensa_m\lib\python\Zope\__init__.py, line 221,
in zpublisher_exception_hook
(Object: RoleManager)
  File D:\Programme\Zope2.2\mensa_m\lib\python\ZPublisher\Publish.py, line
175, in publish
  File D:\Programme\Zope2.2\mensa_m\lib\python\ZPublisher\mapply.py, line
160, in mapply
(Object: manage_test)
  File D:\Programme\Zope2.2\mensa_m\lib\python\ZPublisher\Publish.py, line
112, in call_object
(Object: manage_test)
  File D:\Programme\Zope2.2\mensa_m\lib\python\Shared\DC\ZRDB\Connection.py,
line 178, in manage_test
(Object: RoleManager)
  File D:\Programme\Zope2.2\mensa_m\lib\python\Products\ZMySQLDA\db.py, line
191, in query
KeyError: (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 )




Re: [Zope] Stupid question of the day

2000-06-24 Thread R. David Murray

On Sat, 24 Jun 2000, Dieter Maurer wrote:
> Andy McKay writes:
>  > How do I find the size of the results returned by the catalog?
> 
><-- the results' length -->
> 

Or you can use the variable 'sequence-length'.  Remember that
if you want to use it in an expr you have to say _['sequence-length'].

--RDM


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] catalogAware (so close)

2000-06-24 Thread ed colmar

Hi All.

My product's catalog is now almost completely functional, only the
refrence in the URL is wrong!

In my test area, I create a person object, theat ends up here:

http://localhost:8080/safezone/F_test/People/testperson/

The catalogAwareness adds the object to the site's catalog as:

http://localhost:8080/safezone/F_test/safezone/F_test/People/testperson/

This URL still does display the object if called.  Must be some
inheritance quirk.?.?

Have I done something wrong?  Or is catalogAwareness finding something it
shouldn't?

Thanks for any hints!

-ed-


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] ZMysqlDA

2000-06-24 Thread Jonothan Farr

Sorry for the delayed response. I just posted a patch for this on the Zope
site at http://www.zope.org/Members/jfarr/Patches

--jfarr

- Original Message -
From: Brenton Bills <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 22, 2000 12:06 AM
Subject: [Zope] ZMysqlDA



>
> Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD
> machine, I have compiled this fine before on Linux but no luck on bsd. I
> am new to Bsd so if this is a bsd problem I appolagise in advance, but the
> ZMysqlda documentation is not clear on what libs are required.
>
> Python 1.5.2 manually compiled and installed (not part from ports).
>
> cc -fpic  -I/usr/local/include/mysql -I/usr/include/mysql -O -pipe
> -D_THREAD_SAFE -I/usr/local/include/python1.5
> -I/usr/local/include/python1.5 -DHAVE_CONFIG_H -c ./MySQLmodule.c
> ./MySQLmodule.c: In function `pythonify_row':
> ./MySQLmodule.c:238: warning: assignment from incompatible pointer type
> ./MySQLmodule.c: In function `pythonify_res_fields':
> ./MySQLmodule.c:384: invalid lvalue in unary `&'
> ./MySQLmodule.c: In function `STH_fetchdict':
> ./MySQLmodule.c:1125: invalid lvalue in unary `&'
> ./MySQLmodule.c:1147: invalid lvalue in unary `&'
> *** Error code 1
>
> Brenton Bills.
>
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   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] 99.9% CPU usage (0.1% brain usage)

2000-06-24 Thread Alexandre A. Drummond Barroso

It's happening to me right now, but I don't want to reinstall everything. I don't use 
bannerexchange, but every time I connect to
/manage folder using IE5.01 browsers it happens. It's weird, but it doesn't happen 
when I access direcly from the Linux console
using a Netscape browser.

Alexandre.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin
Smith
Sent: Friday, March 24, 2000 3:09 PM
To: [EMAIL PROTECTED]
Subject: [Zope] 99.9% CPU usage (0.1% brain usage)



Hi there,

For some reason Zope would suddenly hang and it's thread would consume 99.9% of CPU 
usage.  The first time this happened the problem
magically disappeared after a complete reinstall. Here's what happened while casually 
throwing bannerexchange code into the default
DTML document.

standard_html_footer

   
  
  
  
 

bannerexchange
 
 
 
 
 
 < Oops!


I'm on Zope 2.1.6, do future version prevent me from making accidental infinite loops 
like this?


Kevin Smith


BTW: I get exponentially more done with Zope every day.  Thanks for 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] Zope 2.2.0b2 - Undo

2000-06-24 Thread Lalo Martins

On Sat, Jun 24, 2000 at 11:18:27AM +, Oleg Broytmann wrote:
> Hi!
> 
>Do I understand it right, that on every object Undo displays only those
> action that applied to that object? And all Undo action are listed only in
> root? (that's looks pretty good for me!)

The way I see it, each Folder's Undo tab displays all actions
from there below, for which the current user has permission to
undo. (So still the root folder's Undo tab displays _all_
actions, assuming the current user has all permissions.)

[]s,
   |alo
   +
--
  Hack and Roll  ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.


http://zope.gf.com.br/lalo   mailto:[EMAIL PROTECTED]
 pgp key: http://zope.gf.com.br/lalo/pessoal/pgp

Brazil of Darkness (RPG)--- http://zope.gf.com.br/BroDar

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] ZODB performance: reads to writes

2000-06-24 Thread Jimmie Houchin

Thanks for the reply.

This is what I understand based on your reply and from the paper by Jim.

1. That there are solutions currently being worked on by DC (implied).
   Yes, worked on does not mean 'Coming Soon to a Zope near You!' :)

2. That if an app, either by it's nature or thru it's developers design,
eliminates or handles conflicts before commits are made to the ZODB,
that high write situations are not a problem.

Slap me upside the head if I misunderstand. :)

If this is the case then I think this is great news. Okay, it may not be
news. And I may be the only clueless soul in ZopeLand. :)


Question:

Is number 1. below something that would take place with BTree Folders?
Or is this apples and oranges? 


Once again, thanks.

Jimmie Houchin


Evan Simpson wrote:
> 
> - Original Message -
> From: Jimmie Houchin <[EMAIL PROTECTED]>
> 
> > Will an app as described above still suffer from problems with high
> writes?
> 
> Possibly, but only if there are hidden hotspots.  For example, in your
> message-appending scenario, are these messages being added to the same
> Folder?  If so, the Folder is getting written with each object added to it,
> and will be a source of conflict.  If the objects that your users are
> editing are cataloged, the Catalog is a hotspot.
> 
> There are two independent attacks on this problem underway:
> 
> 1. Make Folders and Catalogs store meta-data about their contents in a data
> structure consisting of small persistent objects, like B-Tree nodes.  This
> reduces the scope of potential conflict (and the size of the update required
> by a write) to the size of one of these nodes.
> 
> 2. Implement the application-level conflict handling you read about, so that
> Folders and Catalogs can decide that two writes don't conflict after all,
> and merge them into a single update.
> 
> Cheers,
> 
> Evan @ digicool & 4-am
> 
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   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] 99.9% CPU usage (0.1% brain usage)

2000-06-24 Thread Kevin Smith


Hi there,

For some reason Zope would suddenly hang and it's thread would consume 99.9% of CPU 
usage.  The first time this happened the problem magically disappeared after a 
complete reinstall. Here's what happened while casually throwing bannerexchange code 
into the default DTML document.

standard_html_footer

   
  
  
  
 

bannerexchange
 
 
 
 
 
 < Oops!


I'm on Zope 2.1.6, do future version prevent me from making accidental infinite loops 
like this?


Kevin Smith


BTW: I get exponentially more done with Zope every day.  Thanks for Zope.




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Disabling tracebacks

2000-06-24 Thread Matt Behrens

On Sat, Jun 24, 2000 at 06:31:43PM +0200, Martijn Pieters wrote:

> On Sat, Jun 24, 2000 at 12:19:27PM -0400, Matt Behrens wrote:

> > I'd like to disable tracebacks from showing up in Zope exceptions
> > (especially on 404s).  I know zope.org does this; how can I?  Is
> > there a flag I can set somewhere?

> >From the ZDP FAQ: "How do I disable the display of these long tracebacks in
> error messages?":
> 
>   http://zdp.zope.org/projects/zfaq/faq/ZopeInstallation/959594145/

That's cool, but that just comments out the tracebacks.  How can I
make them disappear entirely?  Or is that code hacking :-)  (I just
noticed zope.org is just commenting them too...)

-- 
Matt Behrens <[EMAIL PROTECTED]>
Owner/Administrator, zigg.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] Re: Problem with LocalFS

2000-06-24 Thread jensebaer

Ok now I placed the dtml files (savefile.dtml upload.dtml) in the LocalFS
Folder but the problem is still the same:
When I use manage_addImage (now from inside LocalFS) the new image is
created in the folder above.
I don´t no how but there must be a way to add an Image to LocalFS by using
another addimage form then the given.
My I have to use another manage function?
Or is there a special sytax to do this?
You wrote that it works from inside LocalFS so may you can give me an
example.

Thank you

Jens


- Original Message -
From: Jonothan Farr <[EMAIL PROTECTED]>
To: jensebaer <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, June 23, 2000 2:35 AM
Subject: [Zope] Re: Problem with LocalFS


This is a known problem with LocalFS. The only workaround I know of is to
put
your dtml code into a file, give it a .dtml extension, and place it in the
directory you want to upload to. This problem will be addressed in the next
version of LocalFS.

--jfarr

"Perl is worse than Python because people wanted it worse."
Larry Wall, 14 Oct 1998

- Original Message -
From: jensebaer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 22, 2000 5:23 PM
Subject: [Zope] Problem with LocalFS


Hello,

I want to upload files to LocalFS.
I created a LocalFS with the id: images

I don´t want to use the existing addImageForm to create a new Image in the
LocalFS.

I want to use two DTML Methods

uploadform

  
  File
  


but this do not create a new image in the LocalFS.
It creates an image in the Folder in which the the LocalFS exists.

I do not understand why 

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 )



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] ZODB performance: reads to writes

2000-06-24 Thread Evan Simpson

- Original Message -
From: Jimmie Houchin <[EMAIL PROTECTED]>

> Will an app as described above still suffer from problems with high
writes?

Possibly, but only if there are hidden hotspots.  For example, in your
message-appending scenario, are these messages being added to the same
Folder?  If so, the Folder is getting written with each object added to it,
and will be a source of conflict.  If the objects that your users are
editing are cataloged, the Catalog is a hotspot.

There are two independent attacks on this problem underway:

1. Make Folders and Catalogs store meta-data about their contents in a data
structure consisting of small persistent objects, like B-Tree nodes.  This
reduces the scope of potential conflict (and the size of the update required
by a write) to the size of one of these nodes.

2. Implement the application-level conflict handling you read about, so that
Folders and Catalogs can decide that two writes don't conflict after all,
and merge them into a single update.

Cheers,

Evan @ digicool & 4-am


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] Disabling tracebacks

2000-06-24 Thread Martijn Pieters

On Sat, Jun 24, 2000 at 12:19:27PM -0400, Matt Behrens wrote:
> I'd like to disable tracebacks from showing up in Zope exceptions
> (especially on 404s).  I know zope.org does this; how can I?  Is
> there a flag I can set somewhere?

>From the ZDP FAQ: "How do I disable the display of these long tracebacks in
error messages?":

  http://zdp.zope.org/projects/zfaq/faq/ZopeInstallation/959594145/

-- 
Martijn Pieters
| Software Engineermailto:[EMAIL PROTECTED]
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
|   The Open Source Web Application Server
-

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] Disabling tracebacks

2000-06-24 Thread Matt Behrens

I'd like to disable tracebacks from showing up in Zope exceptions
(especially on 404s).  I know zope.org does this; how can I?  Is
there a flag I can set somewhere?

-- 
Matt Behrens <[EMAIL PROTECTED]>
Owner/Administrator, zigg.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] ZODB performance: reads to writes

2000-06-24 Thread Jimmie Houchin

I know this has been brought up before, but I don't remember if this
question has been asked.

I've been reading everything I could find on the ZODB. Currently I am
reading 'Introduction to the Zope Object Database' by Jim Fulton at
http://www.zope.org/Members/jim/Info/IPC8/ZODB3/index.html .

Towards the end of the paper under Status, he starts referring to future
features. Under 'Application-level conflict resolution protocols' he
states this, 'Applications with much higher write to read ratios are
likely to encounter frequent conflict errors which can seriously affect
performance.'

Is this pretty much the primary reason that it is generally said that
the ZODB isn't as well suited to high write situations? Or is there more
to it than that?

The reason I ask is this.

My app by it's nature as a community/portal will have plenty of writes
in certain areas. However, due to the structure of the website and the
app most all writes are to unique objects, are appends to an object or
the person editing the object is the owner and has no one to conflict
with. In this case there should be little if any ConflictErrors due to
different users trying to commit changes to the same object. In the case
of the appends, it would be like a bboard and there would be no
conflict. Appends will be done in the order received.

Will an app as described above still suffer from problems with high
writes?

Thanks for any help.

Jimmie Houchin

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] OQL

2000-06-24 Thread Steve Alexander


Rogerio Atem de Carvalho <[EMAIL PROTECTED]> wrote:
> I have a question: Will ZODB have something like OQL?
> The problem in using ZODB is to do simple queries and 
> link different class object instances in queries (SQL 
> join).
> It is hard to do simple things in ZODB like aggregate 
> functions (sum, max ...)
> That's why I use an external RDBMS...

The XPath and XQuery support that ought to be coming along with the new
XML support will handle this, although not with OQL as such. The
functionality will be about equivalent, though.

  http://www.zope.org/Wikis/zope-xml/XPath%20in%20Zope

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




Re: [Zope] HTML Editors that recognize DTML (was bastardized form of XML)

2000-06-24 Thread jan

OK, now the same question (what HTML editor understands / can be
made to understand DTML), but rund on Linux instead of Windows?
Right now, I use vi. I'll have to try the vim ftp plugins I've
seen on the list.
Anything else that works?

Cheers,
Jan

... see you at Linuxtag 2000

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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] DTMLTemplate in a ZClass

2000-06-24 Thread RC Compaan

I have a DTMLTemplate inside the methods of a ZClass in which I defined
blocks of text.  when I reference the DTMLTemplate from another method of
the ZClass I get a a "not authorised" error although i've set the
DTMLTemplate and the calling method's proxy roles to manager and owner.

Roché


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   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 2.2.0b2 - Undo

2000-06-24 Thread Oleg Broytmann

Hi!

   Do I understand it right, that on every object Undo displays only those
action that applied to that object? And all Undo action are listed only in
root? (that's looks pretty good for me!)

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [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] Zope 2.2.0b2 - PythonMethods

2000-06-24 Thread Oleg Broytmann

Hello!

   Today my memory proved to be even worse than I thought yesterday (or may
be I just forget how bad 'twas yesterday? :)!

   I remember DC submitted PythonMethods into CVS, but I cannot find
PythonMethod in 2.2.0b2. Are PythonMethods for later versions? Or it will
be separated Product forever?

   I have downloaded latest PythonMethods and successfully installed the
component, but shouldn't it be in distribution? Or I just don't understand
something?

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [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 )