I'm using CVS Zope, and I want to add a function of mine to _, so I have the
following code in a Product's __init__.py:
from log2vis import log2vis
from DocumentTemplate.DT_Util import d
d["log2vis"] = log2vis
However, when I call the function, I get an error about DocumentTemplate,
Chris Withers [EMAIL PROTECTED] writes:
I wonder what Simon Michael is up to nowdays?
I have been visiting family.. I'll be back in the US next week.
Great thread here. I also feel this pain, grovelling around between
wiki, mailing list, newsgroup, message board, etc.
I wonder if we should
On Fri, 15 Sep 2000 11:27:33 -0400 (EDT), Ken Manheimer
[EMAIL PROTECTED] wrote:
(Not sure that will scale, but creating new lists for each proposal
definitely won't scale.
I dont see this as a problem: You only create a new list when the
traffic for that proposal gets too great for zope-dev.
On Fri, 15 Sep 2000 11:40:09 -0400 (EDT), Ken Manheimer
[EMAIL PROTECTED] wrote:
Do you feel that weblogs are bad models for debates?
I find the wiki and weblog tools available today to be inferior to
mailman for debates, and it will take alot of work to develop WikiNG
into a serious contender.
Hi all,
There's a new version of the calendar tag, I need feedback about
it, specially from those who use the "setCalendar('url_', ...)"
hook or the "linkDate(...)" function.
thanks,
david
___
Zope-Dev maillist - [EMAIL PROTECTED]
From: Phillip J. Eby [EMAIL PROTECTED]
[snip description]
The effective external behavior of these two attributes, would be to let a
web designer load and save any page or template they wished in the site,
freely making changes to the header, footer, or various embedded elements
thereof, and
From: Itamar Shtull-Trauring [EMAIL PROTECTED]
However, when I call the function, I get an error about DocumentTemplate,
from which I discovered that when I call _.logvis('a_string'), instead of
the string being passed as the first parameter, _ is passed as the first
parameter to my function,
Has anyone done anything with soap and zope?
/Magnus Heino
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
I posted this to the PTK list on Friday, but didn't get any responses
over the weekend, so I'm reposting here.
I feel that a barrier to Loginmanager and Membership becoming more
generally usable for site builders is it's current lack of support for
local roles. Specifically, members do not show
Hi, I'm wondering if it is possible to use ZPattern Plugins in a
non-ZPatterns Product? Allowance for Plugins would be a very useful feature
in many applications.
kh
___
Zope-Dev maillist - [EMAIL PROTECTED]
Kevin Howe wrote:
Hi, I'm wondering if it is possible to use ZPattern Plugins in a
non-ZPatterns Product? Allowance for Plugins would be a very useful feature
in many applications.
You can use PlugIns without using the rest of ZPatterns, such as
DataSkins and Racks. You still have to have
Michael Bernstein wrote:
I posted this to the PTK list on Friday, but didn't get any responses
over the weekend, so I'm reposting here.
I feel that a barrier to Loginmanager and Membership becoming more
generally usable for site builders is it's current lack of support for
local roles.
Splitting into DataSkins and Plugins sounds like a really sensible idea, I
defintely put my vote in for that.
- Original Message -
From: "Steve Alexander" [EMAIL PROTECTED]
To: "Kevin Howe" [EMAIL PROTECTED]
Cc: "ZOPE-Dev Mailing List" [EMAIL PROTECTED]
Sent: Monday, September 18, 2000
[EMAIL PROTECTED] wrote:
So the standard_page_template default wrapping is an attempt at a
compromise.
It's wrong.
Please elaborate your position. :-)
Why is it wrong?
Shane
___
Zope-Dev maillist - [EMAIL PROTECTED]
Hi all -
For those interested, I've finally gotten the current plan for
the next planned Zope feature release online on dev.zope.org:
http://dev.zope.org/Resources/zope_230_plan.html
Note that there is no planned date at this point. If there is
something that you think should be on there
Is there an method that I can use as a hook when an object is destroyed? (Im
trying to save some _v_ data prior to destruction. Ive tried __del__ but
this doesnt seem to get called.
Thanks.
--
Andy McKay, Developer.
ActiveState.
___
Zope-Dev
Finally woke up on this problem.
Got this working by simply calling resolve_url upon the request object. But
what I want is a result that changes depending upon the object. Let's face
it, this can be acheived a whole lot easier by creating a method for the
objects and calling that.
So thats
If it's an object in an objectmanager, you can define a
manage_beforeDelete() method on it (see ObjectManager.py).
How are you destroying it?
[EMAIL PROTECTED] wrote:
Is there an method that I can use as a hook when an object is destroyed? (Im
trying to save some _v_ data prior to
I was hoping to have this method fired Zope is shut down, restarted etc and
not call it implicitly. The theory being if this object is cached it will
have to be unloaded at some point?
Ive used manage_beforeDelete() elsewhere and it works fine when Im
destroying an object whilst ZODB is still
Wow thanks. I'll see what I can do. I can think of a whole bunch of uses for
that.
- Original Message -
From: "Chris McDonough" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, September 18, 2000 3:10 PM
Subject: Re: [Zope-dev] __del__
Oh I see... objects
On Sun, Sep 17, 2000 at 11:22:49PM -0300, Lalo Martins wrote:
Why doesn't Anonymous have permission to call has_permission on
itself? This is counter-intuitive to say the least...
Ooops... they have, kind of. The Anonymous user object inherits
the permissions from the top-level User Folder
Steve Alexander wrote:
Michael Bernstein wrote:
I posted this to the PTK list on Friday, but didn't get any responses
over the weekend, so I'm reposting here.
I feel that a barrier to Loginmanager and Membership becoming more
generally usable for site builders is it's current lack
Michael Bernstein wrote:
Steve Alexander wrote:
Michael Bernstein wrote:
I posted this to the PTK list on Friday, but didn't get any responses
over the weekend, so I'm reposting here.
I feel that a barrier to Loginmanager and Membership becoming more
generally usable for
Michael Bernstein wrote:
Steve Alexander wrote:
Michael Bernstein wrote:
I posted this to the PTK list on Friday, but didn't get any responses
over the weekend, so I'm reposting here.
I feel that a barrier to Loginmanager and Membership becoming more
generally usable for
Michael Bernstein wrote:
Does anyone on the list know how to change the getUserNames
Python method to return a list of names instead of a list of
objects?
The code in question is this:
user_ids=self.UserSource.getPersistentItemIDs()
names=[]
for i in user_ids:
I figured out how to get this to work (finally).
In the acl_users LM, add the following two Python methods:
- getUserNames -
Parameter List:
self
Body:
user_ids=self.UserSource.getPersistentItemIDs()
names=[]
for i in user_ids:
names.append(i)
I want to use zwiki-sites in a table:
+---+---+
| some | ZWiki-Sites |
| stuff | |
+---+---+
The ZWiki-Sites ok, but editform and backlinks won't work.
I'm a DTML-novice.
Thank's
--
Uwe
Hi,
I've written a form whose contents are emailed with dtml-sendmail.
It works great, but I want to include a field in the form to select a
file
which should be included as an attachment in the email.
I've used dtml-mime and dtml-boundary as explained in the
manual but it does not work. The
This is funny. HDs are so cheap today,
Er, this is fine if you're building a new box (and if you're using
simple IDE drives) but rather less so if you've exceeded the capacity on
an existing system and/or you're using SCSI drives.
Yes capacity is cheap, but /adding/ capacity is rather less
Hi all!
I'm using LoginManager to provide for a non-HTTP authentication. A role
"Member" has access to a folder "Restricted", the
role "Anonymous" doesn't have any rights at all in this folder. All objects
in this folder acquire these security settings.
So far, so good.
The login form from the
Guten Abend.
Er, this is fine if you're building a new box (and if you're using
simple IDE drives) but rather less so if you've exceeded the capacity on
an existing system and/or you're using SCSI drives.
I use Ultra Wide SCSI on my main workstation. Compared to what I had to
pay for a 20 MB
Hi,
I installed ZmySQLDA and that mysqldb extension. A test with python "import
_mysql" works, but in the control panel the ZMYSQLDA is broken:
ZMySQLDA Import Traceback
Traceback (innermost last):
File "/usr/local/zope/lib/python/OFS/Application.py", line 396, in
import_products
Hi all.
I'm sorry if this is discussed before, but my search thru the archive
did not yield any results.
Basically, this is what I want:
1. I have a file that I want to upload. That I know how to do.
2. Then I want to use the properties of the file I uploaded (id, size,
name and so forth)
Sorry for the malformed subject header on the last post, corrected now.
Previous post:
Hi all.
I'm sorry if this is discussed before, but my search thru the archive
did not yield any results.
Basically, this is what I want:
1. I have a file that I want to upload. That I know how to do.
2.
Hi,
I´ve got it running. ZMYSQLDA could not find the libraries from mysqldb.
Yes, you´re right, it was a FAQ.
BTW: Is there any product that acts as acl_users which allows to collect
more information from my users, like company name, adress ... ?
MfG / best regards,
Peer Dicken
IMD
Hello,
I'm going to adapt Yihaw 1.0 in French (for the visible part for our
users).
I'll use VaryTag (and not ZBabel to avoid SQL dependency).
In order to avoid duplicate work, is there anybody already involved
in adapting Yihaw to multi-languages ?
Regards.
--
Didier Georgieff
DDAF du
Hello,
Just after installing VaryTag, Zope (2-1-6) restart fine, but when i
try to connect to my zope adress, i got an error (traceback further).
So i stopped Zope, removed the VaryTag product, and the error is
still here.
So, i don't have access to my manage screen to remove the
VaryTag
Hi Didier,
so it looks like the vary Tag may be not compliant
to older ( 2.2.x) releases of Zope?
I have to check this. You should probably check if
you really need an ancient version of Zope ;-)
I'm really wondering how the tag can cause such a
behavior. Its almost an extract of the mime-tag
Re again,
I just checked with 2.1.6 (winNT) and it worked without problems.
Can anybody else confirm this?
Regards
Tino
Didier Georgieff wrote:
Hello,
Just after installing VaryTag, Zope (2-1-6) restart fine, but when i
try to connect to my zope adress, i got an error (traceback
Hey all,
I have a major problem! Our Zope site is crashing every few hours. I've
grep'ed the python processes and they are still running but I can't
access any pages. It's very strange because it just started happening
last thursday. Prior to that we had no problems. No changes were made to
the
On 16 Sep 2000, 16:17 Chui Tey wrote:
ZGDChart with more chart styles, data from non-SQL sources, plus Linux
binaries.
After installing ZGDChart, I noticed a handfull of new permissions
with strange one-letter names, including a blank one, but no "Add
ZGDCharts" permission.
Changing
Hello everybody
Maybe the answer is easy, but I can not find the solution:(and maybe I was
completly wrong about permissions)
I have a folder containing SQLs and methods:
/project
and a subfolder who has his access and view security setting disable for
anonymous:
/project/protected
When
Just put an index_html under protected folder
the user will get access denied...
On Mon, 18 Sep 2000, you wrote:
Hello everybody
Maybe the answer is easy, but I can not find the solution:(and maybe I was
completly wrong about permissions)
I have a folder containing SQLs and
I ´ve got it running. ZMYSQLDA could not find the libraries from
mysqldb. Yes, you´re right, it was a FAQ. BTW: Is there any product
that acts as acl_users which allows to collect more information from
my users, like company name, adress ... ?
Hello Peer,
We've got the other "half-empty
Yes, I know, but I want to avoid duplicating methods. And I would like to
understand why it's not working as expected.
Gilles
-Original Message-
From: Diego Rodrigo Neufert [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Monday, September 18, 2000 5:36 PM
Subject: [Zope]
Hello list,
I just tried to install SiteAccess, because I need virtual hosting with
Apache and Zope which works great - instead of the "rootfolder"-thing that
SiteAccess is for.
Without SiteAccess everything works fine:
http://my.server.dom:8080/manage and http://vhost.server.dom/ (using
As a follow-up, is it possible to evaluate DTML that is returned from
an SQL Query?
-Magnus
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
On Sat, Sep 16, 2000 at 02:04:59PM -0400, Chalu Kim wrote:
Here is the trace;
2000-09-16T17:34:55 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\000\000\017\225'
Traceback (innermost last):
File /usr/local/Zope-2.2.0-src/lib/python/ZODB/Connection.py, line
447, in setstate
Thanks!
I'm having trouble though in that after deleting the old product and trying to import
the new product I get an error that KMyear already exists. Am I doing something wrong?
Josh
At 10:40 AM -0400 9/16/00, Kevin Dangoor wrote:
Hi,
I've had a few reports of trouble with KM|Net
Hi everyone,
I'm rolling my own resume'-posting application for Zope 2.2.x using custom
ZClasses and methods, and I have a question: what's the DTML for making
these objects auto-delete after x number of days?
I think I have to tell a method displaying the resume's to apply
manage_delObjects
Hi Melanie,
Can you make sure nothing is pointing to: stage.nyc.local.cbsig.net
Please have anything pointing there go to www.cbsnewyork.com instead.
Thanks.
Tom Scheidt
Design Manager
cbsnewyork.com
EMAIL:[EMAIL PROTECTED]
PHONE:212.975.7807
PAGER:917.566.1061
[EMAIL PROTECTED]
Hi Tim !
Tim Cook wrote:
Tim Cook wrote:
Anyway I pickled the dictionary and it's just over 1.3MB so I
thought I'd use an external method to read the pickled object,
pass it the paragraph and test for the correct code(s), then
return a list. Is this the most effective way to use
=?iso-8859-1?q?J=F8rn?= Helge B. Dahl writes:
So, what I do not know, is how I "extract" the information from the file
upload, and make it available to my sqlMethod.
This is an FAQ (answer found in the searchable list archive!).
Uploaded files are "ZPublisher.HTTPRequest.FileUpload"
Gilles Lavaux writes:
Maybe the answer is easy, but I can not find the solution:(and maybe I was
completly wrong about permissions)
I have a folder containing SQLs and methods:
/project
and a subfolder who has his access and view security setting disable for
anonymous:
Gijs Reulen writes:
If you use the "PropertyManager" interface (as you should),
then string values are *converted* to the correct type automatically.
Not so, according to my info and tests:
From the Zope 2.2.1 API docs on manage_changeProperties(self, REQUEST=None,
**kw):
Hi Joshua,
See the "The Debugger Is Your Friend" how-to on Zope.org by Michel
Pelletier.
[EMAIL PROTECTED] wrote:
Is there a way to edit Data.fs independent of the Zope interface?
From what I can tell I have a remnant of a deleted product still "registered") and
therefore can't add a
Nitesh Dhanjani writes:
Hello,
I have a Z SQL method which returns me a string like {{"a"},{"b"},{"c"}}
Is there anyway I can write a dtml-in loop to pick out each element from
the string? I want to be able to do something like:
dtml-in my_zsql_method_which_returns_a_string
"Suhail Murtaza" writes:
hello sir...
Thanx for responding.
i have tried all the things ur goodself mentioned and
tried it again today after reading ur mail..but somehow
couldnt come up with success..
There is an essential thing with "dtml-sendmail".
The header fields must not be
Tom Deprez writes:
Any experience with using nested in tags with ZSQLMethods?
A FAQ.
The searchable archive contains at least 5 threads about this theme.
If I use nested in-tags iand use the previous-sequence, ... tags (in the
inside in-tag) it seems that it looks at the first (outside)
Is there a way to edit Data.fs independent of the Zope interface?
From what I can tell I have a remnant of a deleted product still "registered") and
therefore can't add a new/similar product because it has an identical class-id. The
product is a z-class so it's gone from the product menu and
I am also experiencing the problem of two different users sharing the same
session inadvertently. However, in my case, I can disqualify a few things
that were previously discussed as possible reasons why this happens and
add some more info:
- Zope is running without Apache
- Clients have
Thanks too all who replied, I may have simplified my problem a little too
much before posting it.
The heart of it is that I'd like to have the Zope evaluate an arbitrary string
as if it were a DTMLMethod
For those interested, here is what I ended up doing...
Oops. Forgot to mention, this patch adds a new param to the tree tag,
'urlparam_expr' which is a Python expression to evaluate and use as the
urlparam.
--jfarr
- Original Message -
From: Júlio Dinis Silva [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 18, 2000 12:59 PM
Maik Roeder wrote:
I guess the Catalog doesn't support OR searches, which would
do what you need.
Actually the ZCatalog solution works. But having 15,212 instances
of a ZClass in one BTree folder was pretty slow. I ASS-U-MEd that
an external python method might provide a better solution?
Hi Tim !
Tim Cook wrote:
I guess the Catalog doesn't support OR searches, which would
do what you need.
Actually the ZCatalog solution works. But having 15,212 instances
of a ZClass in one BTree folder was pretty slow. I ASS-U-MEd that
an external python method might provide a better
I am trying to format a date value that is returned by a ZSQL method but
keep getting an error.
I am using the same format string where I use ZopeTime dtml-var ZopeTime
fmt="%m/%d/%Y".
Yet when I try to use it for a timestamp field from PSQL I get the following
error.
Error Type: ValueError
OK maybe I'm missing something, but I can't see how to use the debugger to get
information that Zope won't normally serve anyway. I'm trying to find the remnant of a
product that didn't' get completely deleted. It doesn't appear on the management
interface and I can't see anything with the
i'm no expert, but have you tried starting zope in debug mode or with
STUPID_FILE_LOGGER enabled?
that may help point where the errors may have come from
http://lists.zope.org/mailman/listinfo/zope-dev )
--
http://www.kedai.com.my/kk
http://www.kedai.com.my/eZine
I will follow you!
Hello friends. We at Digital Creations have been pretty low-key about
promoting job announcements. I'll break the tradition, but only to
promote someone else's job position. The reason I'm getting involved is
the project is a Big Deal for Zope and the folks involved are great
people. For
On Mon, Sep 18, 2000 at 10:47:35PM -0300, Lalo Martins wrote:
CatalogAwareness in 2.2.x doesn't follow the new ZCatalog
traversal standard - it uses absolute_url() to get the url it
will give to the ZCatalog, and ZCatalog now wants an absolute
(non-virtual) path. In practice, this means
70 matches
Mail list logo