hi!
yesterday, i have test-driven zope on a dual-pentium smp-machine
running linux 2.2 and i was very disappointed by the results.
the zserver threads are running on both cpu's but it seems to
scale really, really badly. i have only done some very cheap
benchmarking but it seems that a single cpu
Thilo Mezger wrote:
> yesterday, i have test-driven zope on a dual-pentium smp-machine
> running linux 2.2 and i was very disappointed by the results.
> the zserver threads are running on both cpu's but it seems to
> scale really, really badly. i have only done some very cheap
> benchmarking but
"Phillip J. Eby" a écrit :
>
> At 08:39 PM 5/17/00 +0400, Jepthte CLAIN wrote:
> >
> >I wonder if someone can send me a simple example using the ZPatterns
> >framework. I read all the source, and I still can't figure out what is
> >the relationship between the objects instantiated by the Racks
Brian Lloyd wrote:
> We are going to move a better 'zopectl start', 'zopectl stop' sort of
> setup, though its not there yet. This will make a number of things
> better.
Cool :-)
> > - the -P option doesn't work properly.
> > python z2.py -D -P 9000 still resulted in the PCGI server being run on
Brian Lloyd wrote:
[snip]
> > Won't this break Amos' XML-RPC-based editor and similar hacks?
>
> Waaa probably. Ok, so I've _provisionally_ changed this in
> the current CVS. I feel a to-the-death-cage-match coming on.
Horse before the cart?
Maybe the XML-RPC editor needs fixing 'cos some
Hi,
I am working at a search form and trying to display the result in one of the
frame newly created.
I just realize by putting the instead of the code into
the frames, the variables were all gone.
I recall that zope take account to different browser section, did this
related to my problem? If
Chris Withers wrote:
> PS: The XML-RPC stuff could just be given the nwe view permission for
> objectIds, if it REALLY needs it... although this would mean the
> docstrings thing would have to eb replaced, which isn't necessarily a
> bad thing ;-)
Yes, it really needs it. My XML-RPC uploading i
Itamar Shtull-Trauring wrote:
>
> Chris Withers wrote:
>
> > PS: The XML-RPC stuff could just be given the nwe view permission for
> > objectIds, if it REALLY needs it... although this would mean the
> > docstrings thing would have to eb replaced, which isn't necessarily a
> > bad thing ;-)
>
>
hi thilo,
the scaling problem comes from the overhead of switching python threads
when they run on 2 CPUs. one strategy, if your OS allowed it, would be
to force the python process onto a single CPU. sunOS/solaris allows you
to do so if i remember right.
you're a little luckier if you actually r
Kent,
If possible, I'd like you to check whether the FTP server is trying to
make the connection from a port other than 20. Then try out a
different FTP server that is working through the firewall (on active
mode connections) and see if it connects from port 20. If so, we have
found the problem
"Dr. Ross Lazarus" wrote:
>
> I'm testing 2.2a1.
> I have some ZClasses which work fine in 2.1.6. I copied my Data.fs to
> the new 2.2a1 install.
> As a non-superuser I have taken ownership of the top level of the
> site. When I try to access a zclass instance which uses manage_tabs
> in it's > i
Chris Withers <[EMAIL PROTECTED]> opined:
>
> Brian Lloyd wrote:
>
> [snip]
>
> > > Won't this break Amos' XML-RPC-based editor and similar hacks?
> >
> > Waaa probably. Ok, so I've _provisionally_ changed this in
> > the current CVS. I feel a to-the-death-cage-match coming on.
>
> Horse b
Mark Postal wrote:
>
> I'm running HPUX 10.20 and Oracle 8.0.3. My goal is to use ZOracleDA,
> but first I must get DCOracle working. DCOracle compiles OK and I
> am able to connect to the database when executing from the command line.
> My test script is attached for reference.
>
> My problem
Tres Seaver wrote:
>
> > Taking HTTP alone, for simplicity of expression; I suppose what I'm
> > asking for is that there are two HTTP servers for one Zope instance.
> > The one on port 80 (for example) only responds to those URLs that are
> > for public viewing. The one on port 8081 (for example
At 12:13 PM 5/18/00 +0100, Steve Alexander wrote:
>
>It occurs to me that there are two distinct "views" of the Zope tree.
>
> 1. The developer's / content manager's view
>
> 2. The end-user's view
>
Unfortunately, it's not just black-and-white, it's lots of shades of grey
in between. Management
At 12:53 PM 5/18/00 +0400, Jephte CLAIN wrote:
>
>
>"Phillip J. Eby" a écrit :
>>
>> When created, Racks create some default Attribute and Sheet providers.
>> These objects are used by Rackmountables to access data which is not stored
>> directly in the rackmountable.
>
>Indeed, attribute and she
Brian Lloyd wrote:
> I don't have a good answer for you, though I tend to agree with
> you that some things just don't want to be accessed outside of
> some larger context. I'd like to hear some different viewpoints
> on how people think something like this should work...
What the difference s
Ty Sarna wrote:
> Can't you just turn off 'Access contents information' permission or
> whatever it is on a folder if you don't want people to call
> those things trough the web?
Hm, but wouldn't that break a lot of code? You need Access contents
information if you're going to do something like a
Brian Lloyd wrote:
> Yes you could, except that you would also make them inaccessible
> from DTML (or from anywhere else) for the same class of users.
>
> Is it really acceptable that in order to use
> on a page that needs to be accessible to anonymous users that I
> must grant 'Access content
On Thu, 18 May 2000, Matthew T. Kromer wrote:
> However, if that's not the case, maybe a recent checkout of the DCOracle
> CVS will help; I have made no announcement because the ONLY platform
> I've tested on is Linux with Oracle 8.0.5 and 8.1.5; Oracle is variant
> enough that this doesn't repres
Martijn Faassen wrote:
> So you have something like:
[snip]
> Of course this sounds like it could get unwieldy, unless there was
> some clear user interface.
This would be unwieldy, I prefer the suggestion I made (obviously ;-)
which gets around this...
> > From the point of view of an xml-rpc
Chris Withers wrote:
> The solution I proposed before is simple (maybe not to implement ;-) and
> I think solves all the problems:
>
> Split the current 'view' permission into two new permissions:
> 1. View - allow users to directly access an object through
> HTTP/FTP/XML-RPC/etc
> 2. Execute - a
On Thu, 18 May 2000, Matthew T. Kromer wrote:
> Yes, this is in the CVS version; Chris Petrilli will probably make an
> announcment & a release soon. The behavior is such that NUMBER with
> neither scale nor precision is a float.
Great! Thanks for the info. From your last sentence I'm wonderin
Zopistas!
I want to write an Product that mirrors every ZODB-Transaction to a
Backup-Server.
The idea was to trap every transaction (i.e. creation, change, deletion of
zope-objects) and transfer a copy of the object to another server (via
XML-RPC?!?) after the transaction got commited.
I've been
Heine,
You'll want to take a look at lib/python/ZODB/FileStorage,
lib/python/ZODB/DemoStorage, and lib/python/ZODB/MappingStorage for
ideas. You may also want to take a look at the ZODB Wiki at
http://www.zope.org/Members/jim/ZODB
Heine Gregor wrote:
>
> Zopistas!
>
> I want to write an Pro
Heine Gregor wrote:
> I want to write an Product that mirrors every ZODB-Transaction to a
> Backup-Server.
> The idea was to trap every transaction (i.e. creation, change, deletion of
> zope-objects) and transfer a copy of the object to another server (via
> XML-RPC?!?) after the transaction got c
Martijn Faassen wrote:
>
> Brian Lloyd wrote:
> > Yes you could, except that you would also make them inaccessible
> > from DTML (or from anywhere else) for the same class of users.
> >
> > Is it really acceptable that in order to use
> > on a page that needs to be accessible to anonymous users
Martijn Faassen wrote:
> Various things. What you'd need is turn off 'view' permission by
> default for just about *everything* except possibly DTML Documents,
> otherwise it's just too easy to set up a site that exposes too
> much. Exposure to URLs should be turned off by default.
Well, this is
Shane Hathaway wrote:
> Data.fs is essentially a log file that is appended with binary data.
> The only time the data is changed rather than appended is when you pack
> the database. Therefore, it may be easier to write a script that
> catches the data that is appended and appends it to the back
"R. David Murray" wrote:
>
> On Thu, 18 May 2000, Matthew T. Kromer wrote:
> > However, if that's not the case, maybe a recent checkout of the DCOracle
> > CVS will help; I have made no announcement because the ONLY platform
> > I've tested on is Linux with Oracle 8.0.5 and 8.1.5; Oracle is varia
Thilo Mezger:
> hi!
>
Howdy.
> yesterday, i have test-driven zope on a dual-pentium smp-machine
> running linux 2.2 and i was very disappointed by the results.
> the zserver threads are running on both cpu's but it seems to
> scale really, really badly. i have only done some very cheap
> bench
Hello,
I've got a zope who turn on my apache server, and i want use webdav.
I have already apply the patch to mod_cgi (thanks greg) but my problem is
not resolv.
Is anybody know how to change the httpd.conf to use webdav protocol to
work with zope through apache ?
Stev
> > I want to write an Product that mirrors every ZODB-Transaction to a
> > Backup-Server.
> > The idea was to trap every transaction (i.e. creation, change, deletion
> of
> > zope-objects) and transfer a copy of the object to another server (via
> > XML-RPC?!?) after the transaction got commited.
"R. David Murray" wrote:
>
> On Thu, 18 May 2000, Matthew T. Kromer wrote:
> > Yes, this is in the CVS version; Chris Petrilli will probably make an
> > announcment & a release soon. The behavior is such that NUMBER with
> > neither scale nor precision is a float.
>
> Great! Thanks for the inf
Well, that sort of makes sense. The containing object is the object
that needs to be updated to rid itself of the reference to the contained
object. I'm not sure I understand the problem. The object to be
updated *is* the container.
> My problem is the first step: how does the client r
Alexander Schad wrote:
>
> Hi Folks!
>
> I experienced some problems using Umlauts (ä,ö,ü,ß) in ZCatalog. The
> problems seems to be that the umlauts get html_quoted when indexed i.e.
> u-umlaut becomes ü but when i search for an umlaut they get
> url_quoted u-umlaut becomes %FC and though the e
On Wed, May 17, 2000 at 03:28:58PM -0400, Brian Lloyd wrote:
> > - start.bat still hasn't been renamed. It's not that bright since
> > windows has had a start command for ages now... typing start.bat tries
> > to 'start' something called .bat. doh...
> > The only way to get it to work is
> > "sta
On 18 May 2000 08:45:02 -0500, Shane Hathaway wrote:
>Kent,
>
>If possible, I'd like you to check whether the FTP server is trying to
>make the connection from a port other than 20. Then try out a
Ahhh! figured it out...
1) ZServer passive mode appears correct.
2) ZServer active mode responds o
Kent Polk wrote:
> If we could simply solve this problem by replacing our active ftp
> clients with passive ones, it would be great, but it still doesn't
> solve the problem of clients *elsewhere* which are running behind
> a firewall and attempting to contact our server...
One possible way to so
Oops, my reply of yesterday was missing the actual error I get using
manage_setStorage. It's an AttributeError for aq_acquire! I can't
see how I could be getting this since PersistentUserSource singly
inherits from BasicUserSource which inherits from Rack. What happened
to my aq_acquire? Does
I added another note on the Wikki regarding the XSLTMethod __call__
issue, more information on the ZPublisher is neccessesary for any
progress. Is there any good documentation on the subject?
Here is the link to the issue:
http://216.164.72.7:7780/Wiki/Members/jim/ZDOM/Issue%20with%20__call__%20a
FYI, I have found a problem with the setattr/delattr implementation. I'm
not sure it's technically a bug, but if I understand the code correctly,
setting or deleting a non _v_ attribute on a cPersistent will always cause
the object to be marked changed, regardless of what the Python-level
__set/d
At 01:49 PM 5/18/00 -0400, Dan L. Pierson wrote:
>Oops, my reply of yesterday was missing the actual error I get using
>manage_setStorage. It's an AttributeError for aq_acquire! I can't
>see how I could be getting this since PersistentUserSource singly
>inherits from BasicUserSource which inheri
"Phillip J. Eby" wrote:
> >The AttributeProvider (that my rack have by default) raise an exception
> >in MyItem.__init__ because i and s do not exist (indeed, I want to
> >create them in the instance!)
>
> Could you give the traceback? I think it is more likely your __init__ is
> failing beca
Phillip J. Eby writes:
> Um, no. You've found a bug in PlugInGroup.objectValues(). :( It doesn't
> wrap the returned objects in the context of the PlugInContainer
> (LoginManager in this case). As a workaround, you can say
> us.__of__(self.acl_users).manage_setStorage(). Sorry; I'm fixing
Shane Hathaway wrote:
> Kent Polk wrote:
> > If we could simply solve this problem by replacing our active ftp
> > clients with passive ones, it would be great, but it still doesn't
> > solve the problem of clients *elsewhere* which are running behind
> > a firewall and attempting to contact our s
At 04:04 PM 5/18/00 -0400, Dan L. Pierson wrote:
>
>The portal now gets created, but I can't login to the initial account.
>I also can't display the members roster by clicking on Members
>(AttributeError for getUsers), but can write a DTML method in the
>UserSource that lists all one user. The co
I was just looking at the ZCatalog code to figure out how to programatically
add an index to a Catalog. I figured out how to do that fairly easily,
but the code I was looking at has me a bit mystified. The method
manage_addIndex is defined. The form that you use through the
management interface
How about:
yourcatalog._catalog.addIndex(id, 'FieldIndex')
replace FieldIndex with TextIndex or KeywordIndex as desired.
"R. David Murray" wrote:
>
> I was just looking at the ZCatalog code to figure out how to programatically
> add an index to a Catalog. I figured out how to do that fairly
On Thu, 18 May 2000, Chris McDonough wrote:
> yourcatalog._catalog.addIndex(id, 'FieldIndex')
Sorry, I started that email when I was about to ask the question
you answered, then figured it out myself and changed the email
body to ask a new question, but forgot to change the email
subject .
> "R
[reported to Collector; posted as FYI]
Under certain circumstances, Zope transaction objects will have their
abort() method called more than once for the same transaction, which leads
to jar.abort() operations being called twice. This occurs any time that
the zpublisher_exception_hook reraises t
Phillip J. Eby writes:
> At 04:04 PM 5/18/00 -0400, Dan L. Pierson wrote:
> >
> >The portal now gets created, but I can't login to the initial account.
> >I also can't display the members roster by clicking on Members
> >(AttributeError for getUsers), but can write a DTML method in the
> >Us
I am using a Zope site as a repository for documentation on a business
application that I'm involved in supporting.
Site content presently includes a mixture of HTML pages and MS Word and
Excel documents.
The site uses a frameset to contain a DTML-Tree based navigation structure
in the left fram
Yep, trying to access a newly instantiated empty zclass instance
produces the same error.
Looks like a bug. Email me if you want an exported version of my zclass
to poke and prod at...
Tres Seaver wrote:
> Does the problem repeat in the "vanilla" version if you just create a
> new instance of
On Fri, 19 May 2000, Dr. Ross Lazarus wrote:
> Yep, trying to access a newly instantiated empty zclass instance
> produces the same error.
>
> Looks like a bug. Email me if you want an exported version of my zclass
> to poke and prod at...
Evan Simpson remarked to me as I walked in this mornin
On Thu, 18 May 2000 16:55:37 +0200, Martijn Faassen
<[EMAIL PROTECTED]> wrote:
>Brian Lloyd wrote:
>> Yes you could, except that you would also make them inaccessible
>> from DTML (or from anywhere else) for the same class of users.
>>
>> Is it really acceptable that in order to use
>> on a pa
The latest CVS doesn't seem to like tiny tables. Anybody got similar problems? Seems
rather a
brutal kind of error to say the super user can't own any objects.
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: SuperCannotO
Tres Seaver wrote:
> I don't get the issue here, I guess; either anonymous users can view
> objectIds (through the web, through XML-RPC, whatever), or they can't
> (because you don't want them to have the information that a given
> object is there, I guess?)
Perhaps you just don't want to expose
58 matches
Mail list logo