a relational database the answer is easy)? I have answers to these
questions, but I would be curious to hear how others have dealt with issue.
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
the
varied needs of the merchants, I would like to let them into the ZMI, and
see their products as instances under their site.
-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED]
Sent: Sunday, January 08, 2006 12:02 PM
To: David Johnson; 'Andreas Jung'; zope3-users@zope.org
What kind of application are you working on?
We're working on a variety of applications, mostly large scale. We are
planning to re-write our online-banking application, produce a banking
system, build a specialized banking and shopping network for large
retailers, and potentially create an
-instance):
ImportError: No module named MySQLdb
What am I missing?
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing list
Zope3-users@zope.org
http
: Couldn't import add_connection, No module named
add_connection)
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org
Does anyone use Zope as an authentication server? Specifically
for Radius clients? Are there products out there for this? I see Radius client
packages.
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
(senderrs)
SMTPRecipientsRefused: {'djohnson': (501, 'djohnson:
recipient address must contain a domain')}
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing
I'm using the latest version from:
http://codespeak.net/svn/z3/sqlos/trunk/
Which seems to be from 2004. Is there another trunk somewhere else?
-Original Message-
From: Brian Sutherland [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 14, 2006 1:44 AM
To: David Johnson
Cc: zope3
with an RDBMS?
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
agree. My next step is to figure out how to
contribute.
-Original Message-
From: Lennart Regebro [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 14, 2006 10:58 AM
To: David Johnson
Cc: zope3-users@zope.org
Subject: Re: [Zope3-Users] Zope 3 Ready for Production? Really?
On 1/14/06
My apologies in advance if I causing frustration.
On Saturday 14 January 2006 11:51, David Johnson wrote:
The documentation is not well defined, which makes deployment dangerous
because one may produce an application that does not conform to future
releases of Zope.
I have absolutely
.
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Users: 10-100 million objects
Contacts: 100,000 objects
Customers: 100-1000 objects
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing list
Zope3-users
This is unfortunate. I do think Zope 3 will get the recognition it deserves
in time. I feel the Zope community is more focused on how it works than how
it is marketed and this seems like the best long term approach.
People will shy away from it as it is not well known (like Linux in the
early
I think we will probably proceed on trying to make a MySQL adapter that can
replace GadFly -- hopefully possible and not TOO much work. I think that
and a better SQL container (maybe sqlos) would solve our issues, as well as
be a great benefit to Zope.
-Original Message-
From: [EMAIL
on different networks. Should networks be the container?
Should hosts? Some other solution? What would you do?
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing list
of MyFolder instead of the index.html.
http://localhost/MyFolder/index.html
What is the proper way to acquire index.html
in other contexts?
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
The network do ont contain the hosts, they conect them, and the hosts
do not contain the networks, so neither, a far as I can see. You need
separate networks and hosts lists, where the hosts can be connected to
one or more networks.
That is exactly it. I wonder how to connect them in the ZMI.
Repeat after me: Zope 3 is not a replacement for Zope 2.
Yes, I think that's my problem. I will be patient and contribute as much as
I can; overall it's definitely worth it.
___
Zope3-users mailing list
Zope3-users@zope.org
zope/app/rdb/configure.zcml says:
content class=zope.app.rdb.ZopeConnection
require
permission=zope.ManageContent
interface=zope.app.rdb.interfaces.IZopeConnection
/
/content
which includes the cursor method/attribute - perhaps you need a similar
=''):
self.context = context
self.request = request
self.base_url = base_url
def setData(self):
Bland setData
implementation.
---
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
I've been able to do some basic things, depending upon what you're looking
for. I'm still exploring the best methods. So far I've found I have to do
everything on the file system. I'm still playing but I'm close mastering
the basic database operations.
-Original Message-
From:
Thanks. I will look into formlib. My goals is to be able to provide forms
that allow editing of SQL based database entries. I am exploring SQL and
Zope integration, and I liked the simplicity of the browser:form concept.
Here is what I am generally trying to do. Imagine a database of contacts.
After looking into formlib, this really looks great! Thanks for the help.
When I use it I see references to the action field. Are you familiar with
this? There is some documentation in FormBase as you suggested, but does my
errors refer to action.submitted which I'm having trouble finding.
Never mind - I found it in zope.formlib.interfaces.IAction.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Johnson
Sent: Tuesday, February 21, 2006 8:56 PM
To: 'Jeff Shell'
Cc: zope3-users@zope.org
Subject: RE: [Zope3-Users] browser:form
Here is the kind of thing I've been doing -- keep in mind, I'm still new at
this. I'm not using connection caching as I let the database handle that -
I find it smarter and more powerful than Zope in this area (and just
simpler). I have found the ISQLScript implementation to be a good example;
like:
Form_fields[firstname] = uDavid
(which doesnt work)
??
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
(request)
File
/home/djohnson/Zope-3.2.0/build/lib.linux-i686-2.4/zope/app/security/principalregistry.py,
line 42, in authenticate
p = self.__principalsByLogin.get(login, None)
TypeError: list objects are unhashable
--
David Johnson
___
Zope3
it is outdated.
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
they are not authorized for, they allowed to. When and how is the
unauthorized exception raised? Why does adapting ILoginPassword seem to
disable that?
--
David Johnson
[EMAIL PROTECTED]
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org
))
Ive also tried the simple:
$div tal:replace=item/price /
Which displays:
$security
proxied decimal.Decimal instance at 0x41d76694
Any ideas?
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org
database on a machine with very little
load, so connection issues should not be a regular problem.
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
location globally.
I saw a Zope Job board, but have not received a response and
our job listing has not been posted.
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
')
errs.append(err)
return errs
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
I've installed on Debian many times and I don't remember these troubles with
Sarge. I used Debian Python2.4. I suspect some python troubles here, but
I'm not python expert. I do the install using:
1. cd Zope-3.2.0
2. ./configure --with-python /usr/bin/python2.4
3. make
-Original
I figured it out. An admin installed a different version and overrode Debian.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Johnson
Sent: Wednesday, April 26, 2006 10:21 AM
To: 'Stéphane Brault'; 'user-list zope'
Subject: RE: [Zope3-Users
Ive not seen any posts or information on this recently.
Does anyone if there is an Oracle database adapter available?
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
I figured this one out. Auto commit
on the database is not on. Im assuming the Zope or Python mysql
driver or a database driver somewhere has set the default of auto commit to
off.
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Johnson
Sent: Tuesday, May
Both of the Zope 3 developer's books explain this quite well. I think
Phillip's has the shortest example. Skins are one of the few Zope 3
concepts I was able to implement quickly. All sources will assume that you
understand TAL, and METAL.
You can download the source from either book either
The addform directive should do as you
desire. You mentioned you wanted to jump the an edit form directly upon adding
instead of going to the contents view. This is what addform was designed to do.
If my understanding is correct, can you send along the zcml snippets?
The problem appears to lie here:
File
C:\develop\ZopeWorkspace\ZopeProducts\src\proCoders\interfaces.py,
line 23, in IWorkspace
value_type=Object(title=uObject,description=uadsf),
Hard to tell what's going on without the code, but poke around there.
The other solutions presented thus far sound great. Obviously the devil
is in the details, but in our situation, we have found using an SQL
storage engine to be most useful. It does no do RPC per se, but we have
found we can wakeup the other side to do something using a simple http
call or
I'm trying to call a page template in a content object, but nothing
seems to happen. No exceptions, no output, and no errors. I figure I'm
missing something. Anyone have ideas?
...
from zope.pagetemplate.pagetemplatefile import PageTemplateFile
class OrderView:
def city(self):
return
I still wonder why calling PageTemplate does not always render output or
not give errors. That's the strangest part. At least with errors the
problem would be diagnosible. I will try the options/ format to see
if I have any success.
___
Zope3-users
deprecated, and I don't quite
understand the best approach.
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
I was able to duplicate the example from zope.pagetemplate.readme.txt.
However I still have 2 problems:
1. I receive no debugging or exception output when there are problems
2. I cannot figure out how to call context or viewlet objects.
Obviously Zope/Python is ignoring exceptions for me in
Thanks! You are right. After a re-read of your book last night, I
think my problem is that I have not understood or dealt with adapters as
of yet. It seems that is the proper solution to expressing content in
the way I intended and seems to solve all my problems in this area.
--
David
Ah ha! You've discovered it. I was not inheriting from BrowserView.
Thanks!
On Sat, 2006-05-27 at 19:36 +0300, Marius Gedminas wrote:
On Fri, May 26, 2006 at 10:54:46PM -0500, David Johnson wrote:
I have a viewlet named cart, which can be displayed with the following
TAL code and rendered
I have discovered the issue on this one, it seems that calling a method
retrieved via getattr supresses output and exceptions.
On Thu, 2006-05-25 at 12:37 -0500, David Johnson wrote:
I was able to duplicate the example from zope.pagetemplate.readme.txt.
However I still have 2 problems:
1. I
What is the best to find the nearest utility without using a name?
zapi.getUtility() seems to require a name (though the documentation
implies otherwise). zapi.getAllRegisiteredUtilitiesFor() works but it
seems to me if you have lots of utilities in other contexts, it would
query those as well,
getUtility does not require a name.
I've tried getUtility() without a name it never returns an interface and
returns component lookup error. I've tried in many different instances,
and I've ended up reverting as a work around to
getAllRegisteredUtilitiesFor(), which works just fine. Once I
Thanks! That's it exactly! I was misunderstanding the concept of a
utility with the name ''.
On Mon, 2006-06-05 at 17:34 +0300, Albertas Agejevas wrote:
On Mon, Jun 05, 2006 at 09:22:13AM -0500, David Johnson wrote:
getUtility does not require a name.
I've tried getUtility
according to a large database of global
timezones. This will help you present the view of time you wish to your
application's users. Refer to the documentation in the package to give
you an idea of what is possible.
Regards,
David
David Johnson wrote:
How do you deal with time zones
performance? I know there are no simple answers, but I know little
about Zope 3 performance and troubleshooting.
--
David Johnson
[EMAIL PROTECTED]
201 Main Street
Suite 1320
Fort Worth, TX 76102
(877) 572-8324 x2200
___
Zope3-users
/a
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
? Thanks so kindly in advance.
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
Yes indeed. I'm only using 1 Text and 3 TextLine fields. This is my first
attempt at this so I'm trying to keep it fairly simple.
-Original Message-
From: Tom Gross [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 2:05 PM
To: David Johnson
Cc: zope3-users@zope.org
]
On Behalf Of David Johnson
Sent: Tuesday, November 28, 2006 2:21 PM
To: 'Tom Gross'
Cc: zope3-users@zope.org
Subject: RE: [Zope3-Users] Custom Content Container
Yes indeed. I'm only using 1 Text and 3 TextLine fields. This is my first
attempt at this so I'm trying to keep it fairly simple
in advance.
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
ZAlchemy is supposed to be very good. It is based on the Python
SQLAlchemy package. Personally I've found it to be a bit complex and
have not invested much time in it, and have instead found it fairly easy
to build my own packages and containers; but I'm a do it yourselfer. It
obviously depends
I created a custom content container. However, when I copy(or cut)
something to the clipboard, the Paste button does not show up. What am I
missing?
The content objects seem to be functional in all regards and are stored in
a MySQL database, and are inherited from only the Contained
Hi,
is there any reason why a registered utility which is persistently
stored inside the site
manager is never found via zapi.getUtility(IMyInterface) ?
It's been my experience this is caused by registering with a name rather
than leaving the registration blank. (This confused me for the
Try:
--
utils = zapi.getAllUtilitiesRegisteredFor(IYourInterface)
for util in utils:
print util
--
You can list all the returned utilities. See if your utility is returned,
and see what name it is registered under. If not, try with a known
interface. Can you provide the results here?
I'm very confused by the following error. Whenever I add certain content
components I get the following error when add form is generated (I'm using
standard addform).
ComponentLookupError: ((decimalwidget.widget.Decimal object at
0x4203972c, zope.publisher.browser.BrowserRequest instance
I have a content type that gives the following exception whenever I
try to click on it. Not sure why. Any ideas?
File /usr/share/zope3/lib/python/zope/publisher/publish.py, line
56, in unwrapMethod
raise TypeError(mapply() can not call %s % `object`)
TypeError: mapply() can not call
Okay. It appears the problem is that the object is part of a content
container, and this container has a __getitem__ method which was not
returning the item.
It is working. Thanks.
On Jan 4, 2007, at 6:32 PM, David Johnson wrote:
I have a content type that gives the following exception
, but I
edited out the Object Name field.
I have the desired effect. All seems to work very well.
On Jan 8, 2007, at 6:24 PM, David Johnson wrote:
Is it possible to have both a NameChooser and an ObjectRenamer. If
so...how? It seems that zope.app.container.browser contents.py has
I think the sell is going to be hard if the CTO wants to conform to a
world dominated by J2EE and .NEt projects. One chooses Zope 3
because they are more concerned about productivity, quality, and
scalability. There are trend followers and trend setters and I
believe Zope is going to be
See my post about 2 weeks ago. If you Adapter to
IContainerNameChooser rename will not be allowed.
Do not adapt to IContainerNameChosoer.
On Jan 16, 2007, at 10:37 PM, Florian Lindner wrote:
Am Dienstag, 16. Januar 2007 22:15 schrieb Christian Theune:
Do you have a specific exception with
But I want to choose names for certain kind of objects. It works
when I'm not
implementing IContainerNamesContainer.
As before see my previous post, but I'll paste it here:
1. Since I have a custom container that is derived from IContainer,
it is already configured as a
Has anyone implemented a check out procedure? Any thoughts? It is a
bit different than standard Zope components because it often has
steps, goes forward and back, and numerous other reasons.
--
David
___
Zope3-users mailing list
on the container that guides the user through the
steps.
On Jan 19, 2007, at 4:28 PM, Christian Theune wrote:
Hi,
Am Freitag, den 19.01.2007, 16:20 +0100 schrieb David Johnson:
Yes. Excuse my lack of explanation. When developing an eCommerce
site, a customer will in the end need to check
the acquisition available in Zope 2. It would be easier to do.
I may reconsider the use of SQL based upon your comments and instead
use sessions. It is a lot of extra coding to read and write from a
SQL database.
On Jan 20, 2007, at 10:59 AM, Philipp von Weitershausen wrote:
David Johnson wrote
I would love this as well. I've written authentication stuff in Zope
3 (both Philips and Stephans books are outdated here), but I've never
worked with PAM and python. I would be glad to provide my half to
anyone good with Python. Seems it should be pretty simple if you
know PAM (which I
I do lots of database stuff, like what you're describing. I got
lost in the threads here, but my general advice is the following:
1. Do not mix content with views, this destroys the scalability
aspects of Zope and will hurt you later. When ever you find Zope
frustrating it often because
Does anyone have or know of an out of the box User sign-up,
registration, and login product? This is a frequently requirement
of course for publicly available web sites, such as a message board.
--
David
___
Zope3-users mailing list
This I know, so that is exactly my question. What is the preferred
approach in Zope? The contains and containers, or the more explicit
methods?
On Jan 26, 2007, at 11:04 PM, Douglas Douglas wrote:
I think the errors are for the contained objects (the ones with
'containers'
instructions
I'll try. Your authenticator is registered as a Plugin in a PAU in
your current site? I'm not sure the cause without more details, but
when I see this happen I've usually neglected one of the following:
1. The credentials plugin is not selected and added.
2. The authenticator plugin is not
On Jan 29, 2007, at 5:30 PM, Alexei Ustyuzhaninov wrote:
David Johnson пишет:
What do you mean by Your authenticator is registered as a Plugin
in a PAU in your current site? I registered the authenticator as
a utility and assigned the utility name to the
authenticatorPlugins attribute
I am receiving this error and I am not sure why.
return self._dump(meta, obj.__getstate__())
File /Users/djohnson/sandbox/Zope-3.3.0/build/lib.macosx-10.3-
fat-2.4/ZODB/serialize.py, line 416, in _dump
self._p.dump(state)
File /Library/Frameworks/Python.framework/Versions/2.4/lib/
I am trying to figure out what a catalog does, so I began testing.
1. In ZMI add Catalog (no problem)
2. In Catalog add Field or Text index (doesn't matter)
3. Select interface (I'm using a simple Note content type I created
note.INote)
4. Put in body as the attribute
5. Callable is not
Are you new to Zope? If I understand correctly, yes it is possible
and Zope does an excellent job with this. Both Zope books are
particularly good in explaining this. Have you referred to either?
On Feb 1, 2007, at 5:51 PM, Sascha Ottolski wrote:
Hi,
I'm wondering if there is a proper
I will wager to help...since frequently my posts go unanswered
also. I've implemented a few skins with great success. However, if
you wait long enough you could a real response from someone like
Stephen instead of myself.
is registered on the default layer. Since the xgm layer derives
As before, I am posting here because I do not know where else to post.
We continue to grow and are searching again for another Zope 3
engineer. We would love to talk with anyone who might be
interested. We love Zope and plan on being a big part of its
continued success in the
Is there a way to use standard_macros in a ZPT Page added via the
ZMI? In a page registered via ZCML the following METAL is okay,
however in a ZPT Page I receive an error regarding a key error for
views.
html metal:use-macro=views/standard_macros/page
/html
Any ideas?
Warm regards,
Many people have offered approaches. I find the simplest and
cleanest approach for declaring interfaces is as follows:
class IContactList(IContainer):
contains('.IContact')
class IContact(Interface):
...schema fields...
class IContactContained(IContained):
here, I would like to
learn. :)
On Feb 13, 2007, at 12:04 PM, Stephan Richter wrote:
On Monday 12 February 2007 15:56, David Johnson wrote:
Many people have offered approaches. I find the simplest and
cleanest approach for declaring interfaces is as follows:
The cleanest way, in my opinion
I am curious what methods people use to implements simple web site
menus? It seems to be this must be a common task.
So far I've done this as follows:
1. Create a skin
2. Create a content type Menu as Ordered Container
3. Create a content type MenuItem as contained by Menu
4. Add a Menu and
Both books are good in their own.
On Feb 19, 2007, at 12:56 AM, Robert Hicks wrote:
Is Web Component Development with Zope 3 the best resource to
get up to speed on using Zope3? I will be spending a little time
getting up to speed on Python itself (with Chun's book) as well.
Robert
Does anyone know the process by which objects are notified by
events? I created a custom container that stores objects in MySQL.
However, I noticed that when I add a container that an
ObjectAddedEvent is then propogated to every single object in my
container, generating nearly 2000
You're probably talking about dispatchToSublocations. This is the
code that looks up a containers sublocations and dispatches the
event to them.
One way to prevent this behaviour for your container is to write a
new ISublocations adapter for your container that simply returns an
empty
Paste the code here. :)
On Feb 27, 2007, at 6:16 AM, Alex Cheng wrote:
Hello,
I have modified my product code and click refresh in ZMI to update
the product. Unfortunately when I view its instance in zope. The
error message is follows:
Error Type: TypeError
Error Value: 'NoneType'
I've seen posts about this but I am confused. Is there a Dict widget?
I tried it and I received IInputWidget errors.
myfield = Dict(title=u'My Dictionary',
key_type=TextLine(),
value_type=TextLine())
File
Our Zope 3.2.1 server is crashing and we cannot determine why.
The last entry in the access.log is the following:
218.160.132.172 - - [10/Mar/2007:22:11:45 -0500] CONNECT
sextw.com.tw:25 HTTP/1.0 404 0 - -
There is no other information to indicate why as far as we can tell.
No exceptions,
Hello. I am heading the engineering for JSA Technologies in the
United States. We are building an application in Zope 3 that will
link colleges and universities around the world on a financial
network. We are looking for Zope 3 contractors to help us complete
the project. The project
Has anyone heard from Michael Bernstein?
He was a frequent contributor to Zope in many ways and I've not heard
or seen a peep from him since early December.
--
David Johnson
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org
. We're using Zope 3.3.1. The errors occur in all
applications within this one particular instance on one particular
server.
I've included a traceback here:
http://jsa.pastey.net/96278
--
David Johnson
[EMAIL PROTECTED]
http://www.jsatech.com
I would have written a shorter, kinder, clearer
97 matches
Mail list logo