I've recently upgraded my Zope version from 2.7.6 to 2.9.8. I've
recently discovered that older File objects are generating an
AttributeError: alt whenever I call manage_changeProperties() on those
File object instances. I'm aware of the change to
lib/python/OFS/Image.py that removed the alt class
All,
I have a site that uses
CookieCrumbler for user login. I need to track how many incorrectlogin
attempts a user makes. I am trying to use a python generator to do this but it
makes Zope hang when I try to do an invalid login (eg. no password or incorrect
password). Here's a snippet:
:44 PM
To: Palermo, Tom
Cc: 'zope@zope.org'
Subject: Re: [Zope] Cookie Crumbler/Authentication Question
Palermo, Tom wrote at 2006-4-18 22:29 -0400:
I am working on a site that uses CookieCrumbler for the authentication.
Part of this site allows a user to change their password via this line
All,
I am working on a site that
uses CookieCrumbler for the authentication. Part of this site allows a user to
change their password via this line:
userfolder.manage_users(submit='Change', REQUEST=user_info).
This works fine except after
changing the password, the user is no longer
PROTECTED]
Sent: Wednesday, April 12, 2006 4:06 AM
To: Palermo, Tom
Cc: 'zope@zope.org'
Subject: Re: [Zope] ExtFile and TextIndexNG issues
This however is *exactly* the problem. Please use 1.5. ExtFile 1.4.4's
index_html writes to the request regardless of how it was called (by
publisher
Oh. Thanks :-)
-Tom Palermo
-Original Message-
From: Stefan H. Holek [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 4:06 AM
To: Palermo, Tom
Cc: 'zope@zope.org'
Subject: Re: [Zope] ExtFile and TextIndexNG issues
This however is *exactly* the problem. Please use 1.5
All,
Last week I posted
this:
I've got a site with a couple hundred ExtFile objects.
I now need to
index the content of the various files (word, pdf,
excel, ppt).
I see that ExtFile doesn't have a PrincipiaSearchSource
method so I
created one. It returns self.index_html(). When I go
All,
I've just installed
TextIndexNG2. I created a TextIndexNG2 index called PrincipiaSearchSource in
myCatalog.In the converters tab for this index, I see
this:
Mime-Types
Description depends on
application/pdf Adobe Acrobat PDF pdftotext
application/vnd.sun.xml.writer OpenOffice
I figured it out.
-Tom
-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED]
Sent: Friday, April 07, 2006 1:33 PM
To: Palermo, Tom; 'zope@zope.org'
Subject: Re: [Zope] TextIndexNG question
--On 7. April 2006 13:18:52 -0400 Palermo, Tom
[EMAIL PROTECTED] wrote:
Why do
All,
I've got a site with a couple
hundred ExtFile objects. I now need to index the content of the various files
(word, pdf, excel, ppt). I see that ExtFile doesn't have a PrincipiaSearchSource
method so I created one. It returns self.index_html(). When I go back into my
catalog and
, March 09, 2006 12:44 AMTo: Palermo,
TomCc: 'zope@zope.org'Subject: Re: [Zope]
manage_pasteObjects question
Palermo, Tom wrote:
Hi David,
In my last post, I wrote that I tried calling
manage_pasteObjects a variety of ways:
context.manage_pasteObjects(conte
-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 08, 2006 2:07 PM
To: Palermo, Tom
Cc: 'zope@zope.org'
Subject: Re: [Zope] manage_pasteObjects question
Palermo, Tom wrote at 2006-3-7 16:13 -0500:
I am trying to do a manage_cutObjects in one script
@zope.org'Subject: Re: [Zope]
manage_pasteObjects question
Palermo, Tom wrote:
I'm trying to do the cut in one script and the paste in another script. It's
my understanding that REQUEST is an optional parameter to
manage_cutObjects(). Passing REQUEST will set a cookie, __cp. __cp is the
clipboard data. Later
I am trying to do a
manage_cutObjects in one script and then a manage_pasteObjects. When I execute
this line from my pasteObjects python script:
context.manage_pasteObjects(cb_copy_data=context.cb_dataItems(),REQUEST=req['__cp'])
I get a message back:
"The data
in the clipboard could not
on
(ie. It's just some very basic html output).
Thanks,
Tom
-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 04, 2006 2:29 PM
To: Palermo, Tom
Cc: 'zope@zope.org'
Subject: Re: [Zope] catching BadRequest exceptions
Palermo, Tom wrote at 2006-3-3 13
All,
It seems that BadRequest
exceptions, like the ones thrown by checkValidId() in OFS.ObjectManager
(lib/python/OFS/ObjectManager.py), are not handled by a standard_error_message.
That is, I can't skin the error message so it looks friendly and doesn't show a
traceback. Does anyone know
All,
I have a class called Contact
that is now inheriting from Folder. After I did this, I get the following error
when attempting to add a new Contact:
Exception Type
AttributeErrorException Value aq_acquire
Traceback (innermost
last):
* Module
ZPublisher.Publish, line 101, in
is
it and which way is better/worse?
Thanks,
Tom
-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 28, 2006 1:54 PM
To: Palermo, Tom
Cc: 'zope@zope.org'
Subject: Re: [Zope] ac_acquire error happens after inheriting from Folder
Palermo, Tom wrote
All,
Does anyone know why calling
getOwner() on an instance of ExtFile raises an unauthorized
exception?
Error
Type: Unauthorized Error Value: You are not
allowed to access 'getOwner' in this context
ExtFile imports SimpleItem
which, in turn, imports AccessControl.Owner
Here's the code
Seaver [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 10:46 AM
To: Palermo, Tom
Subject: Re: calling getOwner on an ExtFile instance raises an Unauthorized
ex ception
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Palermo, Tom wrote:
All,
Does anyone know why calling getOwner
All,
Are there any workflow products
available for Zope 2.x that do not require either Plone or CMF? It looks like
there aren't but I thought I'd ask first.
Thanks,
Tom
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
Is there an easy way to grab
all of the local roles a user might have throughout a site? It's looking like I
need to check objects recursively. I've not had luck with
get_local_roles_for_userid method.
Thanks,
Tom
___
Zope maillist -
Hi All,
Is it possible to set proxy
roles on methods located in Zope Products. I need to turn the View permission
off on some folders so certain users can't see them in a sitemap (uses
dtml-tree). However, I've got an edit_html method located in a Zope product that
then needs to use
All,
I am working on a project using
ExtFile. Lately, when uploading MS Word files, they get uploaded to the file
system as .exe files (eg. test.doc becomes test.exe) and the content_type is set
to application/octet-stream instead of application/msword. Sometimes the
content_tpye is
24 matches
Mail list logo