Re: [Zope] Asynchronous triggering of events

2010-10-19 Thread Jeff Peterson
 -Original Message-
 From: zope-bounces+jeff.peterson=crary@zope.org [mailto:zope-
 bounces+jeff.peterson=crary@zope.org] On Behalf Of Brian Sullivan
 Sent: Tuesday, October 19, 2010 1:13 PM
 To: Chris Withers
 Cc: zope@zope.org
 Subject: Re: [Zope] Asynchronous triggering of events
 
 So I installed 2.11.4 -- the latest that I could find and still the
 same issue.

This is what I mentioned about it being built-in to newer versions. You set it 
up in zope.conf.

 
 I get the impression from the age of the Zope installs, the state of
 disrepair and link rot of the zope.org site that Zope is in its final
 death throes as an independent entity ? I tried to look for an
 independent version of Plone that I can install on an existing Zope--
 the only install I could find is a complete installer including Zope.
 
 Is Plone the new Zope?

Nope, Bluebream (formerly known as Zope3) is the new Zope, though Zope2 is 
alive and very well.  Might consider peeking at Grok as well. Though I don't 
know if either of those will help you.

 
 
 
 On Mon, Oct 18, 2010 at 5:27 PM, Chris Withers ch...@simplistix.co.uk
 wrote:
  On 18/10/2010 22:25, Brian Sullivan wrote:
 
  zopetcl -- is that a unix program? I am using Windows unfortunately.
 
  It might well be on your version of Zope, it works fine in later
 versions,
  though...
 
  That said, if you take a look at Stepper, you'll see that I
 documented how
  to get it all to work on Windows (use Scheduled Tasks to drive it)
 
  cheers,
 
  Chris
 
  PS: But seriously, how much of a masochist are you? Zope 2.9 on
 Windows?!
  ;-)
 
  --
  Simplistix - Content Management, Batch Processing  Python Consulting
             - http://www.simplistix.co.uk
 
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Asynchronous triggering of events

2010-10-18 Thread Jeff Peterson
I'd start by looking at the logs to see what's failing, should be a traceback 
there somewhere.

Other than that there is clockserver, but I am not sure that was/is available 
in the version you are using.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peter...@crary.com

 -Original Message-
 From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of
 Brian Sullivan
 Sent: Monday, October 18, 2010 2:51 PM
 To: Zope Users
 Subject: [Zope] Asynchronous triggering of events
 
 I am back working with Zope 2.9.1 (yes I know it is long in the tooth
 but I am trying to avoid adding the pain of upgrading, having products
 fail and all the usually comes with upgrading if I can). I
 
  am looking for a strategy to schedule and carry out tasks at periodic
 future dates.
 
 I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/) but
 it either doesn't seem to work with 2.9.1 (or I can't get it to work).
 I install it in the products directory but it doesn't show up in the
 product directory when Zope restarts and naturally none of the objects
 it is supposed to supply can be added. I haven't investigated what the
 problem is (and am not even totally sure how to go about it). Is there
 something isn't obvious that I might be missing?
 
 Barring getting it to work are there any other alternatives?
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Asynchronous triggering of events

2010-10-18 Thread Jeff Peterson
Can't say I have ever used it, only heard about it on this list.  Seems to me 
it's built into the latest releases.  Try looking at the source, may be 
something in the tests.py that'll give you some insight.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peter...@crary.com


 -Original Message-
 From: Brian Sullivan [mailto:briansulli...@gmail.com]
 Sent: Monday, October 18, 2010 3:46 PM
 To: Jeff Peterson
 Cc: Zope Users
 Subject: Re: [Zope] Asynchronous triggering of events
 
 Clockserver seems to install -- can't find any docs on how to use it
 though. All the links for info at the download site appear to be dead.
 
 Any idea where docs might be located?
 
 On Mon, Oct 18, 2010 at 4:18 PM, Jeff Peterson
 jeff.peter...@crary.com wrote:
  I'd start by looking at the logs to see what's failing, should be a
 traceback there somewhere.
 
  Other than that there is clockserver, but I am not sure that was/is
 available in the version you are using.
 
  --
  Jeffrey D Peterson
  Webmaster
  Crary Industries, Inc.
  237 12th St NW
  West Fargo, ND 58078
  P: 701-499-5928
  E: jeff.peter...@crary.com
 
  -Original Message-
  From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf
 Of
  Brian Sullivan
  Sent: Monday, October 18, 2010 2:51 PM
  To: Zope Users
  Subject: [Zope] Asynchronous triggering of events
 
  I am back working with Zope 2.9.1 (yes I know it is long in the
 tooth
  but I am trying to avoid adding the pain of upgrading, having
 products
  fail and all the usually comes with upgrading if I can). I
 
   am looking for a strategy to schedule and carry out tasks at
 periodic
  future dates.
 
  I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/)
 but
  it either doesn't seem to work with 2.9.1 (or I can't get it to
 work).
  I install it in the products directory but it doesn't show up in the
  product directory when Zope restarts and naturally none of the
 objects
  it is supposed to supply can be added. I haven't investigated what
 the
  problem is (and am not even totally sure how to go about it). Is
 there
  something isn't obvious that I might be missing?
 
  Barring getting it to work are there any other alternatives?
  ___
  Zope maillist  -  z...@zope.org
  https://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
   https://mail.zope.org/mailman/listinfo/zope-announce
   https://mail.zope.org/mailman/listinfo/zope-dev )
 
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Asynchronous triggering of events

2010-10-18 Thread Jeff Peterson
Not sure if this is the same thing but you can take a look at this as well: 
http://nullege.com/codes/show/src%40z%40o%40Zope2-2.12.12%40src%40ZServer%40tests%40test_clockserver.py/5/ZServer.ClockServer



--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peter...@crary.com


 -Original Message-
 From: Brian Sullivan [mailto:briansulli...@gmail.com]
 Sent: Monday, October 18, 2010 3:46 PM
 To: Jeff Peterson
 Cc: Zope Users
 Subject: Re: [Zope] Asynchronous triggering of events
 
 Clockserver seems to install -- can't find any docs on how to use it
 though. All the links for info at the download site appear to be dead.
 
 Any idea where docs might be located?
 
 On Mon, Oct 18, 2010 at 4:18 PM, Jeff Peterson
 jeff.peter...@crary.com wrote:
  I'd start by looking at the logs to see what's failing, should be a
 traceback there somewhere.
 
  Other than that there is clockserver, but I am not sure that was/is
 available in the version you are using.
 
  --
  Jeffrey D Peterson
  Webmaster
  Crary Industries, Inc.
  237 12th St NW
  West Fargo, ND 58078
  P: 701-499-5928
  E: jeff.peter...@crary.com
 
  -Original Message-
  From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf
 Of
  Brian Sullivan
  Sent: Monday, October 18, 2010 2:51 PM
  To: Zope Users
  Subject: [Zope] Asynchronous triggering of events
 
  I am back working with Zope 2.9.1 (yes I know it is long in the
 tooth
  but I am trying to avoid adding the pain of upgrading, having
 products
  fail and all the usually comes with upgrading if I can). I
 
   am looking for a strategy to schedule and carry out tasks at
 periodic
  future dates.
 
  I had a look at Xron (http://www.zope.org/Members/lstaffor/Xron/)
 but
  it either doesn't seem to work with 2.9.1 (or I can't get it to
 work).
  I install it in the products directory but it doesn't show up in the
  product directory when Zope restarts and naturally none of the
 objects
  it is supposed to supply can be added. I haven't investigated what
 the
  problem is (and am not even totally sure how to go about it). Is
 there
  something isn't obvious that I might be missing?
 
  Barring getting it to work are there any other alternatives?
  ___
  Zope maillist  -  z...@zope.org
  https://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
   https://mail.zope.org/mailman/listinfo/zope-announce
   https://mail.zope.org/mailman/listinfo/zope-dev )
 
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Logging a user onto zope

2010-09-20 Thread Jeff Peterson
http://www.zope.org/Products/PluggableAuthService/

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peter...@crary.com

 -Original Message-
 From: zope-bounces+jeff.peterson=crary@zope.org [mailto:zope-
 bounces+jeff.peterson=crary@zope.org] On Behalf Of Richard Harley
 Sent: Monday, September 20, 2010 10:35 AM
 To: zope@zope.org
 Subject: [Zope] Logging a user onto zope
 
 Hello all
 
 I'm trying to log someone onto Zope not using acl_users - how does this
 work? Ideally I want to pass variables through a logon page,
 authenticate against a postgres table then let the user have access to
 a
 certain folder. I tried ExUserFolder but it seems over the top for what
 I want and very dtml-heavy.
 
 Thanks
 Richard
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Logging a user onto zope

2010-09-20 Thread Jeff Peterson
Sorry, new releases are on pypi now: 
http://pypi.python.org/pypi/Products.PluggableAuthService


--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peter...@crary.com


 -Original Message-
 From: zope-bounces+jeff.peterson=crary@zope.org [mailto:zope-
 bounces+jeff.peterson=crary@zope.org] On Behalf Of Richard Harley
 Sent: Monday, September 20, 2010 10:35 AM
 To: zope@zope.org
 Subject: [Zope] Logging a user onto zope
 
 Hello all
 
 I'm trying to log someone onto Zope not using acl_users - how does this
 work? Ideally I want to pass variables through a logon page,
 authenticate against a postgres table then let the user have access to
 a
 certain folder. I tried ExUserFolder but it seems over the top for what
 I want and very dtml-heavy.
 
 Thanks
 Richard
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Storing DTML in SQL

2010-08-18 Thread Jeff Peterson
Why must it be stored in a RDB?  Can you not store the DTML in the ZODB and 
store the path or id to the DTML in the RDB or a python script that can massage 
whatever data you need and call the DTML..

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.
237 12th St NW
West Fargo, ND 58078
P: 701-499-5928
E: jeff.peter...@crary.com

 -Original Message-
 From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of
 Andrew Milton
 Sent: Wednesday, August 18, 2010 11:26 AM
 To: Garry Saddington
 Cc: zope@zope.org
 Subject: Re: [Zope] Storing DTML in SQL
 
 +---[ Garry Saddington ]--
 | Garry Saddington wrote:
 |  Justin Dunsworth wrote:
 |  I am currently working on a project where I am storing HTML within
 a
 |  MySQL database to display dynamic pages and content in sequences.
 I
 |  would like to be able to store DTML within the tables as well and
 be
 |  able to call them within the page to display that content. I tried
 |  mixing the DTML in with the HTML and it shows the HTML correctly
 but no
 |  DTML.
 | 
 |  Is it possible to even do this? Are there other suggestions on how
 to go
 |  about this?
 | 
 |  The closest I have found is on Zopelabs
 |  (http://www.zopelabs.com/cookbook/1078612026)
 |
 | Sorry wrong recipe try this:
 |
 | http://www.zopelabs.com/cookbook/993850737/1011691351
 
 Do I really have to explain why that particular recipe is a bad idea?
 d8)
 
 --
 Andrew Milton
 a...@theinternet.com.au
 ___
 Zope maillist  -  Zope@zope.org
 https://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  https://mail.zope.org/mailman/listinfo/zope-announce
  https://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] string formatting

2010-08-13 Thread Jeff Peterson
def inc(s):
id, count = (s[:1], int(s[1:4]))
count += 1
return '%s%03d' % (id, count)

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Ebbe 
Kvist
Sent: Friday, August 13, 2010 11:17 AM
To: zope@zope.org
Subject: [Zope] string formatting

Hi all,

I want to process a variable, signum2, which is picked up from a MySQL 
database. The content of the variable is
B006.
The aim is to process this variable so the result will be
B007 and it will then be saved as part of a new record in the database.
The core process is to increment the integer part of the variable 006 with 1.

I have successfully done this incrementation but I have not been able to create 
a new
correct content for the new varable new_xyz.

dtml-call REQUEST.set('signumfix2',signum2[1:4])
dtml-call REQUEST.set('signumfix2', _.int(signumfix2)+1)

How can I from here create the correct content of the new variable? I need to 
bring the B part
with me and then the incremented integer part formatted with two preceeding 
zeroes. Does anyone know?

Best regards,

Ebbe Kvist
Stockholm

___
Hitta kärleken med hjälp av vårt matchningstest - Klicka 
här!http://spray.matchaffinity.se/?mtcmk=614114
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] string formatting

2010-08-13 Thread Jeff Peterson
To be more flexible it should probably look more like this:

def inc(s):
import string
id, count = (s[:1], s[1:])
count = string.zfill(str(int(count) + 1), len(count))
return '%s%s' % (id, count)

That way even 'B0006' would get incremented properly.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Ebbe 
Kvist
Sent: Friday, August 13, 2010 11:17 AM
To: zope@zope.org
Subject: [Zope] string formatting

Hi all,

I want to process a variable, signum2, which is picked up from a MySQL 
database. The content of the variable is
B006.
The aim is to process this variable so the result will be
B007 and it will then be saved as part of a new record in the database.
The core process is to increment the integer part of the variable 006 with 1.

I have successfully done this incrementation but I have not been able to create 
a new
correct content for the new varable new_xyz.

dtml-call REQUEST.set('signumfix2',signum2[1:4])
dtml-call REQUEST.set('signumfix2', _.int(signumfix2)+1)

How can I from here create the correct content of the new variable? I need to 
bring the B part
with me and then the incremented integer part formatted with two preceeding 
zeroes. Does anyone know?

Best regards,

Ebbe Kvist
Stockholm

___
Hitta kärleken med hjälp av vårt matchningstest - Klicka 
här!http://spray.matchaffinity.se/?mtcmk=614114
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] questions about migrating forwards

2010-03-11 Thread Jeff Peterson


--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Andrew 
Watkins
Sent: Wednesday, March 10, 2010 9:35 PM
To: zope@zope.org
Subject: [Zope] questions about migrating forwards


Hi list

We have a legacy web service that is running on Zope 2.6.2 with Python 2.3.3


For various reasons - security, maintenance etc we have decide to try migrating 
this forward to a current version of python and zope.

e.g. Python 2.6 + Zope 2.12.2


I have a new clean SUSE linux 11 installation with the correct python, 
setuptools and I am using virtualenv to create a sandbox


I have installed the zope 2.12.2 and configured it in much the same way as the 
older system - (zeo with two data files, + 1 zope instance.)


All is good and I can start up the instance and access the management pages.


My next step is to get the Products list that we were using running.  Here I 
have run into two problems

1. ExternalFile

This fails to load with the error 'ImportError: No module named Interface'  
(stack trace below)

I tested this with zope 2.11.4 and it works ok.



Either port ExternalFile over to using zope.interface or find a new product to 
do what ExternalFile was doing for you.


2. ZMySQLDA

This fails with the message 'ImportError: No module named _mysql'

again this works ok on zope 2.11.4


So I guess there is a key step that I am missing out or a path, or installation 
that is required.

The main difference is that 2.12 is installed using virtualenv and then 
easy_install



You need to install mysql-python into virtualenv, activate your environment and 
use easy-install to install mysql-python from there.


e.g. bin/easy_install -i http://download.zope.org/Zope2/index/2.12.2 Zope2


Are there known incompatabilities with these Products ?  or is my installation 
just not quite right.


Thanks Andrew



stack trace for loading ExternalFile

{code}

/web/science_1/bin # ./zopectl fg

/web/science_1/bin/runzope -X debug-mode=on

2010-03-11 14:28:22 INFO ZServer HTTP server started at Thu Mar 11 14:28:22 2010

Hostname: 0.0.0.0

Port: 8080

2010-03-11 14:28:22 INFO ZServer FTP server started at Thu Mar 11 14:28:22 2010

Hostname: 0.0.0.0

Port: 8021

2010-03-11 14:28:22 INFO Zope Set effective user to zope

/web/science_1/Products/ExternalFile/ExternalFile.py:21: DeprecationWarning: 
MessageDialog is deprecated. import from App.Dialogs instead

  from Globals import MessageDialog

2010-03-11 14:28:22 ERROR Application Could not import Products.ExternalFile

Traceback (most recent call last):

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/OFS/Application.py,
 line 596, in import_product

product=__import__(pname, global_dict, global_dict, silly)

  File /web/science_1/Products/ExternalFile/__init__.py, line 18, in module

from ExternalFile import manage_addExternalFileForm, addExternalFile

  File /web/science_1/Products/ExternalFile/ExternalFile.py, line 36, in 
module

from IExternalFile import IExternalFile

  File /web/science_1/Products/ExternalFile/IExternalFile.py, line 16, in 
module

from Interface import Base

ImportError: No module named Interface

Traceback (most recent call last):

  File /web/bin/runzope, line 8, in module

load_entry_point('Zope2==2.12.2', 'console_scripts', 'runzope')()

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/Zope2/Startup/run.py,
 line 21, in run

starter.prepare()

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/Zope2/Startup/__init__.py,
 line 87, in prepare

self.startZope()

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/Zope2/Startup/__init__.py,
 line 264, in startZope

Zope2.startup()

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/Zope2/__init__.py,
 line 47, in startup

_startup()

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/Zope2/App/startup.py,
 line 58, in startup

OFS.Application.import_products()

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/OFS/Application.py,
 line 573, in import_products

import_product(product_dir, product_name, raise_exc=debug_mode)

  File 
/web/lib/python2.6/site-packages/Zope2-2.12.2-py2.6-linux-x86_64.egg/OFS/Application.py,
 line 596, in import_product

product=__import__(pname, global_dict, global_dict, silly)

  File /web/science_1/Products/ExternalFile/__init__.py, line 18, in module

from ExternalFile import manage_addExternalFileForm, addExternalFile

  File /web/science_1/Products/ExternalFile/ExternalFile.py, line 36, in 
module

from IExternalFile import IExternalFile

  File /web/science_1/Products/ExternalFile/IExternalFile.py, line 16, in 
module

from Interface import Base

ImportError: No module named Interface

{code}


{code}

(web)horatio:/web/science_1 # bin/zopectl fg


Re: [Zope] questions about migrating forwards

2010-03-11 Thread Jeff Peterson
I have used LocalFS, but at the time I upgraded it had to be patched too, you 
could check around and see if it's been updated.  I believe it's still actively 
maintained.
--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Andrew 
Watkins
Sent: Thursday, March 11, 2010 2:15 PM
To: Tres Seaver; zope@zope.org
Subject: Re: [Zope] questions about migrating forwards


Thanks for the useful responses

Is there some other Product that people use to bring external files into the 
zope environment?


Andrew


Andrew Watkins
Systems Development Team Manager
National Institute Water  Atmospheric Research (NIWA).


 On 12 Mar 10 at 04:05 AM, in message hnb0r9$jc...@dough.gmane.org, Tres 
 Seaver tsea...@palladion.com wrote:

You will eed to patch ExternalFile to use Zope3-style interfaces.  E.g.,
instead of:

  from Interface import Interface

patch it to be:

  from zope.interface import Interface

Their may be other changes required, as well, depending on how the
product uses the interfaces.  (Later:  I've done the patch, at least to
the extent of getting the appserver to start:  see attachment).

 2. ZMySQLDA This fails with the message 'ImportError: No module named
 _mysql' again this works ok on zope 2.11.4

You need to install the MySQL-python package into your virtuaenv:

  $ bin/easy_install MySQL-python


NIWA is the trading name of the National Institute of Water  Atmospheric 
Research Ltd.
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] /Manage access from some networks

2009-12-10 Thread Jeff Peterson
http://httpd.apache.org/docs/1.3/mod/mod_access.html

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of iarly 
selbir | ski0s
Sent: Thursday, December 10, 2009 6:13 AM
To: zope@zope.org
Subject: [Zope] /Manage access from some networks

That's possible? I want allow the access to /manage of my zope instances only 
for some know networks, My zope has Apache as frontend.

Thanks in advance for any help.


Regards,

- -
iarly selbir | ski0s

:wq!
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] dynamically call zsqlmethod

2009-11-25 Thread Jeff Peterson
IF it's a variable passed to the script wouldn't you simply access it as 
'column'?

Also, is it a variable or a function? Or is the variable the name of a function 
somewhere?

If it's the former just call it: column().

If it's the latter, Andreas should be correct, getattr(context, column)() or 
possible context[column] if you like that better. 

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.


-Original Message-
From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Garry 
Saddington
Sent: Wednesday, November 25, 2009 12:53 PM
To: zope@zope.org
Subject: [Zope] dynamically call zsqlmethod

I am passing a variable named 'column' to the following script and 
trying to fill a select box with the result of a zsqlmethod chosen 
dynamically using this variable.

print select name=nonboolean method=post
command=context.column()

for row in command:
 code=row.code
 meaning=row.meaning
 print option value=%s%s/option (code,meaning)

print /select
return printed



I can not work out how to substitiute the command with the variable, any 
help much appreciated.
Regards
Garry
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] dtml-in pagination

2009-04-08 Thread Jeff Peterson
dtml-if REQUEST.has_key('b_start')
  dtml-call REQUEST.set('b_start',_.int(b_start))
dtml-else
  dtml-call REQUEST.set('b_start',0)
/dtml-if
dtml-call REQUEST.set('size', 3)
dtml-call REQUEST.set('foods',['sandwiches', 'pie', 'meatloaf', 
 'berries', 'bread', 'coffee', 
 'some', 'thing', 'else'])

a href=?b_start=dtml-var b_start-sizePrevious dtml-var size/a
dtml-in foods size=size orphan=1 start=b_start


  p
  dtml-var sequence-item
  /p

/dtml-in
a href=?b_start=dtml-var b_start+sizeNext dtml-var size/a

From: http://www.zope.org/Members/peterbe/DTML2ZPT/

Incidently, this is a great resource for moving from DTML to page templates.

There are many examples of batching on ZopeLabs as well, from what I could see 
they are for ZPT though.

http://www.zopelabs.com

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.


-Original Message-
From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Bobby
Sent: Tuesday, April 07, 2009 2:48 PM
To: zope@zope.org
Subject: Re: [Zope] dtml-in pagination


Could someone point me to some documentation on how to do pagination? Thanks. 


--- On Tue, 4/7/09, Bobby cybercruis...@yahoo.com wrote:

 From: Bobby cybercruis...@yahoo.com
 Subject: [Zope] dtml-in pagination
 To: zope@zope.org
 Date: Tuesday, April 7, 2009, 10:58 AM
 Hi,
 
 I'm trying to do pagination with dtml-in; could one of
 you show my why i can't get the next and previous button
 from my code below to work? 
 
 Also, i need to do view per page: 1,2,3,etc. and allow the
 user select the number of records displayed per page (size)
 as well. Thanks in advance for any advice. 
 
 dtml-in
 getTable(table=table,order_by=order_by,sort=sort)
 size=10 start=0
 dtml-if sequence-end
 tr
   td colspan=3
   a href=?table=dtml-var
 tableorder_by=dtml-var
 order_bysort=dtml-var
 sortstart=dtml-var
 previous-sequenceprevious/a
   a href=?table=dtml-var
 tableorder_by=dtml-var
 order_bysort=dtml-var
 sortstart=dtml-var
 next-sequencenext/a
   /td
 /tr
 /dtml-if sequence-end 

 /dtml-in
 
 
   
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists - 
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )


  
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Error in python method...

2009-01-13 Thread Jeff Peterson
Agreed, if you are going through the learning curve anyway, may as well be the 
new way.  Grok, in fact, may take less time to get into for basic apps.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.


-Original Message-
From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Andreas 
Jung
Sent: Tuesday, January 13, 2009 10:54 AM
To: Joseph Thomas (s)
Cc: zope@zope.org
Subject: Re: [Zope] Error in python method...

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If you are new to Zope and/or interested in Zope, you are possibly more 
interested in using GROK (grok.zope.org) for getting started with Zope instead 
of using the old Zope 2 system.

- -aj

On 13.01.2009 17:36 Uhr, Joseph Thomas (s) wrote:
 
 *I’m going thru the online zope book (2.6) and trying out the simple
 interest rate calculator web application under the section*:
 
 
 *Creating a Basic Zope Application Using Page Templates and 
 Scripts*
 
 
 
 *http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/BasicObje
 ct.stx*
 
 
 *I’ll attach the error log:*
 
 
 * *
 
 *Time*
 
   
 
 2009/01/13 09:57:11.072 US/Central
 
 *User Name (User Id)*
 
   
 
 admin (admin)
 
 *Request URL*
 
   
 
 http://localhost:8080/interest/interestRateDisplay
 
 *Exception Type*
 
   
 
 AttributeError
 
 *Exception Value*
 
   
 
 calculateCompoundingInterest
 
 Traceback (innermost last):
 
 * Module ZPublisher.Publish, line 119, in publish
 * Module ZPublisher.mapply, line 88, in mapply
 * Module ZPublisher.Publish, line 42, in call_object
 * Module Shared.DC.Scripts.Bindings, line 313, in __call__
 * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
 * Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
 * Module Products.PageTemplates.ZopePageTemplate, line 427, in pt_render
 * Module Products.PageTemplates.PageTemplate, line 89, in pt_render
 * Module zope.pagetemplate.pagetemplate, line 117, in pt_render
 * Module zope.tal.talinterpreter, line 271, in __call__
 * Module zope.tal.talinterpreter, line 346, in interpret
 * Module zope.tal.talinterpreter, line 623, in do_insertText_tal
 * Module Products.PageTemplates.Expressions, line 228, in evaluateText
 * Module zope.tales.tales, line 696, in evaluate
   *URL: /interest/interestRateDisplay*
   *Line 10, Column 4*
   *Expression: PythonExpr
   here.calculateCompoundingInterest(principal, interest_rate,
   periods, years)*
   *Names:*
 
 ·{'container': Folder at /interest,
 
 · 'context': Folder at /interest,
 
 · 'default': object object at 0x0071C528,
 
 · 'here': Folder at /interest,
 
 · 'loop': {},
 
 · 'nothing': None,
 
 · 'options': {'args': ()},
 
 · 'repeat': Products.PageTemplates.Expressions.SafeMapping 
 object at 0x06EB1A08,
 
 · 'request': HTTPRequest, 
 URL=http://localhost:8080/interest/interestRateDisplay,
 
 · 'root': Application at ,
 
 · 'template': ZopePageTemplate at 
 /interest/interestRateDisplay,
 
 · 'traverse_subpath': [],
 
  'user': PropertiedUser 'admin'}
 
 * Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
   __traceback_info__: here.calculateCompoundingInterest(principal,
   interest_rate, periods, years)
 * Module PythonExpr, line 1, in expression
 
 AttributeError: calculateCompoundingInterest
 
 
   *form*
 
 *interest_rate*
 
   
 
 12.0
 
 *years*
 
   
 
 12
 
 *periods*
 
   
 
 4
 
 *principal*
 
   
 
 2.0
 
 
 * *
 
 
 * *
 
 
 *Does this indicate an error with my python script?*
 
 
 * *
 
  
 
  
 
 Joseph Thomas
 
 College of American Pathologists
 
 http://www.cap.org http://www.cap.org/
 
  
 
 
 --
 --
 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )


- -- 
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: i...@zopyx.com - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- 
E-Publishing, Python, Zope  Plone development, Consulting

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAklsxwsACgkQCJIWIbr9KYxYaACdE4S11TgoLtNIxOeQsF55XqT4
0a0AoL8piU+WpYP9XOo0auqpILUVUOoi
=rbJC
-END PGP SIGNATURE-

Re: [Zope] Question about URL lookups

2008-12-29 Thread Jeff Peterson
Script (Python) has a feature called traverse_subpath (you can rename in 
under the bindings tab, but why?) that may do what you want.

Given domain.com/[script name]/L-Fredericksburg/S-VA/C-Plumbing:

request.traverse_subpath should contain ['L-Fredericksburg', 'S-VA', 
'C-Plumbing']

There may be better ways to do this, but this popped immediately for me.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

-Original Message-
From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Allen 
Schmidt Sr.
Sent: Monday, December 29, 2008 9:43 AM
To: zope@zope.org
Subject: [Zope] Question about URL lookups

Sorry if this is too generic a question but thought I would throw it out.
Interested in doing a page that does a ZSQL lookup based URL parts but 
not like a normal db lookup.
I want another way to do:

domain.com/LocalSearchFolder/lookup?category=27state=vacity=Fredericksburg
More like this:
domain.com/LocalSearchFolder/L-Fredericksburg/S-VA/C-Plumbing

And that page (u...DTML preferably) would display the lookup results 
for Plumbing contractors in Fredericksburg, VA.

Any pointers to ideas??

Thanks!
-Allen

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Problem using dtml-in in ZSQL method

2008-12-11 Thread Jeff Peterson
Shouldn't this: dtml-sqlvar sequence-item type=int be dtml-var sequence-item 
type=int ?

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Françoise CONIL
Sent: Thursday, December 11, 2008 4:21 AM
To: zope@zope.org
Subject: [Zope] Problem using dtml-in in ZSQL method

Hello,

My ZSQL method receive a *mylist* parameter that should be an integer list : 
[21,35]

The following code does not work :

SELECT *
FROM MyTable
WHERE
  id in
(dtml-in mylist
dtml-sqlvar sequence-item type=int dtml-if 
sequence-lastdtml-else,/dtml-if
/dtml-in)
*Type de l'erreur*
NameError
*Valeur de l'erreur*
'client' may not be used as an argument name in this context

This other code does not work better :

SELECT *
FROM MyTable
WHERE
  id in
(dtml-in mylist prefix=myid
dtml-sqlvar expr=myid_item type=int dtml-if 
sequence-lastdtml-else,/dtml-if
/dtml-in)

*Same error*

However, if I use a dictionary list of this type [{'id':21},{'id':35}]  with 
the following code, it works (but it's heavy)

SELECT *
FROM MyTable
WHERE
  id in
(dtml-in mylist mapping
dtml-sqlvar id type=int dtml-if sequence-lastdtml-else,/dtml-if
/dtml-in)

The python script that calls my ZSQL method has already build the integer list 
and I would like to use it as is.

Thanks for your help
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] standard_error using zpt

2008-10-31 Thread Jeff Peterson
Yeah, I guess I wouldn't expect that to work.  Do you have the full traceback?

 The standard_error_message template can be tricky.  It doesn't get called to 
handle every error, nor should you call it directly, I think.  AFAIK the 
options data is only available when an error, one that it handles by default, 
occurs.  Also, and I may be wrong I haven't played with it too much but isn't 
the name standard_error_message required?  I think what you want to look at is 
the Zope help for tal:on-error  There is an example there that may help.
--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: Miguel Beltran R. [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2008 9:43 PM
To: Jeff Peterson
Cc: Andrew Milton; zope@zope.org
Subject: Re: [Zope] standard_error using zpt

Not work :(, say

Error Type: TraversalError
Error Value: ({'args': ()}, 'error_type')

: /a/b/muestra.pthttp://muestra.pt
div
   tal:condition=exists:request/modo
   tal:on-error=structure context/standard_error.pthttp://standard_error.pt

   p
  tal:condition=python:request.modo=='nada'
  tal:omit-tag=
   
  No se a ejecutado ninguna accion
   /p
   p
  tal:condition=python:request.modo=='ultimos'
  tal:content=structure 
container/muestra_ultimos.pthttp://muestra_ultimos.pt
  tal:omit-tag=
   
   /p
/div

: /a/b/muestra_ultimos.pthttp://muestra_ultimos.pt
table border=1
  thead
  tr
 thTipo/th
 thProducto/th
 thNombre/th
 thPresentacion/th
 thUnidad/th
 thExistencia/th
 thTotal/th
 thObservaciones/th
  tr
  /thead
  tbody
  tr id=tr
 tal:repeat=item context/zsql_producto
 tal:attributes=id python: 'tr_' + repeat.number --here is the error 
what I want catch (how resolve?)
  
 td tal:content=item/tipo_productoTipo/td
  /tr
  /tbody
/table


: /standard_error.pthttp://standard_error.pt
table
   tr
  thTipo/th td tal:content=options/error_type TipoError/td
  thValor/th td tal:content=options/error_value ValorError/td
  th/th td tal:content=options/error_tb tb/td
  th/th td tal:content=options/error_traceback Raestro en 
reversa/td
  th/th td tal:content=options/error_messagemensaje de error/td
  th/th td tal:content=options/error_log_urlurl de error/td
   /tr
/table
2008/10/30 Jeff Peterson [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Just for independent confirmation he's right, options is what you want.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

-Original Message-
From: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] [mailto:[EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED]] On Behalf Of Andrew Milton
Sent: Wednesday, October 29, 2008 11:02 PM
To: Miguel Beltran R.
Cc: zope@zope.orgmailto:zope@zope.org
Subject: Re: [Zope] standard_error using zpt

+---[ Miguel Beltran R. ]--
| Hi List
|
| I remember what old versions from zope haved standard_error using DTML
| How can do it the same using ZPT?
|
| I already try:
| td tal:content=error/type
| td tal:content=python: error.type
| td tal:content=context/error/type

From memory the following should be available;

options/error_type
options/error_value
options/error_tb
options/error_traceback
options/error_message
options/error_log_url


--
Andrew Milton
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.orgmailto:Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )



--

Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] standard_error using zpt

2008-10-30 Thread Jeff Peterson
Just for independent confirmation he's right, options is what you want.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Milton
Sent: Wednesday, October 29, 2008 11:02 PM
To: Miguel Beltran R.
Cc: zope@zope.org
Subject: Re: [Zope] standard_error using zpt

+---[ Miguel Beltran R. ]--
| Hi List
|
| I remember what old versions from zope haved standard_error using DTML
| How can do it the same using ZPT?
|
| I already try:
| td tal:content=error/type
| td tal:content=python: error.type
| td tal:content=context/error/type

From memory the following should be available;

options/error_type
options/error_value
options/error_tb
options/error_traceback
options/error_message
options/error_log_url


--
Andrew Milton
[EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Moving zope data.fs

2008-09-30 Thread Jeff Peterson
What's the error?

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jakob Carlsson
Sent: Tuesday, September 30, 2008 2:39 PM
To: zope@zope.org
Subject: [Zope] Moving zope data.fs

Hi everybody,
I have two Data.fs files and the Products directory from a server that was 
running two Plone websites (don't know anything more about Zope or Plone 
versions than it was Plone 2.5.x) that I'm trying to get up and running on the 
new server with no access to the old installation (we re-installed the server) 
but I can't get it to work in any way I have tried. I can't get Zope to read 
the database or it will not start at all. When I tried with the universal 
installer for Plone 2.5.3 (I think it was this version I got the longest with) 
I got it to read the database files but then I get program errors on almost 
every page in the ZMI so I can't go on with the installation.

Anybody got a clue on how to get the pages up and running again or do I have to 
start over and add all information manually in two new Plone pages?

I'm posting it here because I see it as a Zope error because I don't get near 
Plone before it fails.

//jakob
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] Page template issues

2008-07-15 Thread Jeff Peterson
This is happening with every page template, even brand new ones that don't 
really do anything, and it's happening on all the sites created with this Zope 
base.  I compiled and installed a new Zope base and created a new instance from 
this, and the page templates are fine.  Something in the Zope install must've 
gotten corrupted with the hard reboot.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 12:22 PM
To: Jeff Peterson; zope@zope.org
Subject: Re: [Zope] Page template issues



--On 14. Juli 2008 12:02:32 -0500 Jeff Peterson [EMAIL PROTECTED]
wrote:

 Greetings,

 I recently upgraded from Zope 2.8.7 to 2.11.0.  After working out some
 issues, everything worked OK for a couple weeks.  There were minor
 page template issues, but they weren't stopping the pages from rendering.
 Then our server locked up..we had to reboot it.  When I got everything
 back up I get this error:

 2008-07-14T11:45:50 ERROR Zope.SiteErrorLog
 http://dev.bearcatproducts.com:9280/zzz-v2/public/ope/index.html
 Traceback (innermost last):
   Module ZPublisher.Publish, line 119, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 42, in call_object
   Module Shared.DC.Scripts.Bindings, line 313, in __call__
   Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
   Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
   Module Products.PageTemplates.ZopePageTemplate, line 428, in
 pt_render AssertionError

The pt_render() method did not return a unicode string as expected.
Can this be reproduced? Your templates are stored within the ZODB (you edit 
them through the ZMI?). You would be helpful to write a bugreport
(Launchpad) together with  a .zexp  of the related template.

-aj
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Page template issues

2008-07-14 Thread Jeff Peterson
Greetings,

I recently upgraded from Zope 2.8.7 to 2.11.0.  After working out some issues, 
everything worked OK for a couple weeks.  There were minor page template 
issues, but they weren't stopping the pages from rendering.  Then our server 
locked up..we had to reboot it.  When I got everything back up I get this error:

2008-07-14T11:45:50 ERROR Zope.SiteErrorLog 
http://dev.bearcatproducts.com:9280/zzz-v2/public/ope/index.html
Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 428, in pt_render
AssertionError

In all page templates, ported and new.  I am running two Zeo servers built from 
the same base install, and the clients are all built from that install as well.

Any clues to what's going on?

TIA.

Regards,

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


RE: [Zope] ZcxOracleDA, LocalFS, ZMySQLDA

2008-06-27 Thread Jeff Peterson
I'm not actually having a problem.  I updated those three products to work with 
2.11.0 and was wondering if someone could give some guidance to me regarding 
getting the changes made permanent or at least looked at by the authors.  I 
emailed each of them but have had no responses.  Given that the authors 
themselves haven't replied, it occurred to me that the email addresses may be 
out of date so I turned to the list.

I have been using Zope for some years now, but have never really needed to 
submit a patch or anything like that, so the process to get this done is really 
an unknown for me.

It's even possible I am using the incorrect products for this release of Zope.

I noticed too, a minor issue with ZPsycopgDA, it also exists with ZMySQLDA:

/home/zope/base211/lib/python/OFS/Application.py:809: DeprecationWarning: 
__init__.py of Products.ZMySQLDA has a long deprecated 'methods' attribute. 
'methods' support might be removed in Zope 2.11 or a later feature release. 
Please use the 'legacy' argument of registerClass instead if the methods are 
constructors. Or refactor the product using adapters.
  DeprecationWarning)

/home/zope/base211/lib/python/OFS/Application.py:809: DeprecationWarning: 
__init__.py of Products.ZPsycopgDA has a long deprecated 'methods' attribute. 
'methods' support might be removed in Zope 2.11 or a later feature release. 
Please use the 'legacy' argument of registerClass instead if the methods are 
constructors. Or refactor the product using adapters.
  DeprecationWarning)

I am not sure how to fix this, I see refactoring using adapters, but though I 
have fiddled a bit with Zope3 it's magic is still a relative unknown to me.

I was just looking for a little direction.  For the most part I have no issues 
with the migration except with Page Templates, it feels like the expand macros 
while editing is backwards.  I have to uncheck it for the fill-slots and 
macros to show up properly and I am seeing some strange errors where a slot 
that is clearly defined in the master template is being rendered as metal:slot 
rather than metal:fill-slot.  But I have just come across this and haven't 
spent much time looking yet, I am sure a solution will present itself.

Thanks,
--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2008 11:34 PM
To: Jeff Peterson; zope@zope.org
Subject: Re: [Zope] ZcxOracleDA, LocalFS, ZMySQLDA



--On 26. Juni 2008 17:03:27 -0500 Jeff Peterson [EMAIL PROTECTED]
wrote:

 I upgraded my Zope server to 2.11.0 from 2.8.7.  To do that I needed
 to update the above 3 products.  I am not sure of the process to get
 the products updated so others can use them.

What is your problem? Like in our old installation: you donwload the products 
and install them in the same way as you did earlier.
Of course you have to check if those products are compatible with most recent 
Zope versions (check yourself by installing them, if necessary get back to the 
authors of the products).

-aj
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ZcxOracleDA, LocalFS, ZMySQLDA

2008-06-26 Thread Jeff Peterson
I upgraded my Zope server to 2.11.0 from 2.8.7.  To do that I needed to update 
the above 3 products.  I am not sure of the process to get the products updated 
so others can use them.

Any guidance is appreciated.

--
Jeffrey D Peterson
Webmaster
Crary Industries, Inc.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope-PAS] New to PAS

2006-06-27 Thread Jeff Peterson

Hi all,

Is there any localized documentation for using PAS?

I read this one: 
http://tech.canterburyschool.org/tech/UsingPluggableAuthentication and 
that helped me to get it installed and give me the general idea that I 
could use this.  But some more specific documentation would be nice.


I looked around google.com but nothing else immediately popped into view 
for me.


Regards,

--
Jeffrey D Peterson

begin:vcard
fn:Jeffrey Peterson
n:Peterson;Jeffrey
org:Crary Industries;Information Systems
adr:;;237 12th Street NW;West Fargo;ND;58078;US
email;internet:[EMAIL PROTECTED]
title:Web Applications Developer
tel;work:701-282-5520
x-mozilla-html:FALSE
url:http://crary.com
version:2.1
end:vcard

___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas


Re: [Zope-PAS] New to PAS

2006-06-27 Thread Jeff Peterson

Chris McDonough wrote:

Jeff,

FWIW, PAS is a framework, which is shorthand for software that is 
meant to be built upon that is not documented very well ;-)


If you give us an idea of what you want to do, I'm sure somebody can 
point you in the right direction (even if the instruction is look at 
this source code file).


In the meantime, reading the PAS interfaces in its interfaces 
directory is instructive just to give you an idea of what it *can* do.


- C


On Jun 27, 2006, at 11:57 AM, Jeff Peterson wrote:


Hi all,

Is there any localized documentation for using PAS?

I read this one: 
http://tech.canterburyschool.org/tech/UsingPluggableAuthentication 
and that helped me to get it installed and give me the general idea 
that I could use this.  But some more specific documentation would be 
nice.


I looked around google.com but nothing else immediately popped into 
view for me.


Regards,

--Jeffrey D Peterson

jpeterso.vcf
___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas



At this point I have discerned that I likely want to use the scriptable 
plugin as I need to access an existing DB with usernames and passwords.  
What I am trying to get my hands around is how I will do that 
specifically.  I assume that I will use some combination of ZSQLMethods 
and scripts, much like I am doing currently (I am basically porting an 
existing login system written by myself that utilizes the built-in 
sessions)  PAS was suggested to me as a means to better manage the user 
not only for logging in to their account but also in applying roles, etc.


I was hoping that there was a how-to or something but since there isn't 
my only recourse is to just keep fiddling till I get it. :)  At least 
there is this list, and from my past experiences with other Zope 
developers, this should be of use.


Thanks for the fast responses, I'll look at this some more and try and 
develop some more specific and intelligent questions.


Regards,

--
Jeffrey D Peterson

begin:vcard
fn:Jeffrey Peterson
n:Peterson;Jeffrey
org:Crary Industries;Information Systems
adr:;;237 12th Street NW;West Fargo;ND;58078;US
email;internet:[EMAIL PROTECTED]
title:Web Applications Developer
tel;work:701-282-5520
x-mozilla-html:FALSE
url:http://crary.com
version:2.1
end:vcard

___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas


Re: [Zope-PAS] New to PAS

2006-06-27 Thread Jeff Peterson

Ok,

After poking around PAS for a while I think I have a bit of a handle on 
it. 

This seems to be built primarily for managing Zope users.  My solution 
needs to be able to manage a group of existing users not in Zope 
currently.  Is this something that can be done?  I know I can create SQL 
methods to get data but I am not sure I see how I can use the current 
data with this framework.  Can this be used without an actual userObject 
in the user folder?  Can I, for example, use the framework to prompt a 
login, gather the username and password, authenticate it against the sql 
and manage the roles without a userObject in the acl_users folder?  Or, 
if the former is true could they(the userObjects) be created on the fly, 
say on the first login, so that afterward they existed?


Maybe I am way off base or am misunderstanding something.  Any direction 
would be appreciated.


Regards,

--
Jeffrey D Peterson

begin:vcard
fn:Jeffrey Peterson
n:Peterson;Jeffrey
org:Crary Industries;Information Systems
adr:;;237 12th Street NW;West Fargo;ND;58078;US
email;internet:[EMAIL PROTECTED]
title:Web Applications Developer
tel;work:701-282-5520
x-mozilla-html:FALSE
url:http://crary.com
version:2.1
end:vcard

___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas


[Zope-PAS] PAS instance

2006-06-27 Thread Jeff Peterson
So how do I get PAS to prompt for credentials?  I created a PAS object, 
and inside that a scriptable plugin.  Inside that a script called 
challenge and a loginForm which challenge redirects to for input, I set 
that as my interface and activated it.  Then I went to the folder level 
and changed the permissions like I would for the userFolder to prompt 
for a user/pass but it just pulls up the acquired start page.


What am I doing wrong?  No errors are generated that I can see, but I am 
not getting to my login screen either.  Should this work similarly to 
the standard user folder? Or, do I have to specifically call something?


TIA,

--
Jeffrey D Peterson

begin:vcard
fn:Jeffrey Peterson
n:Peterson;Jeffrey
org:Crary Industries;Information Systems
adr:;;237 12th Street NW;West Fargo;ND;58078;US
email;internet:[EMAIL PROTECTED]
title:Web Applications Developer
tel;work:701-282-5520
x-mozilla-html:FALSE
url:http://crary.com
version:2.1
end:vcard

___
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas


RE: [Zope] Some help required but no sarcastic comments this time please

2001-01-24 Thread Jeff Peterson


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of alankirk
Sent: Tuesday, January 23, 2001 5:18 PM
To: [EMAIL PROTECTED]
Subject: [Zope] Some help required but no sarcastic comments this time
please


I am using Zope 2.2.2 on windows(this time i'd appreciate no sarcastic
comments this time)

I just installed MySQL 3.23.32 on Win 2000 Pro with Zope 2.3b2 by following
this HowTo:

http://www.zope.org/Members/philh/mysql

I had to edit the DA.py file at zope dir\lib\python\Products\ZMySQLDA and
change the path to the connectionAdd.dtml from
'Shared/DC/ZRDB/connectionAdd' to 'Shared/DC/ZRDB/dtml/connectionAdd'. I
then started ZOPE, created the DB from the MySQL admin interface, created a
connection object, connected, created a table and did some minor testing.
All seems to work fine currently.

So, from what I can tell, aside from the minor change noted above (which
without actually looking, I assume is a change from 2.2.x to 2.3) everything
worked fine for me, I hope that this will help or at least give you some
hope.

__
Jeffrey D. Peterson
Webmaster/Web  Web Applications Developer
Range TV Cable  Broadband
1813 E. 3rd Ave.  Hibbing, MN 55746
[EMAIL PROTECTED]


___
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] (Cc || Bcc) dtml-sendmail

2001-01-19 Thread Jeff Peterson

Thanks!

I had done exactly that, prior to writing my request for help.  It turns out
the problem was not Zope at all (surprise, surprise) or my code.  I was
using a test case that sent the message to an address aliased to my address
and then was also Cc'ing the message to my address.  The mailer (Exim)
apparently is smart enough to notice that they are one in the same and only
send 1 piece of mail.

In the end it was all my fault for shortsightedly not looking at the actual
headers and just assuming the mail would come.

__
Jeffrey D. Peterson
Webmaster/Web  Web Applications Developer
Range TV Cable  Broadband
1813 E. 3rd Ave.  Hibbing, MN 55746
[EMAIL PROTECTED]



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Loren
Stafford
Sent: Friday, January 19, 2001 2:12 PM
To: [EMAIL PROTECTED]; 'Zope@Zope. Org'
Subject: RE: [Zope] (Cc || Bcc)  dtml-sendmail


Here's an example from one of my workinig tech-support forms. I used to have
a Bcc: right after the Cc:

dtml-with "PARENTS[-1]"dtml-sendmail mailhost=MailHost
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], dtml-var ReplyTo
Reply-to: dtml-var ReplyTo
From: [EMAIL PROTECTED]
Subject: New Employee Setup

Name:   dtml-var mvxfname dtml-var mvxminitial dtml-var mvxlname
Manager:dtml-var mvxmanager
Start Date: dtml-var mvxsdate
Department: dtml-var mvxdept
Cubicle:dtml-var mvxcubicle

Office Phone: dtml-var mvxNumbers. dtml-var mvxVoiceMail.

E-Mail: dtml-var mvxEmail missing="off"

dtml-if mvxaliases
Aliases:
dtml-in mvxaliases
dtml-var sequence-item
/dtml-in mvxaliases
/dtml-if mvxaliases

dtml-if mvxEmailLists
E-Mail Distribution Lists:
dtml-in mvxEmailLists
dtml-var sequence-item
/dtml-in mvxEmailLists
/dtml-if mvxEmailLists


-- end --

/dtml-sendmail/dtml-with "PARENTS[-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 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] (Cc || Bcc) dtml-sendmail

2001-01-19 Thread Jeff Peterson

We built our intranet on ZOPE 2.2.x, mostly it is a tech support app that
ensures our techs only deliver the info we need.  Anyway, the method of
doing this is sending a form via email with the info.

The Problem:  I would like to Cc or Bcc the originator of the request with a
copy of the request for record keeping purposes. I cannot however seem to
get Cc or Bcc, written as headers much like the To and From, to work with
dtml-sendmail.  In addition, all documentation of dtml-sendmail I have
seen does not talk about either Cc or Bcc.  Is there a way to do this?

Thanks in advance...

__
Jeffrey D. Peterson
Webmaster/Web  Web Applications Developer
Range TV  Broadband
1813 E. 3rd Ave.  Hibbing, MN 55746
[EMAIL PROTECTED]


___
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] The new UI rules!

2001-01-17 Thread Jeff Peterson

Kudos to the Digital Creation guysthe new UI rocks, all sorts of new and
handy gadgets and a far better layout.

Keep it coming!

__
Jeffrey D. Peterson
Webmaster/Web  Web Applications Developer
Range TV Cable  Broadband
1813 E. 3rd Ave.  Hibbing, MN 55746
[EMAIL PROTECTED]




___
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] FTP in HTML-Kit? (Or other editor on MS-Windows)

2000-12-04 Thread Jeff Peterson

Homesite is NOT shareware, it is a licensed product from Allaire.  There is
a 30 day trial available which you are obviously referring to.  While I
agree that Homesite 4.5.1 is great, I personally cannot use it even though I
paid for the license.  It has a terrible memory leak which forces you to
reboot often, and slows me down considerably.  If the folks at Allaire would
address the memory leak I may return but not until then.  In the mean time,
I have found that Html-Kit while maybe not quite as nice as Home site from a
UI perspective, is close to if not equal to it in function.  In addition, it
is free, and extensible as well.   Finally, in the latest release it allows
browsing of folders, download from as well as upload of edited files to the
remote host...very nice...did I mention free?

Just my $.02,

+-+
|   Jeffrey D. Peterson   ---   Webmaster |
|Range Broadband Services  ---  218-262-0050|
+-+

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Peter
Bengtsson
Sent: Monday, December 04, 2000 4:04 PM
To: Stephane Bortzmeyer
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] FTP in HTML-Kit? (Or other editor on MS-Windows)


Allaire Homesite 4.5.1 has proven very powerful for me and my Zope FTP
connection.
There is a little patch (works great!) that customizes the code for DTML
great.
Homesite is shareware, but believe me, nothing happens after the 30 days
pass.

/P



 Searching a tool to edit DTML on MS-Windows, I read:

 http://www.zope.org/Members/cba/HTML_Kit

 It says that HTML-Kit can edit files through FTP. I found that it can only
 retrieve files, without being able to browse directories, and that it
cannot
 save back files with FTP. Absolutely not a competitor for GNU Emacs.

 Or did I miss something?



___
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 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] HTML Editors that recognize DTML (was bastardized form ofXML)

2000-06-26 Thread Jeff Peterson

As promised I did some checking over the weekend.

As for Windows editors, Homesite WILL let you create tags,
it works quite well actually.  One draw back (or a blessing, 
depending on your view) would be that it would force you to 
do dtml attributes long form, for example:

dtml-var name="foo" rather than dtml-var foo

the nice thing is that you would have a nice drop down menu 
of choices.  It supports syntax highlighting and has a ton of
helpful features.  In addition, if you gather enough Homesite 
"clue" you could also create your own wizards to accomplish 
certain tasks. 

Also for Windows there is Multi-Edit.  Not as powerful as Homesite
as an HTML, CFML, ad infinitum editor(well, maybe as powerful but 
it has all sorts of toolbars and buttons to push...annoying), but 
it has support for a tremendous number of legitimate programming 
languages built in including PERL, Python, JavaScript, C/C++, Delphi, 
ad nauseam.  While you can edit all this in Homesite, Multi-Edit 
provides support for compilers, error messages, and templates for 
almost any programming language you can think of (ad nauseam, remember?).
This doesn't necessarily help with DTML but maybe it's not all you do.

Both of these are priced nicely, Homesite goes for about $100 and 
can be checked out at www.allaire.com, while Multi-Edit prices at 
around $130(online) and can be found at www.amcyber.com. 

For Linux there is a nice little editor called NEdit.  NEdit 
includes customizable syntax highlighting, spell checker, etc.  
Unfortunately I know not of whether you can create customized tags
but, I doubt it very much.  Not as nice as the Windows stuff and 
there may be better editors made for Linux but this one does 
nicely in a pinch and beats the snot out of vi.  RPM's, and source
are both available, for free of course. 

That's my $.02,

Jeff Peterson
Software Engineer
The Bridge/Befera Interactive Cablenet
  





___
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] ANN: Perl For Zope

2000-05-31 Thread Jeff Peterson

Frankly, I don't know what all the fuss is about.  While I would personally
choose Python over Perl when scripting, having additional choices is never a
bad thing.

Here are 3 reasons why Perl methods should be added:

Increased userbase for ZOPE.
Reusability of working Perl code.
The ability to use Perl should I decide it can do the job better.

If you feel that you need to stop using ZOPE because they added
functionality, then see ya later.  In addition, if you decide not to start
using a great product like ZOPE because you feel you are being picked on,
well then sorry, but you will be missing out.

Fighting over this is silly and it wastes the time of those who would like
to find meaningful answers to posed questions.

JMHO,

Jeff Peterson
Software Engineer
The Bridge/Befera Interactive Cablenet

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Rodger Donaldson
Sent: Wednesday, May 31, 2000 5:46 AM
To: [EMAIL PROTECTED]
Subject: Re: [Zope] ANN: Perl For Zope


On Fri, May 26, 2000 at 01:39:56AM +1000, Andrew Kenneth Milton wrote:

 +[ Chris McDonough ]-
 | This is pretty silly.

 I agree, it got silly about 8 hours ago.

I'll go with that.  In fact, the sheer, stupid *hatred* directed by a big
chunk of the list at anyone who doesn't draw and quarter perl programmers on
sight has me convinced not to bother with Zope any more; I can work with
a variety of *tools* like Mason and ACS, rather than buy into *religions*,
as Zope appears to be.

Shame.  I'm mostly a perl programmer, but Zope was convincing me I needed to
spend some time on python.  But if this list is representitive of the python
community - well, I don't need more idiots in my life.

--
Rodger Donaldson[EMAIL PROTECTED]
"That... feels... wonderful... Bones..."
"It's head, Jim."

___
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 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] HomeSite Question

2000-05-31 Thread Jeff Peterson

Doubt it.  If you notice, Homesite warns you that it will change your HTML
code.  I generally don't use design mode, I prefer to develop HTML by hand.
I do use Homesite a lot with ZOPE but mostly I build some small part and
either import it or simply cut and paste.  If you do use design mode I
suggest creating what you want HTML wise and ZOPEing it after, it will
likely take time either way.

Jeff Peterson
Software Engineer
The Bridge/Befera Interactive Cablenet

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Luis
Cortes
Sent: Wednesday, May 31, 2000 3:13 PM
To: [EMAIL PROTECTED]
Subject: [Zope] HomeSite Question


Hi,

I'm trying HomeSite HTML Editor - which is really slick for somethings.
 I was wondering if there was some easy way to turn off the mangling of dtml
tags when switching between design view and edit view???

Thanks ahead of time for your help,
Luis.

___
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 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 )