[Zope] Re: Zope + Apache on Quad Debian machine

2006-03-15 Thread Tres Seaver
ec'ed Python. I don't know what facilities the kernel in your Linux provides for doing that (and haven't tried on any recent kernels of my own, either). Tres. - -- ======= Tres Seaver +1 202-558-7113

[Zope] Re: installation security best practice question

2006-03-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca Olivetti wrote: > En/na Tres Seaver ha escrit: > >> >> Note that I think the original poster must not have done 'make install', >> but rather was using an inplace build directly from the unpacked >> tarbal

[Zope] Re: "No module named rotor"

2006-03-14 Thread Tres Seaver
from Zope-2.7.3-0/lib/python/App in my installation. It was there to support a (lame) "opaque" product distribution (for Lever / ZClass products). Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Pa

[Zope] Re: installation security best practice question

2006-03-14 Thread Tres Seaver
was using an inplace build directly from the unpacked tarball: the install process would have fixed up the permissions otherwise. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence

[Zope] Re: installation security best practice question

2006-03-14 Thread Tres Seaver
e, but must have read access to the whole instance. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Vers

[Zope] Re: Using PUT_factory for objects outside of ZODB

2006-03-07 Thread Tres Seaver
factory" has a contract that it return an object, which will then be "seated" in its container, after which its PUT method will be called. If you don't want that behavior, then you need to use a custom container which overrides PUT itself, rather than trying to use the one i

[Zope] Re: Advice needed before settling on Zope

2006-03-06 Thread Tres Seaver
t; >> >>As the old joke goes, it's a "Z" shaped learning curve. > > > LOL. > > (Why did I spell learning with u. That looks REALLY strange :) ). That phoneme is the hardest one to spell in the whole English language; I think there are at least eight or nin

[Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-06 Thread Tres Seaver
well, even in that initial bootstrapping phase. I for one think your contributions to the Zope ecology are very significant, and look forward to the day when we can collaborate more directly in the source tree. Tres. - -- === Tr

[Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-03 Thread Tres Seaver
http://www.zope.org/Collectors/Zope/1441/ Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version

[Zope] Re: UnpicklingError (_importDuringCommit)

2006-03-03 Thread Tres Seaver
you can use repozo to back up the old Zope without downing it, then restore it into the new instance before starting the new Zope. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Softw

[Zope] Re: trying to open a file in database but couldn't

2006-02-26 Thread Tres Seaver
ode-safe: http://www.python.org/doc/current/lib/module-cStringIO.html 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 (GN

Re: [Zope] Debugging doctests

2006-02-24 Thread Tres Seaver
sts are fine for many cases, but they suck for doing "coverage" / "edge case" testing, which are the "valuable" unit tests for my applications. I would note that the usefulness of a doctest as documentation is inversely proportional to the amount of "setup noise"

[Zope] Re: restricting permissions for direct access only

2006-02-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Tres Seaver wrote: > >> The prior behavior (allowing users to access protected resources "above" >> the domain of their user folders) was a security hole caused by a bug, >> and was never docum

[Zope] Re: Granting access by reading http headers

2006-02-15 Thread Tres Seaver
anting it the roles which allow it to view the site: as long as nobody else can spoof that IP, you should be fine. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.co

[Zope] Re: restricting permissions for direct access only

2006-02-15 Thread Tres Seaver
ions which relied on the hole is unfortunate; breaking them is better than leaving the sites built around the defined model vulnerable to abuse. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"htt

[Zope] Re: calling getOwner on an ExtFile instance raises an Unauthorized ex ception

2006-02-15 Thread Tres Seaver
about why the security machinery is blocking access in the error log. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG

[Zope] Re: MailDropHost on windows

2006-02-14 Thread Tres Seaver
ed person could probably adapt the code from 'zopeservice.py' to run the MailDropHost daemon as a service in Windwos. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com

[Zope] Re: AW: Re: Zope won't start on Windows XP

2006-02-14 Thread Tres Seaver
traceback indicated that AccessControl.ImplC couldn't import AccessControl.ImplPython, which sounds to me as though the installation is corrupt. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Pallad

[Zope] Re: Zope won't start on Windows XP

2006-02-14 Thread Tres Seaver
> from Implementation import setImplementation > File "C:\Programme\Zope-2.9.0\lib\python\AccessControl\Implementation.py", > lin > e 98, in ? > setImplementation("C") > File "C:\Programme\Zope-2.9.0\lib\python\AccessControl\Implementation.py",

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Tres Seaver
Windows machine using the MingW >> compiler. Works great! >> > > Could you contribute your work? Can you work on an archive? > I think there is some distutils option for creating an archive > or even an installer on windows. 'bdist_win'? Tres. - -- =

[Zope] Re: workflow products

2006-02-14 Thread Tres Seaver
rview/index_html 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)

Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Tres Seaver
don't run Windows boxen any longer, so it was a shot in the dark. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNA

[Zope] Re: TextIndexNG2 problems

2006-02-14 Thread Tres Seaver
lt with VC++ version 6; Python 2.4.x with version 7. If you can't lay your hands on that version, then perhaps Mingw would do: http://sebsauvage.net/python/mingw.html Tres. - -- ======= Tres Seaver +1 202-558-7113

[Zope] Re: Method to return the properties of an object

2006-02-10 Thread Tres Seaver
g. 'propertyMap'. 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)

[Zope] Re: Zope and roles and hierarchy

2006-02-10 Thread Tres Seaver
Authenticated') which you use to protect the shared resources. You would then grant them *local* roles on the subfolders, giving them more access. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED

[Zope] Re: Transfer Data to New Zope Server

2006-02-09 Thread Tres Seaver
he new box. Start Zope on the new box, and verify that the instance looks OK> 5. Now, start upgrading the various bits of software incrementally on the new box, beginning with Zope and Python, then the libraries, and finally the Products. Test the site after each upgrade. Tres. - --

[Zope] Re: how to modify documents creation date

2006-02-05 Thread Tres Seaver
reation data in a separate attribute, 'creation_data'. That attribute has mo "mutator" method, and therefore cannot be assigned by untrusted code. You should be able to set the value from an ExternalMethod, however. Tres. - -- ====

[Zope] Re: raw trace log format

2006-02-02 Thread Tres Seaver
er.py', which is a tool for reporting against that log file. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE--

[Zope] Re: Product refreshing in Zope 2.9

2006-01-30 Thread Tres Seaver
use it at all. Through bitter experience, they have learned that when refresht fails (silently), they have found that the hours spent figuring out why the application's behavior changed are much more expensive than the time it takes enter '' in the zopectl shell. You'd be better

[Zope] Re: Error importing objects 2.8 > 2.7

2006-01-28 Thread Tres Seaver
a .zexp file exported from a *newer* version of Zope into an *older* version. Keeping that path open has *not* been a goal for Zope, and so the OP needs to find another way to solve his problem. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion

[Zope] Re: can't create user with zopectl - Resource temporarily unavailable

2006-01-21 Thread Tres Seaver
#x27;t get it working command line. 'chown -R' changes the ownership (including group, if specified) recursively; 'chmod -R' should apply the user-group-world settings recursively. Tres. - -- ======= Tres Seave

[Zope] Re: can't create user with zopectl - Resource temporarily unavailable

2006-01-21 Thread Tres Seaver
lock_file.py", line 42, in lock_file > fcntl.flock(file.fileno(), _flags) > IOError: [Errno 11] Resource temporarily unavailable If you aren't running the appserver with a ZEO storage, you will need to stop the appserver before running 'inituser'. Tres. - -- ==

[Zope] Re: Zope Security

2006-01-12 Thread Tres Seaver
ts/Zope/ Sorry about that. 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)

[Zope] Re: Zope Security

2006-01-12 Thread Tres Seaver
main socket, which can be protected with appropriate filesystem permissions. If using a TCP socket (required on Windows), you need to configure it to listen only on "trusted" interfaces, e.g., localhost, or an IP address which is in a carefully firewalled submet. Tres

[Zope] Re: CPU architecture and Zope

2006-01-11 Thread Tres Seaver
CPU load significantly (the storage server is I/O bound, not CPU bound). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version:

[Zope] Re: dynamically creating zip file, returning to user

2006-01-06 Thread Tres Seaver
dumb question to the list now. ;) > > > no, dot use a regular file! Use the tempfile module! > And dont reopen but seek to the start - f.seek(0) > You just open it for "rw". Don't forget the 'b' when doing zipfiles! Tres. - -- ======

[Zope] Re: dynamically creating zip file, returning to user

2006-01-04 Thread Tres Seaver
ecause Windows is the only platform where the C runtime will mangle the line endings for files it thinks are "text", rather than "binary". - You could use a StringIO instance, rather than a tempfile; YMMV. Tres. - -- ===

[Zope] Re: Deadlock Debugger with Zope 2.8.5

2006-01-01 Thread Tres Seaver
? Do you have the 'threadframe' extension installed in the Python you are using to run Zope with? Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"

[Zope] Re: python build errors

2005-12-29 Thread Tres Seaver
e '-devel' pacakges, if appropriate), and rebuild Zope. The 'zipimport' failure may also be related to a missing library / header; without the traceback, we can't tell, however. Tres. - -- === Tres Seave

[Zope] Re: ZDaemon for wsgi server

2005-12-26 Thread Tres Seaver
uot;stock" zdaemon and a little extra config. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATU

[Zope] Re: ZSQL with different user

2005-12-19 Thread Tres Seaver
n. ;) This would actually be a lot like what some of the more RDB-centric web frameworks do already. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE--

[Zope] Re: Zope 2.8.4+Latest cygwin installation

2005-12-15 Thread Tres Seaver
ZODB.Connection, line 760, in _setstate > Module ZODB.serialize, line 495, in setGhostState > Module ZODB.serialize, line 488, in getState > Module ZODB.serialize, line 436, in _persistent_load > Module ZODB.Connection, line 208, in get > Module ZODB.serialize, line 482, in getGh

[Zope] Re: [ZF] Zope Foundation IRC - Reminder

2005-12-09 Thread Tres Seaver
t this morning: I was waiting to board a plane in Birmingham. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE-

[Zope] Re: Remote Calendar Server

2005-12-09 Thread Tres Seaver
CMF, and CPS). 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 Thunderbird - http://en

[Zope] Re: Can HTTP and WebDAV share port 80?

2005-12-07 Thread Tres Seaver
e *unrendered* source of the script / template. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE-

[Zope] Re: Adding TextIndexNG 3.1.1 error

2005-12-07 Thread Tres Seaver
ng of 2.8.5...how about a 2.8.5 release before X-mas (around > December, 20th)? +1. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://pall

[Zope] Re: zdsock

2005-12-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Tres Seaver wrote: > >> You have confused the "server socket" (which is set in the >> section) with the "daemon control socket (set in in the >> zeo.conf file; not currently settable in

[Zope] Re: zdsock

2005-12-06 Thread Tres Seaver
ocket (set in in the zeo.conf file; not currently settable in zope.conf). The control socket has to be a Unix-domain socket. John is asking to surface an existing zdaemon feature (already used in zeo.conf) within zope.conf. Tres. - --

[Zope] Re: zdsock

2005-12-04 Thread Tres Seaver
atch (to http://www.zope.org/Collectors/Zope) when you get it working. Tres - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP

[Zope] Re: killing off individual Zope session

2005-12-03 Thread Tres Seaver
t that it "belonged" to a given user; any attempt will likely leave your system hosed, requiring an appserver restart. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Exc

[Zope] Re: why will FastCGI not be supported in the Future.

2005-12-02 Thread Tres Seaver
aintain Zope also knows and uses FastCGI; *he* used to be the person who did know it (per http://www.fastcgi.com/), but no longer. Without such a person or persons, Zope cannot really claim to support FastCGI at all. Tres. - -- ===

[Zope] Re: index_object() and bobobase_modification_time with different ZCatalogs

2005-12-01 Thread Tres Seaver
t() cat._p_deactivate() # throw away changes But why don't we avoid the whole thing and just call the catalog directly: for cat in catalogs: cat.catalog_object(object, object.url() Tres. - -- === Tres Seaver

[Zope] Re: Zope's Webdav port for RESTful web service

2005-11-28 Thread Tres Seaver
ds (such as catalog items or > customer info). Already doable, and in fact done in many Zope applications. > - HTTP authentication and SSL provide security. Likewise. Basically, Zope already provides everything you need, and more (not using the "more" is the hard part). Tres.

[Zope] Re: External Methods, Proxy Roles, and Executable Security

2005-11-22 Thread Tres Seaver
ingle check to test both, which makes it impossible to do the Right Thing (TM): either the proxy roles should be taken into account, in which case the containment constraint may be violated, or they shouldn't, in which case a proxy-role-granted script cannot be used to perform a "co

[Zope] Re: DateTime mess

2005-11-22 Thread Tres Seaver
;Florent >> > > hi florent! > > actually that's the best thing to do! this way the implementer knows > what to do exactly :) > but be aware that some tests got modified to pass with current (broken) > behaviour! > > one more question (to the public!): >

[Zope] Re: Zope 2.8.4 compilation error

2005-11-18 Thread Tres Seaver
hat case). 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 Gn

Re: [Zope] Re: Installing Zope on Ubuntu Breezy

2005-11-16 Thread Tres Seaver
install plone-site which wants a lot of zope2.7 packages installed. I don't know how you were able to install plone2.1 via synaptic. Here is something else to try: $ sudo /var/lib/zope2.8/plone-site/bin/zopectl zope> adduser admin 123 zope> restart You should then be able to log

[Zope] Re: Installing Zope on Ubuntu Breezy

2005-11-16 Thread Tres Seaver
/var/lib/zope2.8/plone-site' in your case), with an "emergency user" ID and password; you can even leave the password in plain text while testing, e.g.: $ cat /var/lib/zope2.8/plone-site/access emergency:123 You should then be able to log in as that user after restarting Zope; tha

[Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Tres Seaver
tributeError* > *Error Value: 'NoneType' object has no attribute 'headers'* HTML forms which upload files need to set the 'enctype' attribute of the form element to 'multipart/formdata', and must use POST rather than GET, e.g.:: Tres. - -- ===

[Zope] Re: still having problems

2005-11-15 Thread Tres Seaver
t;> Any other help or advice would be appreciated. > > I'm afraid that the only way this "problem" (or set of two problems, or > three, or however many it turns out to be) will be solved is to for > someone to be able to replicate the symptom. I don't suppos

[Zope] Re: Z2.log question

2005-11-07 Thread Tres Seaver
AuthHeader' method added by the patch for details). Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Versi

[Zope] Re: Zope 2.7.7 and Python 2.4.0

2005-10-28 Thread Tres Seaver
#x27;m assuming that you are using Ubuntu's 'zope2.7' pacakage, which actually depends on python2.3. Check to see whether the startup scripts for zope actually use /usr/bin/python2.3. Tres. - -- ======= Tres Seaver +1

[Zope] Re: Debugging security settings in .metadata files

2005-10-27 Thread Tres Seaver
the problem will solve itself. Workflow exists to solve primarily this problem. This qustion belongs on the zope-cmf list, BTW. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Ex

[Zope] Re: Zope 2.8 or 3.1?

2005-10-27 Thread Tres Seaver
at is necessarily wrong, it just didn't seem worthwhile on the boxes I helped admin). > And what's supposed to be the "correct" Python version for 2.8.4 btw? Python 2.3.5. Tres. - -- === Tres Seaver +1 2

[Zope] Re: Zope 2.8 or 3.1?

2005-10-27 Thread Tres Seaver
hon' rather than 'python'. Users whose pagers / cell phones go off if Zope crashes (this is my definitino of "enterprise user", BTW) should install a separate Python. Non-enterprise users can likely get away without it. Tres. - -- =

[Zope] Re: implicit vs. explicit ownership?

2005-10-21 Thread Tres Seaver
essages are going to be inscrutable. The "right" place to do this might be in a custom user folder, rather than in content. PAS, for instance, has the concept of making the role computation for the *user* pluggable. Tres. - -- ===

[Zope] Re: access rule and authentication

2005-10-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Withers wrote: > Tres Seaver wrote: > >> AcceseRules run during path traversal, before any authentication is done >> (Zope2 does "inside out" authentication starting at the "published" >> objectd). Y

[Zope] Re: access rule and authentication

2005-10-17 Thread Tres Seaver
de out" authentication starting at the "published" objectd). You might be able to force user validation to be attempted earlier, e.g. by calling 'validate' directly on the user folder. Tres. - -- =

[Zope] Re: zope.conf read-only settings

2005-10-17 Thread Tres Seaver
s. The environment variable *is* a fossil, whose former effects are now spelled out via configuration directives for the storage itself. We should remove the code which sets the environment variable, and update any docs which pretend that it is still effective. Please file a collector issue fo

[Zope] Re: proxy role for an external method

2005-10-11 Thread Tres Seaver
umvent any query munging done in the catalog tool > searchResults method, specifically the effective/expires and > allowedRolesAndUsers filtering. CMF's CatalogTool grep an 'unrestrictedSearchResults' method which does exactly that -- it can only be called from trusted code, but an ExternalMe

[Zope] Re: ooops... ZMYSQL tests fail in the ZMI on batching dynamic queries

2005-10-08 Thread Tres Seaver
hat the missing key in your case is 'udb', while in the older case it was 'query'. I don't know where the first page was getting its value for 'udb'; there is no key for it in the error log entry you cite. >>Error Type: KeyError >>Error Value: 'query' T

[Zope] Re: Write log file from script

2005-10-07 Thread Tres Seaver
>>>> >>>>And where does this log information end up? >>> >>-- > > > I was referring to the zLOG info. Where does it go? Wherever you configure it in your zope.conf file. - -- === T

[Zope] Re: Mysql 5? Just curious.

2005-10-07 Thread Tres Seaver
ct homepage: http://sourceforge.net/projects/mysql-python - Patch collector: http://sourceforge.net/tracker/?group_id=22307&atid=374934 Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion S

[Zope] Re: Presentations Available

2005-10-07 Thread Tres Seaver
many Perl modules are widely used by many > applications, whereas a lot of Zope code is only used by other Zope > code. One of the major promises of Zope3 is that it makes for more modular code, because its component architecture makes it easy and natural to break apart monolithic classes in

[Zope] Re: INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-06 Thread Tres Seaver
ls you, quite clearly, even > in German, that you don't have enough memory on that machine. I used to see errors similar to that one (but not in German ;) when building the Zope extension modules on a machine with a flaky RAM chip. Tres. - -- === Tres Seaver

[Zope] Re: Aquisition, UserFolder and security

2005-09-30 Thread Tres Seaver
t;in context of" the object being validated. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using

[Zope] Re: ZEO clients eating up / filesystem

2005-09-30 Thread Tres Seaver
e inaccessible, and *large*, files there. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.

[Zope] Re: Aquisition, UserFolder and security

2005-09-30 Thread Tres Seaver
ng url. The Zope security machinery goes out of its way to prevent such an exploit: essentially, it considers only "containment" acquisition when evaluating roles, etc. Tres. - -- ======= Tres Seaver +1 202-558-7113

[Zope] Re: External Method Working Directory?

2005-09-29 Thread Tres Seaver
a 'logs' directory if you feel obsessive about keeping the logs elsewhere), so that works out well. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SI

[Zope] Re: Using Singletons

2005-09-28 Thread Tres Seaver
In Zope3, one accomplishes your use case by registering a utility for the interface your singleton provides, without supplying a name. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"

[Zope] Re: including a ZPT inside a repeat loop

2005-09-27 Thread Tres Seaver
"' attribute to your 'queue_template', and then include it as a macro, e.g.: T and:: Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software &q

[Zope] Re: Apache/Zope port redirection basic questions...

2005-09-25 Thread Tres Seaver
e" to find out how to set this up (or create a VHM and read its fairly helpful configuration ZMI to start). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Des

[Zope] Re: Zope Foundation - formation review committee

2005-09-25 Thread Tres Seaver
Chairman, Zope Corp > o Rob Page, CEO, Zope Corp > o Rajesh Setty, Chairman, Cignex > o Dan Ravicher, Legal Director, Software Freedom law Cnter > > Regards, > Rob Many thanks to all those who are working on the foundation! Tres. - -- ======

[Zope] Re: Output only the first or a particular record using TAL

2005-09-14 Thread Tres Seaver
You can use 'tal:condition repeat/licenses/start' to test that you are in the first pass through the loop. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "

[Zope] Re: How to create an ansynchronous method

2005-09-14 Thread Tres Seaver
rg/CMF/branches/1.5/CMFCore/CookieCrumbler.py?rev=37453&view=auto Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -

[Zope] Re: MemoryError that brings my zope to its knees

2005-09-13 Thread Tres Seaver
7; or an equivalent on the box to verify that you don't have a flaky RAM chip. - If you are RAM constrained, *reduce* the number of objects in the connection cache; more objects in that cache requires more RAM. Leaving the on-disk cache size high shouldn't be a problem.

[Zope] Re: ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index workitems_from. This should not happen.

2005-09-12 Thread Tres Seaver
commend that Marco upgrade to avoid the kind of consistency issues you point out. Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com

[Zope] Re: unbound method failures

2005-09-06 Thread Tres Seaver
render > * Module Products.PageTemplates.PageTemplate, line 96, in > pt_render > > TypeError: unbound method pt_getContext() must be called with > ZopePageTemplate instance as first argument (got nothing instead) (Also, > an error occurred while attempting to render the sta

[Zope] Re: Import Problem with the zexp-File

2005-09-06 Thread Tres Seaver
e the NuxCPSDocuments product installed in both places?). Tres. - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design"http://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU

[Zope] Re: Zope scalabilty and problems

2005-09-06 Thread Tres Seaver
uly), did not completely remove the 'os.pathwalk': it merely made the exclusion of the .svn directory work cleanly. The better fix would be to use the Win32 APIs for file monitoring; Mark Hammond volunteered to look into that. Tres. - --

[Zope] Re: Zope scalabilty and problems

2005-09-05 Thread Tres Seaver
off' also avoids this issue, if you can't upgrade CMF for some reason (and you *should* be running this way if performance matters, anyway). Tres - -- === Tres Seaver +1 202-558-7113 [EMAIL PROTECTED]

[Zope] Re: time and date of creation of a zope object

2005-09-03 Thread Tres Seaver
and date of a zope object when it was > created Creation date isn't available for "stock" Zope objects. CMF and derivatives mandate a 'created' method for "content." Tres. - -- ======= Tres Seave

[Zope] Re: Zope scalabilty and problems

2005-09-01 Thread Tres Seaver
; that is a ways off yet. What am I doing wrong can anyone help? What versions of Python, Zope, etc. are you running, and on what OS? Your latest posting (the "blocked transaction" entries in your storage server logs) sounds like you might be running Zope 2.6.x. Tres. - -

[Zope] Re: Help!!! Zope won't start -- StorageSystemError

2005-08-27 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Gaibel wrote: > At 07:22 PM 8/27/2005 -0400, Tres Seaver wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Dan Gaibel wrote: >> > Hi folks, >> > >> > This is my first post

[Zope] Re: Help!!! Zope won't start -- StorageSystemError

2005-08-27 Thread Tres Seaver
now. Any help or guidance would be very appreciated. Can you run 'lsof' against your Data.fs? or run 'killall python' (not as root, unless Zope is the only process which might be running Python). Tres. - --

[Zope] Re: upgrade 2.5.1 to 2.7.5 causes error in product code

2005-08-27 Thread Tres Seaver
7;user': Anonymous User} > > * Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__ > __traceback_info__: here.sponsors[0] != '' > * Module Python expression "here.sponsors[0] != ''", line 1, in > > * Module Acce

[Zope] Re: Zope and double-byte locales

2005-08-17 Thread Tres Seaver
pan KK, a company specializing in localizing Zope applications for Japanese and other Big5 markets. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by D

[Zope] Re: apache 2, mod_deflate, mod_fastcgi, zope 2.7: something's slow.

2005-08-17 Thread Tres Seaver
ight be able to improve performance by running Apache on a separate box, where it won't "steal" CPU from Zope to do the compression. Tres. - -- ======= Tres Seaver +1 202-558-7113 [EMAIL PROTECTED

[Zope] Re: FSDump Product query

2005-08-12 Thread Tres Seaver
ces(dumper, object, path): """ Create a file or files on the filesystem """ def initialize(context): # could be the ExternalMethod, too from Products.FSDump.Dumper import Dumper handler_overrides = {'My ZClass' : _dumpMyZClassInstances,

[Zope] Re: Zope on Solaris

2005-08-11 Thread Tres Seaver
Solaris, because that was what made the SAs feel warm-n-fuzzy). Matt Hamilton's report is still probably your best resource if you find yourself with the gun to your head: http://www.zope.org/Members/glpb/solaris Tres. - -- ===

<    1   2   3   4   5   6   7   >