...
# Commit the sandbox for good measure
transaction.commit()
...
--
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
ts in a completely different way as each test can build
on each other (assuming order of methods is respected) similar to how
doctests are done where you have blocks of shell code split between
text.
If this is the way it has to be to test with zope.testbrowser in zope
2 then
1, 0)),
('setSourceFile', 'main_template'), ('beginScope', {'define-macro':
'master'}), ('optTag', ('metal:block', None, 'metal', 0, [('startTag',
('metal:block', [('define-macro', 'master
#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
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
>
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
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/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
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
>
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
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
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.
> 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
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
IWIbr9KYylGQCgucaj2Sx1UsPjRRp2ugJJx2DP
> /aUAnixLmfZCl7ZDYY7uOUwrItcqmHVX
> =g85K
> -END PGP SIGNATURE-
>
> ___
> Zope maillist - z...@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTM
| 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
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
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
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
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
._encryptPassword('word'))
When running this you get this output::
self._encryptPassword('word')=
'{SSHA}dxZSdvO5CiaMbDuCC0mAreI0R6nqc5RyYFGo'
self._encryptPassword('word')=
'{SSHA}pup1PWzONwMnGXk/itXd6rhySF8MOuI57SO6'
self._encryptPassword(&
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
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
imes or few but slow times.
> Thanks again,
> Dragos
>
> On Fri, Aug 28, 2009 at 12:19 PM, Peter Bengtsson wrote:
>> The fact that the class is Products.Transience.Transience.Increaser
>> makes me suspect that you're using sessions and within the same
>> session y
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
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
RECAAYFAkrVrT4ACgkQ+gerLs4ltQ5HagCeJ1X32zT+LOMasY90fzmBolzR
> Q6MAn3qHhkjENxxr7B24z54fsj4TCfQT
> =ETsW
> -END PGP SIGNATURE-
>
> ___
> Zope maillist - z...@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> ** No cross
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
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
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
>
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
_
> 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 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
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
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
_
**
>> (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
>
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
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
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.
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
401 - 440 of 440 matches
Mail list logo