Jonathan Cyr wrote:
I have to choose which features of Zope to learn and use, based on a
much larger criteria than I can present here.
I do not wish to mix ZPT and DTML in my project... I had chosen DTML,
before ZPT was mature... It may be better, but I don't care for now...
when I'm able to
John Schinnerer wrote:
That was what I needed, the parameter name...my sysadmin set it low
for security reasons, not realizing
Clueless overly paranoid sysadmins strike again ;-)
No actually, he's very clueful and security-conscious, and I was
mistaken about how it got set that low, it
We are seeing traceback in the event log like this:
2005-09-09T09:28:32 ERROR(200) KeywordIndex unindex_object could not remove documentId -702398584 from index w
orkitems_from. This should not happen.
Traceback (most recent call last):
File
This is actually nothing to worry about. The error message doesn't
take into account that the error it's reporting could be a conflict
error (these are normal errors seen during Zope execution). The
catalog probably shouldn't bother logging the error in this case.
On Sep 9, 2005, at 4:16
Chris Withers wrote:
Anyone know who the debian package maintainer is so we can give them a
tickle?
Just look at the zope package page on debian.org:
http://packages.debian.org/zope
Isa simple, no? :)
Seriously though, Debian maintainers usually make reasonably sane
decisions, so be
Can someone please confirm that kupu 1.3 works fine under zope2?
I have just installed the 1.3 tarball but I get un error in kupumacros at
the following line:
metal:slot define-slot=bootstrap-editor
After fixing the illegal name the editor get displayed, but my test doc is
not editable. If
Hi all,
I'm trying to basically get the output of two SELECT statements into a
dtml document, but cant get it working.
I've searched, and tried a few examples for similar things, but had no
luck. Can anyone recommend a way, please?
Thanks,
Paul
___
I'm not sure if this is what you're looking for
dtml-in
expr=sql_statement(parameter1=parameter1,parameter2=parameter2)
dtml-var column_name
/dtml-in
If no parameters, just expr=sql_statement() or dtml-in sql_statement
Cheers,
JB
On 9 Sep 2005, at 10:50, [EMAIL PROTECTED] wrote:
Hi all,
Hi Joe,
thanks for the quick reply!
i've got a zsql method now(called date_count.zsql) which I try to call
in my dtml via dtml-in date_count - but I get a KeyError when the page
is refreshed. The dtml is in the same dir as the zsql...not sure whats
up.
Cheers,
Paul
On Fri, 2005-09-09 at 11:06
sorry, i meant when i run the code - i'm not with zope terminology yet.
here's my date_count.zsql method:
select count(*) AS endcount from t_transaction
and in the dtml, i've got:
dtml-in date_count
dtml-var endcount
/dtml-in
Thanks for the replies so far!
Paul
On
Hello,
When installing the latest zope 2.8.1 (I want to upgrade plone to 2.1) I
ran into problems compiling. I quote the last rows of the output her
below.
How can I compile this zope on a debian sarge server?
output:
AccessControl/cAccessControl.c: In function `initcAccessControl':
And this doesn't work when you refresh?? I find that hard to believe.
What's the error (including traceback)
On 9/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
sorry, i meant when i run the code - i'm not with zope terminology yet.
here's my date_count.zsql method:
select count(*) AS
OK, are you using a Zope with an error_log? [you'll see it in the root
of your installation]. If so, could you pass on the whole traceback for
this error?
Hang on - are you calling 'date_count' when your object's called
'date_count.zsql'? Rename your zsql method 'date_count' and then try -
I
Hi,
I've attached the two files that I'm using
Full error is this:
Site Error
An error was encountered while
publishing this resource.
KeyError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish,
line 175, in
Like Joe said, have you confused the critical difference between
sql_select_counts and sql_select_counts.zsql
On 9/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
I've attached the two files that I'm using
Full error is this:
Site Error
An error was encountered while
publishing this
Ok, I've made a few changes, and now I get this error:
Site Error
An error was encountered while publishing this resource.
AttributeError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 175, in publish_module_standard
* Module
Jonathan Cyr wrote:
That's the ticket. You're right the CDATA solution is much better than
html-quote'ing everything.
Many thanks,
-Jon
Peter Bengtsson wrote:
Create a python script called rssFormatter(text)::
from Products.PythonScripts.standard import structured_text, html_quote
return
Marco Bizzarri wrote:
We are seeing traceback in the event log like this:
2005-09-09T09:28:32 ERROR(200) KeywordIndex unindex_object could not remove
documentId -702398584 from index w
orkitems_from. This should not happen.
Traceback (most recent call last):
File
Try to locate what causes this error by commenting things out one by
one. Eventually you'll be able to locate the culprit which someone on
the list might be able to help you with.
On 9/9/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ok, I've made a few changes, and now I get this error:
Site
I think for some of my RSS feeds I use CDATA, so _my_ rssFormatter()
script looks something like this::
return ![CDATA[%s]] % text
The advantage with CDATA is that you won't need to html quote things.
Which is not really true, you still have to find a way to deal with your
string
I will let you know...but it was slightly off in the specs I gave. It was a
2.7.0 on RH9 and new install is 2.7.7 on RHE4.
If I take the offending text, cut and paste, and put on a different install of 2.7.5 on RHE4 then the encoding works fine and the characters show fine. Mainly bullets,
I assume you use Firefox. Go to the two pages; the one that works and
the one that doesn't.
Right-click and select Vew Page Info. Look at what it says on Encoding
On 9/9/05, Allen Schmidt [EMAIL PROTECTED] wrote:
I will let you know...but it was slightly off in the specs I gave. It was a
2.7.0
Hmmm... so the page setting on both zope versions is utf-8 but on the
new zope, the text is actually shown with Western encoding.
Warning! I'm no unicode expert at all. I live and work in the UK :)
On 9/9/05, Allen Schmidt [EMAIL PROTECTED] wrote:
Firefox, Netscape and IE all show the same UTF-8
Hello Zope-World!
We have a job offer for someone with good experience on handcrafted HTML
and CSS, working on Zope projects. Knowledge of Zope can be acquired on
the job, but we want good HTML/CSS that can be mixed in with ZPT.
This is not a job for someone with years of knowledge of Zope
Hi
Here are some things you can do to handle your problem. For me, this
approach worked just fine.
1. Your HTML pages must have set the encoding to utf-8. Put this in the
HEAD tag of your html pages:
meta http-equiv=Content-Type content=text/html; charset=utf-8 /
2. For the Root
I'm running multiple instances of Zope 2.7.7 on a FreeBSD server. Each of
those instances uses the same products, which I handle by making symlinks
from the site's Products directory to that instance's Products directory:
[1] /usr/local/www/Zope/Products/ZPsycopgDA
[2]
To be honest, I'd expect something a little different, namely that each
instance would automatically pull in all the products in the site
installation (like [1] and [2] above), but that doesn't seem to be the
case. Is that a configuration issue, by design, or by accident?
It's a
Hello,
In a python script I use teh following line to create a folder:
context.manage_addProduct['OFSP'].manage_addFolder(Unique,
title=field_titel)
Unique is a unique ID.
How can I create to folder is this folder in the same script ?
regards,
Martin Koekenberg
On Friday 09 September 2005 10:25, Paul Winkler wrote:
To be honest, I'd expect something a little different, namely that each
instance would automatically pull in all the products in the site
installation (like [1] and [2] above), but that doesn't seem to be the
case. Is that a
id1 = something
id2 = else
context.manage_addFolder(id1, George Bush)
getattr(context, id1).manage_addFolder(id2, George W. Bush)
On 9/9/05, Martin Koekenberg [EMAIL PROTECTED] wrote:
Hello,
In a python script I use teh following line to create a folder:
Peter Bengtsson wrote at 2005-9-8 17:23 +0100:
...
What is the difference between 'Cache-Control' and 'Expires'?
Cache control is the modern (HTTP 1.1) way, Expires the old (HTTP 1.0)
one.
What is best to use and for what?
Use them both:
HTTP 1.1 clients will honour Cache-Control (which is
Martin Koekenberg wrote at 2005-9-9 17:48 +0200:
...
In a python script I use teh following line to create a folder:
context.manage_addProduct['OFSP'].manage_addFolder(Unique,
title=field_titel)
Unique is a unique ID.
How can I create to folder is this folder in the same script ?
You fetch
johnny wrote at 2005-9-9 12:11 +0200:
...
How can I compile this zope on a debian sarge server?
We have successfully compiled Zope (from source) on Debian Sarge.
You must have a strangely screwed up system.
output:
AccessControl/cAccessControl.c: In function `initcAccessControl':
Marco Bizzarri wrote at 2005-9-9 10:16 +0200:
We are seeing traceback in the event log like this:
There are more bugs in KeywordIndex (as someone else noted, this
one has been fixed recently).
You may consider my ManagableIndex and its KeywordIndex.
It has less bugs than the Zope one -- and
Niklas Saers wrote at 2005-9-8 18:59 +0200:
...
What is the standard way of ensuring that I get the correct data?
I tried writing a little converter, but the string
tekst = tekst.replace(\xc3\xa6, ae);
gives me the error *UnicodeDecodeError: **'ascii' codec can't decode byte
0xc3 in position
I'd like the best of both worlds. I'm currently running Python 2.3.5, Zope
2.7.7, and Plone 2.1 (final). Using LDAPUserFolder (2.5beta2) as the
authentication method and it works perfectly. I'm using LDAPUF as the User
Source and User Folder as the Groups Source. It's better for us to
Kirk Strauser wrote:
On Friday 09 September 2005 10:25, Paul Winkler wrote:
To be honest, I'd expect something a little different, namely that each
instance would automatically pull in all the products in the site
installation (like [1] and [2] above), but that doesn't seem to be the
case. Is
Just downloaded Zope 2.8.1 and I'm trying to install
it on MOSX 10.4, which has XCode 2.1 installed.
I'm following installation instructions on this page:
http://www.plope.com/Books/2_7Edition/InstallingZope.stx#2-6
./configure runs, but when I try to make, I get this
error:
makefile:54: ***
A ha... thanks for the tip.
-Jon
Florent Guillaume wrote:
Jonathan
Cyr wrote:
That's the ticket. You're right the CDATA
solution is much better than html-quote'ing everything.
Many thanks,
-Jon
Peter Bengtsson wrote:
Create a python script
JCC wrote:
If you want your instances to use Products from some other directory,
name it here.
The one possible gotcha, dating back to the Zope 2.6.x / CMF 1.3.x days,
is that CMF (and Plone) would not work properly if installed
somewhere other than $INSTANCE_HOME/Products.
The skins
Dude,
I appreciate the amount of effort that you contribute to the
community... but that said... you really are quite rude and
obnoxious hence the "Go easy" warning.
Your skills in dealing with people pale in comparison to your Zope
prowess. Talking
down to people doesn't build
Hi everyone,
I have what I think is a banal question here... Is there any way I can
test inside a zsql method if an argument has been passed? dtml-if foo
won't work because 0 (zero) is an expected value.
Have tried dtml-if _.hasattr(_, 'foo') but it seems to be always
false (where's that
Hi Peter,
Happy to have the choice, don't get me wrong. I found DTML very easy,
I'm old school and generate all of my HTML/CSS by hand.
In addition to CSS, I've found it pretty good for inserting items into
_javascript_, Applet and Embed elements.
I find that I'm attuned to a tag system
On Friday 09 September 2005 13:56, J Cameron Cooper wrote:
I don't know why, either. That simply says that there is a default
Products directory ($SOFTWARE_HOME/lib/python/Products), you can't get
rid of it, and you shouldn't try to configure it here.
The problem I'm having, though, is that
Kirk Strauser wrote:
On Friday 09 September 2005 13:56, J Cameron Cooper wrote:
I don't know why, either. That simply says that there is a default
Products directory ($SOFTWARE_HOME/lib/python/Products), you can't get
rid of it, and you shouldn't try to configure it here.
The problem I'm
On Friday 09 September 2005 13:56, J Cameron Cooper wrote:
I don't know why, either. That simply says that there is a default
Products directory ($SOFTWARE_HOME/lib/python/Products), you can't get
rid of it, and you shouldn't try to configure it here.
The problem I'm having, though, is that
On 9 Sep 2005, at 19:59, Sophia Grimm wrote:
Just downloaded Zope 2.8.1 and I'm trying to install
it on MOSX 10.4, which has XCode 2.1 installed.
I'm following installation instructions on this page:
http://www.plope.com/Books/2_7Edition/InstallingZope.stx#2-6
./configure runs, but when I
On Friday 09 September 2005 15:37, J Cameron Cooper wrote:
Anything in $SOFTWARE_HOME/lib/python/Products is available in any
instances that use that SOFTWARE_HOME. You can see this quite easily by
looking at the /Control_Panel/Products of an instance with nothing in
its
Kirk Strauser wrote:
On Friday 09 September 2005 15:37, J Cameron Cooper wrote:
Anything in $SOFTWARE_HOME/lib/python/Products is available in any
instances that use that SOFTWARE_HOME. You can see this quite easily by
looking at the /Control_Panel/Products of an instance with nothing in
its
On Friday 09 September 2005 15:59, J Cameron Cooper wrote:
Thus was created the instance/software distinction. Everything needed to
run Zope goes into the SOFTWARE_HOME; everything that defines a specific
distinct instance goes into INSTANCE_HOME (3rd party Products, Data.fs,
config files,
Hi again,
for the records, replying my own recent post:
the way to test if a variable exists in a zsql method is through has_key
NOT hasattr.
In other words: dtml-if _.has_key('foo').../dtml-if
Sorry for bothering, it's been a long time not dealing with dtml
Pablo
Pablo Ziliani wrote:
Does this affect Chris's chances in the annual "Zope Cogeniality
Awards"?
BTW DTML does not suck. I too have written lots of code w/it. I do
find ZPT to be preferable - but it does take effort (brain re-wiring)
and if your up to your elbows in alligators its just not the time to
convert.
I
Summary of messages to the zope-tests list.
Period Thu Sep 8 11:01:02 2005 UTC to Fri Sep 9 11:01:02 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Thu Sep 8 22:21:37 EDT
53 matches
Mail list logo