[Zope] Re: PopMail Client

2001-01-31 Thread Spicklemire, Jerry

David promptly replied:

Hi Jerry,

It's hard to diagnose from what you've sent me.  Can you send me the
full traceback (from the HTML source code of the error page)?  That will
make determining where the error occurred a lot easier.


So the very least I could do was respond with:

-
The first one:

Traceback (innermost last):
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in
__call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: ListMessages())
(Info: ListMessages)
  File <string>, line 0, in ?
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in
ListMessages
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in
UpdateStatus
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in
pass_
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in
_shortcmd
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in
_getresp
error_proto: (see above)


---
The second one:

Traceback (innermost last):
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
222, in publish_module
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/Zope/__init__.py, line 221, in
zpublisher_exception_hook
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160,
in mapply
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/ZPublisher/Publish.py, line
112, in call_object
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 172, in
__call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 528, in __call__
(Object: index_html)
  File /l01/Zope-2.2.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py,
line 337, in eval
(Object: ListMessages())
(Info: ListMessages)
  File <string>, line 0, in ?
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 132, in
ListMessages
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 68, in
UpdateStatus
(Object: POPMailAccountBase)
  File /l01/Zope/lib/python/Products/POPMailBase/POP.py, line 42, in Connect
(Object: POPMailAccountBase)
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 183, in
pass_
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 146, in
_shortcmd
  File /l01/Zope-2.2.1-linux2-x86/lib/python1.5/poplib.py, line 125, in
_getresp
error_proto: (see above)


"Spicklemire, Jerry" wrote:
> 
> Hi David,
> 
> I'm looking at your Pop3 Client tool for Zope and have hit a snag.
> Is there any documentation about correct usage, or example (Zope) code?
> 
> I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3,
> and PopMail .0.0.2
> 
> I have looked over POP.py, and have a glimmer of what to do to call
> these methods and functions. I have added a Pop Client Folder, and a
> client account object, but when I try to use the "View" tab in the
> Zope TTW GUI, I get the tracebacks, below.
> 
> The 'error_proto' is a reference to the first class listed in poplib.py,
> which simply 'pass(es)' when an Exception is used as a parameter. One
> thing I noticed is that poplib seems to treat error_proto as a function
> sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind.
> Now you know as much (hopefully much more!) than I do.
> 
> Thanks for any help!
> Jerry S.
> 
> -
> First this shows up,
> 
> Zope Error
> Zope has encountered an error while publishing this resource.
> 
> Error Ty

[Zope] PopMail Client

2001-01-31 Thread Spicklemire, Jerry

Hi David,

I'm looking at your Pop3 Client tool for Zope and have hit a snag.
Is there any documentation about correct usage, or example (Zope) code?

I'm using Zope 2.2.1 on Redhat Linux, with PopMailBase .0.0.3, 
and PopMail .0.0.2

I have looked over POP.py, and have a glimmer of what to do to call 
these methods and functions. I have added a Pop Client Folder, and a 
client account object, but when I try to use the "View" tab in the 
Zope TTW GUI, I get the tracebacks, below.

The 'error_proto' is a reference to the first class listed in poplib.py, 
which simply 'pass(es)' when an Exception is used as a parameter. One 
thing I noticed is that poplib seems to treat error_proto as a function 
sometimes, which strikes me as odd. Some Pythonic stuff boggles my mind.
Now you know as much (hopefully much more!) than I do.

Thanks for any help!
Jerry S.

-
First this shows up,

Zope Error
Zope has encountered an error while publishing this resource. 

Error Type: error_proto
Error Value: -ERR Not implemented

-
and then a few seconds later this one,

Zope Error
Zope has encountered an error while publishing this resource. 

Error Type: error_proto
Error Value: -ERR Mailbox in use

___
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/listinfo/zope-dev )




[Zope] FW: MS-SQL Server Connector

2001-01-22 Thread Spicklemire, Jerry

Hi Adrian

> I tried this about 6 months ago. It seems that Micro$oft 
> changed that protocol that SQL7.0 uses, just enough to prevent 
> Sybase connectors from working. (I probably should have 
> mentioned 7.0 in the message... sorry)

Ouch! There are some other options, a few of which I've tried, mostly some
variation on ODBC, many of them listed here, (some even with links):

 http://www.zope.org/Members/mcdonc/RelationalDatabaseWiki/ODbC

There is a quasi-mythical ODBC DA for Linux that I have yet to successfully
implement, but you can find some hints here :

 http://www.zope.org/Members/jrush/news_ZODBCDA_solid_linux

Good luck!,
Jerry S.




 
 

___
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/listinfo/zope-dev )




[Zope] MS-SQL Server Connector

2001-01-20 Thread Spicklemire, Jerry

Adrian asked:

> Is there a database connector or similar for MS-SQL Server that 
> might run on non-windows Zopes?

Check out http://www.zope.org/Members/TheJester/SybaseDA , and 
please let the list know how it goes. We all need to help each 
other with these little puzzles.

Good luck,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] RE: Workflow and document management system in Zope

2001-01-20 Thread Spicklemire, Jerry

Hi Nicolas,

Your last post mentioned:

> I am looking for a workflow (WF) linked to a electronic document 
> management (EDM) system and a groupware email based 

In addition to other links, you might want to check out ZopeGUM, 
and ZUBBS,

 http://www.zope.org/Members/morphex/ZopeGUM

 http://www.zope.org/Members/morphex/ZopeGUM/Info

 http://www.zope.org/Members/BwanaZulia/ZUBB

 http://www.zope.org/Members/BwanaZulia/ZUBB/README

These may provide some of the groupware & email pieces you 
are looking for. BTW, you may want to consider contacting some 
of the consultants listed on the Zope Solution Providers page. 

 http://www.zope.org/Resources/ZSP

I'm sure the Digital Creations folks won't object to me 
mentioning that in addition to being the sponsors, hosts, and
creators of Zope, they also do consulting, including projects 
involving integrated workflow, such as the PTK.

 http://www.digicool.com

 http://www.digicool.com/Company/

Later,
Jerry S.

___
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/listinfo/zope-dev )




RE: [Zope] RE: Workflow and document management system in Zope

2001-01-19 Thread Spicklemire, Jerry

This may be the link you were thinking of:

http://www.omg.org/technology/documents/formal/corba_business_specifications
_av2.htm

with the Corba Workflow Specification available as a .PDF.

>  Thanks for the interesting URLs on workflow discussions.
>  
>  Corba Ecommerce has very interesting and thorough models of workflows,
> including UML diagrams and even an XML format for defining state
machines.
>  Sorry, this may be old news as I don't have time to follow up the actual
>  threads
>  beyond the first messages.
>  
>  But if not, anyone designing such a system for Zope *must* study the
Corba
>  stuff.
>  
>  Email me direct if the URLs haven't been published in the discussions and
>  I'll be happy to dig them up (hard to find within www.omg.org). Or,
(easier
>  for me), I can email the (large) .pdf files direct.

> I also know that WfMC (Workflow Management Coalition, www.wfmc.org)
> has adopted many of OMG's workflow concepts in the past. I am not
> sure if what you are referring to is recent new development by OMG.
> 
> For a diagram of WfMC's workflow reference model see the diagrams at:
> 
> http://www.zope.org/Members/aboulang


___
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/listinfo/zope-dev )




[Zope] RE: Tools used for programming Zope

2001-01-19 Thread Spicklemire, Jerry

Hi Gerald,

>>  http://www.zope.org/Members/sspickle/ZCVSMixin

> Since this converts between CVS and Zope already, have you 
> thought about the possibility of exporting it directly onto 
> the filesystem?

Since CVS is file based, everything you export is stored as a file during
the CVS phase. One of the remaining puzzles is how to improve management of
Zope Objects that aren't very "file like", such as ZClasses. The file
representation of these are less directly editable, but at the very least
you can tell when and who made updates, and quickly see what has changed.

Later,
Jerry S.



___
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/listinfo/zope-dev )




[Zope] RE: Workflow and document management system in Zope

2001-01-19 Thread Spicklemire, Jerry

Hi Nicolas,

> For you, when would such products be considered ready for production ?

The most important factor can be viewed from two perspectives, 
neither precluding the other. 

The ideal state arrives when complete documentation is available, 
or at least one person on the deployment team has dug through the 
source code enough to inderstand the system thoroughly, and serve 
as a guide and mentor to others. Waiting for complete documentation 
sounds like a name for a surrealist/existentialist play for geeks.

You may be in a fairly good position to benefit from input from the 
the creators of the ZDP Tools. Maik? ([EMAIL PROTECTED])

 http://lists.zope.org/pipermail/zope/2001-January/037709.html

> If I can have a demonstration rapidly (unfortunately I do not yet know 
> Zope personnally but I shall look for help locally), I may even get funds 
> to help and foster the complementary developpement.

Also see some recent posts from the Zope-PTK list:

 http://lists.zope.org/pipermail/zope-ptk/2001-January/002179.html

 http://lists.zope.org/pipermail/zope-ptk/2001-January/002182.html

Another thread that you may find interesting:

 http://lists.zope.org/pipermail/zope-ptk/2000-December/002009.html

 http://lists.zope.org/pipermail/zope-ptk/2000-December/002002.html

and don't miss:

 http://lists.zope.org/pipermail/zope-ptk/2000-December/002067.html

 http://lists.zope.org/pipermail/zope-ptk/2000-December/002069.html

It's getting exciting out there!
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Workflow and document management system in Zope

2001-01-18 Thread Spicklemire, Jerry

Nicolas said:

> I am looking for two products: a professional workflow and a 
> electronic document management system, preferably in Zope or 
> opensource if not in Zope. These 2 applications should be able 
> to work together.

Some of this is now in the Portal Toolkit (PTK) soon to be re-named and
re-launched at the release of the long awaited version 1. This is the bag of
tricks that the Digital Creations gang uses to whip out massive,
stat-of-the-art Web extravaganzas at light speed. You can download the
pre-beta at:

 http://classic.zope.org:8080/Community/CVS_public_access

Also, you may be interested in the tools developed for the Zope
Documentation Project, at:

 http://www.zope.org/Members/roeder

Lots of other folks are very interested in these topics, I'm sure you'll get
some positive feedback to your questions.

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Tools used for programming Zope

2001-01-18 Thread Spicklemire, Jerry

Gerald said:

> I need to have source code readable on the filesystem 
> independent of a Zope server, so that I can do things like CVS 
> them, use any editor on them, grep them, etc. It seems that my 
> only choice is to write products in Python itself, instead of 
> using the web interface of Zope, which is one of the cool 
> features of Zope.

The ZCVSMixin product makes it fairly simple to export any subset of a site,
import it locally, make changes, and reverse the process, with versioning of
all non-file system objects (which you can already handle via CVS) and
usable diffs for many object types.

 http://www.zope.org/Members/sspickle/ZCVSMixin

Later,
Jerry S>

___
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/listinfo/zope-dev )




[Zope] RE: Problem on using nested &

2001-01-17 Thread Spicklemire, Jerry

Oops! What I meant to say was:

"The only  tag you need is that final one."

(see prior post on this topic)

Later,
Jerry S.



___
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/listinfo/zope-dev )




[Zope] Problem on using nested &

2001-01-16 Thread Spicklemire, Jerry

Angie asked:

> The problems is i'm not sure my dtml in order to control the loop 
> of choosing the correct sql in the right situation.
> The following is my DTML:-
> 
> "]==custid","_[" custname>"]==custname">
> 
> 

> "]==custname">
> 
> 

> "]==custid","_[""]==custname">
> 
> 

First, the rule is "No DTML inside DTML", which translates to 
simply refering to objects by names, in any DTML tag, like so:



Also, notice that the only Double-Quotes are the outside pair, 
inside those you must use single quotes.

Last, the only DTML-IF tag you need is that final one.

Try this much, and see if all your probems go away.
If not, let us know.

Later,
Jery S.



___
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/listinfo/zope-dev )




[Zope] ZDESIGN IDEAS = How to improve 'manage' ?

2001-01-08 Thread Spicklemire, Jerry

Jason mentioned :

> The need to improve the manage interface has grown urgently 
>  clear to me while using Zope myself, designing for all sorts 
> of community and collaborative Zope-based projects, demos for 
> a number of innocent bystanders, interested parties and 
> potential clients. Zope 'manage' is plain primitive at present.

(and lot's more)

Though I haven't seen much in the way of details, the link below may overlap
to some degree:
 
http://dev.zope.org/Wikis/DevSite/Projects/ManagementInterfaceQuickFix/Front
Page

and from the looks of :

http://dev.zope.org/Wikis/DevSite/Projects/ManagementInterfaceQuickFix/Curre
ntStatus

things seem to be moving ahead.

There are so many projects it's not really possible to stay on top of it
all, at least for me. Keep in mind that PTK is rapidly approaching v. 1.0,
and for what you have described as your project range, that may have a huge
impact.

See:

 http://lists.zope.org/pipermail/zope-web/2001-January/000275.html

especially:

> However it sounds like what you really want is the PTK:
> 
>  http://www.zope.org/Products/PTK/
> 
> The CVS version of PTK is more friendly to WebDAV, especially when >
combined with Zope 2.3's ability to run on a "source port" (that 
> is, a port where GET requests don't render the document).  I 
> believe Martijn will be working on getting HiperDOM templates as a 
> content type for PTK.
> 
> With this you can have resources that have to go through a simple 
> role-based approval system.
> 
> I'm really looking forward to the next six or so weeks when the 
> dust settles on all this.

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Zope 'Best Practices'?

2001-01-08 Thread Spicklemire, Jerry

Steve wonders:

> Is there anything like a Zope 'Best Practices' document or 
> Wiki? One that would encourage use of certain practices, DTML 
> idioms or products, and warn of practices, idioms or products 
> that are known to cause problems down the line or are slated 
> for extinction?
> 
> I ask this as a new user who's bewildered by the array of Zope 
> tools and products. So, I read of a practice or Product and 
> think 'wow, that's great!' But I have no idea whether it's in 
> common usage and destined to become part of the core, or is 
> headed for replacement or extinction.


I think the link below was made for just this reason:

 http://www.zope.org/Members/tseaver/StartHere

Thanks Tres!

___
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/listinfo/zope-dev )




[Zope] Creating a Database connection.

2001-01-06 Thread Spicklemire, Jerry

Darren wrote:

> I am very new to the Zope idea. I like what Zope is trying  
> to do. But I am trying to set up an external SQL database 
> connection

While it would be ideal for one set of instructions to serve 
every possible requirement, in reality it will be best for 
you to provide as much detail as you can about the specific 
scenario you are facing.

For starters:

What Operating System will Zope be hosted on?

What Database "backend" do you need to connect to?

Will the Database be resident on the same system as Zope?

If not, what Operating System will be hosting the Database?

Get back to the list with the answers, and anything else you 
think might help, plus what you have already tried, that 
hasn't worked.

Later,
Jerry S.

___
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/listinfo/zope-dev )




RE: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Spicklemire, Jerry

Steve suggested:

> You could remove the adaptor Product from Zope the Zope Products
> folder and restart, the object will be broken, but deletable, then
> restore the Product and restart Zope.

Good Idea! That's about as simple as this sort of 
thing can get, I suspect.

>> Has anyone found a good way to delete a Database
>> Connection that hangs Zope at startup? The
>> connection seems to be waiting "forever", and so
>> there is no access to the Zope interface, so of
>> course I can't delete, or disable the offending
>> object.

>> If there were just a way to set it to not connect
>> immediately, prior to startup, that should be
>> sufficient. The general question is, "How do you
>> access a Zope Object, without running Zope?"

I was finally motivated enough to fire up Ty Sarna's 
Tranalyzer ( http://www.zope.org/Members/tsarna/Tranalyzer )
which makes it quite painless to find a point at which 
to truncate (the last few records of) the /var/data.fs 
file.

Thanks!
Jerry S.




___
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/listinfo/zope-dev )




[Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Spicklemire, Jerry

Hi Zope Fans,

Has anyone found a good way to delete a Database Connection that hangs Zope
at startup? The connection seems to be waiting "forever", and so there is no
access to the Zope interface, so of course I can't delete, or disable the
offending object.

If there were just a way to set it to not connect immediately, prior to
startup, that should be sufficient. The general question is, "How do you
access a Zope Object, without running Zope?"

BTW, I take back everything I said about RDBMS Storages being superfluous .
. .

Thanks,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Belated Birthday!

2000-12-30 Thread Spicklemire, Jerry

Hey Zope Folks,

Maybe I missed it, but did anyone else realize that 
Zope's 2nd birthday snuck by without a party?!

Maybe the DC Gang are planning something based on 
an official ship date of some specific version, but 
anyhow, Happy Birthday, Zope!

   **
   ||
  |\/|
  |\/|
 ( \/ )

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] RE: Z-Commerce components

2000-12-28 Thread Spicklemire, Jerry

Jason asked:

> Do you know is anyone _using_ Wampum :
>
> a. For handling real transactions, or is it still in development stages ?
>
> b. With Etailer's Zope kit?

This URL will have to be "reconstituted, but check out:

http://zope.nipltd.com/public/lists/commerce-archive.nsf/1201f301bbb3337c802
568c100638aed/25a1fec66d4d8c98802568f20063b55d?OpenDocument&Highlight=0,wamp
um

Not E-Tailer, but E-Market. E-ither way, 
there may be something useful to you


___
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/listinfo/zope-dev )




[Zope] Turn Off Rampant Capitalization?

2000-12-28 Thread Spicklemire, Jerry

Kyler said:

> it'd be great if someone
> would say something like "Oh, yeah, just set
> 'capitalize_everything' to 'off'..."  

i can't tell you where to look, but as for "what" 
to look for, try searching for:

 string.capwords(

or, in dtml entity syntax:

 &dtml.capitalize-

good luck!
jerry s.



___
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/listinfo/zope-dev )




[Zope] Z-Commerce components

2000-12-28 Thread Spicklemire, Jerry

Jason wonders:

> Looking for an e-commerce tool to use for a Zope-based site for artists to
> share, display and sell 'net art' and more. Also to allow sponsors to do
> just that.



> 1. What do you recommend for taking credit card purchases online with
Zope?

The Wampum Generator is available at:

 http://www.zope.org/Members/ngarcia/WampumGenerator

___
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/listinfo/zope-dev )




[Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-11 Thread Spicklemire, Jerry

Outstanding! 

Sometimes I wonder if ther rest of the Open Source world 
has a glimmer of how FAST Zope is developing. let alone 
commercial vendors. 

Can't wait to dig in!

Congratulations to all,
Jerry S.

___
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/listinfo/zope-dev )




RE: [Zope] string splitting in dtml

2000-12-06 Thread Spicklemire, Jerry

Mike said:

> I tried what you recommended and got the following error:
>
> Error Type: AttributeError
> Error Value: __getslice__
>
> The problem I think is that the variable is drawn from the database as
type
> date (Microsoft Access 2k) and somehow is cast into a date type.  Is there
a
> way to re-cast this variable as a string type?

You're right, it's not really a string, even though Zope is smart enough 
to render it into one when inserting it directly into HTML.

> I also tried the
> 
> 
> 
> solution but got the error:
> 
> Error Type: TypeError
> Error Value: argument 1: expected read-only character buffer, instance
found

Now if only Zope were smart enough to tel us what it "really" is, 
so we could transform it! 

It looks like MS Access delivers dates as some proprietary object type.

However, in your query, you may be able to wrap the date field like so:

to_char(dateFieldName)

to convince MS Access to return a formatted string instead. 
Once you can see what the string looks like, the slicing bit 
should work.

Good Luck!
Jerry S.



___
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/listinfo/zope-dev )




[Zope] string splitting in dtml

2000-12-04 Thread Spicklemire, Jerry

Mike asked:

> I have a date string (ie dd/mm/yy) which I'm drawing out of a database
> (ODBC connection to Access) with a Z SQL method and I need to use that
> data to set the initial condition of a set of 3 select items (ie day,
> month and year).  Is there a way to split this date (it'll come out
> looking like dd/mm/yy) to get the components of it 

You could use the Python "string slice" syntax, like so:


The  day,
of the  month,
of the year 20


Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Problem with DCOracle interface for Python

2000-12-04 Thread Spicklemire, Jerry

Slim Says:

> I am having a problem when I try to run a python application on a Sun
server:

We had some problems like this too. If memory serves, an incompatibility
between older versions (Oracle 7.x) of the Oracle Networking package, and
the new version (Oracle 8) of the database "backend" was the cause. The new
(Net8) code can talk to older RDBM engines, but the old code can't talk to
Oracle 8. 

Good Luck,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Commercial Zope Commercial?

2000-11-30 Thread Spicklemire, Jerry

Greetings Zope Fans, 

I don't know how long this has been on the Web, but it got my attention:

 http://www.powernethk.com/~gobeyond/t2server/model_z.html

Very interesting . . .

___
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/listinfo/zope-dev )




[Zope] Factoids for supporting zope

2000-11-28 Thread Spicklemire, Jerry

Albert said:

> Our client thought that the recent VC money was about 1/2 what would
> be needed to make it fly. My argument is that money is leveraged by
> the active Zope community so a crux in my logic is how strong this
> community is.

The "1/2" the capital needed" part is a puzzling assumption. 
Is your client trying to map some business school model onto 
DC / Zope? If so, you are absolutely correct to point out that 
Zope is Open Source, and has excellent support from DC, and the 
Zope Community, which by the way includes lot's of other folks 
using Zope in real world enterprises. 

Most of all, it's very important for your client to understand 
DC's business model, and the fact that the new VC Capital will 
be used to scale DC to meet the already explosive demand for 
Zope based solutions. As a services company, no doubt DC has 
grown accustomed to meeting paycheck schedules by fulfilling 
the requirements of an expanding client list. The investment, 
based on the press release, etc., will be applied to making 
more of the same happen sooner. This is just my take on the 
public information, I have no ties to DC, other than as a 
Zope and Python fan (and hopelessly bedazzled groupie).

If your client is sketchy about these details, it may be up 
to you to help them fill in the blanks. Have they checked out 
the Zope.org site, specifically Testimonials

 http://www.zope.org/Resources/Testimonials

and Case Studies?

 http://www.zope.org/Resources/CaseStudies

Some of these are old, but there are some pretty good hints 
there re. what folks have done with, and think about, Zope. 

Open Source in general can be disorienting at first glance. 
There are several "pages" out there with interviews where Paul 
Everitt answers questions about DC's business model, etc.

Check these out:

 http://www.zope.org/Resources/Media

 http://www.bizjournals.com/washington/stories/1999/05/24/focus4.html

and other articles here

 http://www.troubleshooters.com/tpromag/199906/_digcreate.htm

and elsewhere on the Web.

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Problem with escaped double quotes

2000-11-17 Thread Spicklemire, Jerry

Aitor asked:

> My problem is this :
> 
> 
> 
> 
> It doesn't work 'cause I can't escape the doble quotes inside the string=
>  I'm trying to eval.
> 
> Any solution???

If I recall correctly, the work around I've used is to store the text,
including the double quotes, as a property of a parent folder, so that it
can be found by acquisition.

for example, create a String Property named "fdsaf_alias" with a
value of :

" fdsaf "

and then change your DTML to :



Other than that, reconsider whether there might be a way to do this with
single quotes. HTML will usually accept either single or double quotes, but
nesting quotes is of course the common reason to use both types in an
expression. Since I have no idea what the item actually represents, it's not
a call I can make from this end.

Good Luck!
Jery S.

___
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/listinfo/zope-dev )




[Zope] why DTML confusing

2000-11-10 Thread Spicklemire, Jerry

Irene says:

> I get so frustrated with DTML, I want to scream.  
> Please don't tell me to buy the Zope book, 
> DTML should be more intuitive.  
> DTML maybe the heart of Zope, 
> but it's also it's achilles heel.

You're right about the confusion, frustration, nor are you alone. 
Still, DTML isn't the heart of Zope, it's more like the fascia. 
DTML was intended to make the task of delivering dynamic content 
wrapped up in HTML-ish Templates easier. It evolved, and took on 
a broader scope that made it enticing for lot's of "other stuff". 

Like most evolution, there are obvious benefits, and some 
unfavorable outcomes. The most glaring problems show up when 
you start trying to do things that seem to be just a step or 
two more sophisticated than simple examples that "just work". 

There's good news. Python Methods, or whatever we end up calling 
them, make actually implementing such things as easy as Py(thon). 
For some folks, it may look like the bad news is, "Now I have to 
learn Python". In perspective, learning Python is way better than 
wading through the Zope API via DTML. Way way better. 

So, the moral is, keep the DTML as simple as it can be. For 
anything else, reach for another tool. Zope has bunches of them.

BTW, the  stuff is the tip of the 
DTML Complexity Iceberg. The sooner you get comfortable with 
Python Methods, ZClasses, etc., the happier you'll be.

One last point. Python Methods (a.k.a. Restricted, Internal, or 
some other as yet unheard of alternative, which we are all 
anxiously awaiting) is an add-on at this point. Target date 
for inclusion as part of the standard "Core Zope" is Zope v.2.3.

For now, see: http://www.zope.org/Members/4am/PythonMethod
 
Later,
Jerry S.
 

___
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/listinfo/zope-dev )




[Zope] ZMethod (Safe)

2000-11-09 Thread Spicklemire, Jerry

Hello Linguistas,

Shorter is better. In this light, my recommendation was "mod", 
short for MODule, and / or  MethOD, but it didn't get into the 
Poll List.

> We've pretty much settled on restricted/unrestricted here.

Also, I suggested "strict" as a shortened form of "reSTRICTed". 
Perhaps to much overloading from compiler directives, but it 
is the root word, after all.

If it's not simple, it will get simplified in use, and then 
you've got some folks refering to things in "slang", which 
drives newbies bonkers. "Official slang" is preferable, at 
least then you have some chance of usage being consistent.

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] redirect on Authorization

2000-11-03 Thread Spicklemire, Jerry

Daniel says:

> We have a very large site and many of Users bookmark pages. 
> This can cause several problems especially if the site layout
> changes, security changes at different levels and a user 
> bookmarks a result pages that depends on previous page(s) 
> submissions.

Yes, it's easy to redirect to a "front page" upon authentication,
but what's to keep the user from hitting the bookmark again, 
after signing on?

The real question is, "How can we keep users from bookmarking
dynamic pages?". It may be frustrating, but this is something 
that will haunt us as long as browsers have a bookmark button.

Worse, the browser cache, and higher levels of caching (e.g. 
Squid), are clueless and will obliviously serve up expired pages. 
You need to be very diligent to include metatags on every 
dynamic page to explicitly prevent caching!

The only answer I can come up with is to include checking for 
valid prerequisites, and redirect the user to the starting 
point of each process when they ask for the last page first.

An interesting problem, which I haven't got a canned answer for.

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] CMS/publishing system

2000-11-03 Thread Spicklemire, Jerry

Pete asked:

> How well does Zope integrate applications/cgi's written in ASP, 
> Cold Fusion, Perl, etc...? As we've got a number of things we'd 
> prefer to keep as is, and run alongside Zope.

and added:

> Is it possible? I'm thinking that with Apache and mod_rewrite 
> it would be doable (using file extensions to map the request), 
> but I'm not sure how that might work under IIS or within Zope...

Yes, the mod_rewrite approach is a very common way to serve 
from both Apache and Zope, e.g. static pages / images from 
Apache, dynamic stuff from Zope. In fact, that's how Zope.org 
was set up for quite awhile, and may still be (don't know the 
details).

There are many refernces to this topic in the mail list archives.
Try searching at :

http://zope.nipltd.com/public/lists.html

For more intimate integration with existing Perl stuff, see:

http://lists.zope.org/pipermail/zope-perl/

CMS is the latest buzzword for Web Application Development, AKA 
WorkFlow, Distributed Applications, etc. Zope is perfectly at 
home with this paradigm, whatever the nom du jour!

Later,
Jerry S.


___
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/listinfo/zope-dev )




[Zope] IMAP and Zope!

2000-11-01 Thread Spicklemire, Jerry

Morten says:

> If this sounds interesting, send me an email.=)

Is this one OK?

> I'm developing an Outlook/WorldPilot replacement which is much more 
> modular in design.  It will be released under the GPL.  When and where 
> I don't know yet. It stores messages in 'pure' ZODB format (that is, 
> the entire message is broken down and stored in various parts of the 
> object),  with _all_ the information from the original message stored, 
> in a structured and indexable way.

Watching the growing pains of an recently installed IMAP based Corporate 
E-Mail system makes me just a little queasy about using ZODB for mass 
storage. Volume is a very real problem, and Zope has it's own limits that 
must be considered.

I know it's formidable, but you may find the ZPatterns stuff useful.
One of the goals is to make it "easy" to swap out one storage for another. 

At first glance it strikes me as fairly straightforward to capture most of 
the relevant data that accompanies an E-Mail as RDBM "fields". Of course, 
a text blob, ZODB, or files may be more appropriate for the actual message 
content, and certainly for included files. 

ZODB is such a cool thing, but I'm still struggling with deciding what's 
best held as native ZODB "objects" vs. other possibilities. ZPatterns eases 
that quandary by making the choice flexible, and easy to "refactor" (fix!)
if / when you decide you "got it wrong". 

You might also check out the companion products "ExtFile" and "ExtImage"

http://www.zope.org/Members/MacGregor/ExtFile

which allow storage of "file" type data directly on the file system, yet 
keep related metadata in ZODB, for ZCataloging, etc.

> We're also including support for signing/verifying messages, with GnuPG.

Even Better!

Good Luck,
Jerry S.


___
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/listinfo/zope-dev )




[Zope] Almost Done.

2000-10-31 Thread Spicklemire, Jerry

Jason pondered:

> How do I get a TinyTable to display it's contents?
>
> All I find in the docs is  and that does not
> seem to work for me, unles I am lacking a tag?

Try it like this:


  


where tablename is the name of your table, and
fieldname1, fieldname2 are names of fields.

I've not used TinyTables, but this works with 
other tabular systems. 

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] reload ?

2000-10-30 Thread Spicklemire, Jerry

Luc wonders:

> is it possible to reload only a  without reloading an =
> entire page ???
> if yes, how??

The short answer is no. That is, unless you are willing to set up some sort
of Java RMI process, or other complex solution, and pray that your audience
has downloaded and enable, or at least hasn't turned off the required
services. 

On the other hand, there may be a simple way to meet your needs. You could
borrow an idea from those annoying Web Sites that pop up "little windows" in
addition to the main page that you thought you were linking to. By
separating the item you want to be refreshed so that it displays in its own
browser window, and setting a metatag in that page specifying a short
refresh period, the contents of that window will be reloaded independent of
the "main" window.

Later,
Jerry S.



___
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/listinfo/zope-dev )




[Zope] RE: More ZFormulator

2000-10-27 Thread Spicklemire, Jerry

Steve says:

> Found it:
>
> line 312: Form.py should be:
>
>   __roles__ = ('Manager',)


Thanks Steve! 

Steve's motto is, "We don't need no stinkin' Docs!".

BTW, we disagree about this . . .

___
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/listinfo/zope-dev )




[Zope] More ZFormulator

2000-10-27 Thread Spicklemire, Jerry

Hi Again,

It turns out that the problems I was seeing are related to the Proxy Layers
that are in place to keep our IntraNet safe. ZFormulator doesn't work at all
when I bypass the Proxy entirely, only works partially when the Proxy is
invited to play, and only works fully when the directories that the Proxy is
aware of are involved. This is OK, as long as the generated forms function
correctly when a user sees them with the Proxy completely in control. We'll
see . . .

Thanks again!

Jerry S.

___
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/listinfo/zope-dev )




RE: [Zope] More ZFormulator

2000-10-27 Thread Spicklemire, Jerry

Steve asked:

>   What version of ZFormulator are you running (and in what version of
> Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to
> work OK. Maybe it doesn't work with older zopes?

Oops, I should know better by now, than to ask for help without including 
the details. Zope 2.1.6 on Solaris 2.6 for Sparc, and Zope 2.2.1 on Linux 
2.2 for Intel.

The installs seemed to go smoothly on both systems, and I am able to create 
Form objects. However neither will let me add any form elements. The user 
authentication dialog pops up, and of coures I'm already authenticated at 
the initial access to the management interface. I'm both owner and manager 
of everything, but the authentication rejects my input.

ZFormulator has been available since late 1999, so I would expect the older 
versions to be OK.

Thanks,
Jerry S.


JS> Re. the problems I mentioned in an earlier post, it may be
JS> related to an error that turned up when I tried to run the
JS> ZF_Demo module. It seems to be unable to locate:

JS> "ApplicationDefaultPermissions"

JS> Does that ring any bells?

JS> A Google Search of Zope.org turns up several references, and
JS> it seems to be a part of core Zope, but I have no idea how it
JS> could be unavailable. Might the way Zope is started have an
JS> impact on which pieces-parts are accessible?


___
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/listinfo/zope-dev )




[Zope] More ZFormulator

2000-10-26 Thread Spicklemire, Jerry

Hi Zope Fans,

Re. the problems I mentioned in an earlier post, 
it may be related to an error that turned up when 
I tried to run the ZF_Demo module. It seems to be 
unable to locate:

"ApplicationDefaultPermissions"

Does that ring any bells?

A Google Search of Zope.org turns up several 
references, and it seems to be a part of core 
Zope, but I have no idea how it could be 
unavailable. Might the way Zope is started have 
an impact on which pieces-parts are accessible?

The error shows:

Traceback (innermost last):
  File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 214, in publish_module
  File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 179, in publish
  File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/Zope/__init__.py, line
202, in zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py,
line 151, in publish
  File
/i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/BaseRequest.py, line
304, in traverse
  File /i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/OFS/Application.py, line
249, in __bobo_traverse__
(Object: ApplicationDefaultPermissions)
  File
/i01/Zope-2.1.3-solaris-2.6-sparc/lib/python/ZPublisher/HTTPResponse.py,
line 511, in notFoundError
NotFound: (see above)

Thanks,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] ZFormulator

2000-10-25 Thread Spicklemire, Jerry

Hi Martijn, and Zope Fans,

I'm using ZFormulator and having problems with permissions 
on Zope v.2. The sign-on dialog pops-up when a user 
attempts to edit a form, but the correct name and password 
are rejected. Has anyone found a little detail that needs 
tweking to get past this one?

Thanks,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] RE: Acquisitive

2000-10-23 Thread Spicklemire, Jerry

Steve wrote:

> I'm guessing the the problem is that
>
> &dtml-xxx;  does an implicit "html_quote" format
> on whatever expression you provide.. so 
>
> 
>
> should produce:
>
> 
>
> Which the browser doesn't grok 
>
> try:
>
> >

That works! It turned out that this was also complicated by some flakey 
behavior displaying nested tables, in MS IE. It seems that sometimes it 
doesn't matter what you specifiy for a table's properties, the parent 
tables properties take precedence.

Thanks!
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Acquisitiver and Acquisitiver

2000-10-20 Thread Spicklemire, Jerry

OK, now I'm really confused. I stumbled on a way to make 
the DTML Method work, that is, the one that wasn't being 
found before, via Acquisition. All I have to do is forget 
to add the terminating ';' in :



so that it looks like so:



Any guesses?

Thanks again,
Jerry S.


___
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/listinfo/zope-dev )




[Zope] Acquisitive

2000-10-20 Thread Spicklemire, Jerry

Hi Zope Fans,

I ran into an odd quirk today, and I'm hoping someone has
an insight to share. There is a simple text string stored 
as a DTML Method, with ID = "set_table_0", e.g.:

'border="0" cellpadding="0" cellspacing="0"'

When set_table_0 is in the Zope root folder, it isn't 
discovered through normal acquisition, but no error occurs.



creates a table with defaults, e.g. border is visible.

However, when set_table_0 is moved to a subfolder of the Zope 
root folder, with the name "table_settings", and the reference 
is made like so:



the DTML Method is found successfully, and the table border 
isn't displayed.

The question is, why is the folder "table_settings" found in 
the Zope Root Folder, but not the method? 

Does Acquisition give higher preference to folders (container), 
objects than a DTML Method?

Thanks,
Jerry S.



___
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/listinfo/zope-dev )




[Zope] Python/Perl methods?

2000-10-19 Thread Spicklemire, Jerry

Oliver asked:

> I've been looking at that new book's draft on the Zope website and I'm
> wondering what chapter 7 is talking about. Where in Zope can I find a
> "restricted Python method" or a "restricted Perl method"? I've never
> seen those. Does anyone know, please?

Keep in mind that the Zope Book is being compiled as a draft of a document
to be delivered in the future. Some of the stuff refered to isn't really
"there yet", in terms of inclusion as a standard part of the Zope download
package. Python Methods are available, but as an add-on. Perl methods too,
but they are even newer, as in less mature / stable / all those positive
adjectives.

So if you really want to try Python Methods, look here:


http://www.zope.org//Wikis/DevSite/Projects/PythonMethods/OriginalProposal

download from here:

http://www.zope.org/Members/4am/PythonMethod

and for Perl Methods look here:

http://www.zope.org/Wikis/zope-perl/FrontPage

and download from here:

ftp://ftp.activestate.com/Zope-Perl/zoperl-1.0.beta2.tar.gz

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Q: Advantages of storing ZODB in RDBMS

2000-10-13 Thread Spicklemire, Jerry

Daniel asked:

"Can anyone explain what the advantages are of using 
an RDBMS for Zope object storage over the standard file 
system storage?"

The folks I know that have asked for that feature have 
stated their concerns as being:

Keeping everything in a single large file is risky,
since if that file becomes corrupted, the entire 
Web Site will be down until recovery is complete.

The other side of that one goes something 
like, "As if we've never seen systems down
for RDBMS recovery".

Keeping data in a form that's more accessible by 
external systems is an advantage.

And the comeback for that is, "This stuff
is not tabular, it's Web Content, and Code". 
It's not like you can run queries against it,
and print reports.

Using an RDBMS that has online backup, and quick
recovery features is cheap insurance.

Cheap is relative. if you happen to have an
expensive RDBMS, maybe you can call using it
for one more applicaiotn "cheap".

Making a copy of data.fs is pretty easy, and
recovery is completed by copying over a 
damaged file. Not exactly rocket science.

Also, Tranalyzer makes it pretty painless to 
recover up to the last good update, which is 
usually more than you can get from a backup!

As you can see, I don't "get" the arguments, but that's what 
people say, and if they happen to be the people who can veto 
Zope, you try to find a way to meet their requirements.

Later,
Jerry S.



___
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/listinfo/zope-dev )




[Zope] Variable name use in with statement

2000-10-13 Thread Spicklemire, Jerry

Scott Butchill wonders if:

"there is a simpler way to do this."

Not much simpler, but how about:



 
  
   

   
  
   

   
  
 


___
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/listinfo/zope-dev )




[Zope] FYI: Python product tutorial updated

2000-10-02 Thread Spicklemire, Jerry

Hi Brian,

Regarding:

> I'd be very interested to hear any ideas you folks have 
> on ways to help "make simple things simple" for development 
> and to allow people to deal with complexity only as they 
> begin to need it...

One of the features the stands when a newbies starts poking 
around at Zope.org is the wealth of contributed modules. 
Most of these were created as an aid to development, sort 
of a "make the process of creating a complex thing into a 
simpler process" approach. 

However, it's kind of like all the goodies available for 
Linux, or Perl, or Python itself, and any number of other 
Open Source projects that have generated lot's of add-ons. 
The problem is that finding time to try them all to see 
which turn out to be useful is another kind of complexity 
in itself.

It seems like the Zope community should be able to benefit 
by leveraging all the great stuff that's there. On the other 
hand, the sheer volume turns out to be a barrier.

I keep coming back to the notion of building a subset of the 
most useful, solid, and well documented modules into a "core" 
Zope distribution, so that they are available as "add" 
options without lot's unzipping, restarting, etc. 

Beyond that, a painless way to upgrade versions of all things 
Zope would definitely encourage folks to keep up with 
security fixes, and other improvements. Think about Debian's 
and FreeBSD's update tools.

In order to get to the "consulting ware" vision of a more 
productiive Zope, "out of the box", this is the kind of 
thinking that needs to be adopted. We know there are 
wonderful and astounding things that are possible if you 
aren't afraid to get your hands dirty reading source code, 
but most folks expect anything they need to do to be sitting 
there waiting behind a menu option!

This sounds to me like a higher level of object creation, 
Martijn Faassen's Formulator comes to mind, that can be 
selected and integrated into an existing site that has 
graphic standards already defined, which is itself another 
high level object that could help. A Graphic Standards 
"Template" that can be applied in the form of a "wrapper", 
and can be adjusted trough a forms based interface with 
options for colors, type style, background images, etc.

Thanks,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] String manipulation

2000-09-26 Thread Spicklemire, Jerry

"how can I manage it to cut a string.

for example:

a string property (testtext) with 500 words.

but only want to give out 20 characters of tis text."

Python sequence slicing syntax can be done with DTML, like so:




wher the '[:20]' means from the begining of the string, through the 20th
"slice". 
One thing to be aware of is that the positions start counting at 0, and are
best thought of as falling "between" the individual characters, like so:

 a b c d e f g
0 1 2 3 4 5 6 7

So the 20th position ('slice') is just past the 19th character, if the first
character is counted as 0.

___
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/listinfo/zope-dev )




[Zope] Guess Who . . .

2000-09-25 Thread Spicklemire, Jerry

 . . . has a opening posted on their Web Site for a C/C++ programmer with 
Zope / Python experience?

http://www-3.ibm.com/employment/us/empl/jofK23137.html

Email Software Engineer (CA-K23137)
  
Category: Software
Location: CA
Division: Other Divisions 

Work as a part of a small team developing a hosted domain e-mail service for
small businesses. 

 Desired Skills 
Excellent C/C++ coding skills, Unix Development experience (FreeBSD, AIX,
Linux a plus), Experience with OPEN SOURCE code (or work with legacy code),
Working knowledge of SMTP, sendmail, POP3, IMAP, LDAP, Experience with
scripted HTML languages (ZOPE, Python) a plus 

 Education Required 
Bachelors Degree 
Computer Science (or equivalent) required 

 Experience Required 
Six years work related experience  

___
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/listinfo/zope-dev )




RE: [Zope] DTML Loop, is there a 'continue'?

2000-09-25 Thread Spicklemire, Jerry


>On Fri, Sep 22, 2000 at 12:39:52PM -0500, Spicklemire, Jerry wrote:
>> I'm about searched out trying to find any discussion about calling a
normal 
>> "continue" statement, as in Python, from DTML. Any ideas?
>> 
>> I just want to short circuit a dtml-in loop for one pass, and then finish
>> the rest of the loop, based on a parameter.

to which Martijn replied:
> There isn't, other than using a nested . You could also use 
> a  and  combo, where raising an 
> exception would take you to the except clause and then out.

Thanks Martijn,

It dawned on me that, since I'm iterating through a temporary list, 
it is simpler to test the parameter once, and delete non-valid list 
members prior to the loop. That eliminates testing during every pass.

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] DTML Loop, is there a 'continue'?

2000-09-22 Thread Spicklemire, Jerry

Hi Zope Fans, 

I'm about searched out trying to find any discussion about calling a normal 
"continue" statement, as in Python, from DTML. Any ideas?

I just want to short circuit a dtml-in loop for one pass, and then finish
the rest of the loop, based on a parameter.

Thanks,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Close your eyes . . .

2000-09-21 Thread Spicklemire, Jerry

and pretend that Zope can do this today!

http://standardbrains.editthispage.com/

This is where we're headed with DAV, XML / DOM, Zope Studio, etc.

Sorry the demo only works (today) with MS IE v. 5+. If you can get 
to a desktop with this installed, it is such a trip to swipe some 
content, and edit in place, without a #%&@ text box! So this is what 
Tim Berners Lee had in mind with that funny little put method . . .

Later,
Jerry S.

___
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/listinfo/zope-dev )




[Zope] RE: Looking for Zope vs. Others at-a-glance comparison

2000-09-19 Thread Spicklemire, Jerry

-Original Message-
From: Richard Moon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 11:43 AM
To: Spicklemire, Jerry; [EMAIL PROTECTED]
Subject: Re: Looking for Zope vs. Others at-a-glance comparison

>Perhaps there should be someone producing an 'approved' list of 
>products that meet certain standards of ease of installation, 
>documentation etc.

Funny you should mention that. It sounds exactly like something I asked for
about a year ago. It may be the perfect time to raise this point again,
though, with the PTK getting ever closer to final release, the ZDP starting
to gain some dircet support and validation, and the DC Business Partners
program being formalized. 

So far it's pretty much up to each of us to decide whether or not this or
that package is useful. There are some hints, when lot's of posts rave about
how great one of the contributed goodies is.

It would be great to have a "seal of approval" for contributions that meet
minumum standards, with complete checklist of usability, ease of
installation, documentation etc.

Good Idea!
Jerry S.

___
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/listinfo/zope-dev )




[Zope] Looking for Zope vs. Others at-a-glance comparison

2000-09-12 Thread Spicklemire, Jerry

Richard Moon says:

>Zope offers the potential to be the perfect development environment with 
>tons of really good solutions off the shelf - these can be customised if 
>they have to, we can drop down to Python if we really need to. Perfect.
>
>Unfortunately its been difficult to get discussions like this going on 
>zope.org as its mainly devoted to coding problems, while zope-dev is to do 
>with deep and complex zopezen.

Many very helpful goodies have been contributed, and are available under
"Downloads". However, as we've seen so often, documentation is the last 
thing on the priority list, so these gems are mostly still quite rough. 

It looks like a great deal of value can be added to Zope in the form of 
ultra-easy integration of stuff that already exists, and step-by-step, 
"hold my hand" How-To docs to makes sure even the greenest Newbies can 
make the most of what's there.

Thanks for all the cogent comments!
Jerry S.

 


___
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/listinfo/zope-dev )




[Zope] Re. Advice for new zope installation

2000-08-28 Thread Spicklemire, Jerry

Henk Schets wonders:

>- how easy and reliably can I manage my virtual hosts (about 8 sites
right now) ? Very important.

The SiteAccess product contributed by Evan Simpson is a popular solution.

http://www.zope.org/Members/4am/SiteAccess2


>- how stable is Zope regarding to Apache on Linux ?

That's how "the Zope Folks" at Digital Creations run Zope, so I'd guess 
it's about a clean as can be. However, there is more than one approach. 

Probably the easiest is ZAP, which comes with a preconfigured Apache.

http://www.zope.org/Members/michel/Products/Zap

Start here:

http://www.zope.org/Members/guy_davis/install_routes

Below is the tip of the iceberg from a search on "apache", at Zope.org

http://www.zope.org/Members/shaw/HowTo/ApacheFrontEnd

http://www.zope.org/Members/nemeth/howtos/zopeandapacherh61

http://www.zope.org/Members/anser/apache_zserver

http://www.zope.org/Members/michel/HowTos/ApacheRewriting

http://www.zope.org/Members/kedai/apache_zope_fcgi


>- we have a MySql database, is it easy to connect with Zope ?

Lot's of folks use MySQL with Zope, and there's a ready made "DA" 
(database adapter) just for this purpose.

http://www.zope.org/Members/mordred/ZMySQLDA


>- can I access the Zope internal database with e.g. ODBC ?

So far, no. New and interesting ways of storing Zope Objects are being 
developed though, so let's not count this one out.


- can I use log analyzers to get some statistics about our site ?

Zope does do some logging, but I don't know much about that. 
Maybe someone could answer?


>- any advice about migrating an existing site ?

One handy item that I have used is Jonathan Farr's LocalFS. This way 
you can keep serving static pages and images "directly" from a local 
file system, and frees you to decide when the time is right to turn 
all those icons into Zope Objects.

http://www.zope.org/Members/jfarr/Products/LocalFS

Also, leverage your MySQL for all its worth. The more stuff you can 
abstract into tables and treat as lists, the more you'll like Zope!

Later,
Jerry S.


___
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/listinfo/zope-dev )




[Zope] FW: Simple(?) Syntax Question (dtml-in)

2000-08-25 Thread Spicklemire, Jerry

Actually, there are some extraneous "" in the prior post. Here's a corrected
version:


  
  
 

I also should have mentioned that this approach allows use of the &dtml-x;
"entity syntax", within tags..

___
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/listinfo/zope-dev )




[Zope] Simple(?) Syntax Question (dtml-in)

2000-08-25 Thread Spicklemire, Jerry

Tim asked:

>I want to only provide the first item of each list in this
>SELECT:

You can use Python "slice" syntax, where the first item of a sequence (index
position 0), is indicated like: listname[0]

try:


  
  

 

___
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/listinfo/zope-dev )




[Zope] Re. Linux and ODBC

2000-08-24 Thread Spicklemire, Jerry

Hi Folks, 

Just to follow up on the plan to test ODBC Socket Server. We now have a
working copy resident on a NT test system here, which enables us to ship
queries across the LAN from Unix / Linux land to hit against Windows Native
(ODBC) data stores, and get back datasets as XML. So far, it works like a
champ, and it comes with a handy little Python demo client app. 

All I need to do now is wrap an enhanced client process as an external
method, and voila, a whole bunch of sticky wickets will get smoothed out!

you can get it at:  http://odbc.linuxave.net/

More Later,
Jerry S..

___
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/listinfo/zope-dev )




[Zope] Microsoft SQL Server Access under Linux?

2000-08-23 Thread Spicklemire, Jerry

Darin asked:

> Is it possible to access an ODBC data source through Zope running under
Linux?

I'm getting ready to test such a solution this week. First, we'll try :

ODBC Socket Server  http://odbc.linuxave.net/

and the accompanying Python Client. This will require some coding, and
wrapping the Python Client as an External Method. ODBC Socket Server isn't
the most generic approach I've seen, but it is about as simple as such stuff
can get.

If that one doesn't pan out, it's on to :

SQLRelay
http://www.firstworks.com/site/pages/html/frames.html

which is more generic, and even has a Zope Database Adapter.

My fallback plan, assuming insurmountable snags with the first two attempts
is:

FreeTDS http://www.freetds.org/

which is SQL Server specific, and so the least generic of all.

Then, if all else fails, we'll have to look at the OpenLink (for $) stuff.

OpenLinkhttp://www.openlinksw.com/

I'll let you know how it goes.

Later,
Jerry S..

___
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/listinfo/zope-dev )




[Zope] Re. Generic Workflow Products?

2000-08-23 Thread Spicklemire, Jerry

Cary wrote:

> come to the realization that many applications boil
> down to workflow management.

The ZPatterns project the Phil Eby and Ty Sarna are running 
is intended to lay the groundwork for just what you want. 
They call it "SWARM", and if memory serves, the "W" is for 
"Workflow". ZPatterns has been incorporated into the next 
rev. of the Portal Tool Kit to some degree.

http://www.zope.org/Members/pje/Wikis/ZPatterns/HomePage

http://lists.zope.org/pipermail/zope-ptk/


The discussion below is from:
http://www.zope.org/Members/pje/Wikis/ZPatterns/SummarizedVersion

"   Other applications of ZPatterns

stevea: I'm using it to support a Product Line Infrastructure -- a bunch of
related applications that reuse bits of each other but in differnet
contexts. However, I've only got the first app so far :-)

JeffH?: We need to build a workflow system. We need to build a content
management system. We need to build a customer relationship management
system. I only want to build each one once. They must, at some point,
cooperate with each other depending on the context in which they are being
used.

roche: we also need to build a customer relationship system

rdmurray: We could probably use a community collaboration on a CRM project.

MrTopf?: wonders if he could use ZPatterns for his Groupware ideas..

SWARM

pje: ZPatterns is the basis for another system Ty and I will be building,
called SWARM... State-based Workflow And Resource Management So, it is
probably a good match for other workflow apps.

stevea: I've seen that acronym somewhere inthe Wiki I think. Will SWARM be
open source or verio internal?

pje: Open source.

tsarna: (pje and I are arguing as to weather propertysheets on users already
work or not... hold on :)

pje: The idea is that there will be Plans, which have Phases, Events, and
Roles. Then "ObjectsWithPlans" will use the plan as a kind of state-based
attribute provider. You can actually do state-based stuff now, using just
GAPs?.

jean: I'm champing at the bit to show off something like SWARM at work.
Stuff like Journyx and an inhouse issue tracker are being pushed, and I feel
they're steps backwards. We're going to have to zopify some anyway, better
to invest more in it, not disperse across other cruft."

To me ZPatterns and SWARM represent an even higher level of Zope development
that
will impact Zope Deployment similarly to the way Visual Basic changed
Windows Development. Watching this take shape is kind of like knowing about
the Normandy Invasion about six months ahead of time.

Later,
Jerry S..

___
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/listinfo/zope-dev )




[Zope] Amazing Disappearing Self

2000-08-17 Thread Spicklemire, Jerry

Hi Zope Fans,

Has anyone seen a case where acquisition works, but only 
in the topmost folder? The site I'm working on shows no 
problem on a test server, but upon moving to a 
production server any URL pointing to a subfolder, or a 
document contained in a subfolder returns an error 
(below).

The production server is Red Hat linux, Zope 2.1.6

A Proxy (running on a separate server) re-directs URLS 
to the top folder of the Zope tree, just below "root". 
The oddest part is that elements available in the "root" 
(standard_html_header, and other elements called within) 
show up on the same "page" as the error message. 

It's as if Zope is working partially, but after displaying 
all the elements at the top of the tree, the silly 
document can't find itself . . .

BTW, the raw URL (as seen in REQUEST) contains lot's of 
cookie garbage which may be causing the problem. I have 
added something like 



as suggested in some "How-Tos" at Zope.org. This got me to 
the point of having the top folder render correctly, which 
was better than I had seen up to that point. Alas, that's 
where progress stopped altogether.

On the test server everything "just worked", the way you 
sort of get used to with Zope . . .

The worst part is that some of the errors I'm seeing spill 
the guts of the cookie all over the browser screen.

BTW, what does it take to get standard_error_message to 
actually do what the dtml implies, to substitute the 
contents of an error_message object, where it exists?

Thanks,
Jerry S.

(here's that error message) 

Zope has encountered an error while publishing this resource. 

Resource not found

Sorry, the requested Zope resource does not exist.
Check the URL and try again.




Troubleshooting Suggestions

The URL may be incorrect. 
The parameters passed to this resource may be incorrect. 
A resource that this resource relies on may be encountering an error. 
For more detailed information about the error, please refer to the HTML
source for this page. 

If the error persists please contact the site maintainer. Thank you for your
patience. 

Traceback (innermost last):
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
214, in publish_module
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
179, in publish
  File /l01/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
151, in publish
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/BaseRequest.py, line
308, in traverse
  File /l01/Zope-2.1.6-linux2-x86/lib/python/OFS/Application.py, line 249,
in __bobo_traverse__
(Object: ApplicationDefaultPermissions)
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/HTTPResponse.py,
line 511, in notFoundError
NotFound: (see above)


___
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/listinfo/zope-dev )




[Zope] HTTP_ACCEPT

2000-08-16 Thread Spicklemire, Jerry

Greetings Zope Fans,

There is a value included in "REQUEST" called HTTP_ACCEPT. 
Is there a way within Zope to reset this value? 

The default seems to be "*/*", but our sysadmin says Zope 
would get along better if we can change it to include the 
alias that Zope has been assigned by our Proxy Server.

Thanks!
Jery S.


___
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/listinfo/zope-dev )




[Zope] Multiple record input into Postgresql

2000-08-10 Thread Spicklemire, Jerry

William wrote:

> inserts to a variable, say x1, into a postgresql table.  
> However, there is an additional variable, x2 that would 
> have to be only entered once and would be the same for 
> every record for which a different x1 is entered.  
> 
> it seems the  should do this.

Assign the variable x2.



Create a list of all the x1 variables. This step could be 
a sql method, if the variables already exist in a table.




Assign the value of sequence-item to variable this_x1.



Create a sql method to execute the inserts, and call it 
from within the first sql method, called using .
Be sure to include "arguments" this_x1, x2.



So, altogether now:



 
 


The  statement retrieves the cursor, calling the 
sql_insert for each item (sequence-item).





___
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/listinfo/zope-dev )




[Zope] Upload on a local File System

2000-08-08 Thread Spicklemire, Jerry

Francois wrote:

>Hi, I d like to upload on a Local File System. I would like to use a
>form, choose a file and i d like that Zope upload the file on the
>LocalFS. I ve met some troubles, could you help me?

See Jonathan Farr's LocalFS product, which now (since v.0.8.1) allows 
file uploads to the local file system.

http://www.zope.org/Members/jfarr/Products/LocalFS

Later,
Jerry S.


___
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/listinfo/zope-dev )




[Zope] Less than helpful traceback

2000-08-04 Thread Spicklemire, Jerry

Hi Folks,

Any thoughts about how to find out what the erro message 
(below) means? If I could just find out what exactly is 
not being found, it would help alot, but there's no hint.

Thanks for any thoughts,
Jerry S.

Zope has encountered an error while publishing this resource. 

Resource not found

Sorry, the requested Zope resource does not exist.
Check the URL and try again.




Troubleshooting Suggestions

The URL may be incorrect. 
The parameters passed to this resource may be incorrect. 
A resource that this resource relies on may be encountering an error. 
For more detailed information about the error, please refer to the HTML
source for this page. 

If the error persists please contact the site maintainer. Thank you for your
patience. 

Traceback (innermost last):
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
214, in publish_module
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
179, in publish
  File /l01/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in
zpublisher_exception_hook
(Object: ApplicationDefaultPermissions)
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line
151, in publish
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/BaseRequest.py, line
308, in traverse
  File /l01/Zope-2.1.6-linux2-x86/lib/python/OFS/Application.py, line 249,
in __bobo_traverse__
(Object: ApplicationDefaultPermissions)
  File /l01/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/HTTPResponse.py,
line 511, in notFoundError
NotFound: (see above)




___
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/listinfo/zope-dev )




[Zope] Your feedback: what should DateTime strftime() behavior be?

2000-07-25 Thread Spicklemire, Jerry

+1


___
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/listinfo/zope-dev )




[Zope] RE: Reversing acquisition?

2000-07-20 Thread Spicklemire, Jerry

"B" is acquirable by "C" and "D", because it is within the context of a
common container, "A". However, some other object, "E" that is acquired from
higher up the containment chain may be affected by the nature of the "B"
that is available to "D". Because of that, the "E" may appear differently
than it would if presented as a component from some other containment chain.


An easy example to grasp is to think of "B" as defining the background color
of a page. If "E" is the master page template, other "B" objects in other
chains could define the color scheme for the all the objects ("pages") in
the parent folder. 

That's context.

-Original Message-
From: Luciano Ramalho [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2000 1:23 PM
To: Spicklemire, Jerry
Subject: Re: Reversing acquisition?


Great ASCII illustration! I see what you mean. But I still don´t see the
difference between "containment" and "context" as defined in the
AquisitionUsage Wiki (quoted below).

[]s
Luciano


"Spicklemire, Jerry" wrote:
> 
> Ramalho wrote:
> 
> >"""
> >- Containment: Search the object, then its container, then the
> >container's container, and so on. Ignore objects not in this chain.
> >
> >- Context: Search the objects in precisely the reverse of the order in
> >which they were mentioned, so "A.B.C.D" is always searched in the order
> >"D", "C", "B", "A".
> >
> >"""
> >
> >But for me, A.B.C.D means that A contains B; B contains C; and C
> >contains D, so I don´t see the difference from the first definition.
> 
> There's a good slide in Michel's presentation at the open source
conference.
> 
> Imagine:
> 
>   
>   | -  - |
>   | | B |  |   C   | |
>   | -  | - | |
>   || | D | | |
>   |   A| - | |
>   ||   | |
>   |- |
>   
> 
> So that "A" is a folder,
> "B" is an object in "A",
> "C" is a subfolder in "A",
> and "D" is an object in "C".
> 
> Then "B" is acquirable by "D", or any object in "C", but "B" is not
> contained in either "C" or "D".
> 
> Later,
> Jerry S.
>


___
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/listinfo/zope-dev )




[Zope] Reversing acquisition?

2000-07-20 Thread Spicklemire, Jerry

Ramalho wrote:

>"""
>- Containment: Search the object, then its container, then the
>container's container, and so on. Ignore objects not in this chain.
>
>- Context: Search the objects in precisely the reverse of the order in
>which they were mentioned, so "A.B.C.D" is always searched in the order
>"D", "C", "B", "A".
>
>"""
>
>But for me, A.B.C.D means that A contains B; B contains C; and C
>contains D, so I don´t see the difference from the first definition.

There's a good slide in Michel's presentation at the open source conference.

Imagine:

  
  | -  - | 
  | | B |  |   C   | |
  | -  | - | |
  || | D | | |
  |   A| - | |
  ||   | |
  |- |
  

So that "A" is a folder, 
"B" is an object in "A", 
"C" is a subfolder in "A",
and "D" is an object in "C".

Then "B" is acquirable by "D", or any object in "C", but "B" is not
contained in either "C" or "D".
  
Later,
Jerry S.



___
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/listinfo/zope-dev )




[Zope] RE: Date time format

2000-07-19 Thread Spicklemire, Jerry

Oops! Change those "==" to just single "=".
Too much Python on the brain . . .

-Original Message-----
From: Spicklemire, Jerry 
Sent: Wednesday, July 19, 2000 12:15 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: Date time format


The DTML User Guide has an "Appendix A" that shows lot's of options, but no
examples. Anyhow, see:

http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.18.html

You can use these like so:











You can also use Python slicing syntax to do something
totally ridiculous like this:















to find the first and last seconds of a date.

Have a good time!
Jerry S.








___
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/listinfo/zope-dev )




[Zope] Date time format

2000-07-19 Thread Spicklemire, Jerry

The DTML User Guide has an "Appendix A" that shows lot's of options, but no
examples. Anyhow, see:

http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.18.html

You can use these like so:











You can also use Python slicing syntax to do something
totally ridiculous like this:















to find the first and last seconds of a date.

Have a good time!
Jerry S.








___
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/listinfo/zope-dev )




RE: [Zope] File referencing and LocalFS

2000-07-05 Thread Spicklemire, Jerry

Hi Marco,

From: Marco Mariani [mailto:[EMAIL PROTECTED]]
Subject: Re: [Zope] File referencing and LocalFS

>> 
>>  foldername = string.join(colname, '')
>> 
>> using a "blank" ('') between each string, in other words, with no
delimiter.

>Maybe you meant

>foldername = string.join(string.split(colname,' '),'')

>or

>foldername = string.replace(colname,' ','')

>because join takes a list, not a string.

Yes, you are correct!


Later,
Jerry S.


___
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/listinfo/zope-dev )




[Zope] File referencing and LocalFS

2000-07-05 Thread Spicklemire, Jerry

Hi Rogerio

>1)Folders names are directly related to string fields 
>in a MySQL database which use spaces between words (eg 
>New York), but folders names don't use spaces (eg 
>NewYork). How can I skip spaces from database fields to 
>make them refer to these folders (eg New York --> 
>NewYork)?

I python it's just :

foldername = string.join(colname, '')

using a "blank" ('') between each string, in other words, with no delimiter.

So, in Zope it's something like :



assuming you've already assigned "colname" from a ZSQL Method.

2)Using LocalFS, can I do something like var "localfsObject[''].['par11>'], where par1 and par11 are folder names (after 
>skiping spaces)?

According to the Local FS docs*, this would be :



Keep in mind that inside a dtml tag you can refer to objects by name, 
without redundant dtml tags, and even without the quotes, 
if you're not calling a method of the object :



Good Luck,
Jerry S.

* http://www.zope.org/Members/jfarr/HowTo/DTML_with_LocalFS


___
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/listinfo/zope-dev )