[EMAIL PROTECTED] wrote on 08/10/2006
02:02:28 PM:
> Vangelis Mihalopoulos wrote at 2006-8-10 10:58 +0300:
> >I have a zope app in a folder and have an exUserFolder in there to
> >authenticate the app's users. The app is working fine and i get
> >authenticated by the exUserFolder and everything
Eric Fernandez wrote at 2006-8-10 12:52 +0100:
> ...
>from OFS.Image import File
>
>def PUT_factory( self, name, typ, body ):
>if typ.startswith('text'):
>ob = File(name, '', body, content_type=typ)
>return ob
>
>
>However, I cannot upload jpg files anymore... What am I doing wrong
Vangelis Mihalopoulos wrote at 2006-8-10 10:58 +0300:
>I have a zope app in a folder and have an exUserFolder in there to
>authenticate the app's users. The app is working fine and i get
>authenticated by the exUserFolder and everything works. I tried to
>delete the single "admin" account (with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anton Stonor wrote:
> Python eggs are fun and powerful. However, there is one thing I can't
> get right when using them for Zope projects:
>
> Sometimes I would like eggs to live in $INSTANCE/lib/python instead of
> site-packages. E.g. if different in
Stefan H. Holek wrote:
On 10. Aug 2006, at 13:52, Eric Fernandez wrote:
def PUT_factory( self, name, typ, body ):
ob = None
if typ.startswith('text'):
ob = File(name, '', body, content_type=typ)
return ob
However, I cannot upload jpg files anymore... What am I doing wron
On 10. Aug 2006, at 13:52, Eric Fernandez wrote:
def PUT_factory( self, name, typ, body ):
ob = None
if typ.startswith('text'):
ob = File(name, '', body, content_type=typ)
return ob
However, I cannot upload jpg files anymore... What am I doing wrong
there?
Stefan
--
Eric Fernandez wrote:
Hi,
I am trying to upload text files as File objects instead of DTML
documents to avoid HTML escaping.
What is the type of the File object in Zope ? The example in the Zope
book are ZopePageTemplate and PythonScript objects,, but I just want a
File object. This does not
Hi,
I am trying to upload text files as File objects instead of DTML
documents to avoid HTML escaping.
What is the type of the File object in Zope ? The example in the Zope
book are ZopePageTemplate and PythonScript objects,, but I just want a
File object. This does not work:
def PUT_factory
Can you not just copy the egg file to $INSTANCE/lib/python?
- C
On Aug 10, 2006, at 4:41 AM, Anton Stonor wrote:
Python eggs are fun and powerful. However, there is one thing I
can't get right when using them for Zope projects:
Sometimes I would like eggs to live in $INSTANCE/lib/python ins
Yes, you must never delete an account that owns ZODB objects.
Stefan
On 10. Aug 2006, at 09:58, Vangelis Mihalopoulos wrote:
where 'call_backend' is an External Method called by a Python
Script. All objects in zope are owned by the "admin". Could this be
causing the problem?
--
Anything
Python eggs are fun and powerful. However, there is one thing I can't
get right when using them for Zope projects:
Sometimes I would like eggs to live in $INSTANCE/lib/python instead of
site-packages. E.g. if different instances needs different versions of a
package.
However, easy_install wo
Hello,
I have a zope app in a folder and have an exUserFolder in there to
authenticate the app's users. The app is working fine and i get
authenticated by the exUserFolder and everything works. I tried to
delete the single "admin" account (with Manager privileges) from the
root standard user
At Thursday 10/8/2006 04:37, Kees de Brabander wrote:
Still learning and puzzling. I have an container object based on a product.
I want to detect when a DTMLMethod with a specific id is added through the
zmi, as to fire further action.
Do I have any option?
Which Zope version?
Zope2: ObjectMa
--On 10. August 2006 09:37:07 +0200 Kees de Brabander
<[EMAIL PROTECTED]> wrote:
Hi,
Still learning and puzzling. I have an container object based on a
product. I want to detect when a DTMLMethod with a specific id is added
through the zmi, as to fire further action.
Do I have any option?
ti
At Thursday 10/8/2006 04:01, Sinang, Danny wrote:
The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this operation.
You should then ask the OpenFlow guys how to rename an item.
Gabriel Genellina
Softlab SRL
___
Hi,
Still learning and puzzling. I have an container object based on a product.
I want to detect when a DTMLMethod with a specific id is added through the
zmi, as to fire further action.
Do I have any option?
tia, cb
___
Zope maillist - Zope@zope.org
h
> You must call manage_renameObject on the object *container*, passing
the old name and the new name. Something like this:
> object = result[1]
> container = object.aq_parent
> container.manage_renameObject(object.id, object.id.lower())
Thanks Gabriel.
I did exactly as you suggested, but
17 matches
Mail list logo