Am i supposed to get "XML methods" and "Python methods" in the add
product drop down?
I'm baffled.
Thanks =)
PD: the subject says it all. Please don't flame me. I think we
need a little bit more organization, some kind of comprehensive index instead
of looking for documentation in several places
Still haven't found an answer, after 4 hours searching the
egroups archive.
Just to clarify:
I need to read the headers of the files BEFORE I upload the
entire file, because the files may be very large and I need
to be able to give a warning if the file does not meet
certain criteria. Example: a
Thanks for the help! Still looking for that HOWTO.txt
So, now I have a UserSource Installed into my LoginManager. It is called
"pgcrypt" and is supposed to authenticate to a SQL database. The password
stored in the DB is encryputed using the same scheme. Any ideas why it
doesn't let me in?
Hi all,
Thanks for all the help
Ive installed PoPy-1.36 and ZPoPyDA-0.64 and it works like a bastard :
Thanks all
Mark
On Wed, 11 Oct 2000, Philipp Auersperg wrote:
> this Postgres adapter is not multithreaded, check out the ZPoPyDA from zope.org.
> That is an alternative Postgres adapte
this Postgres adapter is not multithreaded, check out the ZPoPyDA from zope.org.
That is an alternative Postgres adapter that is multithreaded and does not lock up.
phil
*** REPLY SEPARATOR ***
On 11.10.2000 at 08:48 Mark Twiddy wrote:
>Hi thanks for the reply
>The problem is
Hi thanks for the reply
The problem is whenever i do really big query everything stops and waits.
im using
ZPyGreSQLDA-0.3-rjr2
and
py-PyGreSQL-2.4
thanks
Mark
On Tue, 10 Oct 2000, Mike Renfro wrote:
> On Tue, Oct 10, 2000 at 04:58:46PM +0930, Mark Twiddy wrote:
>
> > Can someone please tel
Manuel,
You'll probably find that your comparing a string 'begin_day' to an integer
'sequence-item'.
Try something like:
hth
Phil
- Original Message -
From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative
Solutions http: //www.alomega.com/" <[EMAIL PROTECTED]>
T
Use it for debugging sometimes.
Is very easy to use. Basically
import Zope
z = Zope.app()
then z is the root of your zope tree so you can do anything. You will need
to import any other python modules you need too.
terry
Hung Jung Lu wrote:
> Hi,
>
> Zope comes with the Medusa monitor (port
Dieter:
Thanks Dieter.
> Jason Spisak writes:
> > I want to catalog some html files but I want to strip the html tags out.
> > htmlparser does a good job of that, but when I try to acces that from an
> > external method, I run into trouble.
> You may look at
>
> URL:http://www.dieter.h
Tone,
What version of the MySQL DA are you using, there is a bug in one of them
that causes no data to be returned in specific circumstances, at least as
far as I can see.
I did at one time fix it, give me a few hours to see what I did and I'll
mail you back.
hth
Phil
- Original Message --
Hi,
Zope comes with the Medusa monitor (port 8099 by default) which is kind of
cute and allows one to get into the guts of Zope. But do people really use
it? How do people use it? Is there any document describing the usages of
this monitor? Are there some features of this monitor that makes de
This is my second question:
Id like to run a with specific
parameters to its namespace
This is the deal
I want to construct a dropdown list, with all values
retrieved from a SQL stored procedure, so if I open the
form with no variables, all of them appear, but if i
submit the form to itself,
Dennis Nichols writes:
>
>
>
> And shouldn't the fmt specification tell how
> myDoc.description is to be presented instead of how it is stored?
I agree with you that "fmt" should specify how the value should
be formatted and not how it is stored.
> For example, let's say I can
Loibl Johann writes:
> Could someone tell me where is the difference between
> URL0 and BASE3 or
> URL1 and BASE2 ...
URLn removes "n" URL path components from the right,
BASEn consists of the first "n+1" or "n+2" URL components.
Thus, if you URL is "host/u1/u2//un",
then URL0 is URL, URL
Mark Twiddy writes:
> Can someone please tell me what is going on. while querying a postgres
> database i am unable to access any crap from zope. I have tried creating a
> db connection in a enternal method and querying through that but it still
> locks and wont serve any requests.
We saw a s
Jason Spisak writes:
> I want to catalog some html files but I want to strip the html tags out.
> htmlparser does a good job of that, but when I try to acces that from an
> external method, I run into trouble.
You may look at
URL:http://www.dieter.handshake.de/pyprojects/zope/CatalogSu
Beuserie =?ISO-8859-1?Q?Fr=E9d=E9ric?= (stbrice dsi) writes:
> How can I pop back one namespace from the stack ?. In fact I need the id
> from the
> dtml-method I'm was called from.
You can not (from DTML).
The caller must help you, e.g. by:
calling method:
Andy,
I am actually just starting working with it. As long as I can have help
futzing with the aq_parent stuff to get it to work, I'll be using it in my
intranet app.
My real desire is to find a way to construct these type of html objects
from html. Like a poor man's HyperDOM. :)
> Cool, do I
Jonothan Farr,
Thanks very much! I am new to Python. I coded my first Zope app in
entirely DTML, so now I'm moving deeper. That's a handy thing to have.
All my best,
Jason Spisak
[EMAIL PROTECTED]
> Try using a StringIO object as your file.
>
> import htmllib
> import formatter
> from cStr
Ooops... sorry Ethan, didn't mean to send this to the wrong place. Just
wanted to see what others felt about it. If it is undoable, cool. If someone
figures out a way, it would be really appreciated and certainly a boost to
Zopista's and product developers to see how popular and used our products
"Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega
Creative Solutions http://www.alomega.com/" wrote:
> BUT, the comparison between the two, won't work. Even
> comparing two _.getitems doesn't work. So it's
> expected that at no point does the selected property
> appear in my html source
Try using a StringIO object as your file.
import htmllib
import formatter
from cStringIO import StringIO
def index(self, html):
file = StringIO()
fmtr = formatter.AbstractFormatter(formatter.DumbWriter(file))
p = htmllib.HTMLParser(fmtr)
p.feed(html)
file.seek(0)
return f
Yes Apache and caching adds a whole new layer of complexity.
But most simple Zope installations dont use it and for quick rough counts it
can be useful, of course its rare to be able to replace the log files in
terms of accuracy.
- Original Message -
From: "mindlace" <[EMAIL PROTECTED]>
Andy McKay wrote:
>
> Of course the only problem with a hit counter is that high traffic requests
> mean continually writing the object into the ZODB each time it gets hit /
> downloaded, whatever. Thats why I release FSCounter which uses the file
> system. I would like to expand this to cover mu
Hey to everyone,
I'm shooting myself in the foot here with this
construct:
selected
>&dtml-sequence-item;
Inserting with dtml-var any of begin_day or sequence-
item yields at some point the same result, logically.
I'm trying to make the form field d
You lose out on all the wondeful help you get from this mailing list :)
But seriously this is a html generator... dtml is a great deal more than
just a html formatter, it can call objects, run python and lots of stuff.
- Original Message -
From: "Jason Spisak" <[EMAIL PROTECTED]>
To: <[E
Aaron Straup Cope writes:
> I did not want to allow the Anonymous role *any* permissions, and the
> site I am working in is contained in a folder beneath the root Zope
> folder.
>
> The problem was that I had disabled the "Access contents
> information" privilege for the Anonymous user (wh
Seb Bacon writes:
> For me, the 'visibility' problem is a real bugbear. Apart from the
> 'security' issue of anon. users being able to list objectIds, it means I am
> loathe to allow clients to manage their sites through the manage interface.
> This is because they'll see it littered with met
Chris Withers writes:
> Dieter Maurer wrote:
> > Note, that probably Zope user names may contain characters not
> > allowed in Cookie values.
>
> I wonder how hard it would be to implement the following:
>
> Quote all characters not allowed in a
> cookie
It would be easy. The "unquote"
Chris Withers writes:
> Seb Bacon wrote:
> >
> > > Quote all characters not allowed in a
> > > cookie
> >
> > wouldn't do the job?
>
> Dunno... Dieter?
I reread the cookie spec:
in cookie values forbidden are: semi-colon, comma and white space
These are not the characters ha
I'd like to make a form that looks like the typical file
upload form, but will upload ONLY the header of the chosen
file.
Anyone know how / if this can be done?
--
.paul winkler..
slinkP arts: music, sound, illustration, design, etc.
web page:
Howdy Zopsters,
I want to catalog some html files but I want to strip the html tags out.
htmlparser does a good job of that, but when I try to acces that from an
external method, I run into trouble.
import htmllib
import formatter
def index(self, html):
fmtr = formatter.AbstractFormatter(fo
Zopists,
Can anyone tell me off hand any big disadvantages to not using DTML
(Caching, etc...) and using a package like HyperText
http://dustman.net/andy/python/HyperText
to produce html display for your objects, and use python to process it?
Jason Spisak
[EMAIL PROTECTED]
__
On Tue, Oct 10, 2000 at 11:56:11AM +0200, Pierre-Julien Grizel wrote:
>
> So - I had a look at DTMLDocument.py and saw the following method :
>
> def __call__ (self, client = None, REQUEST = {}, **kw):
> ...
>
> SO - I try to create this method for my product :
>
> def __call__ (self, cl
From: Fred Yankowski <[EMAIL PROTECTED]>
> The information you just provided about the DTML Method "call
> signature" and the like is very useful. Is this kind of reference
> material written down somewhere in a guide/how-to/wiki/...?
The only thing I could find offhand is
http://www.zope.org//W
Howdy Zopsters,
I want to catalog some html files but I want to strip the html tags out.
htmlparser does a good job of that, but when I try to acces that from an
external method, I run into trouble.
import htmllib
import formatter
def index(self, html):
fmtr = formatter.AbstractFormatter(fo
On Tue, Oct 10, 2000 at 04:58:46PM +0930, Mark Twiddy wrote:
> Can someone please tell me what is going on. while querying a
> postgres database i am unable to access any crap from zope. I have
> tried creating a db connection in a enternal method and querying
> through that but it still locks an
Hello Philipp!
> 1. Since ZODB does not overwrite objects on change one can get the older versions
>when undoing the changes.
> My question now: how can I access older versions of objects without undoing
>transactions? (I had a short glance at the ZODB classes, but found nothing)
The code
ZSQLMethods does exactly that, have a look at that.
Look at michel's wiki.
- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Heymann William" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 3:56 AM
Subject: Re: [Zope] How: /foo?var=bar equiv t
Yup... the ZODB does grow with each hit. Not much of course, but some. I am
sure for a site such as Zope.org it would not be unmanageable. They most
certainly have automated ways of packing the DB.
J
> From: "Andy McKay" <[EMAIL PROTECTED]>
> Date: Tue, 10 Oct 2000 10:05:24 -0700
> To: <[EMAIL P
Of course the only problem with a hit counter is that high traffic requests
mean continually writing the object into the ZODB each time it gets hit /
downloaded, whatever. Thats why I release FSCounter which uses the file
system. I would like to expand this to cover multiple objects...
- Orig
Hi all,
I've just installed Zope-2.2.1 onto a clean Solaris 8 machine. I've
built Python 1.5.2 from source and have MySQL 3.22 on the server.
I've compiled up the ZMySQLDA product and put the MySQLModule.so in
the correct place (ie one directory up from the src directory).
I've restarted the Z
Take a look at this
http://www.python.org/doc/current/lib/module-exceptions.html
Dan
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/
Hi!
Is there somewhere I can get a list of errors and their
meanings?
Thanks!
Yvonne
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.or
Evan,
The information you just provided about the DTML Method "call
signature" and the like is very useful. Is this kind of reference
material written down somewhere in a guide/how-to/wiki/...?
I tried to figure out the call signature of a Python method by having
the called function use just "(
Joachim Schmitz wrote:
>
Here's your problem, thanks to _'s 'itneresting' implementation of
__getitem__...
...what you really want is:
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross
Hello,
I'm using the photo-product, when one has created a photo-instance "image"
you can render this like so:
now I wanted to loop over all photos in a folder "Images" and did:
that displays all photos in their original size, but
gives:
Error Type: TypeError
Error Value: call of
From: Paul Zwarts <[EMAIL PROTECTED]>
> ValueError: PQsendQuery() -- query is too long. Maximum length is 16382
This is purely a PostgreSQL issue; Some (all? not sure.) versions of PostgreSQL have a
hard limit on
the length of query strings. You have to break your query into multiple smaller
From: Chris Withers <[EMAIL PROTECTED]>
> Pierre-Julien Grizel wrote:
> > It seems that in fact the DTML document doesn't actually pass _.None and
> > _ to my object. WHY ??
>
> This is deep voodoo that I don't fully understand. To me, it appears
> that what you get depends on how your __call_
Yes, it was a misunderstanding regarding basic user permissions and the
Anonymous role on my part.
I did not want to allow the Anonymous role *any* permissions, and the
site I am working in is contained in a folder beneath the root Zope
folder.
The problem was that I had disabled the "Access co
> In fact I need the id from the dtml-method I'm was called from
Try
Dan
Beuserie Frédéric (stbrice dsi) wrote:
>
> hi,
>
> How can I pop back one namespace from the stack ?. In fact I need the id
> from the
> dtml-method I'm was called from.
>
> thanks a lot.
>
> -
Hi together,
Could someone tell me where is the difference between
URL0 and BASE3 or
URL1 and BASE2 ...
Thanks for your helping hand, Hannes
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or
Hello,
it's me again.
I found out what the matter of my problems was.
I tried the animGif on several other computers with different versions of NS,
on every of them it worked.
And here's the kicker: It also worked on another computer which had the same
version installed like me!
Therefore, som
A work around is to pack the DB regularly
(Control_Panel/Database_Management).
On Tue, 10 Oct 2000, Philipp Auersperg wrote:
> 2.Is it possible ( or will be ) to define ZODB objects for which updates are done by
>overwriting
___
Zope maillist - [E
It would be really nice to know how many people are downloading the
products. This would also be a great feature to add to the actual
Zope distribution. I know you could get this from the logs (easily)
but you could also add a small counter to the product 'view' method,
something along the lin
Philipp Auersperg wrote:
> I have two questons concerning ZODB:
>
> 1. Since ZODB does not overwrite objects on change one can get the older
versions when
> undoing the changes.
>My question now: how can I access older versions of objects without
undoing?
> transactions? (I had a short glance
Seb Bacon wrote:
>
> > Quote all characters not allowed in a
> > cookie
>
> wouldn't do the job?
Dunno... Dieter?
> That reminds me, it's silly that there's not ,
> so I patched my zope to provide it. I was wondering if there's a mechanism
> for getting this kind of simple tweak into the so
> Quote all characters not allowed in a
> cookie
wouldn't do the job?
That reminds me, it's silly that there's not ,
so I patched my zope to provide it. I was wondering if there's a mechanism
for getting this kind of simple tweak into the source tree?
seb
__
> > This is because the thing which makes
> > the problem hard is that something like standard_html_header
> wants to be
> > editable by Managers TTW, which means it also has to be visible TTW.
> > However, it's probably not something you want exposed to anonymous
> > users, especially a
I have two questons concerning ZODB:
1. Since ZODB does not overwrite objects on change one can get the older
versions when undoing the changes.
My question now: how can I access older versions of
objects without undoing transactions? (I had a short glance at the ZODB classes,
but found
roland,
there is a precompiled Win32 version available to download at:
http://www.zope.org/Products/Zope/2.2.2/Zope-2.2.2-win32-x86.exe
use that instead.
jens
on 10/10/00 3:02, Roland Tepp at [EMAIL PROTECTED] wrote:
> Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on
> W
Hi again,
Some extra info from reproducing the error again:
ValueError: PQsendQuery() -- query is too long. Maximum length is 16382
This error comes from the traceback AFTER the method is called to store the
list in the dbms so I assume that the error is actually the DBMS field size
and NOT th
Pierre-Julien Grizel wrote:
> It seems that in fact the DTML document doesn't actually pass _.None and
> _ to my object. WHY ??
This is deep voodoo that I don't fully understand. To me, it appears
that what you get depends on how your __call__ was called...
The arguments vary dependign on wh
Heymann William wrote:
>
> I am trying to get rid of those question marks in my urls since it
> seems to confuse the users but I am not sure really how to do that. I have
> heard that it can but done but so far I have not found out how it can be
> done. I want for the last piece of the url to be
hi,
How can I pop back one namespace from the stack ?. In fact I need the id
from the
dtml-method I'm was called from.
thanks a lot.
-
Beuserie Frederic
DSI / Système et Exploitation - 3 Suisses Belgique
Tel: +3269/882485 / Fax: +3269/882491
Email: [EMAI
Dieter Maurer wrote:
>
> Note, that probably Zope user names may contain characters not
> allowed in Cookie values.
I wonder how hard it would be to implement the following:
Quote all characters not allowed in a
cookie
Quote all characters not allowed in a Zope
2.2 id (this one could be real
Toby Dickenson wrote:
>
> On Tue, 10 Oct 2000 10:51:09 +0200, Pierre-Julien Grizel
> <[EMAIL PROTECTED]> wrote:
>
> >I still need help about my product needing to know its namespace...
>
> You also need to read the answers already provided.
>
> http://www.zope.org/Members/htrd/howto/FunctionTe
At 2:03 PM + 10/7/2000, Stephan Goeldi wrote:
>Is there something like webalizer for Zope?
>I would like to create a statistic of my website's visits.
Webalizer and Analog will work great. Zope logs are standard.
J
___
Zope maillist - [EMAIL PRO
On Tue, 10 Oct 2000 10:51:09 +0200, Pierre-Julien Grizel
<[EMAIL PROTECTED]> wrote:
>I still need help about my product needing to know its namespace...
You also need to read the answers already provided.
http://www.zope.org/Members/htrd/howto/FunctionTemplate
Toby Dickenson
[EMAIL PROTECTED]
Well, beeing very straightforward, I read this, in
OSFP/Help/DTMLDocument.py :
"""
A DTMLDocument implicitly pass itself as a client argument in
addition to the specified client, so names are looked up in
the DTMLDocument itself.
Passing in a namespace to a DTM
Chris Withers writes:
> Toby Dickenson wrote:
> > Those people were concerned that too many things were exposed via
> > ZPublisher also My interpretation was that the issue is one of
> > access control, not publishing protocol.
>
> I think the issue is that you can't limit the visibilit
Seb Bacon writes:
> I know how to create a form that does what I want (update properties,
> whatever). What I don't know is how to include it as part of the rendered
> content programmatically. At the moment users have to go to
> www.widgets.com/manage_content, log in, and see a set of forms
Roland Reumerman writes:
> 1) When I set a cookie with the path set to the root
>
Be careful with "cookies"!
The value of a cookie it quite severely restricted (must not contain
many characters; you read the cookie specification?).
In your case, the value is not a string at all but a
Zope ob
Brian Withun writes:
> I have two ZClasses. One ("Album") is folderish, and serves as a photo
> album. The other ("Photo") isn't and serves as a photo in an Album. Albums
> can contain only Albums and Photos.
>
> I would like to have a dtml-tree represent this hierarchy of Albums and
> P
Francisco =?ISO-8859-1?Q?Jos=E9?= Esteban =?ISO-8859-1?Q?Risue=F1o?= writes:
> this is the standard behaviour in a HTML form. To avoid this problem we
> include
> an line like this:
>
>
>
>
>
>
> in the method that receives the form data.
Alternatively, you may try a default value
From: Lars Heber [mailto:[EMAIL PROTECTED]]
>Sorry, I think you misunderstood me!
>I _don't_ want to stop the gif, but it does after the last frame! --
>Now I tried the same Zope page in NS and IE, this phenomenon appears only
with
>NS...
I did understand you, but I could not replicate your prob
Hi all,
I am new to Zope but worked for 2 years in a dev-env called Uniface so
Im fairly up to speed on Zope quickly. But I am having a problem writing
data through a REQUEST.set that is larger than its apparent limit.
(sorry can remember the exact error i get from Zope)
What I am trying to do i
Hi,
I still need help about my product needing to know its namespace...
Look at the following piece of DTML Meth/Doc :
Right.
MyProduct is my product's instance, defining the following method :
def __call__ (self, REQUEST=None):
if REQUEST is None:
if
Hi,
Can someone please tell me what is going on. while querying a postgres
database i am unable to access any crap from zope. I have tried creating a
db connection in a enternal method and querying through that but it still
locks and wont serve any requests.
a
Mark
_
Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on
WinNT to run without pcgi and it fails (console output following this letter).
I tried to track down the problem but I don't seem to make any progress.
Could You help me please...
---
80 matches
Mail list logo