Summary of messages to the zope-tests list.
Period Wed Sep 28 11:01:01 2005 UTC to Thu Sep 29 11:01:01 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Wed Sep 28 22:25:17 EDT
...zdb in this case.
I need to make a global recompile function available, since zdb
requires the co_filename attribute of the script's func_code object to
be set to something meaningful, rather than the useless Script
(Python) it usually gets set to.
Once zdb is installed, any scripts
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think this is because DB.classFactory
Victor Safronovich wrote:
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think that was more by luck than by design, but maybe whoever made the
change can help you out...
I think this is
Hello Chris Withers,
Thursday, September 29, 2005, 2:44:52 PM, you wrote:
CW I think that was more by luck than by design, but maybe whoever made the
CW change can help you out...
I think broken object MUST use ZODB.broken.Broken not OFS.Uninstalled.Broken
CW What makes it a bad persisten
Victor Safronovich wrote:
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think
lavrinenko wrote:
I suspect the bug is in Image.py, and the whole database adapters thing is a
red herring.
Either that, or Shared.ZRDB has become geb0rken in 2.8 when it comes to
savepoints.
..or, as another possibility, both the DA's these errors have been
reported with haven't been
lavrinenko wrote:
RDB-based user folder? ZSQL methods being used somewhere?
Yes, exUserFolder with MySQL Authentication Source
Try SimpleUserFolder ;-)
Chris
--
Simplistix - Content Management, Zope Python Consulting
- http://www.simplistix.co.uk
Hello Jim Fulton,
Thursday, September 29, 2005, 2:57:47 PM, you wrote:
JF Victor Safronovich wrote:
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
So I guess it didn't work. :)
I'll look into this. The first step will be to write a test for this.
The intent was definately that you would be able to get to a broken object's
state.
Jim
Victor Safronovich wrote:
Hello Jim Fulton,
Thursday, September 29, 2005, 2:57:47 PM, you wrote:
JF
Hello Victor Safronovich,
Thursday, September 29, 2005, 4:03:17 PM, you wrote:
VS I think __setattr__ and __setstate__ overriden by ExtensionClass, but
needfully
VS must be from Persistent. Or classFactory must return
VS ZODB.broken.{Persistent}Broken objects
I changed BrolenClass.__bases__
Victor Safronovich wrote:
Hello zope-dev!
http://www.zope.org/Collectors/Zope/1911
I try to migrate my old database from zope 2.6.1.
I have Broken objects, but it is impossible to get its state in Zope 2.8.
In Zope 2.6 Broken objects have states, what i uses to migrate its.
I think
Hello Jim Fulton,
Thursday, September 29, 2005, 4:34:31 PM, you wrote:
JF So I guess it didn't work. :)
JF I'll look into this. The first step will be to write a test for this.
JF The intent was definately that you would be able to get to a broken object's
JF state.
not Test but for example (
Hello Jim Fulton,
Thursday, September 29, 2005, 5:02:46 PM, you wrote:
JF Could you tell me more about what you want to happen?
i want to get the states of broken objects, to migrate them.
--
Best regards,
Victor Safronovich
NauMen.NauDoc.SoftwareDeveloper http://www.naumen.ru
I have found a strange security issue with Zope 2.8.1 that seems to
stem from code not doing what it was supposed to do in Zope 2.7.x,
but which works in 2.8.1 and then causes other side effects in code
that relied on the broken behavior.
Symptom: In Zope 2.8.1 it is *impossible* to
Jens Vagelpohl wrote:
I have found a strange security issue with Zope 2.8.1 that seems to
stem from code not doing what it was supposed to do in Zope 2.7.x, but
which works in 2.8.1 and then causes other side effects in code that
relied on the broken behavior.
Symptom: In Zope 2.8.1 it is
Chris Withers wrote at 2005-9-29 09:17 +0100:
...zdb in this case.
I need to make a global recompile function available, since zdb
requires the co_filename attribute of the script's func_code object to
be set to something meaningful, rather than the useless Script
(Python) it usually gets set
Am Mittwoch, den 28.09.2005, 20:49 -0400 schrieb Jeff Kowalczyk:
Most references I find (google, The Plone Book - McKay, Building Websites
W/ Plone - Cooper) on virtual hosting Zope behind Apache recommend
starting with sfm's SiteAccess enhanced Virtual Host Monster product:
En/na Chris Withers ha escrit:
For more information, please see:
http://www.simplistix.co.uk/software/zope/zdb
2005-09-29 08:43:11 ERROR Zope Couldn't install zdb
Traceback (most recent call last):
File /usr/local/zope-2.8.1-final/lib/python/OFS/Application.py,
line 773, in install_product
Alexander Limi wrote:
A more interesting question: shouldn't it be available by default?
It's a basic data strucure along the lines of lists and dicts, right?
Or have I missed a use case for it where it may be scary to use in a
Python Script? :)
No, it's just an object type that came
jwithers wrote:
eep, another one, hope we're not related ;-)
Can anyone tell me what the default working directory for an external
method is?
You can't rely on it being anything. If you're working with files, you
need to be very careful...
Further, I need this to create a file temporarily
Jeff Kowalczyk wrote:
Reportedly last updated 2001-08-19, is SAE really so mature that it has
not subsequently needed updates or merited a merge into Zope's own VHM?
Use the one that ships with Zope, it's likely to be better maintained...
I need to map the incoming URL
Julian Yap wrote:
Another query I had was on the practice of using control flow
(ie. if, for, etc.. statements). I guess the best way is to
keep your control flow in Python scripts? Is this the common practise?
Well, it seems to be that a little bit of python in a tal:condition is
quite
Luca Olivetti wrote:
folder_permissions, raise_exc=debug_mode)
File /usr/local/zope-2.8.1-final/lib/python/OFS/Application.py, line
773, in install_product
initmethod(context)
File /home/luca/zopetest/Products/zdb/__init__.py, line 64, in
initialize
pack._m['debug_compile']
If what is intended with this code is to monkey patch some class, then I had
a similar problem on 2.8.0 and I solved it by using setattr() instead of
item assignment (and it works with 2.7.6).
Pascal
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Chris
Pascal Peregrina wrote:
If what is intended with this code is to monkey patch some class, then I had
a similar problem on 2.8.0 and I solved it by using setattr() instead of
item assignment (and it works with 2.7.6).
It depends, did you try using the recompile method and did it work with
your
On 9/29/05, Chris Withers [EMAIL PROTECTED] wrote:
*sigh*, looks like some of the project registration machinery has
changed between 2.7 and 2.8.
Well, you are using __dict__, which you aren't supposed t odo for new
style classes, which FactoryDispatchers now seem to be.
This code:
if not
That solution was given to me by someone on the zope mailing list by the
time Zope 2.8.0 was out :)
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]
Sent: 29 September 2005 09:26
To: Pascal Peregrina
Cc: Luca Olivetti; [EMAIL PROTECTED]; zope@zope.org
Subject: Re: [Zope]
Pascal Peregrina wrote:
That solution was given to me by someone on the zope mailing list by the
time Zope 2.8.0 was out :)
*shrugs*
Still a fix for zdb that would have been handy for me to have.
Are you using any zodb-based python scripts or are all yours
FSPythonScripts?
cheers,
Chris
On 9/29/05, Lennart Regebro [EMAIL PROTECTED] wrote:
This code:
if not hasattr(pack, '_m'): pack._m=fd.__dict__
fd.debug_compile = debug_compile
fd.debug_compile__roles__ = ('Manager',)
Seems to work. I just needed to debug a script, and it worked fine!
Great product!
For those people who are porting code to Zope 2.8, perhaps you want
to read this:
http://www.peterbe.com/plog/itp-on-zope-2.8.0
2005/9/29, Lennart Regebro [EMAIL PROTECTED]:
On 9/29/05, Lennart Regebro [EMAIL PROTECTED] wrote:
This code:
if not hasattr(pack, '_m'): pack._m=fd.__dict__
I have a page that a client submit a questionnaire (multiply choices)
and I want to export the values from the answers to SPSS logistic
format so I can send it by mail...
Can some one give me the right directions here ?
thanks..
___
Zope maillist
Lennart Regebro wrote:
if not hasattr(pack, '_m'): pack._m=fd.__dict__
fd.debug_compile = debug_compile
fd.debug_compile__roles__ = ('Manager',)
Ah, but did you need to use zdb's recompile method?
Seems to work. I just needed to debug a script, and it worked fine!
Great product!
Dieter Maurer wrote:
bruno modulix wrote at 2005-9-28 10:02 +0200:
Dieter Maurer wrote:
...
Sounds like a permission to role mapping flaw...
Apparently, roles controlled by the Portal UserFolder (e.g.
Authenticated) are allowed to do things in your CPM that
you only be allowed by roles
Hi
I appear to be having difficulty logging into the ZMI using the password created on install. I did change some settings to my root login using the Samplex member product etc but didn't change the password, login etc.
Anyway I've followed all the instructions in security.txt, telnetting in as
Just to say that I solved this by using ./zopectl adduser name password with zope shut down.
On 9/29/05, michael nt milne [EMAIL PROTECTED] wrote:
Hi
I appear to be having difficulty logging into the ZMI using the password created on install. I did change some settings to my root login using the
michael nt milne wrote:
Hi
I appear to be having difficulty logging into the ZMI using the password
created on install. I did change some settings to my root login using
the Samplex member product etc but didn't change the password, login etc.
Anyway I've followed all the instructions in
Yes, the access file was being created in the homeinstance. One thing I didn't do was run the zpasswd.py file when zope was stopped though, as I did with ./zopectl
On 9/29/05, J Cameron Cooper [EMAIL PROTECTED] wrote:
michael nt milne wrote: Hi I appear to be having difficulty logging into the ZMI
Alexander Limi wrote at 2005-9-28 20:40 +0200:
A more interesting question: shouldn't it be available by default?
It's a basic data strucure along the lines of lists and dicts, right? Or
have I missed a use case for it where it may be scary to use in a Python
Script? :)
Paranoic people would
bruno modulix wrote at 2005-9-29 13:20 +0200:
...
The problem here is that CPS (the portal and all CPMs are CPS instances)
uses predefined roles, on which the various workflows relies, so that
would mean renaming all roles - differently - on each CPM, and modifying
the workflows too.
I think
jwithers wrote at 2005-9-28 15:43 -0700:
...
I have an external method that at this point is made up of nothing but
os.getcwd() and lives in my Extensions directory. When it is run, it
reports the working directory as being one of my Products directories.
Some products are broken (they change
On Thu, 2005-09-29 at 00:20, Chris Withers wrote:
eep, another one, hope we're not related ;-)
When I saw your posts on newsgroups years ago, I almost gave up python
programming altogether Chris, thinking that any given field of endeavor
needs only one Withers, but decided to go ahead and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
jwithers wrote:
Because I need to feed the file to Mailman for evil purposes of my own
(well, fairly mundane purposes of allowing my zope app to manipulate
mailman list memberships, really) that the prototype mailman adapter I
found doesn't meet.
Hi,
I have a problem getting links to function in StructuredText when they
have non-ascii characters in the title.
- This will render as a link: Zope website:http://zope.org/
- This will render literally: Zöpe website:http://zope.org/
[Notice the diaeresis in the second case.]
This can of
Maurits van Rees wrote:
Hi,
I have a problem getting links to function in StructuredText when they
have non-ascii characters in the title.
This can of course be solved by using html entities like 'ouml;'.
But I have just started using utf-8 so I don't have to bother myself
with writing html
You have to configure your locale support in etc/zope.conf properly.
-aj
--On 30. September 2005 00:26:14 +0200 Maurits van Rees
[EMAIL PROTECTED] wrote:
Hi,
I have a problem getting links to function in StructuredText when they
have non-ascii characters in the title.
- This will render
Heh, I should have read the problem a bit closer:
i686-pc-linux-gnu-gcc -pthread -shared ./dco2.o
-L/usr/lib/oracle/10.1.0.4/client/lib/ -lclntsh -lcommon -lcore4
-lnlsrtl3 -Wl,-rpath,/usr/lib/oracle/10.1.0.4/client/lib -o
./dco2.so
Excellent. I put a link to your instructions here:
http://zopewiki.org/Oracle. Pardon the double comment. It didn't seem to
take the first time.
--Seth
Jet Wilda wrote:
Here http://www.zope.org/Members/jetfu/HowToInstallDcOracle2/howto_view
is a how to I wrote up on how I got DCOracle2 to
48 matches
Mail list logo