Hi,
We use monit - it has the advantage that you can specify resource limits
and if/when zope breaches these (or it barfs), monit auto-restarts the
server ;)
Alan
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope
Christopher Lozinski wrote:
I do have an accounting application I want to bring up quickly, and this
seems to me the fastest way to bring it up, but also
to have an upgrade path to the future.
We do http://www.last-bastion.net/BastionLedger which is a full double
entry general ledger with an e
Dieter Maurer wrote:
> Looks as if your Python were compiled without debugging symbols.
> You will get much better tracebacks (easier to understand),
> when you rebuild your Python with debugging symbols.
But of course, it's a production system :( - temporarily installing
python-debuginfo ...
>
Dieter Maurer wrote:
> Alan Milligan wrote at 2006-3-28 10:44 +1000:
> A missing "clearing down" of the client's connection cannot be the
> cause for this. The (worker) thread must finish (and you
> should see a log entry) long before this connection is expected to
&
I managed to get a DeadlockDebugger trace on this thing, it made very
interesting reading:
Thread -1578087504 (GET
/VirtualHostBase/http/www.last-bastion.net:80/BastionLedger/ledgerlist/Mail_338253076):
File "/opt/zope2.8/lib/python/ZServer/PubCore/ZServerPublisher.py",
line 23, in __init__
Dieter Maurer wrote:
>>I've been noticing a situation for some time that my 2.8.5 Z2 is running
>>out of threads. When doing an lsof on it, I see a large number of TCP
>>handles in CLOSE_WAIT state.
>>
>>It seems something's not properly clearing down the connection to
>>release the thread.
>
>
Hi,
I've been noticing a situation for some time that my 2.8.5 Z2 is running
out of threads. When doing an lsof on it, I see a large number of TCP
handles in CLOSE_WAIT state.
It seems something's not properly clearing down the connection to
release the thread.
Unfortunately, these connections
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jens,
I have the latest subversion-1.2.3-4 compiled for python2.3. I am happy
to make them available to you if you wish.
Alan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm reconsidering the way we RPM package byte-code compiled python, and
although I suspect optimised python is a bit of an anacronysm, I thought
I'd check with the list ;)
If one was to start Zope with python -O, then it would look for (and
generate)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Aeons ago someone promised that said Zope security audit of Python 2.4
was scheduled for October. I've not yet seen any happy announcements
that Zope is now 2.4 compliant, and do want to highlight the importance
of achieving this goal.
Python2.4
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
We're now migrating our product stack to Zope2.8/Plone2.1 and have been
considering how best to proceed with this.
We have one overriding objective in that we're very interested in
reducing the window between core releases and third party develop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
We're finally almost ready to release BastionLinux,
https://linux.last-bastion.net, our exact functional equivalent of RHEL
for commercial Zope and Plone customers.
We have packaged quite a number of Python/Zope/Plone products on the
Plope channe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm astounded that nobody has come across this before, but the
CMFCore.TypesTool.constructContent() function is supposed to return the
object id in the event that no RESPONSE is passed in - at least
according to CMFPlone.PloneFolder.invokeFactory().
Pre
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris Withers wrote:
| ZEO, multiple clients and processor affinity settings already offer
| this, and with no extra development needed...
|
What userland tools are you using to implement processor affinity??
Alan
-BEGIN PGP SIGNATURE-
Version:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Fred Drake wrote:
|
| I don't know that Parrot tries to emulate Python's C API either, and
| Zope definately contains several C extensions. These would need to be
| re-written in Python or to use Parrot's API. So I suspect there's a
| good bit of work
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Parrot 0.1.2 was released a couple of weeks ago. According to the
release notes, there's now "better python support, separated into
dynaclasses".
Unfortunately, I haven't really managed to keep up with the Parrot
project, but I think it quite possibly
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
S.Aeschbacher wrote:
|> You can solve this problem by using sudo. Make an external method that
|> executes sudo with the commands you want (you have to use the NOPASSWD
|> option to prevent sudo for asking for a password). This gives you both,
|> zope r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andreas Jung wrote:
| There is zero need to relax this requirement. You only have to start
| Zope as root
I just explained you cannot start as root ...
| to get port 80 but it is in general not a good idea for *any* service to
| run
| as root for securi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have a requirement to run a root uid Z2 process and was most surprised
to see that line 334 of Zope/Startup/__init__.py expressly forbids this,
throwing a ZConfig.ConfigurationError
While it's not a good idea to configure Zope to run as root by de
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Florent Guillaume wrote:
|> | Use:
|> |
|> | [default]
|> | content_type = text/foobar
|>
|> No, this doesn't work either :(
|
|
| Well it should, there are unit tests in CMFCore that explicitely test
| this kind of .metadata file.
|
No, I had a look an
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Florent Guillaume wrote:
|
| ZPT will process tal instructions in XML templates only if the proper
| namespace is declared. You must have:
|
| xmlns:tal="http://xml.zope.org/namespaces/tal";
|
Ok, I've explicitly included this now as well, and it beha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I have some PT skins I'm using to generate XML responses and am getting
some strange behaviour. I'm not sure if its because I misunderstand
something, there are bugs, or the API could be made more useful.
I will focus this discussion around the fol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
And while we're talking about docutils, the delivered Reporter
warning/error functions write directly to STDOUT.
We have ReST functionality in Zpydoc, and we get loads and loads and
loads of crap 'invalid unindent' messages streamed to STDOUT from the
Z
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I fully support Brian on this one.
We are a big user of XML-RPC. I'm also more than interested in SOAP and
WSDL in general as we're going to need to integrate such services in the
future.
However, we MUST create a proper plugin framework. I do not wis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The reason I asked this question is because clients I talk to in the
enterprise space are almost all exclusively RH9/RHEL clients, and many
have major reservations about installing anything non-RH 'approved' as
they feel they have some security assuranc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I followed the thread a week or so ago with great interest, in that
substantially Zope is working with Python 2.4
However, RedHat have now released Python 2.4 in the Fedora development
stream and it will ship with FC4.
Does ZC have an official position
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
This patch is against CMF-1.4.7, although one could equally argue it
better suited elsewhere - there appear to me to be minor uncomfortable
dependencies regardless of where it sits (unless it's made an
independent product - which seems a little unwa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tino Wildenhain wrote:
|>
|>I had a client that used to work on 2.7.0, and now doesn't on 2.7.3.
|>
|>The problem would appear to be that it's not substituting the
|>xmlrpc.Response class for a GET request on a text/xml content type and
|>therefore just
7;t have a file type, and the normal
binary limitation is 8192 bytes of parsable data between two tags :(
Alan
> Hi,
>
> Am Di, den 12.10.2004 schrieb Alan Milligan um 0:16:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Hi,
> >
> > I
> According to the CHANGES.txt there were no changes to XMLRPC.
xmlrpc.py is not faulty, it's just that an HTTPResponse object is assigned to the
text/xml content type rather than the correct xmlrpc.Request :(
___
Zope-Dev maillist - [EMAIL PROTE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I had a client that used to work on 2.7.0, and now doesn't on 2.7.3.
The problem would appear to be that it's not substituting the
xmlrpc.Response class for a GET request on a text/xml content type and
therefore just delegating to the str() function
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Johan Carlsson wrote:
|
| I've looked at the code of the latest release of ExternalFile
| and I can't find the new streming interface being used at all?
|
There's some strange stuff in the ExternalFile::FileUtils::copy_file()
function whereby it writes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I know serving large BLOBs is rather frowned up using Z2, but I have a
requirement to use the zope security machinery prior to serving a blob
circa 500Mb.
I thought I'd just wrap it in an ExternalFile and it would simply stream
to the client. In fa
Hi,
I'm doing some stuff using Zope as an XML-RPC server, and have come
across a rather interesting bug.
If the method doesn't exist on the Zope server, Zope returns an
xmlrpclib.Fault with a faultCode= -1.
This completely trips out my XML-RPC client which was rather expecting
an xmlrpclib.P
Hi,
Following on from work started at the Zope3 Sprint in Melbourne, I've
got a release candidate for a Zope scheduler. This is available from
http://www.last-bastion.net/ZScheduler, where although the documentation
is a little light, I've taken efforts to write online helps, although
it's al
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I see not much has been happening on cmf.zope.org for some time - the
content is still to be merged with zope.org
Even more worrying, the collector also shows no movement. I raised 2
one-line fixes (bugs 196, 197) on Oct 19 2003 - they are still pendin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shane Hathaway wrote:
|
| We are protecting ourselves from nasty URLs written by anyone on the web.
| Because DTML is so implicit, it is conceivable that an URL like the
| following might kill your site (or worse!):
|
|
http://zope.example.com/?title=do
lying DTML (made
private)), then this method would then render itself callable only via
DTML/ZPT etc wouldn't it???
Alan
Shane Hathaway wrote:
On Fri, 16 Jan 2004, Alan Milligan wrote:
Tres Seaver wrote:
That change is one of a number which are designed to prevent
cross-site scripti
Tres Seaver wrote:
Alan Milligan wrote:
In addition to this problem, someone has changed
manage_form_title.dtml and caused me grief!
The tag has been changed to <&dtml-title;>
This causes an implicit html-quote to now be performed which means
that my tag, inserted to display the
In addition to this problem, someone has changed manage_form_title.dtml
and caused me grief!
The tag has been changed to <&dtml-title;>
This causes an implicit html-quote to now be performed which means that
my tag, inserted to display the product's icon to more strongly
associate what is be
Hi,
I'm trying to upgrade my Zpydoc product to Python 2.3.2 from 2.1.3 and
have come across a confusing situation in regard to the
inspect.getmembers function.
This function uses the builtin dir() function to get a list of an
objects attributes. For Zope products, I am getting a situation whe
Thanks for the reply, you've raised a couple of points I need clarification
upon...
Attributes added to product code are not automatically present in the
objects defined by that code, only those created by that code. Methods,
however, will be present on all instances of a given class. I won't b
Hi,
Over the last month or so, I've rather wonderfully managed to corrupt my
ZODB with artifacts of my Currency class that no longer exist.
This is due to:
(i) moving the module to a different package (twice)
(ii) renaming the module
(iii) changing it's inheritance hierarchy (having removed all
OK - thank you both for your help.
It's time for:
perl -pi e 's/Currency/ZCurrency;g' `find . -name "*.py"`
;)
From: Anthony Baxter <[EMAIL PROTECTED]>
Reply-To: Anthony Baxter <[EMAIL PROTECTED]>
To: "alan milligan" <[EMAIL PROTECTED]>
Guys,
I've just run into a problem and wondered if there was an elegant
resolution.
My BastionBanking package contains:
currency.py - pure python
Currency.py - Zope derivation
The idea is that using the setup.py script, you can load currency.py into
your Python modules and use it out
alan milligan wrote at 2003-9-23 06:35 +:
> However, the original product is still available through
Products.meta_types
> and the factory construction mechanism. This is a pain as then users
must
> be careful as to what product's they create.
>
> It is inconvenien
Hi,
We have a relatively common situation whereby we will create our own product
by deriving off an existing Zope product.
However, the original product is still available through Products.meta_types
and the factory construction mechanism. This is a pain as then users must
be careful as to wh
alan milligan wrote at 2003-8-18 09:41 +:
> ...
> I am getting this message out of HelpSys/STXTopic and
> Products/CMFCore/PortalContent using Zope2.6.2b2 and CMF1.3.1.
>
> It's happening out of ZPublisher/Publish calling the default method to
> publish the object
Guys,
I am getting this message out of HelpSys/STXTopic and
Products/CMFCore/PortalContent using Zope2.6.2b2 and CMF1.3.1.
It's happening out of ZPublisher/Publish calling the default method to
publish the object.
For some reason, the delivered code works fine in development (Linux 2.4.21,
Py
However, it turned out that I never really used it.
Instead, I always used my "DocFinder" product.
I was therefore unimpressed when I read your "Zpydoc"
announcement.
Dieter
Understood!
I don't think that developers make a very good audience for documentation
tools anyway. I almost never use
Guys,
As you may recall, I made a posting regarding this Zope-specific pydoc tool
over a week ago.
Since then there has been half a dozen downloads, but I am yet to receive
any feedback :(
I know that documentation is about as exciting as a really unexciting thing,
but would like just five mi
51 matches
Mail list logo