Re: [Zope-dev] How to test changes to ZTK packages?

2009-07-05 Thread Tim Cook
On Tue, 2009-06-30 at 14:35 -0400, Tres Seaver wrote: While I know that Mac people often report problems building lxml, I never have issues building lxml on Linux: the '--static-deps' option is a sufficient workaround for variants with too-old versions of libxml2 / libxslt. I do not know

[Zope-dev] ComponentLookupError

2009-05-19 Thread Tim Cook
I'm getting this traceback: == serving on http://127.0.0.1:8080 2009-05-17 11:56:42,332 ERROR [SiteError] http://localhost:8080 Traceback (most recent call last): File

Re: [Zope-dev] [Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch']

2009-05-16 Thread Tim Cook
On Sat, 2009-05-16 at 08:20 +0200, Michael Howitz wrote: You use a really ancient version of zope.app.publication. This bug was fixed in version 3.5.0 of zope.app.publication. I think at least this version is required to be used together with ZODB 3.9. Thanks for pointing this out

[Zope-dev] [Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch']

2009-05-15 Thread Tim Cook
This is a bug I filed against ZODB3.9.0b1 As you can see Jim says it is a bug in zope.app.publication but there is no Launchpad project to forward the bug to for this module. The full text of the bug report is below the double lines. Thanks, Tim Forwarded Message From: Jim

Re: [Zope-dev] [Fwd: [Bug 376907] Re: AttributeError: 'str' object has no attribute 'registerSynch']

2009-05-15 Thread Tim Cook
I forgot to explicitly ask the question. Where do I file this bug report? Thanks, Tim On Fri, 2009-05-15 at 10:24 -0300, Tim Cook wrote: This is a bug I filed against ZODB3.9.0b1 As you can see Jim says it is a bug in zope.app.publication but there is no Launchpad project to forward

Re: [Zope-dev] Please use launchpad bugtracking/blueprints more

2009-03-25 Thread Tim Cook
On Wed, 2009-03-25 at 19:21 +0100, Martijn Faassen wrote: Why would the steering group be a project as part of the Zope Framework? The steering group isn't a project? I'm all for setting something up, but I'm still not clear on what you'd set up. A Zope Framework project group with what

Re: [Zope-dev] Please use launchpad bugtracking/blueprints more

2009-03-25 Thread Tim Cook
Good analysis Gary, Though I would tend to see Zope3 as the umbrella and the various projects (components) under it. Is there REALLY too much bad press vs. good press about Zope3? I don't think so. I think inventing a new name ala, Zope Umbrella is a bad thing. Presenting Zope3 as the

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2009-01-18 Thread Tim Cook
Hi Dan, On Sat, 2009-01-17 at 01:28 +0300, Dan Korostelev wrote: Hi Tim. Unfortunately I didn't follow the discussion lately, so may be the problem is no more, but... There has been a tremendous amount of help from folks like you. However there is still not a solution. I have been asked

Re: [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
On Mon, 2009-01-12 at 22:05 +0100, Martijn Faassen wrote: Okay, I'll take another look then and look at ObjectRef. Ah, yes, Dan pointed out to you that you are using a zope.schema.Field in a class instead of in a schema (an interface). That isn't right, and since the direct use of that

Re: [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
On Fri, 2009-01-16 at 15:55 +0100, Martijn Faassen wrote: I don't think a wiki page with a chronicle is necessary or even helpful; you need to give us the information necessary to find the bug, but no distracting surrounding information. Okay. To debug this problem, a developer will need

Re: [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
Thanks for all the assistance. On Fri, 2009-01-16 at 18:05 +0100, Martijn Faassen wrote: Yes, you do create new schema fields by subclassing from Field. It's just that we saw you putting a field not in a schema but in what looked like a concrete object. This has given me a BIG pause while

Re: [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
Hi Shane, On Tue, 2009-01-13 at 14:10 -0700, Shane Hathaway wrote: Sorry, but the patch doesn't make any sense. Your version of _validate_fields quietly skips validation entirely by default. First of all that is why I asked for others to look at it. :-) But I DID test it by inserting an

Re: [Zope-dev] Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
Thanks All, On Fri, 2009-01-16 at 21:55 +0100, Carsten Senger wrote: Sure you can have specialized fields that subclass from Field, TextLine, or another base class. E.g. RegistrationNumber(TextLine) that takes care to validate the input for a special format. But you use them in an

Re: [Zope-dev] BOUNTY! was: Next Step to Bug Resolution???

2009-01-16 Thread Tim Cook
On Thu, 2008-12-18 at 13:00 -0200, Tim Cook wrote: This issue is such a huge frustration for me that I am offering a bounty of 100USD out of my personal pocket to the first person that solves the issue, gets it committed to a published zope.schema egg and included in the standard Grok

Re: [Zope-dev] Next Step to Bug Resolution???

2009-01-12 Thread Tim Cook
On Fri, 2009-01-09 at 11:05 +, Chris Withers wrote: I can't. The testrunner is already there and buildout-based development makes it trivial to run. svn already does the patch creation for you: $ svn diff be able to get past that bit. Perhaps a kind Zope dev will pick up on this.

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2008-12-19 Thread Tim Cook
Hi Chris, On Fri, 2008-12-19 at 10:06 +, Chris Withers wrote: Tim Cook wrote: As I said before I may have miss-diagnosed the problem and may fix may break other things? This is what a full-coverage unit and functional test suit is for. You have got automated tests for all

Re: [Zope-dev] Next Step to Bug Resolution???

2008-12-19 Thread Tim Cook
Thanks Dieter, On Fri, 2008-12-19 at 19:41 +0100, Dieter Maurer wrote: I often approach situations like this with so called Monkey Patches: I replace or enhance classes or methods during startup (triggered by some startup event). This may not be optimal but allows me to solve my problems

[Zope-dev] Next Step to Bug Resolution???

2008-12-18 Thread Tim Cook
Hi All, I have had an issue on the table for months. I started a dialog about it here: http://mail.zope.org/pipermail/zope3-users/2008-October/008215.html The thread was interesting, helpful and did lead me to find an error in some schema definitions because of a misunderstanding of the

[Zope-dev] BOUNTY! was: Next Step to Bug Resolution???

2008-12-18 Thread Tim Cook
-18 at 08:35 -0200, Tim Cook wrote: Hi All, I have had an issue on the table for months. I started a dialog about it here: http://mail.zope.org/pipermail/zope3-users/2008-October/008215.html The thread was interesting, helpful and did lead me to find an error in some schema definitions

Re: [Zope-dev] BOUNTY! was: Next Step to Bug Resolution???

2008-12-18 Thread Tim Cook
OOOPS! I forgot to provide the link to the installation instructions: http://www.openehr.org/wiki/display/dev/OSHIP+Installation --Tim On Thu, 2008-12-18 at 13:00 -0200, Tim Cook wrote: Based on private responses I have received I would like to clarify some things. I fully realize

Re: [Zope-dev] [Zope3-Users] Next Step to Bug Resolution???

2008-12-18 Thread Tim Cook
Hi Dan, Thanks for taking a look. On Thu, 2008-12-18 at 20:06 +0300, Dan Korostelev wrote: Hi, Tim. I builded out your application and took a quick look at the error. It looks like you're mis-using the zope.schema.Field class and its interface. It should be only used in schema definition,

[Zope-dev] Show Stopping Bug

2008-12-05 Thread Tim Cook
Hi All, I started a conversation on the Zope Users list back in October about an issue I had with the Object field in zope.schema. http://mail.zope.org/pipermail/zope3-users/2008-October/008215.html After comments acknowledging that this is a real problem there still wasn't any activity on it.

[Zope-dev] Python 2.6

2008-09-22 Thread Tim Cook
Now that ZCA is working with Python 2.5 on 32 and 64 bit platforms (thanks guys!) Is there a plan being formulated to address all the deprecation warnings about 'with' becoming a reserved word in Python2.6? Thanks, --Tim ___ Zope-Dev maillist -

Re: [Zope-dev] Re: Zope 3 on Python 2.5, Zope 3 releases

2008-07-14 Thread Tim Cook
I have reported Bug 248380: on this issue. The problem seems to me to be in building the .c modules. That causes the MemoryError that Lorenzo reported but it isn't the root of the problem. There are a large number of warning: initialization from incompatible pointer type issues. --Tim On

Re: [Zope-dev] Zope 3 on Python 2.5, Zope 3 releases

2008-06-26 Thread Tim Cook
On Thu, 2008-06-26 at 13:14 -0700, Paul Carduner wrote: On Thu, Jun 26, 2008 at 1:06 PM, Martijn Faassen [EMAIL PROTECTED] wrote: Hi there, I'm curious about the plans of Zope 3 on Python 2.5. * Are people using Zope 3 with Python 2.5 already? What are your experiences? We are

Re: [Zope-dev] buildout failures

2008-06-14 Thread Tim Cook
On Sat, 2008-06-14 at 13:10 +0200, Christian Theune wrote: That's exactly the behaviour I was afraid of. I propose to keep it around for a few more days to see how it stabilizes. If it jerks again, I'll switch off notifications until I get a change done that avoids this behaviour.

Re: [Zope] Problem with LocalFS (_local_path)

2001-01-31 Thread Tim Cook
. -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come from the government." - Woodrow Wilson ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/lis

Re: [Zope] Products and Zope 2.3

2001-01-29 Thread Tim Cook
ry that again. May not be related. But, that's the same error I got when trying to import a folder. I cleared the catalog and rebuilt it. It worked fine. Check the traceback to see where the error is coming from. -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Of

[Zope] LocalFS on 2.3.0

2001-01-29 Thread Tim Cook
(Object: myhomedir) AttributeError: (see above) -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come from the government." - Woodrow Wilson ___ Zope maillist - [E

[Zope] BUG: 2.3.0 Final? - ZCatalog

2001-01-27 Thread Tim Cook
, in catalogObject File /usr/local/zope/2.3/lib/python/SearchIndex/UnTextIndex.py, line 393, in index_object File /usr/local/zope/2.3/lib/python/SearchIndex/UnTextIndex.py, line 305, in insertReverseIndexEntry AttributeError: (see above) -- Tim Cook, President -- Free Practice Management,Inc

[Zope] Re: BUG: 2.3.0 Final? - ZCatalog

2001-01-27 Thread Tim Cook
Tim Cook wrote: When importing a .zexp from a (2.2.5) site into 2.3.0 I get the I Cleared the Catalog, re-exported it and it imported fine. Non-issue? -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come

Re: [Zope] Here is a Challenge: Import + Export folder...

2001-01-24 Thread Tim Cook
3dfestival - WebMaster wrote: - Webmaster @ 3D festival (http://www.3dfestival.com) PS: I know that u can use telnet, but I do not know how to use telnet Try 'man telnet' or 'telnet --help' to learn. -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com

Re: [Zope] Here is a Challenge: Import + Export folder...

2001-01-24 Thread Tim Cook
from ... and I'm here to help you." stuff rubbed off on them. VBG But then , it is opensource. You could just change your copy. s -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come from the government.&qu

[Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Tim Cook
with what appears to me to be the same results. Thanks, -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come from the government." - Woodrow Wilson _

Re: [Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Tim Cook
Chris Withers wrote: Tim Cook wrote: I use getitem() quite alot and never set the flag (therefore it's false). It works and does what I want, but the ZQR entry doesn't seem to support that and I have seen it given as an example with the flag set true with what appears to me

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Tim Cook
properties, etc... and a I have a lot of renderers (this explains that...) Thanx ! I think it's time for your document to be an instance of a ZClass. -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Liberty has never come from the gover

[Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
with 1960* or for that matter 1960/01/01 in the dob. Any clues here? -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Nearly everyone will lie to you given the right circumstances." - Bi

Re: [Zope] Get an object's owner

2001-01-22 Thread Tim Cook
?OpenDocumentHighlight=0,owner -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Nearly everyone will lie to you given the right circumstances." - Bill Clinton ___ Zope maillist - [EMAIL PROTE

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
to specify (where) what the predetermined keywords are? Can only suggest mailing Chris P and asking him, as he was last to do some serious routing in the Catalog code... Any clues here? Sorry I couldn't be more help... Thanks for the info. -- Tim Cook, President -- Free Practice Mana

[Zope] List Mail Duplicates

2001-01-22 Thread Tim Cook
Is the list mailer sending duplicates or am I seeing double? -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Nearly everyone will lie to you given the right circumstances." - Bi

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
. Better ideas? -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Nearly everyone will lie to you given the right circumstances." - Bill Clinton ___ Zope maillist - [EMAIL PROTE

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Alberto Berti wrote: Tim Cook wrote: Just to clarify. Chris W's comment that the vocabulary strips out the digits. It seems to only do so when there is no other characters adjacent in the property. If there are alphabetic characters but separated by whitespace it will remove

Re: [Zope] How to access a dtml-var from a python method?

2001-01-22 Thread Tim Cook
/lists/zope-archive.nsf/ByKey/A30C9F2CC19B3AE8 (Just trying to take some of the load off of Dieter vbg) -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "Nearly everyone will lie to you given the right circumstances." - Bi

Re: [Zope] Numeric Entries in Catalog Search

2001-01-22 Thread Tim Cook
Dieter Maurer wrote: Tim Cook writes: ... search for numbers in ZCatalog's text indices ... Recently, someone has posted a splitter.c patch that prevents it to discard numeric words. Ah yes. I recall the spliter.c thread. I didn't pay attention at the time I guess. s Thanks, -- Tim

[Zope] Index out of range

2001-01-21 Thread Tim Cook
sequence-number nbsp; dtml-var sequence-item nbsp;bLength:/b dtml-var "_.len(drugs[dictkey])" nbsp;dtml-var "drugs[dictkey]"br /dtml-let /dtml-in /dtml-let /pre dtml-var standard_html_footer - I

[Zope] Re: Index out of range

2001-01-21 Thread Tim Cook
Tim Cook wrote: Error Type: IndexError Error Value: list index out of range OOPS! forgot the control panel info: Zope version: Zope 2.2.5b1 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] System Platform: linux2 Process ID

Re: [Zope] Re: Index out of range

2001-01-21 Thread Tim Cook
Tim Cook wrote: Tim Cook wrote: Error Type: IndexError Error Value: list index out of range Well, DUH me. I forgot the last two lines of the text file (it's a dump from a database sent to me from someone else). One only had the number of rows and the other an EOF. Sorry to waste your

Re: [Zope] Creating PDF's

2001-01-20 Thread Tim Cook
? I hope so. But in the interim, I have used ZpdfDocument ( thanks Gaaros ), with fairly good results. It probably isn't as configurable as using ReportLab. But, it got the job done. s -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "N

[Zope] Support was: Zope Versus Enhydra Comparison article

2001-01-17 Thread Tim Cook
announcement and in no way was funded by Digital Creations or their subsidiaries.) s -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "When the government fears the People, that is Liberty. When the People fear the Government, that is ty

Re: [Zope] Zope Versus Enhydra Comparison article

2001-01-16 Thread Tim Cook
ets valorized history" (Mircea Eliade). -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "When the government fears the People, that is Liberty. When the People fear the Governmen

Re: [Zope] Zcatalog with Word Documents

2001-01-12 Thread Tim Cook
-- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 "When the government fears the People, that is Liberty. When the People fear the Government, that is tyranny." ~~ Thomas Jefferson ___ Zop

Re: [Zope] cross-reference tool

2001-01-12 Thread Tim Cook
? USERS! vbg -- Tim Cook -- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

Re: [Zope] My own alternative interface WHOOPS that got mangled

2001-01-07 Thread Tim Cook
first used to solve that problem. http://www.zope.org/Members/mukhsein/job_board_howto HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-06 Thread Tim Cook
etc. would be recorded in properties of a DTML Document. The DTML code in the Document is used to display this information anytime later. (Okay, FreePM is really more complicated than that but it's the basic idea. g) -- Tim Cook -- Help the new U.S. President (and your Country). Visit http

Re: [Zope] Selection and Lines Properties for DTML Docs

2001-01-02 Thread Tim Cook
t;30" dtml-in phone_typesdtml-let cur_item=sequence-itemdtml-var "_.string.strip(cur_item)" /dtml-let/dtml-in /textarea /td /tr HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant

Re: [Zope] Slow response with 2.2.5

2000-12-29 Thread Tim Cook
IMPROVEMENT that I got on RH Linux with the upgrade to 2.2.5b1 -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom. ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Path problem?

2000-12-21 Thread Tim Cook
: Error Type: Bad Request Error Value: File does not exist: G:\PROG_I~1\ZopeSite\import\ Rename Import to import. HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom

Re: [Zope] Path problem?

2000-12-21 Thread Tim Cook
Wolfgang Strobl wrote: Rename Import to import. This doesn't make any difference. FAT and NTFS aren't case sensitive. The name of the file is missing! Guess I should get my 'Pay Attention' button fixed before answering questions on the list. Thanks for catching that. -- Tim Cook

Re: [Zope] Adding a ZClass Instance to a Specific Folder

2000-12-21 Thread Tim Cook
r as a string so I had to use dtml-with "_.getitem(id)". HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom. ___ Zope maillist - [

Re: [Zope] parameters

2000-12-19 Thread Tim Cook
parameters passed by dtml-var expr="template(menu, menu2)" ??? How can i catch menu and menu2 in the dtml method template ?? http://zdp.zope.org/projects/zsnippet/snippets/DTMLTags/CallingDTMLMethods HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Of

Re: [Zope] LoginManager - logging out

2000-12-19 Thread Tim Cook
r username at this point. BUT, it doesn't really logout you out either. If you hit the back button a couple of times you'll notice that you are still logged in. The only way to logout using standard authentication is to close the browser. HTH, -- Tim Cook, President -- Free Practice Management,I

Re: [Zope] Lost with navigation using objectValues

2000-12-13 Thread Tim Cook
that aq_ thing. :-) -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

Re: [Zope] Freelance Programmers

2000-12-11 Thread Tim Cook
Brendon Grunewald wrote: Hi Zopistas, Can you point me in the right direction? I got great response from comp.lang.python after also being disappointed with the other jobs services. HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126

Re: [Zope] It's NOT a Zope error

2000-12-03 Thread Tim Cook
uot; they quite and tell you there is a problem. Then again maybe this is where I need to build my own standard_error_message? Instead of letting it fall through to Zope's. -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901)

Re: [Zope] Instance within Instance

2000-11-30 Thread Tim Cook
Daryl Stultz wrote: Tim Cook wrote: Daryl, Import the DarylProduct.zexp into your Products folder. The DarylExample.zexp can go anywhere in you Zope tree. As luck would have it, the file did not import into Products (File /usr/local/Zope/lib/python/OFS/CopySupport.py, line 406

Re: [Zope] Instance within Instance

2000-11-30 Thread Tim Cook
more sense? -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope **

Re: [Zope] Instance within Instance

2000-11-28 Thread Tim Cook
Daryl Stultz wrote: Tim Cook wrote: The problem here is that even though you set REQUEST, it is a string. You need to be in the context of the parent _object_. You should try dtml-with "_.getitem(parent_id)". What's happening now is that my class2 is getting created a

Re: [Zope] Instance within Instance

2000-11-28 Thread Tim Cook
Daryl Stultz wrote: Tim Cook wrote: I guarantee that you will end up with a folder MyClass1ID that contains MyClass2ID. You've been very helpful, here, Tim, but I simply can't get this to work. I'm wondering if you might be able to create such a product for me and send it to me: One

Re: [Zope] Instance within Instance

2000-11-28 Thread Tim Cook
Tim Cook wrote: Next we get the newly constructed MyClass1, and setup to call the MyClass2 constructor: dtml-with "_.getitem('id')" dtml-call expr="REQUEST.set('id', 'MyClass2ID')" dtml-with "manage_addProduct['MyCoolProduct']" dtml-call expr=&q

Re: [Zope] ZClass within ZClass

2000-11-26 Thread Tim Cook
objects. A HOWTO that really helped me was the one on building a Job Board. HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom. ___ Zope maillist

Re: [Zope] ZClass within ZClass

2000-11-26 Thread Tim Cook
Daryl Stultz wrote: Tim Cook wrote: But, If you subclass OFS:Folder when building CDLibrary and CDManager then they can 'contain' other objects. A HOWTO that really helped me was the one on building a Job Board. Yes, that's precisely where I started, however, the actual product

Re: [Zope] Instance within Instance

2000-11-26 Thread Tim Cook
ut simialr to something I do: dtml-call expr="class1.createInObjectManager(REQUEST['id'], REQUEST)" dtml-with "_.getitem(id)" dtml-call "REQUEST.set('id', 'myClass2')" dtml-call "class2_add(_.None, _, NoRedir=1)" /dtml-with HTH, -- Tim Cook, President -- Free P

Re: [Zope] Gadfly

2000-11-22 Thread Tim Cook
agree. Unless there is a compelling reason, such as sharing tables with another application. Why not just use ZODB. Life can't be simplier! g -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-4126 Censorship: The reaction of the ignorant to freedom

Re: [Zope] Help! Zope Crash

2000-11-01 Thread Tim Cook
fine. But I have had the site go down since. -- Tim Cook -- Office: (901) 884-4126 8am-5pm CST Free Practice Management,Inc. | http://FreePM.org Censorship: The reaction of the ignorant to freedom. ___ Zope maillist - [EMAIL PROTECTED] http

Re: [Zope] Help! Zope Crash

2000-11-01 Thread Tim Cook
Tim Cook wrote: tried in the memory in a different machine it worked fine. But I have had the site go down since. Should be: I have not had the site go down since. (maybe I'll learn to proof my emails!) -- Tim Cook -- Office: (901) 884-4126 8am-5pm CST Free Practice Management,Inc. | http

[Zope] Add users other acl_user quirks was:two more questions

2000-10-31 Thread Tim Cook
ey used a BTreeFolder for the Zope.Org user folder. Is this a _modified_ BTreeFolder? I thought there were some parts of the security mechanism that was part of acl_user folders? Inquiring minds.. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Manag

Re: [Zope] OT: PythonLabs Team Moves to Digital Creations!

2000-10-28 Thread Tim Cook
Now here's something readers of this list might be interested in ... It just doesn't get any better than this. Well, maybe if Jim Fulton was working FreePM. But that's definitely off topic. s -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice

Re: [Zope] Calander.

2000-10-27 Thread Tim Cook
"Jason C. Leach" wrote: hi, I'm looking for a Zope calander kind of like you see on the ZopeNewbies page. Anyone seen a product like this hanging around. There is a ZCalendar tag. But the EventFolder is much more full featured. -- Tim Cook -- Cook Information Systems | Of

Re: [Zope] How small a box can zope run on?

2000-10-26 Thread Tim Cook
Tony McDonald wrote: This is the first I've ever seen written on this subject. If it's correct (and I have no reason to disbelieve Toby - I've tried a few There was a good discussion about this a couple of months ago. Check the archives for: zope2.2.0 and what is high load -- Tim Cook

Re: [Zope] Non-existing Zope-Security!!!

2000-10-13 Thread Tim Cook
with the local role I can browse /www and /www/folder2! Any suggestions? Create the user in the top level folder that they are allowed to see. Not in the /www folder HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator

Re: [Zope] dtml-with syntax question

2000-10-12 Thread Tim Cook
ith "_.getitem(attribute3)" -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT Free Practice Management Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org ___ Zope maillist - [EMA

Re: [Zope] non-Zope object attribute admin interface

2000-10-12 Thread Tim Cook
ndly. I spend about 20 minutes looking around the Zope site, but haven't yet turned about any useful information. Perhaps somebody could point me to a relevant HOWTO or some example code? Take a look at the Job Board HOWTO. HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126

Re: [Zope] Help with a DTML expression/comparison

2000-10-10 Thread Tim Cook
tml-var sequence-item/OPTION dtml-else OPTION "dtml-var sequence-item"dtml-var sequence-item/OPTION /dtml-if /dtml-in /SELECT This works for me where valid_honors is a list of honorifics (['Mr.', 'Ms.','Dr.', ...]) HTH, -- T

Re: [Zope] dtml-tree advice, please

2000-10-09 Thread Tim Cook
tiple arguments. Try: branches_expr="objectValues('Album' 'Photo') HTH, -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www

Re: [Zope] dtml-tree advice, please

2000-10-09 Thread Tim Cook
expected. Go figure! -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org _

Re: [Zope] overriding __str__ method?

2000-10-08 Thread Tim Cook
vars and property names to avoid confusing myself) then: dtml-call "manage_changeProperties(REQUEST)" Does this help? -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coo

Re: [Zope] database connection problem (halting Zope)

2000-10-03 Thread Tim Cook
Could it be that the python binary used is not compiled for threading? I spent yesterday afternoon and this Count on it. That's why the install instructions explain that python isn't compiled with threads by default. -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm

Re: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software

2000-10-02 Thread Tim Cook
atch ZWiki :-) -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www.oshca.org __

Re: [Zope] Fw: [cms-list] eMedicine, Inc. Receives Patent for Internet Publishing Software

2000-10-02 Thread Tim Cook
but he indicated that it was some basic implementation that many developers have done before. Sorry for the topic drift -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having ideas. * FreePM Project Coordinator http

[Zope] ZClasses UserFolders

2000-10-02 Thread Tim Cook
Is there a reason I can't add a UserFolder (and subsequently users) to an instance of a ZClass that is sub-classed from Folder? I do not get any errors. But the acl_users folder is not in the instance and the user gets added in the next acl_users up the aquisition chain. -- Tim Cook -- Cook

Re: [Zope] Hexcolors and DTML

2000-09-30 Thread Tim Cook
re websafe. If that's true then yes there are shades of gray that are not web safe. Checkout this link for more info. http://www.reallybig.com/visibone/lab/index.shtml Therefore there are only six shades of websafe gray. 00, 33, 66, 99, cc, ff. Put those in a list? -

Re: [Zope] Add ZClass with other than Manager

2000-09-28 Thread Tim Cook
Hendrik Naumann wrote: I there the posibility to Add an ZClass without writing an new Add_formular like in http://www.zope.org/Members/mukhsein/job_board_howto ? Yes. With this minor modification: http://www.zope.org/Members/taz/addZClasses -- Tim Cook -- Cook Information Systems

Re: [Zope] dtml-in sorting problem

2000-09-28 Thread Tim Cook
them at the bottom of the list. I don't want to reverse the entire sort order, I just want blank values treated as being larger than any other value. Any suggestions? Insert a chr(255) as the first character by default. It'll need to be trimmed off if the property becomes populated. -- Tim

[Zope] Apology to Ethan [was: HowTo categorization]

2000-09-27 Thread Tim Cook
When I volunteered to categorize the How-To's I told Ethan I could do it in two weeks. Well, the good thing is that I came up with more work to do. The bad thing is it's been three weeks and I'm still only half (or a little more) finished. But, Coming Soon! g Tim Cook wrote: Two, definitely

Re: [Zope] Nested properties???

2000-09-27 Thread Tim Cook
on in dtml-enterpriseName;". Could you please help me? As a folder property; enterpriseName In any subfolder, aquisition will find it. ...or maybe I don't understand the problem? -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop mak

Re: [Zope] Adding ZClass to a folder

2000-09-27 Thread Tim Cook
th SubFolder dtml- with "ProductName.manage_addProduct['MetaTypeName']" dtml-call "ZClass_add(_.None, _, NoRedir=1)" /dtml-with /dtmlwith SubFolder -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * It's easy to stop making mistakes. Just stop having i

Re: [Zope] Design Question

2000-09-18 Thread Tim Cook
? In the Real World(tm), there won't be but maybe one-half as many codes in an installation. But I like 'worst case' testing. g -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * Specializing in Open Source Business Systems * FreePM Project Coordinator http

Re: [Zope] Bizarre bug - floating ZClasses

2000-09-17 Thread Tim Cook
o manually delete them. It's been a while since I've been so puzzled and impressed by a bug :-) Impressive. Isn't it? g -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * Specializing in Open Source Business Systems * FreePM Project Coordinator http://www.freepm

[Zope] Design Question

2000-09-17 Thread Tim Cook
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 Python/Zope for this situation? Thanks, -- Tim Cook -- Cook Information Systems | Office

Re: [Zope] Zope and the GPL poison pill

2000-09-12 Thread Tim Cook
ble for my needs. Oleg. Exactly! g -- Tim Cook -- Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT * Specializing in Open Source Business Systems * FreePM Project Coordinator http://www.freepm.org OSHCA Founding Supporter http://www

  1   2   >