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
[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
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
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
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
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
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 secondary keys
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
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 actually
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
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 though that
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 hope
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
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
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)
-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_encoding'
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:
dtml-var
--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
[EMAIL PROTECTED] On Behalf Of Igor Stroh
Jaroslav Lukesh wrote:
import cStringIO
import mimetools
import binascii
[...]
dtml-var 'YWxla2liYW5nb0B6dWcuY3o=\n'.decode('base64')
Thank you - it is exact what I need, but it does not have rights to make
that conversion - see
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 bad style.
I was
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
-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 your
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.
Move such code inside a
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 into
DTML..
it just bad
[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.
--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
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
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.
The Five team is happy to announce the release of two Five bugfix
releases, 1.2.4 and 1.3.5, as well as two Five betas, 1.4c and 1.5b
today.
What is Five
Five is a Zope 2 product that allows you to integrate Zope 3
technologies into Zope 2, today. Among others, it allows you to
Log message for revision 67964:
Now closing manually opened zodb connections -- thanks Stefan
Changed:
U Zope/trunk/lib/python/App/FactoryDispatcher.py
-=-
Modified: Zope/trunk/lib/python/App/FactoryDispatcher.py
===
---
Log message for revision 67968:
Fixed up an issue where an open zodb connection wasn't geting closed properly
... also reinstated a previously-failing (but no longer) test now that the zodb
connection handling is working properly.
Changed:
U Products.Five/trunk/fiveconfigure.py
U
Log message for revision 67975:
making a branch to fix collector 1447,
AcceleratedHTTPCacheManager doesn't PURGE correctly for virtual hosts
Changed:
A Zope/branches/slinkp-1447-httpcache-fix-branch/
-=-
Copied: Zope/branches/slinkp-1447-httpcache-fix-branch (from rev 67974,
Log message for revision 67976:
Fixes and unit tests for http://www.zope.org/Collectors/Zope/1447:
when editing content on a virtual-hosted zope, changes will purge
correctly.
Also simplified the test framework (no more need to launch an
HTTP server).
Changed:
U
Log message for revision 67977:
Noted fix for 1447 in CHANGES.txt.
Changed:
U Zope/branches/slinkp-1447-httpcache-fix-branch/doc/CHANGES.txt
-=-
Modified: Zope/branches/slinkp-1447-httpcache-fix-branch/doc/CHANGES.txt
===
Log message for revision 67978:
Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977.
Fixes issue with AcceleratedHTTPCacheManager sending PURGE from a
virtual-hosted zope, and adds a bunch of related tests and comments.
Changed:
U Zope/trunk/doc/CHANGES.txt
U
Log message for revision 67979:
Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977.
Fixes issue with AcceleratedHTTPCacheManager sending PURGE from a
virtual-hosted zope, and adds a bunch of related tests and comments.
Changed:
U Zope/branches/2.9/doc/CHANGES.txt
U
Log message for revision 67984:
added some TODO notes.
Changed:
U
Zope/branches/slinkp-httpcache-improvements-branch/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py
-=-
Modified:
Duncan Booth wrote:
What may be more significant is that simply retrieving favicon.ico into IE
displays garbage. I don't know why; IE seems perfectly capable of
displaying it on the address bar or favourites, but in the main browser
window it displays a short curved line and nothing else.
Is
Note that Zope2.app() opens a new ZODB connection which you need to
close at some point. I suggest something along the lines of:
app = Zope2.app()
try:
products = app.Control_Panel.Products
...
finally:
app._p_jar.close()
On 5/3/06, Andreas Jung [EMAIL PROTECTED] wrote:
I tried to get Zope 2.10 working with Twisted however I ran into some
issues:
After installing Twisted 2.1.0, Zope fails to start (also with Twisted
2.2.0)...anything I am misssing?
Yes, but what? Hmmm.
(Oh, btw, 2.2 seems much slower that 2.1
On Thu, 2006-04-05 at 10:43 +0200, Stefan H. Holek wrote:
Note that Zope2.app() opens a new ZODB connection which you need to
close at some point. I suggest something along the lines of:
app = Zope2.app()
try:
products = app.Control_Panel.Products
On 5/4/06, Chris Withers [EMAIL PROTECTED] wrote:
Duncan Booth wrote:
What may be more significant is that simply retrieving favicon.ico into IE
displays garbage. I don't know why; IE seems perfectly capable of
displaying it on the address bar or favourites, but in the main browser
window it
On Thu, 2006-04-05 at 08:23 -0230, Rocky Burt wrote:
On Thu, 2006-04-05 at 10:43 +0200, Stefan H. Holek wrote:
Note that Zope2.app() opens a new ZODB connection which you need to
close at some point. I suggest something along the lines of:
app = Zope2.app()
try:
Chris Withers wrote:
Duncan Booth wrote:
What may be more significant is that simply retrieving favicon.ico
into IE displays garbage. I don't know why; IE seems perfectly
capable of displaying it on the address bar or favourites, but in the
main browser window it displays a short curved line
I have the following ZSQL method:
select * from pmember where project=dtml-sqlvar project type=string
The result should be about 60 records. However it only works if I set
Maximum rows to retrieve in the advanced tab to a number below 20.
If I don't, I get the following error:
45 matches
Mail list logo