[Zope-dev] I don't find the way to number the pages in a batch process.

2000-10-28 Thread Andres Sanchez Gomez

I have the data divide in pages with ten results each.
I'd like to now if i can do it adn, if possible, the to do it.


Andrés Sánchez Gómez


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




Re: [Zope-dev] ZPatterns + Skinscript

2000-10-28 Thread Phillip J. Eby

At 05:17 PM 10/28/00 +0200, Joachim Schmitz wrote:

select e.event_id as event_id
,e.zeiten as zeiten
,v.firma as firma
,v.tel as tel
,e.movie_id as movie_id
,m.movie_title as movie_title
,m.movie_link as movie_link
,m.movie_text as movie_text
,e.datum_von as datum_von
,e.datum_bis as datum_bis
from event as e, veranstalter as v, movies as m 
where  
e.event_id = dtml-sqlvar e_id type=int
and e.movie_id = m.movie_id and e.veran_id = v.veran_id
order by m.movie_title

Just out of curiosity, why do you have an "order by" clause, if this is
supposed to only return one row?  If more than one item is returned by this
query, only the first will be used to supply data to your DataSkin.


I also added a SkinScript method as a Data Plug-in in the defaultRack like
this

WITH QUERY readEvents(e_id=self.event_id) COMPUTE zeiten,firma,tel
,movie_id,movie_text,movie_link,movie_title
,datum_von,datum_bis,zeiten

Do you have some way of providing self with an "event_id" value?  Keep in
mind that when DataSkins are created, they have only an "id" attribute,
nothing else.  So unless you have an attribute provider that provides an
"event_id" value, this statement will fail.  Perhaps what you actually mean
is:

WITH QUERY readEvents(e_id=self.id) COMPUTE 
  event_id,
  zeiten,firma,tel,
  movie_id,movie_text,movie_link,movie_title,
  datum_von,datum_bis,zeiten

Notice that I'm passing self.id to readEvents, and that I've added event_id
to the list of attributes retrieved from the query.


under the storage tab I selected for:

Class to use for stored items: ZPatterns:DataSkin and

Objects are: o stored persistently.
 x loaded by accessing attribute: event_id

This will work fine, if you use the revised SkinScript above.  You will
probably want to create a ZClass subclass of DataSkin at some point to use
instead, so that you can define permissions, methods, and so on for your
Event objects.


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




[Zope-dev] Fw: PythonLabs Team Moves to Digital Creations

2000-10-28 Thread Andy McKay

This is great news for Zope...

(well I think it is anyway)

  Original Message 
 Subject: PythonLabs Team Moves to Digital Creations
 Date: Fri, 27 Oct 2000 20:42:42 -0500
 From: Guido van Rossum [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] (Python mailing
 list),[EMAIL PROTECTED], [EMAIL PROTECTED]
 
 To all Python users and developers:
 
 Less than half a year ago, I moved with my team to BeOpen.com, in the
 hope of finding a new permanent home for Python development.  At
 BeOpen, we've done several good things for Python, such as moving the
 Python and Jython development process to SourceForge, and the
 successful release of Python 2.0.
 
 Unfortunately, BeOpen.com's original plans for PythonLabs didn't work
 out as hoped, and we weren't able to reach mutual agreement on
 workable alternative plans -- despite trying for months.
 
 I am proud to have found a new home for my entire team: starting
 today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself
 are working for Digital Creations.  We will be spending part of our
 time on core Python development (including Jython and Mailman) and
 part of our time on Python infrastructure improvements that also
 benefit Zope.
 
 Python will remain Open Source; Digital Creations has no desire to
 monetize or brand the Python language or specific Python
 distributions.  All future work we do on Python as Digital Creations
 employees will be owned by a non-profit organization yet to be
 created.  We think of this new organization as the Python Software
 Foundation.  In the meantime (while the PSF is under construction) I
 will own such copyrights personally.
 
 We're excited to be working for Digital Creations: they are one of the
 oldest companies active in the Python community, one of the companies
 most committed to Python, and they have a great product!  Plus, we
 know they have deep financial backing.  We trust that Digital
 Creations will provide a stable home for Python for many years.
 
 Digital Creations has also offered to take over hosting of the
 python.org and starship sites.  On behalf of the Python community,
 we're grateful for this support of the two prime community sites for
 Python, and we expect to be implementing the transitions shortly.
 
 These are exciting times for the PythonLabs team -- and also for
 Python and its community.  Mainstream successes for Python are showing
 up everywhere, and we're proud to be a part of such a smart and
 friendly community.  A great year lies ahead!
 
 --Guido van Rossum (home page: http://www.python.org/~guido/)
 
 -- 
 http://www.python.org/mailman/listinfo/python-list



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




[Zope] more __len__ errors

2000-10-28 Thread Scott Burton

I am having a intermittent problem with ZCatalog(I think). I have a couple
of products that are catalog-aware and have been working. Then, out of
nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__
error, when a few minutes before it worked. I looked at the undo list to see
if I have done anything to cause it but could not find anything. I delete
the cataloged objects as well as the objects themselves and re-create them.
Same problem. Here is the TB: 


___
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] OT: PythonLabs Team Moves to Digital Creations!

2000-10-28 Thread Paul Everitt


Yes, it's been hard keeping that particular secret. :^)

We'll have more to say on this -- like an official press release -- over
the coming week.

--Paul

Ross Lazarus wrote:
 
 Now here's something readers of this list might be interested in ...
 
  Original Message 
 Subject: PythonLabs Team Moves to Digital Creations
 Date: Fri, 27 Oct 2000 20:42:42 -0500
 From: Guido van Rossum [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] (Python mailing list),[EMAIL PROTECTED], 
[EMAIL PROTECTED]
 Newsgroups: comp.lang.python
 
 To all Python users and developers:
 
 Less than half a year ago, I moved with my team to BeOpen.com, in the
 hope of finding a new permanent home for Python development.  At
 BeOpen, we've done several good things for Python, such as moving the
 Python and Jython development process to SourceForge, and the
 successful release of Python 2.0.
 
 Unfortunately, BeOpen.com's original plans for PythonLabs didn't work
 out as hoped, and we weren't able to reach mutual agreement on
 workable alternative plans -- despite trying for months.
 
 I am proud to have found a new home for my entire team: starting
 today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself
 are working for Digital Creations.  We will be spending part of our
 time on core Python development (including Jython and Mailman) and
 part of our time on Python infrastructure improvements that also
 benefit Zope.
 
 Python will remain Open Source; Digital Creations has no desire to
 monetize or brand the Python language or specific Python
 distributions.  All future work we do on Python as Digital Creations
 employees will be owned by a non-profit organization yet to be
 created.  We think of this new organization as the Python Software
 Foundation.  In the meantime (while the PSF is under construction) I
 will own such copyrights personally.
 
 We're excited to be working for Digital Creations: they are one of the
 oldest companies active in the Python community, one of the companies
 most committed to Python, and they have a great product!  Plus, we
 know they have deep financial backing.  We trust that Digital
 Creations will provide a stable home for Python for many years.
 
 Digital Creations has also offered to take over hosting of the
 python.org and starship sites.  On behalf of the Python community,
 we're grateful for this support of the two prime community sites for
 Python, and we expect to be implementing the transitions shortly.
 
 These are exciting times for the PythonLabs team -- and also for
 Python and its community.  Mainstream successes for Python are showing
 up everywhere, and we're proud to be a part of such a smart and
 friendly community.  A great year lies ahead!
 
 --Guido van Rossum (home page: http://www.python.org/~guido/)
 
 ___
 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] more __len__ errors

2000-10-28 Thread Chris McDonough

Scott, we're struggling with some catalog issues right now... I didn't
see the traceback attached, but I assume it's a "len of unsized object"
error.  We'd be very interested in obtaining a setup where this problem
was repeatable.

Scott Burton wrote:
 
 I am having a intermittent problem with ZCatalog(I think). I have a couple
 of products that are catalog-aware and have been working. Then, out of
 nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__
 error, when a few minutes before it worked. I looked at the undo list to see
 if I have done anything to cause it but could not find anything. I delete
 the cataloged objects as well as the objects themselves and re-create them.
 Same problem. Here is the TB:
 
 ___
 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 )

-- 
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org

___
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] Zope and Python 2.0

2000-10-28 Thread Chris McDonough

I think we're reaching a point where we'll soon be able to release a
Python 2.0-compatible Zope source distribution, but you're right in that
none of the current ones work properly with Python 2.0.

Xavier Defrang wrote:
 
 Hi folks,
 
 I've just downloaded Zope source code to rebuild it on a FreeBSD-4.1 box.
 
 Is Zope-2.2.2 so tightly coupled to Python-1.5.2 that It doesn't run with
 Python 2.0... I've got a system-wide installation of Python 2.0 and the
 ./start scripts fails.  I made a local installtion of Python 1.5.2 just to
 run Zope.  I changed the path the Python interpreter in the start shell
 script but it looks like Medusa's asyncore.py can't find tjhe FCNTL
 module...
 
 What the hell is going wrong?
 
 I also had to comment out a nasty #include "mymath.h" in
 'lib/Components/cPickle/cPickle.c' to get it built properly...
 
  - Xavier
 
 ___
 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 )

-- 
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org

___
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] OT: PythonLabs Team Moves to Digital Creations!

2000-10-28 Thread Hugo Ramos

- Original Message - 
From: "Paul Everitt" [EMAIL PROTECTED]
To: "Ross Lazarus" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, October 28, 2000 1:08 PM
Subject: Re: [Zope] OT: PythonLabs Team Moves to Digital Creations!


 
 Yes, it's been hard keeping that particular secret. :^)
 
 We'll have more to say on this -- like an official press release -- over
 the coming week.


So this was the reason for the busy November at DC...

=
Hugo Ramos - [EMAIL PROTECTED]
ZopersORG - http://www.zopers.org
=
Do not meddle in the affairs of programmers, for they are easy to annoy,
and have all the source code!!!


___
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] two things at once?

2000-10-28 Thread Robin Becker

I want my form button X to cause some data to be uploaded to the user.
So I make the action call a method that sets up the right response
content type etc and the upload goes well.

1) Can I verify that the action happened?
2) how can I force the page containing the original form to be refreshed
so that I can change button etc.
-- 
Robin Becker

___
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] OT: PythonLabs Team Moves to Digital Creations!

2000-10-28 Thread Simon Michael

Fantastic news. Congrats!

___
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] OT: PythonLabs Team Moves to Digital Creations!

2000-10-28 Thread Tim Cook


  Now here's something readers of this list might be interested in ...

It just doesn't get any better than this. 
Well, maybe if Jim Fulton was working FreePM. But that's
definitely off topic. s

-- Tim Cook --
Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT
Free Practice Management | http://FreePM.org
Censorship: The reaction of the ignorant to freedom.

___
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] Website develoment with CVS Zope?

2000-10-28 Thread Jimmie Houchin

I am about to begin development and would like to use the CVS version of
Zope. I have already setup my /usr/local/Zope/Zope2 directory and gotten
Zope via CVS. When I have it install Zope and begin development are what
issues or problems will I have when I do an update?

I know because I will be developing and changing files in these
directories but not via CVS that CVS will probably complain about the
changes. Is this a problem?

I will also be wanting to use the CVS of other Zope items like the PTK.
Does this impact this in any way?

How do those of you who develop using the CVS version do it? Any advice
or best practices?

Thanks for any help.

Jimmie Houchin

___
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 __len__ errors

2000-10-28 Thread Scott Burton

Sorry about that, I forgot to send the trace back along with the message. As
my luck would have it, I go to the section that was giving me an error, now
it has disappeared? It s now working again with no errors. I know it isn't
just me, one of my clients is reporting the same error on their side from my
server. 
Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that
helps.



 From: Chris McDonough [EMAIL PROTECTED]
 Date: Sat, 28 Oct 2000 08:34:46 -0400
 To: Scott Burton [EMAIL PROTECTED]
 Cc: Zope List [EMAIL PROTECTED]
 Subject: Re: [Zope] more __len__ errors
 
 Scott, we're struggling with some catalog issues right now... I didn't
 see the traceback attached, but I assume it's a "len of unsized object"
 error.  We'd be very interested in obtaining a setup where this problem
 was repeatable.
 
 Scott Burton wrote:
 
 I am having a intermittent problem with ZCatalog(I think). I have a couple
 of products that are catalog-aware and have been working. Then, out of
 nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__
 error, when a few minutes before it worked. I looked at the undo list to see
 if I have done anything to cause it but could not find anything. I delete
 the cataloged objects as well as the objects themselves and re-create them.
 Same problem. Here is the TB:
 
 ___
 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 )
 
 -- 
 Chris McDonough
 Digital Creations, Publishers of Zope
 http://www.zope.org
 
 ___
 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] more __len__ errors

2000-10-28 Thread Chris McDonough

Hmmm... Zope 2.1.6 has known catalog issues.  So does 2.2.X for that
matter, but at least some of them have been fixed (not to mention that
later versions of Zope log errors in cataloging and uncataloging
objects).  The Zope 2.1.X branch is not really being maintained.  You
should probably try to move to the latest release.

That said, it would be most helpful to have a full copy of the Zope
installation which exhibits the problem.  Even better (but probably less
possible) is to have a full copy of the Zope installation *right before*
the problem starts occurring and one *right after* the problem starts
occurring so we can look at the catalog data structures to see what
might be happening.  Platform is not thought to be an issue.  This would
be helpful even if it was a Zope 2.1.6 install.

Scott Burton wrote:
 
 Sorry about that, I forgot to send the trace back along with the message. As
 my luck would have it, I go to the section that was giving me an error, now
 it has disappeared? It s now working again with no errors. I know it isn't
 just me, one of my clients is reporting the same error on their side from my
 server.
 Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that
 helps.
 
  From: Chris McDonough [EMAIL PROTECTED]
  Date: Sat, 28 Oct 2000 08:34:46 -0400
  To: Scott Burton [EMAIL PROTECTED]
  Cc: Zope List [EMAIL PROTECTED]
  Subject: Re: [Zope] more __len__ errors
 
  Scott, we're struggling with some catalog issues right now... I didn't
  see the traceback attached, but I assume it's a "len of unsized object"
  error.  We'd be very interested in obtaining a setup where this problem
  was repeatable.
 
  Scott Burton wrote:
 
  I am having a intermittent problem with ZCatalog(I think). I have a couple
  of products that are catalog-aware and have been working. Then, out of
  nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__
  error, when a few minutes before it worked. I looked at the undo list to see
  if I have done anything to cause it but could not find anything. I delete
  the cataloged objects as well as the objects themselves and re-create them.
  Same problem. Here is the TB:
 
  ___
  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 )
 
  --
  Chris McDonough
  Digital Creations, Publishers of Zope
  http://www.zope.org
 
  ___
  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 )

-- 
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org

___
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 __len__ errors

2000-10-28 Thread Scott Burton

One of the reasons I haven't moved to 2.2 yet is because of the extensive
use of ZDiscussions on my server. I have successfully moved all other
products over into a separate install, waiting to be turned on. All but
ZDiscussions. I have been trying to create a ZClass-based replica of it
similar methods etc. .
I also run another Zope server with 2.2 on it and have had over 1,500
Catalog-aware objects in the catalog with no problems. So I figured it was
2.1.6

Scott



 From: Chris McDonough [EMAIL PROTECTED]
 Date: Sat, 28 Oct 2000 14:34:53 -0400
 To: Scott Burton [EMAIL PROTECTED]
 Cc: Zope List [EMAIL PROTECTED]
 Subject: Re: [Zope] more __len__ errors
 
 Hmmm... Zope 2.1.6 has known catalog issues.  So does 2.2.X for that
 matter, but at least some of them have been fixed (not to mention that
 later versions of Zope log errors in cataloging and uncataloging
 objects).  The Zope 2.1.X branch is not really being maintained.  You
 should probably try to move to the latest release.
 
 That said, it would be most helpful to have a full copy of the Zope
 installation which exhibits the problem.  Even better (but probably less
 possible) is to have a full copy of the Zope installation *right before*
 the problem starts occurring and one *right after* the problem starts
 occurring so we can look at the catalog data structures to see what
 might be happening.  Platform is not thought to be an issue.  This would
 be helpful even if it was a Zope 2.1.6 install.
 
 Scott Burton wrote:
 
 Sorry about that, I forgot to send the trace back along with the message. As
 my luck would have it, I go to the section that was giving me an error, now
 it has disappeared? It s now working again with no errors. I know it isn't
 just me, one of my clients is reporting the same error on their side from my
 server.
 Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that
 helps.
 
 From: Chris McDonough [EMAIL PROTECTED]
 Date: Sat, 28 Oct 2000 08:34:46 -0400
 To: Scott Burton [EMAIL PROTECTED]
 Cc: Zope List [EMAIL PROTECTED]
 Subject: Re: [Zope] more __len__ errors
 
 Scott, we're struggling with some catalog issues right now... I didn't
 see the traceback attached, but I assume it's a "len of unsized object"
 error.  We'd be very interested in obtaining a setup where this problem
 was repeatable.
 
 Scott Burton wrote:
 
 I am having a intermittent problem with ZCatalog(I think). I have a couple
 of products that are catalog-aware and have been working. Then, out of
 nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__
 error, when a few minutes before it worked. I looked at the undo list to
 see
 if I have done anything to cause it but could not find anything. I delete
 the cataloged objects as well as the objects themselves and re-create them.
 Same problem. Here is the TB:
 
 ___
 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 )
 
 --
 Chris McDonough
 Digital Creations, Publishers of Zope
 http://www.zope.org
 
 ___
 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 )
 
 -- 
 Chris McDonough
 Digital Creations, Publishers of Zope
 http://www.zope.org
 


___
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 __len__ errors

2000-10-28 Thread Scott Burton

I will see what I can do about the before and after snapshots. Then again, I
should probably just make the move to 2.2. Is there a way to use the same
objects created by ZDiscussions in my ZClass version of ZD as long as the
meta_types are the same? That way the change-over could be
transparent.(hopefully)

 From: Chris McDonough [EMAIL PROTECTED]
 Date: Sat, 28 Oct 2000 14:34:53 -0400
 To: Scott Burton [EMAIL PROTECTED]
 Cc: Zope List [EMAIL PROTECTED]
 Subject: Re: [Zope] more __len__ errors
 
 Hmmm... Zope 2.1.6 has known catalog issues.  So does 2.2.X for that
 matter, but at least some of them have been fixed (not to mention that
 later versions of Zope log errors in cataloging and uncataloging
 objects).  The Zope 2.1.X branch is not really being maintained.  You
 should probably try to move to the latest release.
 
 That said, it would be most helpful to have a full copy of the Zope
 installation which exhibits the problem.  Even better (but probably less
 possible) is to have a full copy of the Zope installation *right before*
 the problem starts occurring and one *right after* the problem starts
 occurring so we can look at the catalog data structures to see what
 might be happening.  Platform is not thought to be an issue.  This would
 be helpful even if it was a Zope 2.1.6 install.
 
 Scott Burton wrote:
 
 Sorry about that, I forgot to send the trace back along with the message. As
 my luck would have it, I go to the section that was giving me an error, now
 it has disappeared? It s now working again with no errors. I know it isn't
 just me, one of my clients is reporting the same error on their side from my
 server.
 Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that
 helps.
 
 From: Chris McDonough [EMAIL PROTECTED]
 Date: Sat, 28 Oct 2000 08:34:46 -0400
 To: Scott Burton [EMAIL PROTECTED]
 Cc: Zope List [EMAIL PROTECTED]
 Subject: Re: [Zope] more __len__ errors
 
 Scott, we're struggling with some catalog issues right now... I didn't
 see the traceback attached, but I assume it's a "len of unsized object"
 error.  We'd be very interested in obtaining a setup where this problem
 was repeatable.
 
 Scott Burton wrote:
 
 I am having a intermittent problem with ZCatalog(I think). I have a couple
 of products that are catalog-aware and have been working. Then, out of
 nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__
 error, when a few minutes before it worked. I looked at the undo list to
 see
 if I have done anything to cause it but could not find anything. I delete
 the cataloged objects as well as the objects themselves and re-create them.
 Same problem. Here is the TB:
 
 ___
 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 )
 
 --
 Chris McDonough
 Digital Creations, Publishers of Zope
 http://www.zope.org
 
 ___
 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 )
 
 -- 
 Chris McDonough
 Digital Creations, Publishers of Zope
 http://www.zope.org
 


___
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 __len__ errors

2000-10-28 Thread Chris McDonough

It's likely that moving to 2.2 may be a less-than-transparent prospect,
mostly due to the security changes.   But unfortunately, if this catalog
thing is a showstopper for you, you'll probably need to bite the bullet
and upgrade at some point.  

In any case, even without an upgrade, if you are willing and able to
send us your file storage, your installed Products directory, and any
external methods you've got lying around, with a proven way of
recreating a catalog-related error symptom, we'd be probably able to
make use of it on our quest to fix boundary conditions on the catalog.

Scott Burton wrote:
 
 I will see what I can do about the before and after snapshots. Then again, I
 should probably just make the move to 2.2. Is there a way to use the same
 objects created by ZDiscussions in my ZClass version of ZD as long as the
 meta_types are the same? That way the change-over could be
 transparent.(hopefully)
 
  From: Chris McDonough [EMAIL PROTECTED]
  Date: Sat, 28 Oct 2000 14:34:53 -0400
  To: Scott Burton [EMAIL PROTECTED]
  Cc: Zope List [EMAIL PROTECTED]
  Subject: Re: [Zope] more __len__ errors
 
  Hmmm... Zope 2.1.6 has known catalog issues.  So does 2.2.X for that
  matter, but at least some of them have been fixed (not to mention that
  later versions of Zope log errors in cataloging and uncataloging
  objects).  The Zope 2.1.X branch is not really being maintained.  You
  should probably try to move to the latest release.
 
  That said, it would be most helpful to have a full copy of the Zope
  installation which exhibits the problem.  Even better (but probably less
  possible) is to have a full copy of the Zope installation *right before*
  the problem starts occurring and one *right after* the problem starts
  occurring so we can look at the catalog data structures to see what
  might be happening.  Platform is not thought to be an issue.  This would
  be helpful even if it was a Zope 2.1.6 install.
 
  Scott Burton wrote:
 
  Sorry about that, I forgot to send the trace back along with the message. As
  my luck would have it, I go to the section that was giving me an error, now
  it has disappeared? It s now working again with no errors. I know it isn't
  just me, one of my clients is reporting the same error on their side from my
  server.
  Here are some server specs: Zope 2.1.6 on Caldera Open Linux 2.3 if that
  helps.
 
  From: Chris McDonough [EMAIL PROTECTED]
  Date: Sat, 28 Oct 2000 08:34:46 -0400
  To: Scott Burton [EMAIL PROTECTED]
  Cc: Zope List [EMAIL PROTECTED]
  Subject: Re: [Zope] more __len__ errors
 
  Scott, we're struggling with some catalog issues right now... I didn't
  see the traceback attached, but I assume it's a "len of unsized object"
  error.  We'd be very interested in obtaining a setup where this problem
  was repeatable.
 
  Scott Burton wrote:
 
  I am having a intermittent problem with ZCatalog(I think). I have a couple
  of products that are catalog-aware and have been working. Then, out of
  nowhere if I call dtml-in "Catalog(meta_type='object')" I get a __len__
  error, when a few minutes before it worked. I looked at the undo list to
  see
  if I have done anything to cause it but could not find anything. I delete
  the cataloged objects as well as the objects themselves and re-create them.
  Same problem. Here is the TB:
 
  ___
  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 )
 
  --
  Chris McDonough
  Digital Creations, Publishers of Zope
  http://www.zope.org
 
  ___
  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 )
 
  --
  Chris McDonough
  Digital Creations, Publishers of Zope
  http://www.zope.org
 
 
 ___
 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 )

-- 
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related 

[Zope] Securing ftp.

2000-10-28 Thread Jason C. Leach

hi,

I'd like to set up a ftp site so a specific client gets sent to a specific
folder when they log in, and they can not back out of that folder.

Thanks,
j.



..
. Jason C. Leach
... University College of the Cariboo.
.. 


___
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] Calander.

2000-10-28 Thread Jason C. Leach

hi,

Thanks. I'll look into it.

j.

..
. Jason C. Leach
... University College of the Cariboo.
.. 

On Fri, 27 Oct 2000, Tim Cook wrote:

 "Jason C. Leach" wrote:
  
  hi,
  
  I'm looking for a Zope calander kind of like you see on the ZopeNewbies
  page.  Anyone seen a product like this hanging around.
  
 
 There is a ZCalendar tag. But the EventFolder is much more full
 featured.
 
 -- Tim Cook --
 Cook Information Systems | Office: (901) 884-4126 8am-5pm CDT
 Free Practice Management | http://FreePM.org
 Censorship: The reaction of the ignorant to freedom.
 
 


___
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] load_sipe.py URL.

2000-10-28 Thread Jason C. Leach

hi,

What does the load_site.py expect as a URL?

Thanks,
j.

..
. Jason C. Leach
... University College of the Cariboo.
.. 


___
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 installing login manager

2000-10-28 Thread Henny van der Linde

Hi,

I just installed Zope 2.2.2 and tried to install the latest version of Login
Manager.

It failed:

LoginManager Import Traceback
Traceback (innermost last):
  File "C:\Program Files\WebSite22\lib\python\OFS\Application.py", line 397,
in import_products
product=__import__(pname, global_dict, global_dict, silly)
  File "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\__init__.py", line 1, in ?
import LoginManager, LoginMethods, UserSources
  File "C:\Program
Files\WebSite22\lib\python\Products\LoginManager\LoginManager.py", line 8,
in ?
from Products.ZPatterns.Specialists import Specialist
  File "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\__init__.py", line 1, in ?
import Rack, Specialists, Customizers, AttributeProviders,
SheetProviders
  File "C:\Program Files\WebSite22\lib\python\Products\ZPatterns\Rack.py",
line 9, in ?
from DataSkins import DataSkin
  File "C:\Program
Files\WebSite22\lib\python\Products\ZPatterns\DataSkins.py", line 1, in ?
from DynPersist import DynPersist
ImportError: No module named DynPersist

What 's happening?

Thanks


Henny van der Linde


___
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 __len__ errors

2000-10-28 Thread Bak @ kedai


-Original Message-
From: Scott Burton [EMAIL PROTECTED]
To: Zope List [EMAIL PROTECTED]
Date: Sunday, October 29, 2000 3:28 AM
Subject: Re: [Zope] more __len__ errors


I will see what I can do about the before and after snapshots. Then again,
I
should probably just make the move to 2.2. Is there a way to use the same
objects created by ZDiscussions in my ZClass version of ZD as long as the
meta_types are the same? That way the change-over could be
transparent.(hopefully)

i had a ZClass that subclass ZDiscussion, and got it working with zope2.2.2
by adding a comma (,) at the end of permission in ZDBase/ZDiscussion.py
maybe you could give it a shot.  this was mentioned a while back in the
list.

hth


___
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] using zope with MS FrontPage -- underscore in foldernames

2000-10-28 Thread John Verzani

Hi,

I'd like to use zope to serve static webpages created with MS
Frontpage (and others of course). I was hoping that they could be
ftpped into the ZODB and served up straight. However, a number of
folders have underscores for leaading folder names and I've discovered
this is a Zope no no. Is there some way short of renaming the
offending folders to do this. (also I'm not keen on LocalFS solutions
either.)

Thanks for any help.
-- 

.  John Verzani  mailto:[EMAIL PROTECTED]  .
.  Dept. of Mathematics  http://www.math.csi.cuny.edu/~verzani .
.  City University of New York tel: (718) 982-3623 .
.  College of Staten Islandfax: (718) 982-3631 .
.  Staten Island, NY 10314 .


___
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: PythonLabs Team Moves to Digital Creations

2000-10-28 Thread Andy McKay

This is great news for Zope...

(well I think it is anyway)

  Original Message 
 Subject: PythonLabs Team Moves to Digital Creations
 Date: Fri, 27 Oct 2000 20:42:42 -0500
 From: Guido van Rossum [EMAIL PROTECTED]
 To: [EMAIL PROTECTED] (Python mailing
 list),[EMAIL PROTECTED], [EMAIL PROTECTED]
 
 To all Python users and developers:
 
 Less than half a year ago, I moved with my team to BeOpen.com, in the
 hope of finding a new permanent home for Python development.  At
 BeOpen, we've done several good things for Python, such as moving the
 Python and Jython development process to SourceForge, and the
 successful release of Python 2.0.
 
 Unfortunately, BeOpen.com's original plans for PythonLabs didn't work
 out as hoped, and we weren't able to reach mutual agreement on
 workable alternative plans -- despite trying for months.
 
 I am proud to have found a new home for my entire team: starting
 today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself
 are working for Digital Creations.  We will be spending part of our
 time on core Python development (including Jython and Mailman) and
 part of our time on Python infrastructure improvements that also
 benefit Zope.
 
 Python will remain Open Source; Digital Creations has no desire to
 monetize or brand the Python language or specific Python
 distributions.  All future work we do on Python as Digital Creations
 employees will be owned by a non-profit organization yet to be
 created.  We think of this new organization as the Python Software
 Foundation.  In the meantime (while the PSF is under construction) I
 will own such copyrights personally.
 
 We're excited to be working for Digital Creations: they are one of the
 oldest companies active in the Python community, one of the companies
 most committed to Python, and they have a great product!  Plus, we
 know they have deep financial backing.  We trust that Digital
 Creations will provide a stable home for Python for many years.
 
 Digital Creations has also offered to take over hosting of the
 python.org and starship sites.  On behalf of the Python community,
 we're grateful for this support of the two prime community sites for
 Python, and we expect to be implementing the transitions shortly.
 
 These are exciting times for the PythonLabs team -- and also for
 Python and its community.  Mainstream successes for Python are showing
 up everywhere, and we're proud to be a part of such a smart and
 friendly community.  A great year lies ahead!
 
 --Guido van Rossum (home page: http://www.python.org/~guido/)
 
 -- 
 http://www.python.org/mailman/listinfo/python-list



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