Am Sonntag, den 24.07.2005, 19:50 -0300 schrieb David Pratt:
> Hi Chris. I believe the purpose of ZTUtils are utility functions for
> page templating. That said, the Iterator class could be more useful by
> exposing its values based on its state - the point I had made.
> Versatility is the bea
Tres Seaver wrote:
The actual issue is that attribute access will break if you have an
unwrapped object; 'aq_parent(foo)' will return 'None' in that case.
AttributeError: aq_parent
AttributeEror: None has no attribute "myattribute"
Take your pick I guess ;-)
*grinz*
Chris
--
Simplistix -
Peter Bengtsson wrote:
But, is there a more robust solution to this?
The "correct" thing to do here is to write your own query parser, but
that's a lot of hard work.
I just catch the two exceptions that the QueryParser can throw and
return an empty result set.
cheers,
Chris
--
Simplisti
Hi,
This is a bit OT but this list is the best place I know to ask it :)
I have a form which uses UTF-8, the text entered in the form then has
to be converted to iso-2022-jp. If any character is entered that
isn't valid for iso-2022-jp I get:
UnicodeError: ISO-2022-JP encoding error: inval
Ok. Sounds like a plan.
What I need to do if it happens is to escape all the operator words
like "and" "or" "not".
Any idea how I can do that?
On 7/25/05, Chris Withers <[EMAIL PROTECTED]> wrote:
> Peter Bengtsson wrote:
> > But, is there a more robust solution to this?
>
> The "correct" thing
- Original Message -
From: "Peter Bengtsson" <[EMAIL PROTECTED]>
To: "Chris Withers" <[EMAIL PROTECTED]>
Cc:
Sent: Monday, July 25, 2005 7:06 AM
Subject: [Zope] Re: Token 'ATOM' required, 'and' found
Ok. Sounds like a plan.
What I need to do if it happens is to escape all the operat
>
> > Ok. Sounds like a plan.
> > What I need to do if it happens is to escape all the operator words
> > like "and" "or" "not".
> > Any idea how I can do that?
>
> Not a zope solution (or issue), but how about using regex in python code?
>
Finding the words I'm not worried about. What I don't
Peter Bengtsson wrote:
Don't get hung up on that. What I'm after is the technique I can use
upon the QueryParser for "ignoring" these operator words.
RTSL ;-)
QueryParser.py has a massive doc string at the top of it ;-)
Chris
--
Simplistix - Content Management, Zope & Python Consulting
Hello,
Does anybody use the zip upload in the latest Photo
product (1.3.0) ?
There is a ftp bug in that release but is has a zip
upload feature (that also doesn’t work with me).
I use Zope 2.7.7 on a Red Hat fedora core 4.
Thanks for the help.
Martin Koekenberg
Hi,
Just got this exception at startup :
File
"/lmn/build/Frontier/20050618/opt/Zope-2.8.0-final/lib/python/ZODB/FileStora
ge/FileStorage.py", line 1733, in read_index
if prev:
NameError: global name 'prev' is not defined
My Data.fs may be corrupted, but this is not the point : looking at
Then file a bug report on the collector. If you can, include steps on
how to reproduce it. NameErrors just shouldn't happen in a tested
code.
On 7/25/05, Pascal Peregrina <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Just got this exception at startup :
> File
> "/lmn/build/Frontier/20050618/opt/Zope-2
Well, nothing has changed in the mail server setup so I don't know why
this error is being thrown. Where can I access smtplib (I cannot locate
this Python library in my Zope hierarchy)? Someone else also reported
receiving this error as I discovered on Google but the issue was not
resolved. Any hel
Done (issue #1849)
-Original Message-
From: Peter Bengtsson [mailto:[EMAIL PROTECTED]
Sent: 25 July 2005 13:51
To: Pascal Peregrina
Cc: zope@zope.org
Subject: Re: Exception in Zope 2.8.0
Then file a bug report on the collector. If you can, include steps on how to
reproduce it. NameError
First of all thanks everyone for the help, I've resolved my problems one after the other thanks to the suggestions I've found here.
Now I'm rewriting urls by substituting the href attribute with custom data, and everything works fine.
What I'd like is having an url like: myproduct/generate/200503
Why don't you identify the variable data portion of
the urls you are building as standard http-type arguments:
eg. http://www.myweb.com/amethod?var1=val1&var2=val2...
This way var1, var2 etc will be accessible to your
method as entries in REQUEST.
Jonathan
- Original Message
Because it's a bit ugly - my url will grow a lot, because I have to include the variable name. It's also really simple to make the product generate a PDF if the user know the ref_date and code, without playing with variable names.
Obviously if it's not possible I will generate a normal querystr
Maurer, I am certain that this is a Zope issue that has not been figured
out as yet. I was even able to connect to my SMTP server via the Terminal
application on a Mac. Do I have any other options?
- Asad
___
Zope maillist - Zope@zope.org
http://mail.
Pascal Peregrina <[EMAIL PROTECTED]> wrote:
> Just got this exception at startup :
> File
> "/lmn/build/Frontier/20050618/opt/Zope-2.8.0-final/lib/python/ZODB/FileStora
> ge/FileStorage.py", line 1733, in read_index
> if prev:
> NameError: global name 'prev' is not defined
>
> My Data.fs ma
Asad Habib <[EMAIL PROTECTED]> wrote:
> Maurer, I am certain that this is a Zope issue that has not been figured
> out as yet. I was even able to connect to my SMTP server via the Terminal
> application on a Mac. Do I have any other options?
You should do a network trace to see what makes the SMT
I am a newbie to Zope/Plone.
I am trying to view the Zope API via the Help System in the ZMI, but I get
prompted to login and my admin login does not work.
I'm pretty sure I downloaded the latest version of plone which I was led to
believe would have the latest version of zope & python:
Zope Ve
[Sune B. Woeller]
>> ...
>> I can see (with the excellent (and free) 'Process
>> Explorer' from sysinternals) that the python
>> processes always opens port 1, and connects by
>> that port to themselves on another port (for
>> instance 2550).
[Dieter Maurer]
> You can find the relevant code i
New methods on the iterator would do the trick. I had suggested
currval and nextval or similar - two or three simple methods would
increase the versatility of the Iterator class for a variety of things.
Is there interest in adding new methods to ZTUtils to expose these
values? It seems to fit
Please stay on the list.
I meant a real tcp trace, like ethereal.
On 25 Jul 2005, at 16:22, Asad Habib wrote:
Hello. I used traceroute and it did not return any errors.
- Asad
On Mon, 25 Jul 2005, Florent Guillaume wrote:
Asad Habib <[EMAIL PROTECTED]> wrote:
Maurer, I am certain that
> > I'm trying to get the Issue Dealer
> > (http://www.nidelven-it.no/products/issue_dealer) product up-and-running
> > on my Zope install (FreeBSD 4.11, Zope 2.7.1, Python 2.3.4). According
> > to the Issue Dealer docs, I should simply be able to unzip it into the
> > Products directory, restart Z
Nicholas Wieland wrote:
First of all thanks everyone for the help, I've resolved my problems one
after the other thanks to the suggestions I've found here.
Now I'm rewriting urls by substituting the href attribute with custom
data, and everything works fine.
What I'd like is having an url like
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Jonathan" <[EMAIL PROTECTED]>;
Sent: Monday, July 25, 2005 12:03 PM
Subject: Re: [Zope] Added Product Doesn't Show Up In ZMI
> I'm trying to get the Issue Dealer
> (http://www.nidelven-it.no/products/issue_dealer) product
> up-and
Am 25.07.2005, 18:03 Uhr
schrob [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Each of these directories has its own '__init__.py'.
Do these directories and the files in there have the correct
permissions set so that the user Zope runs as can access the files?
HTH
Jo.
--
internetma
>> I have a few questions about Plone (in some extent CMF/Zope):
>>
>> 1)How to manipulate versioning in Plone? (like CPS does)
>> I know there is PLIP8, but it is still a proposal, isn't it?
>have a look at CMFEditions on svn.plone.org/collective . it is also
>published on plone.org site
>we have
> >
> > Now I'm rewriting urls by substituting the href attribute with custom
> > data, and everything works fine.
> > What I'd like is having an url like: myproduct/generate/20050301/PG2,
> > and actually that's exactly what I've got. This url will make my app
> > generate a pdf report for th
Simplest might be to point a Path Handler
(http://www.zope.org/Members/NIP/PathHandler) named
'generate' at your PDF generator script.
Also, a Script(Python) 'generate' containing:
return traverse_subpath
when called http://mysite.com/generate/foo/bar/baz
returns:
['foo', 'bar', 'baz']
This co
I would like to inform that ZEA is in the process to transfer the trademark to Zope Corporation. A number of actions will be taken including the preparation of the list of expenses to secure the trademark, and meetings with our trademark expert to work on the administrative details. We would like t
praba kar wrote at 2005-7-25 06:25 +0100:
> ...
>"/Programs/Zope/2.7.0/lib/python/Products/ZCatalog/IZCatalog.py",
>line 236, in ?
>__doc__ = IZCatalog.__doc__ + __doc__
>TypeError: unsupported operand type(s) for +:
>'NoneType' and 'NoneType'
".0" releases often have problems.
I recommend to
Edmund Moseley wrote at 2005-7-25 10:30 -0400:
>I am trying to view the Zope API via the Help System in the ZMI, but I get
>prompted to login and my admin login does not work.
Such problems are best analysed with the "VerboseSecurity" product.
Install it and report what it tells you.
--
Dieter
Nicholas Wieland wrote at 2005-7-25 15:39 +0200:
>Now I'm rewriting urls by substituting the href attribute with custom data,
>and everything works fine.
>What I'd like is having an url like: myproduct/generate/20050301/PG2, and
>actually that's exactly what I've got. This url will make my app ge
Jim Washington wrote at 2005-7-23 16:09 -0400:
>He is attempting to copy an installation from one machine to another,
>and upgrade Zope to 2.6.4.
>
>Exporting the product and instances works fine, but some object
>instances will not import correctly.
Usually, it is much safer to just copy the st
Itai Tavor wrote at 2005-7-25 20:21 +1000:
>This is a bit OT but this list is the best place I know to ask it :)
>
>I have a form which uses UTF-8, the text entered in the form then has
>to be converted to iso-2022-jp. If any character is entered that
>isn't valid for iso-2022-jp I get:
>
>Unic
Asad Habib wrote at 2005-7-25 09:24 -0400:
>Well, nothing has changed in the mail server setup so I don't know why
>this error is being thrown.
I have been wrong. The message does not originate from your
mail server.
>Where can I access smtplib (I cannot locate
>this Python library in my Zope hie
Tim Peters wrote at 2005-7-25 10:36 -0400:
>Yup. ZODB has what looks like a copy/paste of this code, in
>ZEO/zrpc/trigger.py. I didn't realize where it came from originally
>until you pointed out the Medusa code here.
>
>Anyway, it so happens I rewrote ZEO's copy a few weeks ago, in ZODB
>3.4. T
Thanks Dieter. You hit the nail on the head. socket.gethostname() is not
returning the full canonical name of the machine. But how do I correct
this? Any idea?
- Asad
On Mon, 25 Jul 2005, Dieter Maurer wrote:
> Asad Habib wrote at 2005-7-25 09:24 -0400:
> >Well, nothing has changed in the mail
Jonathan Salazar Santos wrote:
Hi, im making a email client in python for zope, but a im stopped
because i cant find the way to get the attacments with python, do you
have a idea how can i do this?, i have studied the email package
already but is a little confused.
A Python-specific list might
[Tim Peters]
>> Yup. ZODB has what looks like a copy/paste of this code, in
>> ZEO/zrpc/trigger.py. I didn't realize where it came from originally
>> until you pointed out the Medusa code here.
>>
>> Anyway, it so happens I rewrote ZEO's copy a few weeks ago, in ZODB
>> 3.4. The Windows part is
+---[ Xavier Heymans ]--
| I would like to inform that ZEA is in the process to transfer the trademark to
| Zope Corporation. A number of actions will be taken including the preparation
| of the list of expenses to secure the trademark, and meetings with our
| trademark expe
On 26/07/2005, at Tue 26/07 4:12AM, Dieter Maurer wrote:
Itai Tavor wrote at 2005-7-25 20:21 +1000:
This is a bit OT but this list is the best place I know to ask it :)
I have a form which uses UTF-8, the text entered in the form then has
to be converted to iso-2022-jp. If any character is en
Hi
I need a suggestion / advice regarding the CPU options for the best
ZOPE and ZEO performance. eg 32 vs 64 bits architecture, single vs dual
core, hyper threading.
Is there any bechmarks already posted on the web??
Thanks
--
-
Srdan Zagorac
Software
44 matches
Mail list logo