Aloha,
> > python:here.sponsors[0] != ''
> >
> > if the tuple is empty, whereas 2.5.1/2.1.3 must have been returning
> > some equivalent of boolean 'false' when the tuple was empty.
>
> No. Python 2.1.3 would have blown up the same way.
Must have been Zope 2.5.1 somehow turning the python blowup
Thanks Chris,
This was solved a few days ago. Someone (sorry don't
recall the name) on the list pointed me to the
ScheduleList object created by NauSchedule at the root
of Zope. After removing that, I was able to reenstall
the product and start using it again.
NauSchedule is a very cool produc
Only problem is I am using a dtml-in inside the category_results method which calls a sql method and it now gives me an error:
...
Perhaps its not finding the title1 value I am trying to pass to it?
Error Type: NameErrorError Value: global name 'category_match1' is not defined
On 8/29/05, Pet
Wow, I had forgotten how incredibly ugly DTML can be. That just looks
wrong, like you stumbled on your keyboard. Maybe I should go hang out on
the perl lists and build up some tolerance for "interesting" syntax. :^)
On Tue, 30 Aug 2005 01:08:52 +0200, Peter Bengtsson <[EMAIL PROTECTED]>
Better
Use dtml-let and notice the extra _ in the parameters. I doubt that
DTML methods accept plain arguments except self, REQUEST and RESPONSE.
All other things must be passed with keyword arguments.
On 8/30/05, Sean Kelley <[EMAIL PROTECTED]> wrote:
> I tried using orig_title in the for
On 29 Aug 2005, at 23:38, Ed Colmar wrote:
The 2.8 version of zope no longer displays tracebacks in the
terminal window (after excecuting ./runzope). It just stops
execution at any errors. I am trying to troubleshoot a page that
is called from another server, so I do not get to view the e
I tried using orig_title in the format in the called dtml-method (category_results) and I get a zope error which I don't understand:
Error Type: TypeErrorError Value: sequence index must be integer
When I call it in the orignal page which I want the title for it works fine.
John Eikenberry ja
The 2.8 version of zope no longer displays tracebacks in the terminal
window (after excecuting ./runzope). It just stops execution at any
errors. I am trying to troubleshoot a page that is called from another
server, so I do not get to view the error document.
I have debug mode turned on.
I
Dieter Maurer wrote:
How do you explain that Zope 2.8.x does *NOT* use
a simple "restrictedTraverse"
(in "Products.ZCatalog.CatalogBrains.AbstractCatalogBrain.getObject")
but instead an "unrestrictedTraverse" to the parent followed
by a "restrictedTraverse" for the last step?
Using a "simple res
Barry Drake wrote:
Chris,
Tried that first. The email on the page for this
product returns and unknown recipient. Also, there is
zero documentation.
In that situation, I'd look for an alternative product ;-)
What are you looking to do?
Chris
--
Simplistix - Content Management, Zope & Pytho
Sean Kelley wrote:
> I am trying to pass the title of a page to a dtml method which is in another
> folder named links. If I pass the actual title like below everything works.
> However, when I try to pass the value of the current title to
> category_results using various other methods it does
I am trying to pass the title of a page to a dtml method which is in another folder named links. If I pass the actual title like below everything works. However, when I try to pass the value of the current title to category_results using various other methods it does not.
What is the syntax so t
At 02:43 PM 8/29/2005, Benmania Guin wrote:
I have some troubles to install
"Zope" on my "Windows XP Home Edition" operating
system.
The installation procedure went on without any problems but whenever I
tried to start the Zope server, either "in Console" or "as
an instance", the server would no
Hi guys,
I have some troubles to install "Zope" on my "Windows XP Home Edition"
operating system.
The installation procedure went on without any problems but whenever I tried to
start the Zope server, either "in Console" or "as an instance", the server
would not run. There was simply a windo
On 29 Aug 2005, at 18:39, Dieter Maurer wrote:
Jens Vagelpohl wrote at 2005-8-29 16:17 +0100:
...
If a filename is illegal as a URL then that's that.
In fact, an URL does not disallow any characters.
It only requires that some of them need to be escaped.
Thus, a Zope id could contain any
James O'Keefe wrote at 2005-8-29 10:25 -0400:
>I wrote the test server on our plone system. I have a page template that calls
>a python script. The python script gets all of the parameters and writes out
>their value to printed and then mails it off to a list of email addresses.
>Pretty simple s
Jens Vagelpohl wrote at 2005-8-29 16:17 +0100:
> ...
>If a filename is illegal as a URL then that's that.
In fact, an URL does not disallow any characters.
It only requires that some of them need to be escaped.
Thus, a Zope id could contain any character, would Zope properly
escape all characters
>
> > What is the best way to deal with file uploads with illegal
> > characters?
> > I have no problem stripping the filenames such that "_Peter[1].doc"
> > becomes "Peter1.doc" before it's manage_addFile'ed.
> > But suppose I want to maintain the exact filename as it was on the
> > harddrive, ho
On 29 Aug 2005, at 16:13, Peter Bengtsson wrote:
What is the best way to deal with file uploads with illegal
characters?
I have no problem stripping the filenames such that "_Peter[1].doc"
becomes "Peter1.doc" before it's manage_addFile'ed.
But suppose I want to maintain the exact filename as
What is the best way to deal with file uploads with illegal characters?
I have no problem stripping the filenames such that "_Peter[1].doc"
becomes "Peter1.doc" before it's manage_addFile'ed.
But suppose I want to maintain the exact filename as it was on the
harddrive, how do you deal with that?
Hi all,
At work, I am testing our software that sends a postback via http to a test
server on a periodic basis.
I wrote the test server on our plone system. I have a page template that calls
a python script. The python script gets all of the parameters and writes out
their value to printed and
That means that 'foo' is NOT a DateTime object like ZopeTime is.
On 8/29/05, garry saddington <[EMAIL PROTECTED]> wrote:
> On Mon, 2005-08-29 at 14:51 +0100, Peter Bengtsson wrote:
> > If but
> > doesn't then there's nothing wrong with how
> > you're using the fmt parameter but something is wro
On Mon, 2005-08-29 at 14:51 +0100, Peter Bengtsson wrote:
> If but
> doesn't then there's nothing wrong with how
> you're using the fmt parameter but something is wrong with "foo".
> Try::
>
>
this gives the following error: 'str' object has no attribute strftime
regards
garry
>
> On 8/29/0
If but
doesn't then there's nothing wrong with how
you're using the fmt parameter but something is wrong with "foo".
Try::
On 8/29/05, garry saddington <[EMAIL PROTECTED]> wrote:
> I am trying to format a dtml-var date by using fmt=Day
> returns error: Error Type: TypeError
> Error Value: n
I am trying to format a dtml-var date by using fmt=Day
returns error: Error Type: TypeError
Error Value: not all arguments converted during string formatting
while works fine.
The date is International format and I have Zope set up to parse
international dates.
Does anyone know where I am goin
2 options:
- don't have a parameter on your 'paramtest' script and instead
iterate on context.REQUEST.form.items()
- keep a hidden variable in the form creation. eg.
then make 'keys' the only parameter of 'paramtest' and use this like this:
for key in keys:
value = context.REQUEST[k
Hello everyone,
I'm dynamically generate a form e.g like this:
bla
How can I process the parameters with the target script? I don't know how
many parameters will be passed to the
I would like to use SQLObject module from Ian Bicking in Zope2. Has
anyone any thoughts on how it could be used and still work with
adapters and zope transactions. If I could handle sql this way, there
is very little effort in moving the code to Zope3 afterwards.
Regards
David
___
On Monday 29 August 2005 02:47, Pascal Peregrina wrote:
> I am starting to have a look at Zope3 (I am a Zope 2 product developper).
>
> In Zope2, I currently use MessageCatalogs/Localizer/TranslationService for
> i18n.
>
> Where can I find documentation about the corresponding functionality in
29 matches
Mail list logo