-Original Message-
From: Bill Anderson [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 1:42 PM
To: Jay, Dylan
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] Zope 2.2b2 security conundrum
"Jay, Dylan" wrote:
I am playing with ZDP-Tools which are ZClassed based. When
I
Hi Zopers,
I have found out that when using the datatype "lines" in my own
ZClass it won't obey to the locale settings. That means that the
words coming from "lines" look like: t/370nk. And therefore they
don't get correctly indexed in the database.
I'm running Zope 2.1.6 (on both linux and
I'm looking for an internal globally unique identifier for objects in my
Zope store.
I know that I can use id=object.absolute_url() to create an identifier and
then something.resolve_url(id) to recover the object from the identifier
-- but I have two problems with this API:
1. The URL is not
On Sun, 25 Jun 2000, Brian Lloyd wrote:
Did you try to _import_ the tutorial or add it from the "add list"
in the management interface? It is intended that you should add it
from the add list (this should be better documented though...)
Both variants didn't work for me - both gave "len()
"Jay, Dylan" wrote:
-Original Message-
From: Marco Mariani [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 23, 2000 9:54 PM
To: Jay, Dylan; [EMAIL PROTECTED]
Subject: Re: [Zope] (no subject)
On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote:
It seems to me
This is actually fixed in both 1.1.4 and in 1.2.0. The problem has to do
with type conversions from a dictionary in the adapter. Any type of
non-row function or aggregate returns a type of 'unhandled' which was
not mapped in the conversion dictionary. This is fairly much the bug
that called for
Oleg Broytmann wrote:
On Sun, 25 Jun 2000, ethan mindlace fremen wrote:
repeatably make 2.1.6 not work with SiteAccess 1.0.1 , you should let us
know about it. I don't think there are millions of failures with
SiteAccess.
There certainly are. Many people in Russian Python/Zope
Hi everyone, especially J. David Ibáñez and Federico Di Gregorio :-)
Since Federico did not reply to my mail I am posting this on the list to gain
responses.
We **need** a translator package for Zope. We will be hosting a site that will
have the feature to "speak" different languages.
So I got
Hi,
I tried to embed an SQL method statement inside my dtml-in listing, the
problem I'm facing was, will Z sql method detact the value I passed in, let
say :
# This is my first listing
dtml-in abc_sql_statement
#another sql_statement
dtml-in bcd_statement
dtml-var xyz
Hello
I want to know more about Zope.
I have seen few site powered by Zope. One thing I had noticed is that almost
all of those sites are mostly static pages. I mean I am interested to see
how can Zope be used for a portal. like containing many pages having lots of
form variables. database
I'm running Zope 2.1.6 under Windows 2000. I've encountered a situation
where I can cause Zope to completely hang. For example, if I create a
DTMLMethod called test in the root folder and give it this
contents (leading spaces on the table tag are important):
table width="100%"
i am using 2.2 Beta 2 and every time i attempt to add a new folder, or a dtml
document, i keep having this error
Error Type: SuperCannotOwn
Error Value: Objects cannot be owned by the superuser
I never got this with 2.1.6 is this an error in the 2.2 beta 2 version, or do u think
i just have
I only have a few internationalized pages, but I'm more than half-way
happy with a very simple approach:
1) an External Method "preferred_lang", which takes a list of possible
languages as argument, and returns the language from that list that
has the highest ranking in
- Original Message -
From: Jimmie Houchin [EMAIL PROTECTED]
This is what I understand based on your reply and from the paper by Jim.
1. That there are solutions currently being worked on by DC (implied).
Yes, worked on does not mean 'Coming Soon to a Zope near You!' :)
2.
I have seen few site powered by Zope. One thing I had noticed
is that almost
all of those sites are mostly static pages. I mean I am
interested to see
how can Zope be used for a portal. like containing many pages
having lots of
form variables. database connectivity etc. what is the
hi,
this is a strange error. I have just tried on my win nt 4.0 Zope
2.1.6 with the same result.
I'm running Zope 2.1.6 under Windows 2000. I've encountered a
situation where I can cause Zope to completely hang. For example,
if I create a DTMLMethod called test in the root folder and give
Luc Tonin wrote:
does anybody know how to have some statistic about each web pages
under zope?? each pages is da result of query on a mysql database !
any id ???
thx by advance
I don't know if this is what you mean, but you can use webalizer or
another statistics package on the log file
I used to be able to use URLs like this in Zope 2.1.6:
http://mysite.com/somepage?url=http://somewhere.com
In Zope 2.2.0b2, I get a "404 File Not Found" error. Do I need to URL-quote
the address now?
___
Zope maillist - [EMAIL PROTECTED]
Ha ha, still stranger results. I tried it on an NT4.0
machine and it hangs as well. Changed it to
table border=0 cellspacing=0 cellpadding=0
- no quotes and no width
and it works fine. What the %#@%%^ ???
Can't play much with it because there are
users on the system :-( Nothing on the
Hi Roché
Thanks Pierre
This is a relief, I really didn't want to switch back to pcgi. I have
worked a little bit with the rewritemodule but if anybody has an example on
how to do this it would really be helpfull.
Roché
I don't know if it help, but
My problem was to serve any
I'm looking for an internal globally unique identifier for
objects in my
Zope store.
The object path would be that.
I know that I can use id=object.absolute_url() to create an
identifier and
then something.resolve_url(id) to recover the object from
the identifier
-- but I have two
Do a view source on the page to show the traceback contents when they
don't show up within the page body.
-Original Message-
From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 11:08 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope]
As promised I did some checking over the weekend.
As for Windows editors, Homesite WILL let you create tags,
it works quite well actually. One draw back (or a blessing,
depending on your view) would be that it would force you to
do dtml attributes long form, for example:
in an external method, would not this work?:
def getclass(self, ob):
return type(ob)
Then use the getclass fn from DTML:
dtml-var "getclass(anobject)"
-Original Message-
From: NABETH Thierry [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 4:11 AM
To: '[EMAIL PROTECTED]'
It has to do with the new security model. The supuser can no longer own
stuff.
Monty
Original Message
On 6/26/00, 3:31:02 PM, frank cuzzocrea [EMAIL PROTECTED] wrote
regarding [Zope] problem with the beta:
i am using 2.2 Beta 2 and every time i attempt to add a new folder, or a
dtml
Could anyone clue me into what I'm doing wrong here. I have searched the
archives and can't find the answer.
Thanks!!
Error Type: AttributeError
Error Value: 'string' object has no attribute 'propertysheets'
!--
Traceback (innermost last):
File
Having discovered that [my] Z Class is in the wrong product,
I'd like to
move it elsewhere. The obvious thing to do is to use Cut + Paste;
unfortunately, I get:
The item my-item does not support this operation.
(The function manage_copyObjects is not happy!)
I can't think of
I remember DC submitted PythonMethods into CVS, but I cannot find
PythonMethod in 2.2.0b2. Are PythonMethods for later
versions? Or it will
be separated Product forever?
I have downloaded latest PythonMethods and successfully
installed the
component, but shouldn't it be in
On Mon, 26 Jun 2000, Brian Lloyd wrote:
future to move ZClasses around, but something will still need
to be done about existing instances created from a class that
moves. So far we have avoided the hard thinking required to
If there are no instances to worry about, could one export the
- Original Message -
From: Nestor A. Diaz L. [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, June 26, 2000 7:47 PM
Subject: [Zope] How-to Bypass DTML Code?
Hi, anyone know how to bypass the dtml-code, that's because i'm writing a
howto with showing the use of some "dtml-tags"
On Mon, 26 Jun 2000, [iso-8859-1] Hamish Lawson wrote:
What I think I need to do is to develop a facility that makes a
tutor's site into a product. Instantiating such a generated product
should make a smart clone of the master site, smart in the sense that
only active objects are actually
I think the correct syntax is (at least for my my install of zope):
lt;dtml-var foogt; -- this rendersdtml-var foo
not :
gt;dtml-var foolt; -- where as this renders dtml-var foo
Dan
Chris McDonough wrote:
Use
gt;dtml-var foolt;
instead of
dtml-var foo
-Original
"Nestor A. Diaz L." wrote:
Hi, anyone know how to bypass the dtml-code, that's because i'm writing a
howto with showing the use of some "dtml-tags" so it tries to interpreting
it rather than only showing them.
try this
pre
dtml-var "_.str(your_code_sample"
pre
---
Hannu
Hi Jimmie !
Jimmie Houchin wrote:
This sounds weird ! Well, every page on the ZDP site has a Maintainer,
and that is displayed on the top right. If you click on that link,
you get to the member page, where the email exists.
I go back again to make sure of what I saw. In the upper right
Hi everyone,
I'm working on what should be a simple problem.
I pulling an address out of an ldap query and the data is in the form of a
$-separated string. Example:
101 Main St.$Anytown$MN$12345
Please correct me if I'm wrong, but I could probably do dtml-call
"REQUEST.set('parsed_address',
Dear coleagues,
I decided to use Zope as an Interface to maintain and
search a touristic information database. All text is
stored in MySQL tables and images will be stored
outside the database, for cache reasons (I will keep
only the path as TEXT columns in MySQL tables). My
question is:
On Mon, 26 Jun 2000, Timothy Wilson wrote:
"REQUEST.set('parsed_address', _.string.join(old_address, '$')" except for
This is exactly correct. Inside the quotes you are in python, and
so you can reference variables from the namespace by their unadorned name.
Second question... Once I've got
I'm working on what should be a simple problem.
I pulling an address out of an ldap query and the data is in the form of a
$-separated string. Example:
101 Main St.$Anytown$MN$12345
Please correct me if I'm wrong, but I could probably do dtml-call
"REQUEST.set('parsed_address',
On Mon, 26 Jun 2000, Rik Hoekstra wrote:
Please correct me if I'm wrong, but I could probably do dtml-call
"REQUEST.set('parsed_address', _.string.join(old_address, '$')" except for
the fact that getting "old_address" (the $-separated one) would require its
own dtml-var old_address
Hello All,
A newbie question. Is there any hints and tricks how to establish
connection between CASE like ERwin and Zope? We plan to develop a
a medical record system based on SQL database so data scheme is
essential. And all business rules will be held in Zope. SQL tables as
I realize should be
On Mon, 26 Jun 2000, Rik Hoekstra wrote:
try something like (untested):
dtml-call "REQUEST.set('parse_address', _string.split(old_address, '$')"
for parsing the string
But what if "parse_address" comes from a SQL query? Like this:
dtml-in qry_contactInfo
dtml-call
Hi all,
Zope 2.2.0 beta 3 has been released - you can download it from
Zope.org:
http://www.zope.org/Products/Zope/2.2.0b3/
This release resolves the "len of unsized object" error some
folks were seeing with their SQL methods as well as an issue
with broken installed products causing a
Timothy Wilson wrote:
On Mon, 26 Jun 2000, Rik Hoekstra wrote:
try something like (untested):
dtml-call "REQUEST.set('parse_address', _string.split(old_address, '$')"
for parsing the string
But what if "parse_address" comes from a SQL query? Like this:
dtml-in qry_contactInfo
On Mon, 26 Jun 2000, Timothy Wilson wrote:
On Mon, 26 Jun 2000, Rik Hoekstra wrote:
try something like (untested):
dtml-call "REQUEST.set('parse_address', _string.split(old_address, '$')"
for parsing the string
But what if "parse_address" comes from a SQL query? Like this:
This release fixes a problem with erasing cookie of expired sessions on the
Linux platform. Thanks to Felipe Alvarez for pointing out the problem to me.
HappySession is an easy-to-use RAM-based session management product. It can
be found at:
Hi,
I'm trying to install ZOracleDA. I've managed to get DCOracle to build,
but the test fails with this traceback:
-
[root@balrog src]# python DCOracle_test.py
Traceback (innermost last):
File "DCOracle_test.py", line 1, in ?
import Buffer, oci_, sys
ImportError:
Thank you.
- Original Message -
From: "Dieter Maurer" [EMAIL PROTECTED]
To: "Andy McKay" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, June 23, 2000 3:07 PM
Subject: Re: [Zope] Stupid question of the day
Andy McKay writes:
How do I find the size of the results returned by
Hi Brian,
Jochen Knuth wrote:
in preparation for the LinuxTag 2000 i tried to add the Zope
Tutorial to
Zope 2.2.0b2 (and fresh CVS versions of the last three days) but i get
the following error (i think it's the same error as Oleg mentioned):
Error Type: TypeError
Sorry, the URL should be:
http://www.zope.org/Members/hungjunglu/Products/HappySession
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
___
Zope
Jay, Dylan writes:
...
Perhaps another example will prove its uglyness.
dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and
_[some_value] == 'a property value' and
AUTHENTICATED_USER.has_role('Manager')"
a href="a_url"
/dtml-if
link text
dtml-if
-Original Message-
From: Marco Mariani [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 26, 2000 6:39 PM
To: Jay, Dylan
Subject: Re: [Zope] (no subject)
On Mon, Jun 26, 2000 at 02:56:39PM +1000, Jay, Dylan wrote:
dtml-if X
a href="a_url"
link text
/a
-Original Message-
From: Dieter Maurer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 3:31 AM
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: RE: [Zope] (no subject)
Jay, Dylan writes:
...
Perhaps another example will prove its uglyness.
dtml-if
+[ Nestor A. Diaz L. ]-
| Hi, anyone know how to bypass the dtml-code, that's because i'm writing a
| howto with showing the use of some "dtml-tags" so it tries to interpreting
| it rather than only showing them.
|
It's easy:-
Make a method
I'm having some problems with standard_error_message on 2.2.0b2. According to the
mailing list archives I should be able to override NotFound errors (I even
cut-n-pasted http://www.zope.org/standard_error_message/view_source into my own
standard_error_message in case I was missing something)
Green things,
I've had a site in development (almost ready to deploy) and in testing for
some time. I just went to go through another test run, when a previously
working page suddenly generated the following error:
Error Type: OperationalError
Error Value: (1017, "Can't find file:
I suspect this is coming from MySQLdb. From the Python DB-API spec:
OperationalError
Exception raised for errors that are related to the database's
operation and not necessarily under the control of the
programmer, e.g. an unexpected disconnect occurs, the data
source name is not found, a
Linux distributions come bundled with a bunch of "free" icons. And I beleive
there are some ...tar.gz archives on metalab.unc.edu (former sunsite.unc.edu).
-Holger
Am Mon, 26 Jun 2000 schrieben Sie:
Hi,
I need some icons/pics for my Zope project. Are there any common icons for
Zope I could
On Fri, 23 Jun 2000 21:27:43 +0200 (CEST), Dieter Maurer
[EMAIL PROTECTED] wrote:
Toby Dickenson writes:
I'm about to start looking at running Zope on python 1.6 (Im feeling
the need for better Unicode support).
Almost surely, it will work.
But it probably will not use the Unicode support
Jephte CLAIN wrote:
There is a bug (a feature?) in Specialist.getItem in zpatterns-0.4a4:
def getItem(self, key):
if hasattr(self.aq_base,'retrieveItem'):
return self.retrieveItem(key=key) # XXX need DTML check?
for rack in self.rackList:
item =
mike wrote:
I also think so, Jephte. But I thought 'for rack ...' was just a shorter
form of
if len( rackList) 0) :
return rackList[0].__of__( self).getItem( key)
else :
return None
The intended behavior (at least in zpatterns-0.3) was to get an item
from one of the racks. This is
At 01:08 PM 6/26/00 +0400, Jephte CLAIN wrote:
This code should (IMHO) read:
def getItem(self, key):
if hasattr(self.aq_base,'retrieveItem'):
return self.retrieveItem(key=key) # XXX need DTML check?
for rack in self.rackList:
item = rack.__of__(self).getItem(key)
TJM That did it! But... :) I ended up having to re-create all
TJM my ZSQL methods, which was funny because they all worked in
TJM the beta 1 but not in beta 2. I kept getting len() of
TJM unsized object errors. Anyway, re-creating them all from
TJM scratch (ugh..)
On Fri, Jun 23, 2000 at 10:34:50PM -0400, Evan Simpson wrote:
I've barely had a free second with functioning brain
capacity this past
week, but I'm interested. More so now that Secret Labs has
announced their
SOAP client library at
http://www.pythonware.com/products/soap If you
Has anyone at DC looked at the setup.py scripts I posted a while back?
Any questions? Any opinions? Anyone care for a mint?
--amk
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
OK, I have aproblem that is largely baffling me.
I have Meerting Management installed and working properly ... for the
most part.
If I use the following code to add a Managed Meeting, it works fine:
a
href="/LAN/manage_addProduct/MeetingManagement/ManagedMeeting_factory"Add
LAN Party/a
I get
"R. David Murray" wrote:
OK, I've stared at this for a couple days and have not made any progress.
Perhaps others will have some insights.
Zope 2.2.0b2, clean install. Works fine. Add EMarket. Now the
management is broken. Accessing the base URL of the site with
/manage_main appended
On Mon, 26 Jun 2000, Lalo Martins wrote:
I had the same problem ("Contents" tab not appearing) and it
didn't even occur to me that it might be a Product (because
that happened before the update on Products was released).
After much munching trough the code, I made the simple change
This new beta has fixed some problems for me and the documentation on
the new security model for products has really helped...
However, I seem to be getting errors in previously (2.1.6) dtml
try/except structures.
1. dtml-except now seems to die unless there's an error_type parameter
(I usually
68 matches
Mail list logo