[Zope] Re: newbie -- creating a Product

2006-11-06 Thread Tres Seaver
y insignificant; the use of Zope3 technology within Zope2, however, is growing by leaps and bounds. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"htt

[Zope] Re: Zope 2.6.4 -> 2.10.0 Migration (PageTemplates, Unicode, etc.)

2006-11-01 Thread Tres Seaver
uld we move to > an older version (2.8? 2.9?) first and then onto 2.10? Maybe. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuP

[Zope] Re: Uploading photos into newly created objects

2006-10-24 Thread Tres Seaver
er layer. E.g., :: def manage_addSomething(dispatcher, id, title, photofile): from Products.whatever.photo import Photo instance = Something(id, title) dispatcher._setObject(id, instance) obj = dispatcher._getOb(id) photo = Photo(id='photo', title=''

[Zope] Re: REQUEST Variables and Caching

2006-10-20 Thread Tres Seaver
es things for > users who are NOT logged in. If set, the named variables form part of the key for the cached items. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "

[Zope] Re: Resolving a url from a path in a virtual host environment

2006-10-20 Thread Tres Seaver
pe. BTW, I did > implemented a workaround to this some time before (which I can't find > now...), but my point was knowing if I was right using this resolve_url > (even though this was not working) or there was something else available > out of the box. You probably wanted

[Zope] Re: Tab completion in zopectl debug

2006-10-18 Thread Tres Seaver
so left a number of those features out ('test', 'run', and 'debug' have all been added back in). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "

[Zope] Re: Query about Localfs on Mac Os X 10.4.8

2006-10-16 Thread Tres Seaver
> Can any one guide me in this.. Appreciateit, The producdt is not importing correctly, which causes it to be omitted silently in "production" mode. Start Zope in "debug" mode (e.g., 'bin/zopectl fg'), and report the error which you see on the console. At a

[Zope] Re: zope fork in external method - mysql connection dropped

2006-10-16 Thread Tres Seaver
y be caused by >> zope's multiple threads) and then have a clean up routine which kills >> all of the processes listed in the file (this could be an independant >> clean-up routine which wakes up on a regular basis, or it could be >> built into the 'spawning'

[Zope] Re: PAS and md5 or crypt passwords

2006-10-16 Thread Tres Seaver
;, which would control the behavior of 'authenticateCredentials' and 'updateUserPassword'. I've added an issue to the collector for SQLPasPlugin: http://plone.org/products/sqlpasplugin/issues/4 Tres. - -- === Tres Seav

[Zope] Re: Sending XML straight down to a zope

2006-10-12 Thread Tres Seaver
cked version of ZPublisher: it is possible to register new server types in Zope2 products (e.g., the original ClockServer product). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "E

[Zope] Re: Sending XML straight down to a zope

2006-10-11 Thread Tres Seaver
f you can get the vendor to use a PUT request instead of a POST, you could process the result inside a custom object'c 'PUT' method. Otherwise, you are going to need to create a custom derivative of ZPublisher.HTTPRequest, and override its 'processInputs' to handle the vendor&#

[Zope] Re: PAS and md5 or crypt passwords

2006-10-10 Thread Tres Seaver
.new(clear).hexdigest() # or whatever matched = self._execSQL(PASSWORD_TEST_SQL % (login, encrypted)) if matched: return matched[0]['userid'], login return {} Tres. - -- === Tres Seaver +1 202-558

[Zope] Re: Surprising load test results? (more results)

2006-10-10 Thread Tres Seaver
he changes made to the Zope2 version of ZPT after the Zope3 version was forked, and find any optimizations which were made only there. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Softwar

[Zope] Re: .%252e Strangeness

2006-10-09 Thread Tres Seaver
res. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

[Zope] Re: manage_beforeDelete

2006-10-09 Thread Tres Seaver
e looks like your example, you should have > gotten errors due to missing arguments. Except that 'OFS.ObjectManager' logs and suppresses any non-vetoing errors raised by an object's 'manage_beforeDelete': the tradeoff is that buggy objects could otherwise be unremovable.

[Zope] Re: [Fwd: [USN-359-1] Python vulnerability]

2006-10-09 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Tres Seaver wrote: >> Chris Withers wrote: >>> ouch... I'd imagine Zope is vulnerable to this? >>> >>> What source version(s) of python have these problems fixed? >> >> I th

[Zope] Re: Zope 3 Newbie Persistent Question

2006-10-09 Thread Tres Seaver
level default for the newly-added attributes. zope.schema.fieldproperty.FieldProperty is a particularly good way to set up those class-level defaults, as it uses the default value you declare in the schema. Tres. - -- === Tres Seaver +1 202-5

Re: [Zope] Re: [Fwd: [USN-359-1] Python vulnerability]

2006-10-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > > --On 6. Oktober 2006 12:32:51 -0400 Tres Seaver <[EMAIL PROTECTED]> > wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Chris Withers wrote: >&

[Zope] Re: [Fwd: [USN-359-1] Python vulnerability]

2006-10-06 Thread Tres Seaver
Zope with. Python 2.4.4 will have this fix, when released. [1] http://sourceforge.net/tracker/index.php?func=detail&aid=1541585&group_id=5470&atid=305470 Tres. - -- ======= Tres Seaver +1 202-558-7113

[Zope] Re: Surprising load test results?

2006-10-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Federico Schwindt wrote: > On 10/5/06, Tres Seaver > <[EMAIL PROTECTED]> wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Pascal Peregrina wrote: >> >> > We made some basic load te

[Zope] Re: delete latest transactions

2006-10-02 Thread Tres Seaver
and somehow > export a given object and subobjects (like export in the zmi)? You can open an existing storage and copy transactinos into a new one, including stopping at a given time. Tres. - -- ======= Tres Seaver

[Zope] Re: Zope 2.10b2 build issue

2006-09-21 Thread Tres Seaver
uilds recently (I can reproduce your error on a 2.9.4 tarball, but not with the 2.9 branch): http://svn.zope.org/Zope/branches/2.9/setup.py?rev=69978&r1=69111&r2=69978 http://svn.zope.org/Zope/branches/2.10/setup.py?rev=69979&r1=69113&r2=69979 It looks as though I forgot to po

[Zope] Re: Will Zope Run On Iron Python In Mono?

2006-09-15 Thread Tres Seaver
pure-Python equivalents, Some ('_initgroups.c', 'winlock.c') might be irrelevant on a given platform. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "

[Zope] Re: lipo error in comiling zope 2.9.4 on Mac OS X 10.4.7

2006-09-14 Thread Tres Seaver
/* tp_setattro */ Lines 2213-6: static struct PyMethodDef dtml_methods[] = { {"guarded_getattr", (PyCFunction)dtml_guarded_getattr, METH_VARARGS|METH_KEYWORDS, "" }, {NULL,NULL} }; Line 2229 invokes the PURE_MIXIN_CLASS macro (defined in Ex

[Zope] Re: Zope hangs when database takes too long to respond

2006-09-07 Thread Tres Seaver
g available on higher versions of Zope ? 'pool-size' is an attribute of the database configuration stanza, e.g.: path $INSTANCE_HOME/var/Data.fs mount-point/ cache-size 5000 pool-size 7 version-pool-size

[Zope] Re: Zope hangs when database takes too long to respond

2006-09-06 Thread Tres Seaver
alue, you also need to increase the number of database connections avialble (via 'pool-size') which will increase the RAM required by your appserver. > Or are there some settings I can tweak to adjust some database > connection timeout value ? Not that I know of. Tres. - --

[Zope] Re: Problems starting ZEO with zeoctl

2006-09-02 Thread Tres Seaver
ot;effective" user to write to the "ZEO control socket", which is normally in the 'etc' direcdtory of your instance home, and named 'zeo.zdsock'. Try changing 'zeo.conf' to put that file in your 'var' directory, where you *must* be able t

[Zope] Re: Packing Data.fs

2006-08-29 Thread Tres Seaver
= time.time() - (7 * 86400) # one week ago to_pack.pack(when) Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEG

[Zope] Re: Configuration for VerboseSecurity

2006-08-29 Thread Tres Seaver
on >> >> >> >> # Main FileStorage database >> >> path $INSTANCE/var/Data.fs >> >> mount-point / >> >> >> >> # Temporary storage database (for sessions) >> >> name temporar

[Zope] Re: Configuration for VerboseSecurity

2006-08-29 Thread Tres Seaver
erbose-security $ bin/zopectl fg ... 2006-08-29 16:39:52 INFO Zope Ready to handle requests ^C I'm attaching the working zope.conf file. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Softwa

[Zope] Re: How best to copy and paste in pythonscript?

2006-08-28 Thread Tres Seaver
okie (the "clipboard data"), and then pass it into 'manage_pasteObjects'. E.g.:: cb_data = source.manage_copyObjects(ids=selected) target.manage_pasteObjects(cb_data) In this mode, you don't (and shouldn't) need to pass the request at all. Tres. - -- ===

[Zope] Re: VerboseSecurity not working

2006-08-25 Thread Tres Seaver
the skeleton zope.conf. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.2 (GNU/Linux) C

[Zope] Re: Content-Disposition is driving me batty

2006-08-17 Thread Tres Seaver
ed that in your earlier post you returned > the "File" object itself. I would rather expect > "str(fileObject.data)". That would defeat the "stream iterator" optimimzation, wouldn't it? Tres. - --

[Zope] Re: ZODB install time error

2006-08-14 Thread Tres Seaver
child processes > ==// > > I request for help on this. > Thanks a lot for any help or hints. > > Regards, > Nagaraj I'm CC'ing the 'zodb-dev' mailing list, which is where the folks who maintain ZODB hand out. Tres. - -- =

[Zope] Re: cannot paste objects

2006-08-14 Thread Tres Seaver
create most kinds of content, due to Zope's ownership / security model. If this is your problem, create a "normal" manager user (e.g., 'bin/zopectl adduser admin/password') and log in as that user to create content. Tres. - -- ======

[Zope] Re: Using eggs in a Zope instance

2006-08-10 Thread Tres Seaver
all 'set PYTHONPATH=Z:\path\to\instance\lib\python' at the command line before invoking easy_install. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP

[Zope] Re: Zope 2.9 Product Refreshing

2006-08-09 Thread Tres Seaver
without losing session data for some users. Externalizing the session storage removes the appserver as a point-of-failure for user sessions. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Soft

[Zope] Re: mysql socket problem, MOSX 10.4.7

2006-08-09 Thread Tres Seaver
isten on that socket: that will cause the "file" to be created, and Zope will then be able to connect. Note that this requires tha MySQL run on the same host as Zope. Tres. - -- === Tres Seaver +1 202-558-7113

[Zope] Re: Zope 2.9 Product Refreshing

2006-08-08 Thread Tres Seaver
folks who use refresh: if they can't reproduce the problem with refresh disabled, I can't help them. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PG

[Zope] Re: ZEO Problem Clients Waiting

2006-08-07 Thread Tres Seaver
site comes to a halt until > the transaction is restarted. > > As im not realy deep in the ZODB/ZEO subject. Can anybody pinpoint me where > to look for the Problem. I think I would re-post your message over on the zodb-dev list, where the folks hang out who actually know this stuff. ;

[Zope] Re: SERVER CRASHED! VHM/Apache2 Arrrgghh!!!

2006-08-04 Thread Tres Seaver
amed virtual hosts. WRT the caching directives: I have never used Apache as a caching proxy (I use Squid for that), and I doubt many others here have either. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] P

[Zope] Re: new user, teething problems

2006-08-03 Thread Tres Seaver
only when running a *specific* version of a *specific* JVM, which is highly unlikely to be the JVM / version shipped by a given distro. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Soft

[Zope] Re: accessing object from a list constructed in __init__.py

2006-07-23 Thread Tres Seaver
tree.get(id, _marker) if ob is _marker: return default else: return ob.__of__(self) Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "

[Zope] Re: cant log in using userinit user and logging issue

2006-07-21 Thread Tres Seaver
program running; pid=12345 zopectl> stop . daemon process stopped zopectl> adduser admin 123 zopectl> start . daemon process started, pid=34567 In this version, you can skip the 'stop' and 'start' if you are running Zope with ZEO enabled. Tres. - -- ==

[Zope] Re: Announcing the release of Zope version 2.8.8

2006-07-21 Thread Tres Seaver
in ensure_finalized >self.finalize_options() > File "c:\Python23\lib\distutils\command\build_ext.py", line 170, in > finalize_o > ptions >self.build_temp = os.path.join(self.build_temp, "Release") > File "C:\Python23\lib\ntpath.py", line 89, in jo

[Zope] Re: Announcing the release of Zope version 2.8.8

2006-07-20 Thread Tres Seaver
e, as well). The text in the announcement is actually cloned from the earlier announcment (of 2.8.7). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"

[Zope] Announcing the release of Zope version 2.8.8

2006-07-14 Thread Tres Seaver
s together with a system wide Python 2.4 installation (e.g. Fedora, SuSE...). Such installations are in general not supported. In addition there some third-party products and Python packages that don't work with Python 2.4 and can cause trouble when using Python 2.4. - -- ======

[Zope] Re: How to best use Zope on SMP machines?

2006-07-12 Thread Tres Seaver
evidence that running 4 appserver instances on a dual-core dual-CPU box worked best in one application under load. I don't recall what number of threads they ended up using per appserver instance, nor what checkinterval setting they settled on. Tres. - -- ===

[Zope] Re: Problems modifying a "global" attribute of a portal tool.

2006-07-05 Thread Tres Seaver
Online is a class (and portal tool) that inherits from SimpleItem, > Implicit and PropertyManager. Make your 'members_rooms' attribute a PersistentMapping, instead of a dict, e.g.: from persistent.mapping import PersistentMapping class WhoOnline(SimpleItem, Implicit, Pr

[Zope] Re: page templates and "python:"

2006-07-03 Thread Tres Seaver
module.somefunction' returns the mapping which 'sometemplate' will use as its top-level namespace. The callable is passed 'context' and 'request' as arguments. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladio

Re: [Zope] Re: database conflict errors

2006-06-29 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan wrote: > > - Original Message - From: "Tres Seaver" <[EMAIL PROTECTED]> >> >> Jonathan wrote: >>> During recent load testing of a new application 3.1% to 7.6% of all >>> http re

[Zope] Re: database conflict errors

2006-06-29 Thread Tres Seaver
to be substantially different, typically by mangling in a random number (or, for instance, the microseconds value of the current timestamp). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladio

[Zope] Re: upgraded zope 2.8.1 to zope 2.9.3

2006-06-21 Thread Tres Seaver
then copy the Data.fs to the new instance. 5. Start the new instance, and verify that it comes up. Run the unit tests of your products in the new instance, and upgrade / fix as needed. Tres. - -- === Tres Seaver

[Zope] Re: Render DTML inslide ZPT slot

2006-06-15 Thread Tres Seaver
> which cannot be done as easily in ZPT, I believe. Correct me if I'm wrong. It should be relatively simple to do given a combination of ZPT and some Python to set up the data (either a Five view or a PythonScript). Tres. - -- =====

[Zope] Re: error runing zope after installation

2006-06-13 Thread Tres Seaver
String > > > Can anyone tell me what's wrong and figure out the solution? You need to run Zope with the same Python as you compiled it with; in this case, it looks as though the Python you compiled with uses UCS4 for unicode, but the one you are running with uses UCS2. You can pass t

[Zope] Re: GenericSetup examples?

2006-06-13 Thread Tres Seaver
ns tool hammer". Nothing says you can't use the framework without the tool. See for instance my CMFFolderExportImport product, which uses the content-space adapters to drive per-item dump / reload: http://palladion.com/home/tseaver/software/CMFFolderExport Tres. - -- =

[Zope] Re: Zope + Oracle + Cron

2006-06-09 Thread Tres Seaver
torage is 'repozo.py', which does not need to have exclusive access in order to create a backup. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGN

[Zope] Re: GenericSetup examples?

2006-06-09 Thread Tres Seaver
nterested in the PythonScript and PageTemplate >>> thingies... > > The best set of examples is still the CMF itself, and the CMF list is a > better place to ask GS questions. PAS and PluginRegistry both have GS support, as well. Tres - -- ===

[Zope] Re: Export format documentation

2006-06-08 Thread Tres Seaver
w product version. YMMV as to whether the effort here outweighs writing BBB / migration code in your product. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence

[Zope] Re: ZODB corruption

2006-06-06 Thread Tres Seaver
st.py', 'fsrefs.py', etc.) Tres. -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com __

Re: [Zope] Re: What's the difference between 2.8.x and 2.9.x?

2006-05-31 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ron Bickers wrote: > On Wed May 31 2006 14:09, Tres Seaver wrote: > > >> - 2.10 is the "development" version, not yet released except in >>beta. It should be released by the end of June. It will >>bu

[Zope] Re: What's the difference between 2.8.x and 2.9.x?

2006-05-31 Thread Tres Seaver
- 2.10 is the "development" version, not yet released except in beta. It should be released by the end of June. It will bundle a newer Zope3 version (3.4), and removes a number of "forks" between Zope2 and Zope3 versions of the same features. - 2.11 (not yet in

[Zope] Re: [ANN] Zope 2.10.0 beta 1 released

2006-05-31 Thread Tres Seaver
ubdirectory and the zpkg-generated setup.py are missing. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment

Re: [Zope] Re: Not authorized to access binding

2006-05-25 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Antonio Beamud Montero wrote: > El jue, 25-05-2006 a las 12:49 -0400, Tres Seaver escribió: > > If this template needs to be renderable by anonymous users even for > contexts to which they do not have access, then you can give the > t

[Zope] Re: Preventing Zope Spinning?

2006-05-25 Thread Tres Seaver
Zope 2.7 and later. There is a 'requestprofiler.py' script which is useful for analyzing the log. I would strongly recommend upgrading to a more recent version of Zope and ZODB, as there have been a large number of stability-related fixes and features added since Zope 2.6 / ZODB 3.1,

[Zope] Re: Not authorized to access binding

2006-05-25 Thread Tres Seaver
ct*, which makes its use in a path expression impossible, even though the 'absolute_url' method of that object *would* be accessible by anonymous. If this template needs to be renderable by anonymous users even for contexts to which they do not have access, then you can give the templa

[Zope] Re: what is the tag to get Zope 2.8.x per svn

2006-05-19 Thread Tres Seaver
vn+ssh://svn.zope.org/repos/main/Zope/branches/Zope-2_8-branch Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEG

[Zope] Re: REMOTE_USER Security Issue

2006-05-16 Thread Tres Seaver
, before we chase all this down, can you verify that the script actually does allow access in your case? I can imagine a case where the authentication was already done by the time the script got to run, which would make this an annoyance, rather than a hole. Tres. - -- ===

[Zope] Re: REMOTE_USER Security Issue

2006-05-16 Thread Tres Seaver
as configurable options, defaulting (at least initially) to the current behavior. Before you chase this down, please verify that the user folder you use *can* be tricked this way: for instance, if the authentication always occurs *before* your script is executed, then the scribbling is only an an

[Zope] Re: REMOTE_USER Security Issue

2006-05-15 Thread Tres Seaver
her than the default one where untrusted code can scribble:: remote_user = request['REMOTE_USER'] # hackable Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence

Re: [Zope] Re: Can't import ExtZSQLFactory

2006-05-11 Thread Tres Seaver
oducts.ExtSQLFactory': the 'Products' package is itself on your PYTHONPATH (or stitched into it via some majyk), but the sub-packages of it are not. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL

[Zope] Re: Can't import ExtZSQLFactory

2006-05-11 Thread Tres Seaver
find a module 'ExtZSQLFactory' directly on the PYTHONPATH or else in the product itself. Tres, - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://

[Zope] Re: Mounting ZODB issue

2006-05-09 Thread Tres Seaver
se will > contain instances of classes that don't exist in (can't be loaded by) older > ZEO clients. For example, the database root object was an instance of > ``ZODB.PersistentMapping.PersistentMapping`` before ZODB 3.3, but is an > instance of ``persistent.mapping.PersistentMapping`` in ZO

[Zope] Re: Btreefolder: How to fix Keyerror ???

2006-05-05 Thread Tres Seaver
*all* disk-based products and then restart Zope: it will recreate them at startup, and should also rebuild the catalogs with the borked BTrees. Of course, back everything up first. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAI

Re: [Zope] Re: default_zpublisher_encoding not supported

2006-05-04 Thread Tres Seaver
d I think should > > > Thank you for your suggestion. I tried 'default-publisher-encoding' and the > error is the same as before. The spelling in my 2.8 branch checkout is 'default-zpublisher-encoding'. Tres. - -- ======

[Zope] Re: default_zpublisher_encoding not supported

2006-05-04 Thread Tres Seaver
ng'; the example is wrong (and I think should be fixed in SVN already). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://pallad

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-02 Thread Tres Seaver
> storage client. I think the idea is more of a hot backup in case of > failure of the main storage but I know little of ZRS. ZRS secondaries go into "recovery mode" whenever they lose connection with the promary: that recovery is sufficient to allow it to resync (even to bring up a ne

[Zope] Re: Zeo as a Zeo Client

2006-05-02 Thread Tres Seaver
rsync. - Another possibility would be to use 'repozo' to create deltas on the primary, and then propagate them to the secondary via rsync, then apply them via 'repozo'. Tres. - -- === Tres Seaver

[Zope] Re: ZEO ClientDisconnected error

2006-05-01 Thread Tres Seaver
idle" for too long. Dieter Maurer has a product which works around such scenarios: http://mail.zope.org/pipermail/zodb-dev/2005-June/008967.html Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECT

[Zope] Re: Missing content! Urgent

2006-05-01 Thread Tres Seaver
the storage server in debug mode and watch the log output: $ bin/zeoctl start && tail -100f var/error.log Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellenc

[Zope] Re: RE : zope 2.8.5 becomes unresponsive.

2006-04-24 Thread Tres Seaver
ties/requestprofiler.py --help Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunde

[Zope] Re: REQUEST.form variables order

2006-04-21 Thread Tres Seaver
t; Error Value: 'BODY' > > Are you sure about this? > In that case, any idea why it is missing? > > We are on Zope 2.7.5-1.fc3, python 2.3.4, behind Apache/2.0.52 REQUEST.stdin is the actual stream (either a tempfile or a StringIO). You will likely need to rewind

[Zope] Re: Automatically adding properties (keywords) to folders

2006-04-20 Thread Tres Seaver
xObject() > | > | and then in ZCML:: > | > || for="zope.app.event.objectevent.ObjectEvent" > | factory="Products.yourproduct.events.update_keywords" Tres. - -- === Tres Seaver

[Zope] Re: Automatically adding properties (keywords) to folders

2006-04-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terry Jones wrote: > I'd like to set up a folder in Zope with the property that when an object > is put into it, the object has a keyword added to it automatically (and > when the object is moved out of the folder, the keyword is removed). > > If you

[Zope] Re: REQUEST.form variables order

2006-04-19 Thread Tres Seaver
your itch, not that we doubt you have it. Given that this is open source, you *can* modify ZPublisher such that it uses a different mechanism to parse the form data, and are free to submit back such a patch to be included in a future Zope release. Tres. - -- =

[Zope] Re: getting error in export and import on zope2.9

2006-04-13 Thread Tres Seaver
about the exact Zope 2.9 version. According to > the logs there are some changes in 2.9.2 concerning XML export. See the collector issue: http://www.zope.org/Collectors/Zope/2051 Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software

[Zope] Re: where's the XML?

2006-04-12 Thread Tres Seaver
rary will marshall those objects to the XMLRPC XML dialect for you. (BTW, the "X" in "AJAX"" was originally about =XMLRPC, not about arbitrary XML). Tres. - -- ======= Tres Seaver +1 202-558-7113 [

[Zope] Re: + in url /zope object name

2006-04-05 Thread Tres Seaver
erred to *is* pluggable in Zope3: the "adding" name doesn't have to be '+', and you can register a different name-checker component for your containers than the default one. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Pallad

[Zope] Re: External Methods

2006-04-03 Thread Tres Seaver
to to on each instance (the compiled code is not persisted to the ZODB). Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com

[Zope] Re: verbose-security

2006-03-29 Thread Tres Seaver
7; , and in this context you have 'da di da' > > etc. > > I think somehow verbose-security is not working for me. Has anyone tried it? Just a guess, but be sure to enable the Python security policy, as well as verbose security, in zope.conf: security-policy-implementation p

Re: [Zope] Re: Give it a rest + answers. (Re: Re: Zope + Apache on Quad Debian machine)

2006-03-23 Thread Tres Seaver
t of these > boxes? If so, how'd you get the both clients on the box accessible by > LVS? 2 ip addresses? Nope, different port numbere. LVS is configured per-service, rather than per-IP. Tres. - -- ======= Tres Seaver

[Zope] Re: Give it a rest + answers. (Re: Re: Zope + Apache on Quad Debian machine)

2006-03-22 Thread Tres Seaver
s, and found that "one appserver per CPU" gave us near linear scaling of the application, without any explicit affinity set. I don't have the numbers (we were using stock Dell 1U dual CPU boxes, I think), but the win seemed clear enough that we quit invesigating taskset. Tres. - -- ===

[Zope] Re: Strange errors while 'make'ing

2006-03-21 Thread Tres Seaver
branches). Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using G

[Zope] Re: Newbie zopectl question

2006-03-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JulianRead wrote: > Do you know if it is possible to get zopectl to run using rc.local? Yes. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Pallad

[Zope] Re: Finding stylesheet

2006-03-20 Thread Tres Seaver
atever logic is appropriate, and return its absolute_url. You would then call that script in TAL:: Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design&qu

[Zope] Re: error with repozo.py

2006-03-20 Thread Tres Seaver
x27;, '/usr/lib/python24.zip', '/usr/lib/python2.4', ... '/usr/lib/python2.4/site-packages/gtk-2.0'] Exporting: $ export PYTHONPATH $ python -c "import sys; print sys.path" ['', '/foo', '/usr/lib/python24.zip', '/us

[Zope] Re: Ape

2006-03-19 Thread Tres Seaver
needs special handling, just *smart* special handling, because Windows filesystems lie about the mtime of their directories. Mark Hammond had a notion of how do make that happen, and I created an issue for it in the CMF collector: http://www.zope.org/Collectors/CMF/366 Tres. - -- ====

[Zope] Re: zope 2.8.6 on Mac Intel

2006-03-18 Thread Tres Seaver
amp;& make install If not, please report error messages. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP

[Zope] Re: Newbie install from source

2006-03-17 Thread Tres Seaver
opic are included in the Plone 2.1.2 tarball, and are drawn from CMF 1.5.5. I don't know about the PIL requirement, however. BTW, your question would likely get a more authoritative answer on the plone-users list. Tres. - -- === Tr

[Zope] Re: Using Twisted rather than ZServer with Zope >= 2.9.0

2006-03-15 Thread Tres Seaver
h has meant that in Zope2 land we have felt very little urge to adopt it. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com ---

<    1   2   3   4   5   6   7   >