Hi there,
I have a big problem with an Plone site throwing btreefolder errors.
Traceback (innermost last):
Module ZPublisher.Publish, line 113, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module OFS.CopySupport, line 193, in mana
HI all,
External methods and pythonscripts are fine, but I did not find how to set
some property or bulk of properties to use in dtml document after calling
this ext.method or pythonscript. The passing variables I was find for
pythonscripts only.
Many thanks, JL.
Hello
I am an web administer for a very non-profit organization. We where looking in
to hiring someone to develop a CMS for us, We received a proposal from a
company that develops their sites using Compound Doc. I just found out today
that they will be signing the papers on Tuesday, I am a lit
--On 4. Mai 2006 22:22:25 +0200 Jaroslav Lukesh <[EMAIL PROTECTED]> wrote:
import cStringIO
import mimetools
from Products.PythonScripts.Utility import allow_module
allow_module("base64")
Please read carefully. The documentation tells you to put allow_module()
inside somewhere in Products/
[Following up on my original posting, with a summary of resolution.]
Thanks for the help & pointers to ZCatalog.
I actually did find a standalone version of ZCatalog, created by Kevin
Dangoor, at http://www.blazingthings.com/dev/zcatalog.html
His pulls code out of Zope3, and rewrites some of it.
Jaroslav Lukesh wrote:
>> From: Andreas Jung [mailto:[EMAIL PROTECTED]
>>> import cStringIO
>>> import mimetools
>>> import binascii
>>> binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=\n')
>>>
>>> in commandline python works OK.
>>>
>> Move such code inside a PythonScript..such code does not belong i
On Thu, May 04, 2006 at 10:22:25PM +0200, Jaroslav Lukesh wrote:
> > From: Andreas Jung [mailto:[EMAIL PROTECTED]
> > > import cStringIO
> > > import mimetools
> > > import binascii
> > > binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=\n')
> > >
> > > in commandline python works OK.
> > >
> >
> > Mo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MIlos Prudek wrote:
>>Known bug: the directive is actually spelled (for reasons I didn't
>>agree with when the decision happened, and can't remember now)
>>'default-publisher-encoding'; the example is wrong (and I think should
>
>
> Thank you for y
> Known bug: the directive is actually spelled (for reasons I didn't
> agree with when the decision happened, and can't remember now)
> 'default-publisher-encoding'; the example is wrong (and I think should
Thank you for your suggestion. I tried 'default-publisher-encoding' and the
error is the
> From: Andreas Jung [mailto:[EMAIL PROTECTED]
> > import cStringIO
> > import mimetools
> > import binascii
> > binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=\n')
> >
> > in commandline python works OK.
> >
>
> Move such code inside a PythonScript..such code does not belong into
> DTML..
> it just
> [EMAIL PROTECTED] On Behalf Of Igor Stroh
>
> Jaroslav Lukesh wrote:
>
> > import cStringIO
> > import mimetools
> > import binascii
>
> [...]
>
>
>
Thank you - it is exact what I need, but it does not have rights to make
that conversion - see bottom. So only way is now to add this rights
--On 4. Mai 2006 20:42:08 +0200 Jaroslav Lukesh <[EMAIL PROTECTED]> wrote:
Hi all,
Would you like to help me with decoding base64 string, please?
I was try many ways (*), but no with success, but
import cStringIO
import mimetools
import binascii
binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=
Jaroslav Lukesh wrote:
> import cStringIO
> import mimetools
> import binascii
[...]
Cheers,
Igor
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail
Hi all,
Would you like to help me with decoding base64 string, please?
I was try many ways (*), but no with success, but
import cStringIO
import mimetools
import binascii
binascii.a2b_base64('YWxla2liYW5nb0B6dWcuY3o=\n')
in commandline python works OK.
(*)here are some examples:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
MIlos Prudek wrote:
> Zope 2.8.6 is supposed to support default_zpublisher_encoding in zope.conf.
>
> But when I uncomment the example in zope.conf,
>
> default_zpublisher_encoding utf-8
>
> I cannot launch Zope:
>
> Error: 'default_zpublisher_enc
Zope 2.8.6 is supposed to support default_zpublisher_encoding in zope.conf.
But when I uncomment the example in zope.conf,
default_zpublisher_encoding utf-8
I cannot launch Zope:
Error: 'default_zpublisher_encoding' is not a known key name
(line 863 in file:///home/makina/bili/etc/zope.conf)
On 5/4/06, Sergio Gomez <[EMAIL PROTECTED]> wrote:
I am working with Plone 2.1.2, Zope 2.8.6 and python 2.3.5. I would
like to know if there is a way to restrict addable types to a
folderish object programmatically.
What I need is to allow adding a certain type of items and not otheres
depending
Hi all,
I am working with Plone 2.1.2, Zope 2.8.6 and python 2.3.5. I would
like to know if there is a way to restrict addable types to a
folderish object programmatically.
What I need is to allow adding a certain type of items and not otheres
depending on the value of one field in my folderish ob
Terry Jones wrote:
"Chris" == Chris Withers <[EMAIL PROTECTED]> writes:
Chris> ZCatalog ships as a standard part of Zope, no need to download.
Chris> It's covered extensively in the zope book on Plope.org...
Chris> Not everything is as hard as some people manage to make it ;-)
OK, thanks. I h
> "Chris" == Chris Withers <[EMAIL PROTECTED]> writes:
Chris> ZCatalog ships as a standard part of Zope, no need to download.
Chris> It's covered extensively in the zope book on Plope.org...
Chris> Not everything is as hard as some people manage to make it ;-)
OK, thanks. I hope you'll agree
Terry Jones wrote:
I've just spent 20 minutes trying to do this, without success. So if
someone has a URL for a ZCatalog download, I'd be happy to receive it.
ZCatalog ships as a standard part of Zope, no need to download.
It's covered extensively in the zope book on Plope.org...
Not everythi
Hi Jonathan
> "Jonathan" == Jonathan <[EMAIL PROTECTED]> writes:
Jonathan> This usage scenario can easily be implemented using ZCatalog (as
Jonathan> Chris mentioned) - check the ZopeBook for info.
Thanks, that sounds good.
Without meaning to whine, I hope it's easier to use than it is to
From the Berkeley DB docs:
Usually you find database records by means of the record's key.
However, the key that you use for your record will not always contain
the information required to provide you with rapid access to the data
that you want to retrieve. For example, suppose y
Hi Chris
> "Chris" == Chris Withers <[EMAIL PROTECTED]> writes: You may
Chris> have more joy with these questions on the zodb-dev@zope.org mailing
Chris> list...
Thanks, I've re-sent. Thanks for the other comments & pointers too.
Regards
Terry.
>> - ZODB BTrees do not allow you to set up s
Hi,
I've got Zope 2.8.5 installed with LocalFS version LocalFS-1-3-andreas
on Solaris (SunOs 5.8, I'm not sure which version number of solaris that
is...)
When I place pdf-files in the LocalFS directories, sometimes they open
correctly, but most of the time they open as text-file when using
Firef
Gerhard Schmidt wrote:
If I had the Time I whould do it. My ToDo List goes around up to the moon
an back twice. About the funding I have to talk to my superior when he is
back from his vacation.
Bear in mind that you will need serious amounts of cash to get this
implemented. This is a massive
Terry Jones wrote:
I've just read the ZODB/ZEO Programming Guide (Release 3.6.0,
A.M. Kuchling, January 5, 2006) and I'd like to ask a few questions.
Are the following all correct?
You may have more joy with these questions on the zodb-dev@zope.org
mailing list...
- The BTrees supported b
David wrote:
I have a user messing with a site using HTTP PUT to upload files. The
user has access privileges to use a simple CMS (although for the time
being now, they're revoked). Will switching off the permission for
"WebDAV access" prevent any successful PUT or do we need to take further
[EMAIL PROTECTED] wrote:
Hello!
I have a question about Zope.
No, you have a question about Plone. Ask on a Plone list.
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
___
Zope maillist
Dieter Maurer wrote:
Martin Koekenberg wrote at 2006-5-3 14:47 +0200:
I use this code in a Python script and call this script within a DTML-IN
statement. What I need is a script to get only items with a date in the
future, today or in the past. The objects are DTML Documents with a date
prope
30 matches
Mail list logo