issues with current-cvs go into the Collector?
Many times it seems stuff is fixed well before the Collector gets
seen to.
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist
"Kevin Dangoor" wrote
If you are using CVS, you need to do an update in ZODB to update
the coptimizations.c file then rebuild the coptimizations module.
That should fix the problem...
That did the trick. One oddity, though: I had to reauthenticate as the
superuser to do it. Shouldn't
Shane Hathaway wrote
You did better than you think, Anthony. I was going to release the
product I've been putting together, but your little product does
virtually the same thing. Good work!
Lucky guessing, and trawling CVS. :)
There is, however, a major security problem with making it
erate more naturally might be a better approach.
Yep, you figured out what I was doing - it was more a matter of 'should
it work this way?'
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist
end(object)
+ if early:
+ self._prepend(object)
+ else:
+ self._append(object)
def note(self, text):
if self.description:
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
__
Shane Hathaway wrote
I looked some more at ZClasses and such today, hoping to solve the
problem with mounted databases. Guess what! It turned out to be a
simple matter.
Excellent! I've added support in CVS, and I'll do a new release this
evening.
The latest addition to Mount.py provides
- [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
--
Anthony Baxter [EMAIL PROTECTED]
It's never too la
. (Waaa).
Well, it has happened, and I'd like it to go away. Any ideas what causes
this?
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org
Ok, I got a quick workaround by making a new Product, and creating the
permissions it needed inside there.
I _suspect_ the problem was caused by nested ZClasses.
Uuuugly.
Anthony
Anthony Baxter wrote
I'm trying to export/import a ZClass based product from one Zope2.2
system to another
rg/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinf
[EMAIL PROTECTED] wrote
I've run into several greedy except: clauses now, and have submitted
patches to make them a little less greedy. Out of curiosity, I searched the
Zope source for "unfiltered" except: clauses...
% grep -rl "except:$" . |wc -l
102
... erk
Erk and a lot. This is a
Is it the sort of thing where it's just work putting a list of all of
them (line numbers, c) up on a web page, maybe crosslinked into cvsweb?
Then people can go and pick them off, one at a time.
ok dokey - so, is DC still running a source view web system? If so,
you could easily enough
ooo. Richard didn't do it right - there's actually over _600_ bareword
except: clauses in the current zope-2_3-branch
A quick breakdown of some of the biggies:
71 in OFS/
61 in ZODB/
56 in ZServer/
53 in ZGadflyDA
50 or so in what seems to be test scripts or modules (probably ok)
42 in
Ok, my last for tonight - I put the output of my horrible script at
http://www.zope.org/Members/anthony/BarewordExcepts
I'll work over it a bit probably early next week - an obviousish next
step is to make it note when the body of the except: contains a 'raise'
statement.
Anthony
uinely what's wanted,
could we put a comment in the source to make it easier to strip
them out).
Anthony, working towards an "except:" free-world :)
Jeremy Hylton wrote
"AB" == Anthony Baxter [EMAIL PROTECTED] writes:
AB Now, it's obvious that not all of these are bad - so
Any known gotchas with running ZEO server and ZEO client on boxes of
different endianness? e.g. the server running on sun solaris/sparc,
while the clients are on x86 linux boxes.
I'd expect it to be fine, but am feeling paranoid...
ta,
Anthony.
___
package? Ideological reasons? How does releasing under the GPL make
the world a better place?
Anthony, who's seen too much of the GPLd-for-GPLs-sake.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
/ECCCHMAScript.
I can't see cisco agreeing to opensource IOS so that they can embed a
decent language in it.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
I've got Zope code and installation pretty heavily automated here,
but one thing that takes a while is that after a cvs update, I have
to do a complete wo_pcgi on each box to make sure everything's up to
date. This forces everything to be rebuilt. Is there anything that
could be done to make it
that
generates this sort of structure? c_o_s is a string we use in
our code as a property, a database column, and a REQUEST variable.
As far as we can tell, it's not something being generated by
our code...
Thanks,
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have
Chris McDonough wrote
I'd be tempted to suspect the BTrees module setstate code.
Yeah? This is something that you'd expect to see with it?
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood
/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
, unfortunately...)
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related
.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
Running current Zope 2.4 CVS under python 2.1 built --without-cycle-gc,
I'm seeing an absolutely _enormous_ amount of leaked objects in
RestrictedPython. This is on one of our ZEO clients, after 45 minutes
of runtime. The deltas are after 5 minutes.
couldn't run a zeo client on a nogc python for
more than about an hour.
ah - here's the message I sent:
Date:Wed, 17 Oct 2001 18:10:27 +1000
To: [EMAIL PROTECTED]
From:Anthony Baxter [EMAIL PROTECTED]
Subject: RestrictedPython under no-GC 2.1 seems to leak a hell of a lot.
Running
using pythonscripts, don't bother without cyclic GC.
For me, I run the ZEO server without GC (because that stops the stomped
stack bug killing the ZEO server), and the ZEO clients with GC (and just
wear the restarts.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy
Matthew T. Kromer wrote
Anthony Baxter is anticipating a Python 2.1.2 beta real soon now (probably
this weekend) so I am going to try to get that into Zope 2.5's binary
releases, although we may put out a Zope 2.5 beta 3 first. This will
include the necessary Python patches to ceval.c
is out -
I don't have access to a massive number of platforms, so I'd like to know if
I've accidentally broken anything. :)
Watch this space...
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev
_strongly_ urge that
the documentation for it be updated.
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
, old=0x80b2298) at
./Modules/gcmodule.c:382
#2 0x080701c2 in collect_generations () at
./Modules/gcmodule.c:479
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist
aware, Zope 2.4 includes it's own version of the
Compiler code, and the current release of 2.4 still has the stacksize
bug.
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist
think something in MySQL
may have thread-local state).
In that case, how about cutting a version which is 2.4.3 + the compiler
fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :)
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood
Behrens Matt - Grand Rapids wrote
Anthony Baxter wrote:
In that case, how about cutting a version which is 2.4.3 + the compiler
fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :)
You already have that. Check out the Zope-2_4-branch from CVS (see
http
Olivier Deckmyn wrote
assertion STACK_LEVEL() = f-f_stacksize failed: file Python/ceval.c,
line 687
This is a new assertion, put in to catch the case where the RestrictedCompiler
code used by PythonScripts incorrectly calculates stack size.
After some hours of researches, I have a (dirty,
Richard Jones wrote
I've just announced our Call Profiler product on zope.org and the zope
announce list (waiting for people in different timezones to authorise them :)
( http://www.zope.org/Members/richard/CallProfiler/ for the impatient)
From my point of view, this is a critical piece
(apologies for formatting oddness - at conference, so don't have access
to normal mailer. _hopefully_ this will be in plain text...)
Andy Sydelko wrote:
Has anyone actually used multiple FastCgiExternalServer
directives within apache, each pointing to a separate ZEO
client, to load balance?
--
Anthony Baxter [EMAIL PROTECTED]
It's never to late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
.
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never to late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists
that, lions.]
Eccles: Oww! Oww! Ooh! Oww! Hey! These gorillas are strong. Here!
Have one of my monkeys -- they're milder.
-- http://www.residents.com/Goons/napoleon.piano.html
--
Anthony Baxter [EMAIL PROTECTED]
It's never to late to have a happy childhood.
Seagoon:
Here! Have a gorilla
Nicola Larosa wrote
you should read the Stability Howto:
http://www.zope.org/Members/matt/StabilityHOWTO
This docco doesn't clearly state that you MUST recompile your
pythonscripts when upgrading to 2.4.4+ (when do we see a real
2.4.4, anyway?)
Anthony
--
Anthony Baxter [EMAIL
over and
breaks.
I think I've mentioned it before, but looking at the object _before_
the corrupted one in memory might be a useful thing to try...
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never to late to have a happy childhood
? The host
running the ZEO client? What about those of us who run multiple ZEO clients
on the same machine (multi-cpu, test instances, whatever)...
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never to late to have a happy childhood.
___
Zope-Dev
seb bacon wrote
But we come back to the point that you may be logged into one of (say) 3
app servers (ZEO clients) all serving the same domain, no?
and on the same box ... :)
Anthony
___
Zope-Dev maillist - [EMAIL PROTECTED]
Adrian Hungate wrote
moved to a different thread or earlier, before the fork, so that we could
simply kill senile threads without killing the entire shooting match?
unfortunately apache does this with seperate processes, not threads.
memory corruption and leaks aren't solved by offing
Casey Duncan wrote
I don't think this is a big enough change to warrant a real proposal, so
I'll shoot this out here:
Does anyone see a problem with changing the default generated
constructor method for ZClasses to a python script in Zope 2.6?
+1.
There's always some funniness in
for a release. At the moment it's looking like a source release, with
RPMs and and ActiveState windows packages. I don't think there'll be a PythonLabs
windows binary release, and there wasn't a 2.1.2 Mac binary release, either...
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have
Python 2.1.3 is out. See http://www.python.org/2.1.3/
This release _should_ now make Zope happy - it has the recent
bugfix for the GC/Trashcan interaction ugliness.
I'd recommend anyone running Zope 2.4 or 2.5 to upgrade to this
version, in particular if you use PythonScripts.
Anthony
. Storing stuff in
a session is often one of the critical bits of a web request, so it's
important to me that it be clear and easy to see this.
Anthony
[*] I assume the standard Zope session stuff has adopted the SESSION
convention now? it wasn't in CST
--
Anthony Baxter [EMAIL PROTECTED
-trolling-for-ChrisW-ly yrs,
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
Chris - stay in the stone age, I hear they have fire there ;-)
mmm. fre pretty.
Page Templates burn, don't dey. Be a shame if somefing was to happen
to your nice shiny website.
Anthony, who might have been spending too long in the bad places of SQL.
port. I'd say it's almost _certainly_ a firewall issue.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross
should be running 2.4.4 or 2.5.1. This is a known bug in 2.4.3.
(It only shows up under python 2.1.3 or later - earlier versions of
python silently corrupt memory).
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood
:)
If there was a Zope FAQ, I'd say this one'd get an entry.
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
I haven't yet finished of the CallProfiler bits, but it's a long weekend
here, and I plan to attack and finish it over this weekend. I've had more
of a go at the refresh problem, and I think I'll just make sure there's no
refresh.txt for now :(
Anthony
--
Anthony Baxter [EMAIL PROTECTED
,
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
Leonardo Rochael Almeida wrote
It is possible to run 2.6 under Python 2.2, but it's unsupported
Note that you'll need 2.2.2. 2.2 and 2.2.1 have bugs that Zope triggers.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood
soliciting no votes or yes votes from
people who aren't going to read the proposal.
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman
cross site scripting or cache
poisoning issues, and that can be attributed to, in part, my growing
disastifaction with the system.
That's really a separate issue that is a zope corp thing to address...
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy
.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
Running the current Zope2 HEAD with current-cvs python,
starting gives the following 3 warnings.
/home/anthony/src/zope/ZopeHead/lib/python/ZServer/medusa/test/max_sockets.py:53:
DeprecationWarning: integer argument expected, got float
for i in range(1 + len(sl) * 0.05):
Andreas Jung wrote
I agree but the current implementation sux. Switching to a counter based
solution would solve the problem. The only problem I see is to keep the
code fully backward compatible.
if there's no counter present:
create one, do a count of the docs, initialise the counter
? I'm thinking of a simple function that just zips
around the ring checking that it's sane in both directions...
(yes, I've confirmed that all the C extensions have been rebuilt cleanly).
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood
More information: I don't see the failure with a fresh Data.fs. The
Data.fs in question is my 2.5 one. I'm running the current HEAD of
Zope-2_6-branch. I packed the Data.fs, the same result.
I've added a simple function to 2.6's cPersistence.c:
static void
ringcheck(CPersistentRing *start)
{
Toby Dickenson wrote
On Friday 25 July 2003 08:30, Anthony Baxter wrote:
More information: I don't see the failure with a fresh Data.fs. The
Data.fs in question is my 2.5 one.
Do you have any custom persistent extension classes stored in that Data.fs
that might not have been updated
rays.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
Tim Peters wrote
Jeremy and I saw cases of ring corruption while putting together the
experimental ZODB 3.3, but they were 100% reproducible on all platforms, and
turned out to have clear causes (some of the C objects we backported from
ZODB4 were getting ghostified by the ZODB4 code without
So I see ZEO clients here falling over all over the place under current
2.6 with:
2003-07-30T07:01:04 ERROR(200) ZEO uncaptured python exception,
closing channel ZEO.zrpc.asyncRPC connected '' at 0xc57198
(exceptions.AttributeError:keys
Anthony Baxter wrote
So I see ZEO clients here falling over all over the place under current
2.6 with:
2003-07-30T07:01:04 ERROR(200) ZEO uncaptured python exception,
closing channel ZEO.zrpc.asyncRPC connected '' at 0xc57198
(exceptions.AttributeError:keys
[/export/01/zope/dev_ekit
in 2.6.2. :-/
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists
Anthony Baxter wrote
Updating it by hand to ZEO2 hasn't made all good and happy, though -
the ZEO/start.py includes
import ThreadedAsync.LoopCallback
at the top of the file, but the sys.path magic that makes this
available is inside the main() function. Moving the import to
the line after
I remember that 2.6 had issues with packing, but I was under the
impression that they'd been fixed...
However, attempting to pack a Data.fs in 2.6-current-cvs fails
for me:
File /export/01/zope/dev_csr_code/lib/python/ZODB/DB.py, line 526, in pack
try: self._storage.pack(t,referencesf)
Woohoo! Fixed. I created an empty file, then used copyTransactionsFrom
to copy all transactions across. This patched the backpointers. fsrecover.py
should probably get some smarts to do something like this as well, but I've
spent far too long on this problem already... :-/
from ZODB import
Jeremy Hylton wrote
I don't recall that any of the pack bugs that we fixed caused this sort of
error. My first guess would be that the file is a bit damaged, perhaps in a
way that the old pack did not check.
Can you run fsdump.py and see if that output sheds any light. It will give
you a
/ExtensionClass.h:94:20:
Python.h: No such file or directory
It can't find Python.h - it's looking in /usr/local/include/python2.1
for it - is the file there? Is it readable by the user that the build
is running under?
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have
.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
that could/should be included with Zope?
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
).
Don't forget you also get the C version of datetime.
I also don't know that we should consider 2.3.1 acceptable for any
version of Zope.
Meh. 2.3.1 gets a bad rap. Aside from the fsync problem, there's nothing
fundamentally broken about it.
Anthony
--
Anthony Baxter [EMAIL PROTECTED
against, say, a 2.7 beta.
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
alan milligan wrote
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 typical approach in Python is to have, e.g. Tkinter, and _tkinter.
Zope.configure('configfile')?
Anthony
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http
.
--
Anthony Baxter [EMAIL PROTECTED]
It's never too late to have a happy childhood.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org
On 9/28/06, Lennart Regebro [EMAIL PROTECTED] wrote:
My 0.02 EUR:
I like the idea and aim of ZClasses. However:
I think the implementation makes them more difficult to create than
disk-based classes, which defeats the purpose. I also think that
without exact knowledge of the limitations of
85 matches
Mail list logo