Hallo,
pete...@gmx.at möchte Ihnen folgen.
** Ist pete...@gmx.at Ihr Freund? **
Ja:
http://invites.flipmailer.com/signup_e.html?fullname=&email=zope@zope.org&invitername=peter.z&inviterid=38258172&userid=0&token=0&emailmasterid=d7cc0ec5-1993-47de-bb37-1c31c1539ca4&from=pete...@gmx.at&tem
Hallo,
pete...@gmx.at möchte Ihnen folgen.
** Ist pete...@gmx.at Ihr Freund? **
Ja:
http://invites.info-emailer.com/signup_e.html?fullname=&email=zope@zope.org&invitername=peter.z&inviterid=38258172&userid=0&token=0&emailmasterid=a03b039f-0d04-40e3-b357-4d3b29cff5d7&from=pete...@gmx.at&t
arset=cp1250
>
> ___
> Zope maillist - Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://ma
terbe/dev/ZOPE/Zope2-2.13.7/eggs/ZODB3-3.10.2-py2.6-macosx-10.4-x86_64.egg/ZODB/serialize.py",
line 605, in getState
return unpickler.load()
TypeError: ('argument list must be a tuple', , None)
--
Peter Bengtsson,
home www.peterbe.com
fun donecal.com
work www.mozilla.
Gf3kLJirEgw4=
> =WPMi
> -END PGP SIGNATURE-
>
> ___
> Zope maillist - Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/m
ges for inspiration.
Even better way to avoid re-inventing the wheel would be if there
already was a package or some code I could try. Has anybody built
anything like this they're willing to share? (nothing found by
googling)
[1] https://github.com/coleifer/peewee
--
Peter Bengt
**
>> (Related lists -
>> https://mail.zope.org/mailman/listinfo/zope-announce
>> https://mail.zope.org/mailman/listinfo/zope-dev )
>
> ___
> Zope maillist - z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
>
No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
fun crosstips.org
_
fo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
fun c
calls?
Are you maybe running on NFS or something like that?
hth,
peter.
On Tue, 2010-07-20 at 17:00 +0200, Michele Marcionelli wrote:
> Ciao Jens
>
> thank you for your answer. Now since I'm new with "gdb" I have some questions.
> I did following. I created a file c
_
> Zope maillist - z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zo
_
> Zope maillist - z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Pet
Zope 2.10 doesnt send that event out
of the box -- I send it in a monkey-patched Zope2.App.startup module.
What is the canonical way to do this?
Thanks,
peter.
___
Zope maillist - Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
** No
On 1 May 2010 15:40, Andreas Jung wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Peter Bengtsson wrote:
>
>>
>>> "the unicode conflict resolver"?
>>> My app does not have any non-ascii characters until user input is
>>> add
On 1 May 2010 14:40, Andreas Jung wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Peter Bengtsson wrote:
>> I'm trying to get a product running in Zope 2.12 which I installed in
>> a virtualenv with easy_install. It starts fine and all but when I try
>
in
zope.conf just for Page Templates to not convert 'nbsp;' into
'\xa0\xc2'?
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
fun crosstips.org
___
Zope maillist - Zope@zope.org
https://mail.zo
his plans will work."
> Rodney McKay, Stargate Atlantis
>
> ___
> Zope maillist - z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-ann
RECAAYFAkrVrT4ACgkQ+gerLs4ltQ5HagCeJ1X32zT+LOMasY90fzmBolzR
> Q6MAn3qHhkjENxxr7B24z54fsj4TCfQT
> =ETsW
> -END PGP SIGNATURE-
>
> ___
> Zope maillist - z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross
maillist - z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.f
ior. ... or maybe I am looking in
> the wrong place.
>
> Also, told you before, I even erased the object from the Data.fs and
> then packed it. Conflicts stopped. After I have created a new object
> and rename it with the old id the conflicts showed up again...
>
> Thanks
2009/8/28 Dragos Chirila :
> Peter,
>
> Than you for your response. Please find below a few things:
>
> - I give up using sessions in the website's front and years ago :)
> There is only one page left that is using them, when u subscribe to
> our newsletter but I don
zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
fun cros
2009/8/7 Andreas Jung :
> On 07.08.09 17:22, Andreas Jung wrote:
>> On 07.08.09 17:10, Peter Bengtsson wrote:
>>
>>> No, it's different every time.
>>>
>>>
>> Using private methods is unlikely the road to success.
>> There is some o
._encryptPassword('word'))
When running this you get this output::
self._encryptPassword('word')=
'{SSHA}dxZSdvO5CiaMbDuCC0mAreI0R6nqc5RyYFGo'
self._encryptPassword('word')=
'{SSHA}pup1PWzONwMnGXk/itXd6rhySF8MOuI57SO6'
self._encryptPassword(&
When you encrypt your passwords in an acl_users User Folder, is there
a way to check that the old password is correct?
I'm building an app that allows the user to change her password with
the usual form of:
Old:
New:
Confirm:
--
Peter Bengtsson,
work ww
ket 3 for persistent reuse.
>
>
> ___
> Zope maillist - z...@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
since those tools form the backbone of catalogueing.
>
> Hedley
> ___
> Zope maillist - z...@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope
delven-it.no
>
> ___
> Zope maillist - z...@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org
| PGP-Publickey auf Anfrage
>
>
>
> ___
> Zope maillist - z...@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/ma
IWIbr9KYylGQCgucaj2Sx1UsPjRRp2ugJJx2DP
> /aUAnixLmfZCl7ZDYY7uOUwrItcqmHVX
> =g85K
> -END PGP SIGNATURE-
>
> ___
> Zope maillist - z...@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTM
On Thursday 05 March 2009 23:33:40 you wrote:
> On Thu, Mar 5, 2009 at 18:59, Peter Sabaini wrote:
> > So, I'd need the twisted reactor and libraries running in the Python
> > VM that runs Zope. Which should be no problem except I suspect that I
> > shouldn't be us
tion that would
take care of that -- no threaded ZServer, no problem. Except that doesn't seem
to work as advertised, since the zope.app.twisted package is not present, and
the one on PyPI seems to be geared towards Zope3, AFAICT.
Is that so? Is there an alternative zope.app.twisted package
I've got Twisted on my Pythonpath though.
TIA,
peter.
signature.asc
Description: This is a digitally signed message part.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HT
2008/12/15 :
> Quoting Peter Bengtsson :
>
>> Has nothing to do with Zope but...
>> Use Firefox to debug it and you'll get to see the error.
>> put method="post" on form tag and the submission won't be visible in the URL.
> I've had this happen
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zop
lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.
01p20980101.html
> Sent from the Zope - General mailing list archive at Nabble.com.
>
> ___
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/m
t; 'DTMLDocument','ZipFolder','File','Image'])
> objs.sort()
> for id, object in objs:
> path=object.absolute_url()
> robert
Personally I prefer to always use objectValues(). Sorting isn't
ob
p1=other&p2=au&p3=tagline
> ___
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
>
2008/11/17 Dieter Maurer <[EMAIL PROTECTED]>:
> Peter Bengtsson wrote at 2008-11-5 15:14 +:
>> ...
>>> When I wrote a functional test browser (years before "zope3"),
>>> I emulated the Zope publisher rather than calling it directly
>>> i
sts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
2008/11/13 Andreas Jung <[EMAIL PROTECTED]>:
> On 13.11.2008 17:53 Uhr, Peter Bengtsson wrote:
>>
>> This used to work in zope 2.8 but not now in zope 2.10 (actually zope
>> 2.10.7 to be exact)
>>
>> from Products.PageTemplates.PageTemplateFile import Pag
2008/11/13 Andrew Milton <[EMAIL PROTECTED]>:
> +---[ Peter Bengtsson ]--
> | I've kind of work it out. The trick is to write some boiler plate in
> | the class definition like this::
> |
> | from zope import traversing, component, interface
>
#x27;, globals())
def render_page(self):
html = self.page(self.REQUEST) # ERROR!!
I don't understand how it works and I wish there was a way to apply
these settings from a function instead of having to copy and paste it
into every instance creating class.
2008/11/13 Pet
1, 0)),
('setSourceFile', 'main_template'), ('beginScope', {'define-macro':
'master'}), ('optTag', ('metal:block', None, 'metal', 0, [('startTag',
('metal:block', [('define-macro', 'master
ducts". They can be downloaded as
tgz-packages and I dont know if I simply have to copy them to one of the
mentioned Products-folder or register them somehow in Zope.
thnx for any hints on how to procede.
peter
___
Zope maillist - Zope@zope.org
d.
>
> Really?
>
> When I wrote a functional test browser (years before "zope3"),
> I emulated the Zope publisher rather than calling it directly
> in order to have control how transactions are handled.
>
> Especially, I used subtransactions instead of
s from base.TestCase.
Although I'm not using it, function.Functional adds the nifty function
publish() which I'm not using but it's not a transaction.commit() in
it. Why??
And what does that decorator actually do?
Peter
class Functional(sandbox.Sandboxed):
...
__imp
il.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerprod
PUserFolder to do a
>> timing of the connections and found that connecting to the LDAP server
>> was super slow and thus each connection cost too much time and it
>> subsequently blocked the threads.
>
> Hi Peter
>
> thanks for your reply.
>
> At Control_Panel/DebugInfo I
too much time and it
subsequently blocked the threads.
Peter
2008/9/30 Nico Grubert <[EMAIL PROTECTED]>:
> Hi there
>
> in the last days my Zope server seems to hang and the CPU is almost
> every time at 100 %.
>
> I installed DeadlockDebugger and
; and getting deep into zope). Why would you?
>>
>> What you could do is to update one of the requests namespace to
>> give the variable a new value.
>>
>> Regards
>> Tino
>
>
> ___
> Zo
__
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
&
info/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
e.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.
ailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerprod
__
> Zope maillist - Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-d
l_Panel. If any of the
dates in the first column in that table shows times longer than a
second you have a problem with those requests.
Peter
2008/7/3 Garry Saddington <[EMAIL PROTECTED]>:
> Following a hard disk crash 2 weeks ago we have installed Zope onto a new
> server and all was f
2008/7/3 Andrew Milton <[EMAIL PROTECTED]>:
> +---[ Peter Bengtsson ]--
> | 2008/7/3 Andrew Milton <[EMAIL PROTECTED]>:
> | > +---[ Peter Bengtsson ]--
> | > | 2008/7/3 Andreas Jung <[EMAIL PROTECTED]>:
> | >
2008/7/3 Andrew Milton <[EMAIL PROTECTED]>:
> +---[ Peter Bengtsson ]--
> | 2008/7/3 Andreas Jung <[EMAIL PROTECTED]>:
> | >
> | >
> | > --On 3. Juli 2008 15:41:52 +0100 Peter Bengtsson <[EMAIL PROTECTED]>
> wrote:
> |
2008/7/3 Andreas Jung <[EMAIL PROTECTED]>:
>
>
> --On 3. Juli 2008 15:41:52 +0100 Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>>
>> I'm getting an AssertionError on this!!!
>> After having used objectValues() for so many many years without much
>> t
a_type,
script.absolute_url_path())
value = out.getvalue()
print value
return value
I'm getting an AssertionError on this!!!
After having used objectValues() for so many many years without much
trouble my confidence in it just dropped.
Anybody else seen something like this?
d and that worked.
This absolutely sucks. The DCWorkflow code is incredibly complicated
and obscure and I hope it burns in hell. Having said that, I don't
think I would do any better if I was to replicate what it can do :)
2008/7/1 Peter Bengtsson <[EMAIL PROTECTED]>:
> First of all, I
ortal_workflow/intranet_workflow/scripts/wf_script_despatcher),
owned by oliver.
The Python script has Proxy role "Manager" so how can it be limited?
I didn't write this CMF based application and I want to get on top of
it so it doesn't happen again.
Regards, Peter
--
Pet
.9.0, python 2.4.2, win32)
>
> And fails on this: Zope Version (Zope 2.9.0-, python 2.4.5, linux2)
>
> Any further help would be appreciated.
>
> regards
>
> Garry
>
> ps. just noticed the typo (not mine) in zope.conf -
> default_zpublisher_encoding should be default-z
**
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillis
2008/6/11 Andreas Jung <[EMAIL PROTECTED]>:
>
>
> --On 11. Juni 2008 17:34:27 +0100 Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>
>> Since apache sits in front of Zope, the REMOTE_ADDR header always
>> becomes '127.0.0.1' not the IP address of the act
ngerously, switching ProxyRequests On.
Peter
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Re
2008/6/11 Martijn Pieters <[EMAIL PROTECTED]>:
> On Wed, Jun 11, 2008 at 3:28 PM, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>> This happens from time to time and I've never really understood how it
>> ends up like this.
>> There's no zopeinstance/var/zop
ething to do with my
init.d restart script and rebooting of the server but I could be
wrong.
Cheers,
Peter
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.org
http://mail.zop
/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailm
Check it out
http://code.google.com/p/zope-memory-readings/
Perhaps useful
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
ttp://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
--
Peter Beng
gure it
out from the backtrace.
http://www.upfrontsystems.co.za/Members/jean/zope-notes/debug-spinning-zope
talks about that a bit
Another option is to use the Deadlock Debugger product (I haven't used that
personally though):
http://www.zope.org/Members/nuxeo/Products/DeadlockDebugger
hth,
pe
Turns out that I was missing libc6-dev (I had libc6)
2008/4/28 Tres Seaver <[EMAIL PROTECTED]>:
>
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> Peter Bengtsson wrote:
> > Searching the mailing list it seems that the uniform advice is to
> &
Searching the mailing list it seems that the uniform advice is to
install python2.4-dev but I already have that installed. I also
installed the metapackage
python-all-dev just to be safe. I'll paste the whole error of what
happens when I try to make a configured Zope 2.10 or Zope 2.9.8.
In the erro
istinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
n
function guarded_getitem() from ZopeGuards.py
By instead calling the __getitem__ from here in unrestricted python
we can bypass this.
"""
return dictionary[item]
Is my app unsafe now?
Why is it not possible to get to __getitem__ if t
cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
> source for this page.
> If the error persists please contact the site maintainer. Thank you for
> your patience.
>
> Any kind of suggestion and help will be very useful. Thanks in advance.
>
> --
> Best Regards
> \madhan
>
> Things must be learned only to be unlearned again or, more likely, to be
> corre
in the integration test. I'm happy.
On 10/04/2008, Chris Withers <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson wrote:
>
> > How can I solve this? Make one big transaction two without having to
> > use transaction.get().commit() which I don't think I can us
odification_time() doesn't change.
How can I solve this? Make one big transaction two without having to
use transaction.get().commit() which I don't think I can use in unit
tests as per Dieter's advice.
Grateful for help.
Peter
--
Peter Bengtsson,
work www.fry-it.com
home ww
Andreas Jung wrote:
--On 20. März 2008 14:24:57 + Peter Bengtsson <[EMAIL PROTECTED]> wrote:
Andreas Jung wrote:
--On 20. März 2008 12:50:48 + Peter Bengtsson <[EMAIL PROTECTED]>
wrote:
Has anybody managed to marry ZopeTestCase (and the ZopeLite running
da
Andreas Jung wrote:
--On 20. März 2008 12:50:48 + Peter Bengtsson <[EMAIL PROTECTED]> wrote:
Has anybody managed to marry ZopeTestCase (and the ZopeLite running
database) with Selenium RC?
I like Selenium but it's a pain to have to manually create a fixture
and tear it
Has anybody managed to marry ZopeTestCase (and the ZopeLite running
database) with Selenium RC?
I like Selenium but it's a pain to have to manually create a fixture
and tear it down again.
Would it be possible to kick start Selenium RC from within the
testrunner on zope2?
--
Peter Beng
On 19/03/2008, Dieter Maurer <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson wrote at 2008-3-18 17:38 +:
>
> >I wanted to see how much faster brain.getObject() would be if the
> >returned object was located in a BTreeFolder versus a normal folder so
> >I wrote
ailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerpr
lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.or
be some sort
of getattr() on the container right?
Is there something obvious I've missed?
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/ma
.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issu
g/Documentation/Books/ZDG/current on how to do this.
hth
peter.
> So I've done:
>
>
> class Autore:
> " classe per il catalogo "
>
> def set_autore(self, autore=''):
> """ setta l'autore """
> self
r a way to manage a folder structure as individual
> Zope objects in Subversion.
If read-only access is enough, maybe this is for you:
http://www.infrae.com/download/FileSystemSite
hth,
peter.
>
> In fact, maintaining the Zope objects in the file system would suffice,
> there is no need to
, acquired through
(LDAPProxy at /testfolder/ldapproxy), denied.
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cro
27;aq_base'):
> return self
>
> folder,id = self.remoteid.split(':')
> acl = parent.unrestrictedTraverse(folder)
You're now doing no security checks on traversal, probably thats why you don't
get any Unauthorized exceptions :-)
- peter.
>
ps.: http://www.zope.org/Documentation/Books/ZDG/current/Security.stx has old
but AFAIK still good info
On Monday 25 February 2008 22:45:24 Joerg Baach wrote:
> > I should have mentioned that in order for verbose-security to work you
> > also need to switch to the python security implementation -
s easier to debug...
Another option: put a debugger breakpoint (eg. "import pdb; pdb.set_trace()")
at the place where the "Unauthorized" exception is raised and inspect the
objects
peter.
> Cheers,
>
> Joerg
___
Zo
On Monday 25 February 2008 21:31:46 Joerg Baach wrote:
> Hi Peter,
>
> > I'm not familiar with LDAPUserFolder (its not really a user object but a
> > user container, isn't it?) but the error you're getting is a security
> > error -- the Python Script c
on a class you can add the attribute
__allow_access_to_unprotected_subobjects__ = 1 , effectively disabling
security. This of course should only be done if you trust your users!
hth
peter.
> Cheers,
>
> Joerg
>
>
>
> 8< excerpt from code -
ts -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
___
Zope maillist - Zope@zope.o
Andrew Milton wrote:
+---[ Peter Bengtsson ]--
| Is it possible to execute a PageTemplate as if it was located somewhere
| else?
| The PageTemplate has this code::
|
|
| And it's located in a folder called /foo/bar/ which are normal Zope
| Folder objects.
1 - 100 of 623 matches
Mail list logo