On 14/03/2013 08:01, Marius Gedminas wrote:
What's the official location of RelStorage? I see two source trees:
* http://zope3.pov.lt/trac/browser/relstorage/trunk
* https://github.com/zodb/relstorage
They have the same commits (~1 year old).
..and one more just for good measure:
http
On 06/02/2013 11:47, Wichert Akkerman wrote:
You can also use the transaction manager directly instead of the bound methods
transaction lifts out of it:
import transaction
with transaction.manager:
pass
yeah, this is what I'll do.
Chris
--
Simplistix - Content Management, Batch Proces
Hi All,
I used to do this:
>>> import transaction
>>> with transaction:
... print 'hello'
...
Traceback (most recent call last):
File "", line 1, in
AttributeError: __exit__
When did that stop working and what should I now do instead?
cheers,
Chris
--
Simplistix - Content Management, Ba
On 10/01/2013 20:48, Jim Fulton wrote:
It isn't just CI: people may have projects running from SVN checkouts,
which we break without warning (the Plone devs have been notorious for
causing such breakage for years).
I still think breakage is better. If they're using trunk, without
pinning a re
I'm not going to dignify this with a fuller response other than to say
that Jean-Paul Smets' entire email is nothing but bullshit written to
try and promote an inferior competing product ;-)
Chris
On 18/08/2012 13:31, Jean-Paul Smets wrote:
Hi,
I approve your position Jens.
Moving to git ca
Hi Jens,
On 18/08/2012 09:39, Jens Vagelpohl wrote:
Legally this must be a fork then and I'm not sure it can be released as
official Zope Foundation software anymore if you make releases from GitHub.
Reason: the ZF can no longer ascertain that only official ZF contributor
agreement signers ha
On 30/06/2012 18:12, Tres Seaver wrote:
How have other people solved this?
For repoze.sendmail, I did two fixups for Python 2.5:
- - I changed 'install_requires' in setup.py based on sys.version_info
https://github.com/repoze/repoze.sendmail/blob/master/setup.py
- - I pinned the verstion
Hi All,
Got this:
Getting distribution for 'zope.interface'.
In file included from
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/unicodeobject.h:4,
from
/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:85,
from
Hi All,
While trying to debug another problem, I re-ran some Jenkins jobs for
two of my packages, which promptly failed under Python 2.5:
http://jenkins.simplistix.co.uk/job/testfixtures-buildout/
http://jenkins.simplistix.co.uk/job/checker-buildout/
Now, the issue here is that zope.interface
On 20/12/2011 10:44, Jim Fulton wrote:
What's wrong with mod_wsgi?
Debugging with it seems to be a pain, so you end up using different
servers in development and production.
I'm pretty sure if you ask Graham there'll be a simple way to run Apache
& mod_wsgi in a way that lets you debug in mu
On 05/01/2012 21:07, Fred Drake wrote:
On Thu, Jan 5, 2012 at 1:47 PM, Chris Withers wrote:
Is there any way in ZConfig to allow a file that looks like this:
...
...or some other way of spelling multi-line values for a key?
Nope, sorry. I played with adding that at one point, but didn
Hi Fred,
Is there any way in ZConfig to allow a file that looks like this:
key1 value1
multi
line
value
...or some other way of spelling multi-line values for a key?
If so, how do I phrase it in the schema?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Cons
On 20/12/2011 07:08, Wolfgang Schnerring wrote:
as advanced as we've come to know. What do people use here, what are
your experiences and ideas?
What's wrong with mod_wsgi?
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
On 17/11/2011 16:32, Tres Seaver wrote:
> Note that this question is *not* suitable for "loudest voice on zope-dev
> wins" ressolution. The software belongs to the Zope Foundation, which
> will make any such decision.
Small point: the software is open source and anyone who wants can
maintain it
On 09/11/2011 13:17, Benji York wrote:
>> If this is the case, perhaps Manuel shouldn't do anything with
>> countTestCases? (I know it would drop the test count, but that's not
>> *that* important, right? ;-) - and at least all the test runners would
>> agree...)
>
> Meh. Having a good count in co
Any idea what mx1.emailsrvr.com doesn't like?
Is it Bejni's address, the email in question or that isn't coming from
server1.simplistix.co.uk?
cheers,
Chris
(trying again to get around the crazy zope.org obsession with banning
.eml attachments - ie: Thunderbird and others forwarded messages)
Hi Benji,
On 08/11/2011 11:10, Jonathan Lange wrote:
>> Mark has somewhat misdirected the thread here, either that or I've got in a
>> muddle, anyway, the issue at hand is that nose ignores
>> TestCase.countTestCases(). Any nose people know what that is?
>
> Not a nose person, but it's usual to re
Hi All,
On 07/11/2011 22:25, Michael Foord wrote:
> On 07/11/2011 19:51, Mark Sienkiewicz wrote:
>> On 11/07/11 12:53, Chris Withers wrote:
>>> The only hiccup is that nose doesn't respect a test_suite function by
>>> default, so I wrote a plugin to make it do the
do the right thing:
http://pypi.python.org/pypi/nose_fixes/1.0
> On Thu, Nov 3, 2011 at 7:13 AM, Chris Withers wrote:
>> The code uses Manuel, under both nose and zope.testrunner:
>
> Manuel will report the same test count under both nose and
> zope.testrunner but I don'
On 03/11/2011 11:05, Jim Fulton wrote:
> On Thu, Nov 3, 2011 at 5:14 AM, Chris Withers wrote:
>> Hi Michael,
>>
>> On 03/11/2011 09:12, Michael Howitz wrote:
>>> Run both test runners with the option -vv to see which tests are run.
>>> (I did this for your
On 03/11/2011 10:54, Matthew Wilkes wrote:
>
> On 2011-11-03, at 0025, Chris Withers wrote:
>
>> I'm experimenting with using nose as an alternative to zope.testrunner
>> so I can take advantage of the junit and cobertura compatible xml output
>> offered.
>
Hi Michael,
On 03/11/2011 09:12, Michael Howitz wrote:
> Run both test runners with the option -vv to see which tests are run.
> (I did this for your code and the list of tests seems to be equal.)
Cool, I'd done this already, but it's good to have someone else verify
this :-)
> Though this is n
Hi All,
I'm experimenting with using nose as an alternative to zope.testrunner
so I can take advantage of the junit and cobertura compatible xml output
offered.
However, it appears that doctest counting is different between the two:
$ bin/test -m testfixtures.tests.test_docs
Running zope.test
On 28/10/2011 08:46, yuppie wrote:
> Is that the fault of the publisher? AFAICT the biggest security problem
> of Zope2 is this line in OFS.SimpleItem.Item:
>
> # Allow (reluctantly) access to unprotected attributes
> __allow_access_to_unprotected_subobjects__=1
>
> I'm not familiar wit
On 29/09/2011 15:22, Laurence Rowe wrote:
> On 29 September 2011 10:33, Chris McDonough wrote:
>> On Tue, 2011-09-27 at 12:40 -0400, Tres Seaver wrote:
>>> This bootstrap is from Jim's '2' branch of zc.buildout:
>>>
>>>
>>> http://svn.zope.org/zc.buildout/branches/2/bootstrap/bootstrap.py?rev=1
On 27/09/2011 02:47, Chris McDonough wrote:
> In case anyone is interested, I've made a stab at porting
> zope.sqlalchemy to Python 3 at
> http://svn.zope.org/zope.sqlalchemy/branches/chrism-py3/ . Several
> tests still fail. I could use some help fixing them.
Have you tried running the tests by
On 23/09/2011 19:16, Charlie Clark wrote:
> Am 23.09.2011, 09:36 Uhr, schrieb Chris Withers:
>
>> t tried zope.interface 3.8.0 on MacOS X Lion and got:
>
> Oh you brave boy! Given what Apple managed with Snow Leopard I've held off
> Lion so far and I always use the MacP
On 22/09/2011 10:10, Chris McDonough wrote:
> On Thu, 2011-09-22 at 10:10 +0200, Hanno Schlichting wrote:
>> On Thu, Sep 22, 2011 at 9:03 AM, Chris McDonough wrote:
>>> I've made tags for zope.interface 3.8.0 and zope.component 3.11.0, as
>>> described in a recent thread to this list, but I don't
On 15/09/2011 07:11, Chris McDonough wrote:
>>> zope.registry also currently provides a minor API in the way of an
>>> "adapts" decorator. This could (and should) be moved back into
>>> zope.component; it's actually not used internally by zope.registry now
>>> (although some decoy imports would ma
On 26/08/2011 02:17, Charlie Clark wrote:
> Regarding Withers suggestion - should we be looking to move these
> libraries to the WSGI namespace? Or are there real use cases outside the
> web world?
As with Tim, I use both of these libraries plenty of the time outside of
web work...
cheers,
Chri
On 25/08/2011 06:24, Jim Fulton wrote:
> Maybe something like "zope.plugins" would be better. When I try
> to explain zope.component to people, I often explain it as a good
> generic plugin mechanism.
If we're renaming, we could also consider dropping the "zope" bit.
I never will understand the
Hmm, might have been helpful to include docs for these new bits:
On 19/07/2011 09:36, Chris Withers wrote:
> - Implement the ability to mock out dict and list
> items using testfixtures.Replacer and
> testfixtures.replace.
>
> - Implement the ability to remove attributes and dic
Hi All,
I'm happy to announce a new release of TestFixtures with the following
changes:
- Removed the dependency on zope.dottedname.
- Implement the ability to mock out dict and list
items using testfixtures.Replacer and
testfixtures.replace.
- Implement the ability to remove attributes
On 28/06/2011 18:28, Johannes Raggam wrote:
> on http://www.zope.org/Products/Zope/swpackage_releases
> there are zope 2.8.12, 2.9.12, 2.10.13 and 2.11.8 available, where on
> launchpad they are not.
Not to mention that http://www.zope.org/Products/ is out of date and
lists Zope 2.11.4 as the lat
On 27/06/2011 17:31, Tres Seaver wrote:
> "Let me google that for you":
>
> - - http://mail.zope.org/pipermail/zodb-dev/2009-June/012607.html
>
> - -
> http://mediacore.com/blog/hosting-multiple-wsgi-applications-with-apache/
>
> - - http://trac.edgewall.org/ticket/3371
Adding:
WSGIApplicationGro
Hi All,
Apologies for the cross post, but this problem is occurring with a
repoze.bfg app running on apache using mod_wsgi, and the exception is
suggesting something zope.interface related...
So, firstly, it only happens intermittently, and I haven't been able to
figure out any pattern to the
On 13/06/2011 15:26, Charlie Clark wrote:
>> In order to get the object itself back from such an adaptation, you need
>> to use the default= argument.
>
> I know that the question has been answered but your question makes me ask
> another: why would you want to adapt an object with itself?
I have
On 12/06/2011 21:48, Chris McDonough wrote:
> Currently if you ask a registry to singly-adapt an object to an
> interface, and the object you're trying to adapt implements that
> interface, here's what happens:
>
from zope.component.registry import Components
c = Components()
from zo
On 11/05/2011 06:52, Andreas Jung wrote:
>> How do existing Zope contributors help out?
>
> Please make your notes. We will pick them up and incorporate
> for the final version. Further changes should be made by the webmaster
> which is currently Michael Haubenwaller.
This sounds a lot like "we do
On 11/05/2011 06:45, Andreas Jung wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Chris Withers wrote:
>> On 10/05/2011 22:31, Jens Vagelpohl wrote:
>>>> ...but this name doesn't resolve for me, does it for other people?
>>> The link i
On 10/05/2011 22:31, Jens Vagelpohl wrote:
>> ...but this name doesn't resolve for me, does it for other people?
>
> The link is incorrect. It should point to www.zodb.org.
Where would I got to fix it?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
Hi All,
I found a link off the new site (which looks great, btw) to:
http://zodb.zope.org/
...but this name doesn't resolve for me, does it for other people?
Chris
On 10/05/2011 05:55, Andreas Jung wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi there,
>
> I am happy to announc
Hi All,
I'm happy to announce a new release of TestFixtures.
This release adds a utcnow method to test_datetime that behaves
identically to the now method:
http://packages.python.org/testfixtures/api.html#testfixtures.tdatetime.utcnow
The package is on PyPI and a full list of all the links to
On 30/03/2011 12:29, Wolfgang Schnerring wrote:
>>> (Shameless plug: ;-) gocept.zestreleaser.customupload is a plugin for
>>> zest.releaser that allows uploading the created egg via scp. We use this
>>> to put our non-public eggs into a folder that's served (and htpasswd
>>> protected) by an Apache
Hi Christian,
On 25/03/2011 16:49, Christian Theune wrote:
> the German speaking Zope Users Group (DZUG e.V.) organizes a series of 4
> sprints this year to support feature development within the proximity of
> the ZTK and solve problems encountered by Zope, Plone and Python developers.
>
> Topic
On 27/02/2011 17:22, Tres Seaver wrote:
>> TypeError: 'DeclarativeMeta' object is not iterable
>>
>> Why is that and how should I register an adapter against such a class?
>
> UTSL: the 'required' argument passed to 'registerAdapter' is supposed
> to be a sequence of interfaces or classes, not a s
Hi All,
This is particularly problematic when using the common case of
SQLAlchemy declaratively mapped model classes.
The attached unit test when run will fail with:
Error in test test_provideAdapter (test_sa.TestAdapter)
Traceback (most recent call last):
File "/usr/local/lib/python2.6/uni
On 24/02/2011 11:38, Laurence Rowe wrote:
>> Hi Jim,
>>
>> The current __exit__ for transaction managers looks like this:
>>
>> def __exit__(self, t, v, tb):
>> if v is None:
>> self.commit()
>> else:
>> self.abort()
>>
>> ..which means that if you'r
Hi Jim,
The current __exit__ for transaction managers looks like this:
def __exit__(self, t, v, tb):
if v is None:
self.commit()
else:
self.abort()
..which means that if you're using the transaction package as a context
manager and, say, a relati
Hi All,
I'm happy to announce a new release of TestFixtures.
This release adds a helper for tests of code using zope.component:
http://packages.python.org/testfixtures/components.html
The package is on PyPI and a full list of all the links to docs, issue
trackers and the like can be found here
On 08/09/2009 18:04, Chris Withers wrote:
> Coming back to this ancient thread...
...and once more, only a year and a half later ;-)
> What I'd really like to do is write a Manuel plugin that will be part of
> testfixtures' TempDirectory and would handle the following:
>
On 03/12/2010 10:51, Malthe Borch wrote:
> On 3 December 2010 11:41, Chris Withers wrote:
>> I'd much prefer it to just be an "order of execution" thing, the nyou have
>> total and flexible control. Combined with some logging about why something
>> is as it is
On 02/12/2010 08:15, Malthe Borch wrote:
> I always found configuration overrides (e.g. ZCML's
> directive) to be difficult to manage and hard to get right.
>
> How about an alternative where you can put a priority on a
> configuration context like so:
>
>
I'm -sys.maxint on priorities.
> Def
On 10/11/2010 14:23, Christian Theune wrote:
> I'd like to keep this out of the server: rotation is a system
> administration task where I'd like to rely on the policies and tools
> provided by the system environment.
I just use logrotate's copytruncate option :-)
Chris
--
Simplistix - Content
Switching to zope-dev as this has become a Zope question:
On 04/11/2010 14:17, Shane Hathaway wrote:
> On 11/04/2010 06:32 AM, Chris Withers wrote:
>> I have the following config for the temp_folders of my ZODB instances:
>>
>>
>>
>>
On 13/10/2010 13:47, Marius Gedminas wrote:
> On Wed, Oct 13, 2010 at 08:53:08AM +0100, Chris Withers wrote:
>> Hi All,
>>
>> In Zope 2.12, try putting the following in a TTW ZPT:
>>
>>
>
> Are you sure you didn't mean
>
>
Ah, d'oh! Than
On 13/10/2010 11:19, Charlie Clark wrote:
> Maybe your question is actually why is the XML entity being converted to
> character data at all?
I guess so...
My naive experience is that this "just works" in Zope 2.9 and "just
breaks" in 2.12.
> Maybe your question is actually why is the XML entit
On 13/10/2010 11:10, Charlie Clark wrote:
> Am 13.10.2010, 12:06 Uhr, schrieb Chris Withers:
>
>> So why on earth is iso8859_15 being picked instead of utf-8?
>
> I would guess this is the default-publisher-encoding of your system.
I don't have one set.
So, is iso-8859
On 12/10/2010 16:00, Charlie Clark wrote:
> Traceback (most recent call last):
> File "", line 1, in
> UnicodeEncodeError: 'latin-1' codec can't encode character u'\u203a' in
> position 0: ordinal not in range(256)
>
> ISO-8859-15 is, of course, Latin-1 + the €
Yes, but I don't see why that is
On 11/10/2010 19:00, Alan Runyan wrote:
>> Try with a smaller "batch" (whatever you are doing) and profile it.
>
> I 100% agree with what ajung says. post a profile of your batch run
> that takes ~30 minutes.
Related to this, what http load testing tools do people around here
recommend?
cheers,
Hi All,
In Zope 2.12, try putting the following in a TTW ZPT:
...nothing more, nothing less.
On save, I get:
Compilation failed
: 'ascii' codec can't encode
character u'\u203a' in position 0: ordinal not in range(128)
If I try and view the template, unsurprisingly, I get:
Module ZPublisher
Anyone seen this or know what it means?
Traceback (innermost last):
Module ZPublisher.Publish, line 130, in publish
Module ZServer.HTTPResponse, line 266, in setBody
Module ZPublisher.HTTPResponse, line 330, in setBody
Module ZPublisher.HTTPResponse, line 485, in _encode_unicode
Module e
On 11/10/2010 16:53, David Glick wrote:
>> Are there any docs on how to get Chameleon to work with classic,
>> ZODB-based page templates?
> Just use cmf.pt: http://pypi.python.org/pypi/cmf.pt
Ah, okay, well, I'm not using anything CMF, so I opted for just five.pt.
Unfortunately, this hits a unico
On 11/10/2010 13:32, Hanno Schlichting wrote:
> My only guess here is that you are calling a lot of page templates and
> those have gotten slower. When we switched to Unicode based templates
> in Zope 2.10, that move has of course cost some performance. Dealing
> with Unicode instead of bytes is al
On 09/10/2010 17:01, Tres Seaver wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
>> Subject: FAILED : ZTK 1.0 / Python2.4.6 Linux 64bit
>> From: ccomb at free.fr
>> Date: Fri Oct 8 09:12:06 EDT 2010
>> URL: http://mail.zope.org/pipermail/zope-tests/2010-October/021256.html
>
>
> This
Hi All,
Just finished upgrading a medium sized project from Zope 2.9 to 2.12.
One part of that does a batch of static copies of a Zope-served site.
I guess I was hoping for a bit of a speed up, so was slightly horrified
to see the batch, which used to take 11hrs, now takes 13 hrs. This has
been
Hi All,
Unless I'm missing something, the encoding text field that forms part of
the file upload form on page template instances is completely ignored
since it's not used in the pt_upload method of ZopePageTemplate instances.
Am I missing anything?
Chris
--
Simplistix - Content Management, B
On 28/09/2010 12:55, Tres Seaver wrote:
> On 09/28/2010 03:36 AM, Chris Withers wrote:
>> On 28/09/2010 00:12, Marius Gedminas wrote:
>>> --- ./OFS/History.py.orig 2010-09-28 02:11:56.535745440 +0300
>>> +++ ./OFS/History.py2010-09-28 02:12:00.043764683
On 28/09/2010 00:12, Marius Gedminas wrote:
> --- ./OFS/History.py.orig 2010-09-28 02:11:56.535745440 +0300
> +++ ./OFS/History.py 2010-09-28 02:12:00.043764683 +0300
> @@ -151,6 +151,9 @@
> base = aq_base(self)
> base._p_activate() # make sure we're not a gho
Hi All,
Try this:
- edit a page template
- edit it again
- go to the history tab, and use the "Copy to present" button to bring
back your first edit.
On the edit tab, you will correctly see the text you brought back.
However, if you render the template, the old text will be used.
It's only i
On 22/09/2010 09:58, Andreas Jung wrote:
> If you think it is crap then I cam happy to accept that (and I don't
> mind much because Zope 2 is not my radar right now). You are committer
> and you can fix my crap. Blame me for having written this crap but you
> could also blame me for having on this
On 21/09/2010 21:18, Andreas Jung wrote:
> I can not recall all details but at the time of the integration of the
> Zope 3 ZPT engine the unicode resolver approach was the best thinkable
> solution for dealing all possible edgecase where encoding issues may pop
> *for the sake of backwards compatib
On 22/09/2010 03:50, Andreas Jung wrote:
> I also strongly object such a change in the default behavior.
I'm sorry, but WHAT?
> I did a
> lot of testing of the current implementation and configuration with
> various browsers and Zope applications and add-ons in order to make the
> Zope 3 ZPT engi
On 21/09/2010 23:59, Marius Gedminas wrote:
> On Tue, Sep 21, 2010 at 07:39:46PM +0100, Chris Withers wrote:
>> So, would anyone object if I change the default, on both trunk and the
>> 2.12 branch to some variant of:
>>
>> class BasicEncodingConflictResolver(ob
On 21/09/2010 19:32, Hanno Schlichting wrote:
> Because there's not all that many people left using plain Zope 2 and
> upgrading to new versions.
Well, or they assume they must be doing something wrong because of this
default.
> The rest is using Plone, which has its own version of this:
>
> def
Hi All,
It's been a a while since I had a good rant on a Zope list, but this
really takes the biscuit.
Andreas, what on *earth* were you thinking with PreferredCharsetResolver?!
I like the idea of IUnicodeEncodingConflictResolver, but
PreferredCharsetResolver is in the realms of totally batshi
On 05/09/2010 15:03, Wichert Akkerman wrote:
> On 2010-9-4 00:43, Chris Withers wrote:
>> On 03/09/2010 17:21, Tres Seaver wrote:
>>>> I am not sure if this is best done in plone.recipe.zope2instance or
>>>> Zope2.Startup.zopectl. They have differing vers
On 09/09/2010 21:47, Jim Fulton wrote:
>> 2010-08-26 22:49:01 ERROR txn.-1338986496 Failed to abort resource
>> manager:> object at 0x2d509f0> at 47516176>
>> Traceback (most recent call last):
>>File "transaction-1.1.0-py2.6.egg/transaction/_transaction.py", line
>> 475, in abort
>> rm.a
On 03/09/2010 17:21, Tres Seaver wrote:
>> I am not sure if this is best done in plone.recipe.zope2instance or
>> Zope2.Startup.zopectl. They have differing versions of ZopeCmd. Perhaps
>> the plone.recipe.zope2instance code should be merged into Zope2's
>> original as well?
>
> I don't know anythi
Marius Gedminas wrote:
>> Has anyone seen this or anything similar before?
>
> Yes. Basically, every Zope site I've upgraded to 2.12 has suffered from
> this. Annoyingly this only happens with MSIE, so developers/admins tend
> not to notice.
...well, and Safari, but no-one uses that, right? ;-)
Vladislav Vorobiev wrote:
> Maybe not the best solution but I use this hack:
>
> zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py
Indeed, certainly not a good solution.
This implies that things should be unicode by the time they get here.
Now, the decoding shouldn't be dependent on anything t
Charlie Clark wrote:
> Am 31.08.2010, 12:05 Uhr, schrieb Chris Withers :
>
>> What does Zope2's publisher do with requested encodings and the like now?
>> Why would this be causing problems?
>
> I can't remember exactly where but preferred_charset is looked for
Marco Bizzarri wrote:
>
> No solution, actually, but I would suggest to sniff the traffic between
> you and the server; I suspect different headers cause problems, here.
Of that I have no doubt.
What does Zope2's publisher do with requested encodings and the like now?
Why would this be causing
Hi All,
After a recent upgraded to Zope 2.12, I'm now seeing errors like the
following when using IE (version 8) or Safari (version 4.0.3) to view
page templates. Chrome and Firefox work fine.
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.ma
Laurence Rowe wrote:
>> architecture i386): Mach-O executable i386
>
> This is telling you that the executable contains versions for ppc and
> i386 (no x86_64, so no 64bit version). Another way to confirm this is
> at the python prompt with: import sys; sys.maxint
That's annoying, I was hopin
Tim Hoffman wrote:
> on linux
>
> t...@chrome:~$ file /usr/bin/python2.5
> /usr/bin/python2.5: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
> dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
> t...@chrome:~$
Right, so the linux boxes are 32-bit as I suspected:
$ f
Tres Seaver wrote:
>> Now, how in gdb do I find out what it was that was trying to be imported?
>> (should any sort of import cause a core dump?!)
>
> http://wiki.python.org/moin/DebuggingWithGdb
Things you learn, thanks for that :-)
Okay, another interesting data point; this appears to be relat
Tres Seaver wrote:
>> It's the sudden death I have issue with, not a peep of logging anywhere...
>
> Two options there:
>
> - - Run under gdb.
gdb says:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0xb0186cec
[Switching to process
Tres Seaver wrote:
> Binary search is your friend:
>
> - - Is it only one of the ZPTs which cause the crash?
Dunno this yet, will try and find out...
> - - Can you trim out parts of its content and make it not crash?
Yep, if I leave the ZPTs out, it's fine ;-)
> Also, you might try exporting t
Marius Gedminas wrote:
>> What adapter might that be and what's the "right" way to get it
>> registered in a unit test?
>
> DefaultTraversable, I think, and
>
> from zope.app.testing import setup
> setup.setUpTraversal()
>
> Various other features need various other components,
Hi All,
So, here the story; I have a zodb that's been around for many years.
In it, it has a folder containing a few ZPTs and python scripts.
This server is now running Zope 2.12.
If I zexp export that folder and import into a clean 2.12 instance, the
import works fine, but when I try to go to
Hi All,
When trying to test a template in a unit test, I get the following
exception:
- Expression:
...
File
"Zope2-2.12.7-py2.6-macosx-10.3-fat.egg/Products/PageTemplates/Expressions.py",
line 79, in boboAwareZopeTraverse
request=request)
File "zope.traversing-3.7.1-py2.6.egg/
Here's an example:
2010-08-26 22:49:01 ERROR txn.-1338986496 Failed to abort resource
manager: at 47516176>
Traceback (most recent call last):
File "transaction-1.1.0-py2.6.egg/transaction/_transaction.py", line
475, in abort
rm.abort(self)
File "transaction-1.1.0-py2.6.egg/transacti
Chris Withers wrote:
> ...often appears to be empty when it shouldn't be.
>
> Has anyone else observed this?
The answer turned out to be ZODB 2.10b4 being used on the storage server
side.
I found a clue in the ChangeLog but it sure would be nice if there was
some logging of som
...often appears to be empty when it shouldn't be.
Has anyone else observed this?
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist - Zope-Dev@zope.org
http
Andreas Jung wrote:
> "/Users/ajung/sandboxes/occ/eggs/zc.recipe.egg-1.3.0-py2.6.egg/zc/recipe/egg/egg.py",
> line 159, in install
> if options.query_bool('dependent-scripts', 'false'):
> AttributeError: 'dict' object has no attribute 'query_bool'
>
> Not sure who is in charge and where the re
Hi All,
If a PageTemplate's content type is set to text/plain, the edit form
bombs out with:
2010-08-18 19:40:01 ERROR Zope.SiteErrorLog 1282156801.210.45371719052
http://localhost:8080/index_html/pt_editAction
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Mo
Hi All,
If I got to the "Interfaces" tab of a Page Template in the ZMI of a
plain Zope 2.12 instance, it simply renders the template.
Should that tab be there?
cheers,
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
_
Hi All,
The pt_edit method of the ZopePageTemplate appears to have sprouted a
string.strip() as its first line.
While I'm use this is fine for xml and html templating, it's
unacceptable for text/plain templates.
This appears to have been introduced here:
http://zope3.pov.lt/trac/changeset/655
Jens Vagelpohl wrote:
>> I've just been doing some build and release tools for a customer that
>> involve this sort of stuff, I resorted to:
>
>
> Yikes. Maybe the subshell isn't so bad after all :-P
Yeah ;-) Although getting the right python path set up can be a pain...
Here's the actual versi
1 - 100 of 2150 matches
Mail list logo