Re: [Zope] 2.6 to 2.10 migration: RuntimeError: maximum recursion depth exceeded

2007-07-11 Thread Bakhtiar A Hamid

On 7/12/07, Andreas Jung [EMAIL PROTECTED] wrote:



--On 12. Juli 2007 01:02:49 +0200 Jonas Meurer [EMAIL PROTECTED]
wrote:

 Hello,

 after importing a product from zope 2.6.4 to a 2.10.3 instance, trying
 to open the product produces quite a lot of errors in my event.log, and
 a traceback in the zope management interface.




try 2.10.4.  if you're lucky, everything works out  ok.  else, start
looking for something to sacrifice :)

either way, not using zclass is the way to go atm


--
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] KeyErrors in Zope using ZEO

2007-05-13 Thread Bakhtiar A Hamid

On 5/12/07, Mike Patterson [EMAIL PROTECTED] wrote:

Hi,
We've been experiencing two KeyError problems with Zope since moving
to a ZEO environment at the beginning of the year.  On the server that
the ZEO server resides we have 3 Zope instances running, and each of
them gets a KeyError about once or twice a week individually.
Restarting the offending instance takes care of the issue, but I was
wondering if anyone has an idea of why we would be seeing these.

Thanks,
Mike

The error that we get is:

2007-05-02T19:18:45 ERROR ZODB.Connection Couldn't load state for 0x1c2d6e
Traceback (most recent call last):
  File /opt/Plone-2.5/lib/python/ZODB/Connection.py, line 732, in setstate
self._setstate(obj)
  File /opt/Plone-2.5/lib/python/ZODB/Connection.py, line 768, in
_setstate
p, serial = self._storage.load(obj._p_oid, self._version)
  File /opt/Plone-2.5/lib/python/ZEO/ClientStorage.py, line 746, in load
return self.loadEx(oid, version)[:2]
  File /opt/Plone-2.5/lib/python/ZEO/ClientStorage.py, line 774, in loadEx
self._cache.store(oid, ver, tid, None, data)
  File /opt/Plone-2.5/lib/python/ZEO/cache.py, line 293, in store
self.fc.add(o)
  File /opt/Plone-2.5/lib/python/ZEO/cache.py, line 980, in add
available = self._makeroom(size)
  File /opt/Plone-2.5/lib/python/ZEO/cache.py, line 915, in _makeroom
size, e = self.filemap.pop(ofs)
KeyError: 19826745



looks like there may be problems with the cache file.  try not using
the cache file and see whether that helps by removing name zeostrorage
on each clients.


hth
--
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] catalog aware not working.. help

2007-03-20 Thread Bakhtiar A Hamid

On 3/20/07, Allen Huang [EMAIL PROTECTED] wrote:


I made a pyhon product with catalogaware as one of my base class but my
zcatalog named 'catalog' doesn't automatically catalog when I add a product
item. what could be a problem?

Please help

this is part of my code that include catalogawareness:

class ShpTypePointClass(Item, Persistent, Implicit, CatalogAware):


iirc, CatalogAware has to first like so:
class ShpTypePointClass( CatalogAware, Item, Persistent, Implicit):

hth


#print ShpTypePointClass
id='ShpTypePoint'
meta_type='ShpTypePoint'
manage_options = (
{
'label':'Properties','action':'manage_editShpTypePoint' },
) + Item.manage_options

#_properties=(
#{ 'id':'title', 'type':'string', 'mode':'w'},
#{ 'id':'x', 'type':'string', 'mode':'w'},
#{ 'id':'y', 'type':'string', 'mode':'w'}
#)

def __init__(self, id, x, y, dbfInfo):
#print 'initializing'
self.id = id
self.x = x
self.y = y
self.dbfInfo = dbfInfo
self.reindex_object()
def printPoint(self):
#print print Point
return br printPoint Method br ID: + self.id +  -- (  +
self.x  + ,  + self.y +  )
def edit(self, x, y, REQUEST=None):
Edit the Point
#print edit
self.x = x
self.y = y
self.reindex_object()
if REQUEST is not None:
return self.manage_editShpTypePoint(self, REQUEST)
##Web Methods
index_html = HTMLFile('DTML/index_html', globals())
manage_editShpTypePoint =
HTMLFile('DTML/manage_editShpTypePoint', globals())
InitializeClass(ShpTypePointClass)


 
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
___
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 )





--
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] combining all zope2 FAQs into one big one at wiki.zope., org/zope2

2006-11-07 Thread Bakhtiar A Hamid

On 11/7/06, Jens Vagelpohl [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 7 Nov 2006, at 07:17, Bakhtiar A Hamid wrote:
 The stuff there are just place holders.  But with the permission of
 site owners i'd like to start transfer stuff over.

 thoughts? comments?

I can comment on two of those links (well, one is gone now ;)

- - the CMF FAQ does not exist. I removed the link.

- - the German FAQ (I corrected the link) is not a suitable candidate
for absorption into wiki.zope.org. One goal for the site at
www.zope.de is to have a single point for German language Zope docs,
and it should stay that way.



understood.  was thinking more about the english faqs.


jens


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFFUDquRAx5nvEhZLIRAk9eAKC7onSzcI4lZYI0FHMYohtSXn9bagCgjgR8
rzcCnbe/R3D7RL5wMJ0kavY=
=1TvT
-END PGP SIGNATURE-
___
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 )




--
http://myzope.kedai.com.my - my-zope 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 )


[Zope] combining all zope2 FAQs into one big one at wiki.zope., org/zope2

2006-11-06 Thread Bakhtiar A Hamid

hi all

it seems that there are scattered faqs or zope 2 abound
(http://wiki.zope.org/zope2/FAQs), and combining them all in one site
(wiki.zope.org/zope2) seems the best solution, imho.

so, i'm trying to ask all site owners with zope2 faqs whether we can
achieve this?  help from the community is also welcome.

a good place to start is to replace the current
http://wiki.zope.org/zope2/FAQs with faqs collected from various sites
and use a template such as zope3.wiki.org/FAQ

However, since it's taken Ive created
http://wiki.zope.org/zope2/Zope2FAQs to get the ball rolling.

The stuff there are just place holders.  But with the permission of
site owners i'd like to start transfer stuff over.

thoughts? comments?


--
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] debug with ipython

2006-06-07 Thread Bakhtiar A Hamid

On 6/7/06, thomas desvenain [EMAIL PROTECTED] wrote:

thanks ! and is it possible to run zope in console mode (as debug
mode) whithout having to shutdown the server (to unlock ZODB) ?


zeo is the magic word here.  check on how to enable zeo from the
zopebook at plope.com, or google for it

--
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] [ANN] Zope 2.10.0 beta 1 released

2006-05-31 Thread Bakhtiar A Hamid
On 5/30/06, Andreas Jung [EMAIL PROTECTED] wrote:
Hi all,on behalf of Zope developer community I am pleased to announce the releaseof Zope 2.10.0 beta 1.You can download Zope 2.10.0 beta 1http://www.zope.org/Products/Zope/2.10.0b1/

hi

i can't configure zope. the error is as below

./configure --prefix=/tmp/zope --with-python=/usr/local/py242/bin/python

Using Python interpreter at /usr/local/py242/bin/python

Configuring Zope installation

/usr/local/py242/bin/python: can't open file './inst/configure.py': [Errno 2] No such file or directory


are there files missing?

thanks
-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Documentation and Books

2006-04-21 Thread Bakhtiar A Hamid
On 4/21/06, Erik Billing [EMAIL PROTECTED] wrote:


The Plone version which I was speaking about, at http://www.plope.com/Books/2_7Edition,
is version 2.7 and is as far as I've seen the same as v. 2.7 at zope.org,
except for the reader comments of course. The book may of course have bin
updated consciously but left the comments from 2002, for example in the Extending
zope chapter, intact. Anyway, it doesn't really matter, my point was just that
it doesn't look that good. 

/Erik

let's fix that. afaik, the development was done and stalled after
some time, for the lack of time, resources, etc. if others would
like to help, i'm sure Chris M will gladly accept.

get the files, edit, extend, add, etc and send to chris for inclusion.

also, another notable book is dieters zope book. google for it

hth
On 4/20/06, Dieter Maurer [EMAIL PROTECTED] wrote:

Erik Billing wrote at 2006-4-19 23:04 +0200:Yes, the developers guide I've seen, and the Zope Book of course, they areboth pretty good I guess, but certainly the Zope book seams pretty outdatedif you ask me.
You must look at the 2.7 edition of the Zope book (online).--Dieter

-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Documentation and Books

2006-04-18 Thread Bakhtiar A Hamid
On 4/19/06, Erik Billing [EMAIL PROTECTED] wrote:
I quite
recently began looking at Zope and now I'm looking for a good book on the
subject. I'm fairly familiar with both Python and webapp development in
general, so I'm looking for a book covering pretty much everything about Zope I
need to know, rather then an introduction. I've read a few reviews on Amazon
and Web Component Development with Zope
3 seams to be a good choice. 

Does anyone have another to recommend? 





By the way, I'm surprised how little zope documentation I've found on the
web. I'm missing a complete API reference for example. And is there a living Wiki
available somewhere? If not, why not start one?
http://www.plope.com/Books/2_7Edition
and zopewiki,org

hth
Any tips on good recourses are greatly appreciated. 


..Erik

___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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [ZWeb] version3

2006-03-07 Thread Bakhtiar A Hamid
On Tue, 07 Mar 2006 07:10:07 -0500, Tom Von Lahndorff wrote
 The latest and greatest. I'm working on the middle content well, but 
  the rest is pretty much done, including the nav.
 
 http://www.modscape.com/zope

wow

that really is so much better than what we have now..

great work!

 ___
 Zope-web maillist  -  Zope-web@zope.org
 http://mail.zope.org/mailman/listinfo/zope-web


--
NSTP (M) BHD

___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [ZWeb] zope web status report 2006-02-06

2006-02-09 Thread bakhtiar a hamid
On Thursday 09 February 2006 18:17, Martijn Faassen wrote:

 Yes. Let's make a procedure for that:

 * find the document you think would be good to have

 * propose it on this list


http://www.jrandolph.com/blog/?p=23#comment-324

has a good comment with good links.

http://zissue.berlios.de/z3/Zope3In30Minutes.html
http://www.zope.org/Members/adytumsolutions/z3project_starter/z3project_starter_released

left out the other links since i think it's in the list already


 * if it gets the +1s, go ahead and contact the document author for
 permission to include it as part of a new zope(3).org and whether we can
 download and edit it. The list discussion can also result in a good
 place in the overall structure that we're developing that the document
 can be put into.

 * If we get this permission, reformat (if necessary) this document into
 restructured text and check it into our SVN. We need to have a credits
 file we need to update, and also a pattern in restructured text for
 marking the original author and editor of this document.

  I actually quite like the Django tutorial
  (http://www.djangoproject.com/documentation/tutorial1) because it's
  easy  to follow, bite-sized, and I could get a pretty good idea of how
  it works  by skimming the code + screenhots and skipping most of the
  text.
 
  As a visitor, I need to have a single place to start, and a clear path
  through the information, not just a dump of information that I have to
  wade through myself. And most importantly, all the documentation (and I
  mean all of it) needs to be consistent, not only in style and message,
  but  in the development patterns presented. I know zope 3 is powerful
  and  great, but don't throw every combination out there all at once.
  People who  want to invest in the framework will have plenty of time to
  discover all  that. What we need to do is make it feasible for them to
  take that plunge.

 I agree completely with this. Less well structured information is
 beneficial to large amounts of confusing information.

 That said, I think having a section with links outside the site would
 still be useful, and I think it can be structured (related material
 elsewhere sections) in a way so that it doesn't disturb the main
 pattern of information. This is not of the primary importance though.

  * does anyone know a good web designer who can design a solid
  looking,  serious, but still exciting website for zope?
 
  We need one. Coders make poor visual designers. :)

 There are no coders here, we're just all copy editors and such. :)

 Regards,

 Martijn
 ___
 Zope-web maillist  -  Zope-web@zope.org
 http://mail.zope.org/mailman/listinfo/zope-web
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [Zope] Error importing objects 2.8 2.7

2006-01-26 Thread Bakhtiar A Hamid
On 1/27/06, Ed Colmar [EMAIL PROTECTED] wrote:
*Been working up some code on a zope 2.8.0 install, and I wanted to moveit over to a live server.I keep getting this error:
i've had problems moving stuff (zclass, .zexp) between 2.7 and 2.8

iirc, there were major changes between the two.

your best bet would be upgrading your live server to 2.8 too

hth-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Zope and Sqlite3 adapter

2006-01-21 Thread Bakhtiar A Hamid
On 1/21/06, David Pratt [EMAIL PROTECTED] wrote:
Hi Dieter. Many thanks. :-) I was hoping there might be something but ifI cannot locate anything existing, I will likely go this route if I canfind a bit more time.

isn't this it?
http://www.google.com.my/search?hs=OJfhl=ensafe=offclient=firefox-arls=org.mozilla%3Aen-US%3Aofficialq=sqlite3+zopebtnG=Searchmeta=


Regards,DavidDieter Maurer wrote: David Pratt wrote at 2006-1-20 10:00 -0400:
Hi can someone advise whether there is an adapter for sqlite3 for zope. I normally use Postgres but I am curious about this for lightweightuse. I realize sqlite3 is not multi-threaded itself but might be fine
for small volume sites (if it can be forced to use a single thread forinteraction with the db). Does anyone have any experience they can shareif they have tried this before. Many thanks.
 I think almost all DA for DB API 2 compatible modules have a common ancestor. They are all very similar. If there is not yet a DA, it should be easy to copy an existing
 DA and make some minor adjustments for SQLite3.___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 )-- http://myzope.kedai.com.my
 - my-zope 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 )


Re: [ZWeb] new zope.org: zope newsletter

2006-01-19 Thread bakhtiar a hamid
On Thursday 19 January 2006 14:40, Carlos de la Guardia wrote:
 Hi,

 I have some comments about the idea of a Zope newsletter. Though it would
 be nice to have one, a newsletter may be too formal an undertaking for a
 community site.

 There was a time when the zope.org site presented a feature called Zope
 Weekly News, where the name weekly comes from a loose definition of week
 which refers to any period of days longer than a week and shorter than a
 year.

 I think a community site that tries to do newsletters takes the risk of
 going the way of ZWN. Unless someone is paid to do this, I think we better
 not do it. A blog should be enough and even those aren't that easy to keep
 updated.

 We could also compile automatically some news items, Releases and
 announcements and call them the newsletter.

i would think planetzope.org fits this description nicely



 Carlos de la Guardia
___
Zope-web maillist  -  Zope-web@zope.org
http://mail.zope.org/mailman/listinfo/zope-web


Re: [Zope] NewBee, Do I have to code to do this?

2006-01-19 Thread Bakhtiar A Hamid
On 1/20/06, John Huttley [EMAIL PROTECTED] wrote:
Sorry should have added its zope 2.8 under windows--johnJohn Huttley wrote: Hi, I'm recoding an existing php e-commerce app in zope as my first project I'm at the point where I've installed the exUserFolder product to
 authenticate against an external SQL database. However, I need to hold some additional information in the user object. It seems to me that I have to change the exUserFolder product code to
 add this to the class.

check out authentication source. also, check out all the docs in the xuf ta ball. iirc, there's a faq for this..

hth
 This seems odd and not very maintainable. There are brains for sql, I'm wondering if there are better ways for
 doing this? Any advice gratefully received. --john ___ 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.orghttp://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
 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Re: Leave the ivory tower now!

2005-12-28 Thread Bakhtiar A Hamid
On 12/27/05, Michael Haubenwallner [EMAIL PROTECTED] wrote:
Andrew Sawyers wrote: On Sun, 2005-12-25 at 10:03 +0800, Bakhtiar A Hamid wrote:The 'closed group' dissolved a while ago.that's sad(?)anything came out of the group?i think we need to do
to zope.org what we did to zope2.ignore and build.leave it asold.zope.org and link from the new site.
 That was the plan.I'd like to revive the plan.:)Volunteers? AndrewCount me inMichael

me three. i;ll try and find time. and also find where i can help

--http://zope.org/Members/d2m
http://planetzope.org___Zope maillist-Zope@zope.orghttp://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 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Re: Leave the ivory tower now!

2005-12-24 Thread Bakhtiar A Hamid
 zope.org HowTos are something between 1000 and 3000 documents.
 Everyonewanting to help to review and consolidate that information is welcome to send a note to [EMAIL PROTECTED] or to the zope-web mailing list (
zope-web@zope.org). MichaelI think you are wrong , on Zope site it say's - Zope How-Tos 1- 20 of 300i think that was remnants of the migration way back when
it's hardcoded, then.what's needed to spruce up the howtos, or zope.org? iirc, there was a closed group with that mission setup some time back
cheers...___Zope maillist-Zope@zope.orghttp://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 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Re: Zope Calendar

2005-12-04 Thread Bakhtiar A Hamid
I wanted something which looks like Plone Calendar - 
http://www.zope.org/Members/teyc/CalendarTag
this has a howto (or is it in the readme), and with the necessary css, can look pretty much like plone's
hth

___
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] Check Interval

2005-11-21 Thread Bakhtiar A Hamid
On 11/19/05, Kozloski, Matthew E [EMAIL PROTECTED] wrote:
I have a fairly large zope installation (thousands of users, ~130Gcombined zeo storages) and have been playing with the check interval.Ihave a single Xeon 3.2 that runs the show (both ZEO and Zope).I notice
that when I set the check-interval at 826 (pystone / 50) the performanceis horrible.In my case the lower I set the check interval, the fasterthe site is (quite significantly).Its not a problem - I'm just curious as to why this is/may be.From
reading docs/postings online, it seems to me that the higher the checkinterval is, the faster the site should be (up to a point -- law ofdiminishing returns sort of thing).It is completely opposite for me
and inquiring minds want to know...

iirc, from shane's post some time ago

do a pystone and divide by 50

that's your check interval value

hth 
Thanks - MattMatthew E. Kozloski
Systems AdministratorSpecialized Technology Resources, Inc.10 Water STEnfield, CT06082 USAt: 860-749-8371f: 860-749-8234e:matthew.kozloski -at- strus.com
___Zope maillist-Zope@zope.orghttp://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 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Zope 2.7.8 or Zope 2.8.X

2005-10-13 Thread Bakhtiar A Hamid
On 10/14/05, Dennis Allison [EMAIL PROTECTED] wrote:
We have been running on Zope 2.7.6 with a few patches.I am now planningto migrate to Zope 2.7.8 but am pondering the move to Zope 2.8.We are ina production situation and cannot accept any downtime, so I am very
concerned about stability and compatibility.Can the list provide words of advice?

not an advice, but what we went through ..

i'd suggest 2.8, but test first. and then test again. when everything is ok, you can test again. :P

2.8 has many features compared to 2.7. with zope, testing your
instance is not that hard. install python2.3.5 and zope.
get all your products. get your data.fs start zope, fix
problems. surf your site(s) 

as somebody mentioned, if you make use a lot of Catalogs, you need to
manage_convertIndexes. and if you use dtml (esp dtml-in with
sort=something), you need to move the sort to your catalog queries.

i'm in the second stage of testing and will be going to the next stage (of testing)

hth

p/s - don't forget to test your instance

___Zope maillist-
Zope@zope.orghttp://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 )-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Re: ZAjax anyone?

2005-10-10 Thread Bakhtiar A Hamid
On 10/10/05, Greg Fischer [EMAIL PROTECTED] wrote:
Ok, after further investigation, Tim Morgan's React is not exactly what
I am looking for. That said, his work is outstanding, and I think
it's awesome! It's like Ruby On Rails implemented (better IMHO)
in Zope! Very cool!

However, I think what I want to work with is just a Zope product without the MVC stuff. 

here's how i look at it

we have zope (dtml/script/zsql-method) that do specific calls that spits out results via xmlrpc.

on the browser side, we have all these ajax libs - openrico, dojo,
mochikits, azax, DataRequestor, jsolait, tim morgan's mini, etc

we just need to connect the dots. the ajax lib + our java
functions/etc will call dtml/script/sql-method via xmlrpc(builtin) or
jasonrpc(with the jsonrpc product) and page will be updated inline(?)

not much voodo involved. everything is there already.

a simple demo is at http://myzope.kedai.com.my/blogs/kedai/demo/; a
script python that just spits out DateTime().pCommon(), and the other,
a script python tah calls html file randomly. replace that with
anythin we want.

zope rox! but i guess we all know that



Thanks again everyone!

GregOn 10/9/05, Greg Fischer 
[EMAIL PROTECTED] wrote:
Thank you everyone! I really appreciate all the input. It's
amazing what you find by doing a little more thorough
searching... here's more of what I am looking for: 
http://timmorgan.org/wiki/ReactFrameworkForZope

Tim Morgan has put together what I would call Zajax from the looks of
it. I am going to start playing around with it, and see how it
fits my needs.

On a side note, I have put together a quick 'n' dirty blog about the
things I am finding, particularly for XMLHTTP, not JSON or
XML-RPC. www.zajax.net - (I liked the name so much, I had
to register the domain! :)On 10/9/05, Michael Haubenwallner 

[EMAIL PROTECTED] wrote:
Chris McDonough wrote: On Oct 8, 2005, at 6:54 AM, Greg Fischer wrote: I would love to have a product (called ZAjax :) that simplyreceives a request from the client and spits out xml.To be morespecific, a
 set of classes that call ZSQL methods and retrieverecords, then send that back in xml format. We've had this built in to Zope for a long time in the form of XML- RPC.There are several _javascript_ libraries that implement an XML- RPC
 client, the best in my recollection being vcXMLRPC.http://myzope.kedai.com.my/blogs/kedai/49
shows a few different ways to do Ajax and Zope.
Michael--http://zope.org/Members/d2m

http://planetzope.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
 )-- Greg Fischer1st Byte Solutions

http://www.1stbyte.com

-- Greg Fischer1st Byte Solutionshttp://www.1stbyte.com


___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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] NameError in Zope Tutorial Lesson 8

2005-10-10 Thread Bakhtiar A Hamid
On 10/9/05, Norbert Kaufmann [EMAIL PROTECTED] wrote:
Hello listmembers,I am fairly new to Zope and turning debugging on and googling a lot doesnot lead me to the solution of the problem.Learning Zope I got this error trying out lesson 8(cont.):--snip--
Error Type: NameErrorError Value: global name 'title' is not defined--snap--
there's some more traceback that may help us determine where it b0rked. 

Zope version: 2.7.7Python: 2.3.5OS: FreeBSD 4.11-STABLEPlease can anybody give me a hint. I simply can't await to get my Elvis
Photo Archive up and running.TIANorbert___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 )-- http://myzope.kedai.com.my
 - my-zope 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 )


Re: [Zope] Problem with Photo Folder

2005-09-13 Thread Bakhtiar A Hamid
On 9/13/05, David [EMAIL PROTECTED] wrote:
On 12 Sep 2005, at 18:45, Peter Bengtsson wrote:
Just checking... sure you've got sufficient hardrive space? Yes, unless 3 Gigs (on a SCSI RAID) is not enough for these kind of things.
check /tmp, /var/tmp. is there enogh space there? the
traceback points to insufficient space. probably partition is
full?
Cheers
___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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Strange warning after removing products

2005-09-10 Thread Bakhtiar A Hamid
On 9/10/05, Martin Koekenberg [EMAIL PROTECTED] wrote:
snip

But I still get the following warnings ?2005-09-10 16:49:05 WARNING ZODB Could not import class
'PlacelessTranslationService' from module'Products.PlacelessTranslationService.PlacelessTranslationService'2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger'from module 'Products.SuperLogger.SuperLogger
'2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks'from module 'Products.QuickLinks.QuickLinks'Does anybody has a solutiuon for this ?Zope is still running. butthe warning isn't there without a reason.

probably because you still have instances of these products? try and remove all broken instances of the products.

hth 
regards,Martin Koekenberg___
Zope maillist-Zope@zope.orghttp://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
 )-- http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] zope.org site and limited search results

2005-08-16 Thread Bakhtiar A Hamid
On 8/16/05, Jaroslav Lukesh [EMAIL PROTECTED] wrote:
 Dear zopistas,
 
 few times ago I was few times wrote to ZC webmaster about limited query to
 Zope Products search results (see attached picture) - in any case it does not
 find more than 200 results. Nothing to do. If somebody has enough power to
 initiate zope.org webmaster, please tell him about change number of results
 from database at advanced tab of appropriate ZSQL method (if it is not
 defined somewhere else).
 
 Note, that old zope site does not has this limit.
 

iirc, that was a hardcoded total.  if you go to the end or change
the start= (query string), you;ll get more than 200.

i might be wrong, but ..


 Many thanks,
 
 --
 
Jaroslav Lukesh
  ---
  This e-mail can not contain any viruses because I use Linux
 
 
 ___
 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 )
 
 
 
 


-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Forcing Zope transaction commit

2005-07-19 Thread Bakhtiar A Hamid
On 7/19/05, David H [EMAIL PROTECTED] wrote:
 Hi list,
 
 At times (it seems)  necessary to force a Zope transaction commit.  This
 might occur between two zSQL calls where the second depends on the
 first's *SQL* transaction's availability but the first has not yet been
 commited because the *Zope* transaction that includes both zSQL calls
 has not yet been commited.
 
 I handled this with a call to an external script as below, eg
 
 . zSql1()
 . pyCommit()
 zSql2()
 Publish new page
 
 Here's pyCommit()
 
 # ...
 # Extenstion/pyCommit.py
 # ...
 from ZODB import FileStorage,DB
 
 def commit( self ):
t = get_transaction() # ZODB builtin
if t:
   t.commit()
 # ...
 
 Thats it. And it solved my problem. Is there a reason why this is a bad
 idea, all things being equal?  A better way to do it, when needed?
 

you're playing with fire  ;)

let zope handle the transaction

use dtml-var sql_delimeter to separate two or more sql calls

this way, if one of the call fails, the transaction will be aborted

gurus, correct me if i'm wrong, please

hth

 Thanks,
 David
 
 ___
 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 )
 


-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Helpdesk/Call Logging in Plone

2005-07-11 Thread Bakhtiar A Hamid
On 7/10/05, Adam Acord [EMAIL PROTECTED] wrote:
 I'm looking for ideas on how to implement a call logging/helpdesk
 ticketing system utilizing Plone.  Any ideas?  Before everyone
 responds try PloneCollector, I'm looking into it.  However, I need
 some ideas, as I'm new to Plone (researched last couple weeks and
 installed yesterday).
 
 I'm not looking for anything sophisticated, but useful.  I also saw a
 posting on the sf list that mentioned mailmanager, so I'm looking
 into that, too.

if you;re not tied to plone, and wants only helpdesk/ticketing system,
i'd recommend issue tracker product

it's actively developed, quite mature, silmple enough with many features

iirc, the url is http://www.issuetrackerproduct.com

 
 Any and all help is greatly appreciated.
 
 -aa
 ___
 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 )
 


-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Apache 2 + Zope can't gzip HTTP response body?

2005-07-03 Thread Bakhtiar A Hamid
On 7/3/05, Daniel Dekany [EMAIL PROTECTED] wrote:
 Can I use HTTP Content-Encoding: gzip for Zope if I use Apache 2? (And
 should I use gzip content-encoding?)
 
 The mod_gzip doesn't work with Apache 2, but instead it has mod_deflate.
 But mod_deflate can't chose which responses to gzip based on the
 MIME-type for responses that are coming through


would this help?  
#enable deflate on select contents

#AddOutputFilterByType DEFLATE text/html text/plain text/xml
hth
 ProxyPass/ProxyPassReverse. And with Zope I can't rely on extensions
 (like .html), just on the MIME-type. Do I think these well?
 
 Somebody have solved this (gzip-ing the response bodies)?
 
 --
 Best regards,
  Daniel Dekany
 
 ___
 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 )
 


-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Calendar for Zope

2005-06-29 Thread Bakhtiar A Hamid
On 6/29/05, John Poltorak [EMAIL PROTECTED] wrote:
 
 I quite like Plone's Calendar, but need something similar for Zope.
 
 Any recommendations?

just like peterb's corpcalendar, SempoiCalendar also depends on
CalendarTag.  and an rdb

it;s old, at v 0.0.0, but works for me.

ymmv

http://zope.org/Members/kedai/SempoiCalendar

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


-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] From Zope 2.5.1 to Zope 2.7.6

2005-06-22 Thread Bakhtiar A Hamid
On 6/22/05, Tim Suter [EMAIL PROTECTED] wrote:
 I am upgrading our current Zope from 2.5.1 to Zope 2.7.6.  I have the
 new version installed as a different instance on a different server.
 The Zope 2.5.1 is in tact and what I am wondering is, how do you migrate
 everything from the older to the newer?  I thought exporting the .zexp
 out of Zope 2.5.1 would be ok.  However, when I import it into the new
 install, it isn't the same as the original.  For example, I exported

i would suggest setting up the new zope 2.7.6 instance, copy all
products used, and Data.fs to var

start zope, see if it complains.  if not, you're good.  else, check
the traceback, do something, and start zope again.

repeat.

hth

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


-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] ZPT tutorial

2005-06-22 Thread Bakhtiar A Hamid
 I'm sufficiently aware of Zope to know it provides a far more
 comprehensive build environment than PHP ever will and I would like to
 adopt it as my platform of choice, but it would be nice if the ZOPE
 support community was as newbie-friendly as the PHP crowd. Loads of
 tutorials and worked examples would be nice too. Reading a manual is no
 substitute for being shown how to build a web page using ZOPE and just
 reading through dozens of isolated examples of ZPT techniques makes
 progress very slow. I would much rather see a tutorial which starts of
 with a relatively complex but easily reproducible template which creates
 an interesting page, but then proceeds to de-construct what it does and
 how it does it.


just in case you've missed it,

open zmi
add Zope Tutorial

go through it

write up your exp for other new users jumping in!

hth
 
  or you could decide that Zope does some stuff which you must have, in
  which case David H's stereotypical response
 
   If you spent more time just *learning* Zope and HTML, etc and less time 
   rationalizing your lack of progress everyone would be happy.
 
  is appropriate.
 
 I only need to rationlise it when people constantly keep telling me to
 read the Zope Book as if that is the solution to everything. Fortunately
 there are a few people here who can still remember suffering the same
 plight as I am currently in an I'm grateful to them for their help.
 
  Good luck.
 
  --
  Mark Barratt
  Text Matters
 
  Information design: we help explain things using
  language | design | systems | process improvement
  __
  phone +44 (0)118 986 8313  email [EMAIL PROTECTED]
  skype mark_barratt  web http://www.textmatters.com
 
 --
 John
 
 
 ___
 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 )
 


-- 
http://myzope.kedai.com.my - my-zope 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 )


[Zope] Re: Zeo

2005-04-27 Thread Bakhtiar A Hamid
On 4/27/05, ken wood [EMAIL PROTECTED] wrote:
 
 Hey guys,
 I appreciate all the great tips on the cionfiguration issue. But my main 
 issue is about infrastructure:
 Which hardware and / or operating systems can be used for a Zope/Zeo 
 system.
 In particular, can I run a Zope instance on my Win32 server and have a 
 Zeo Server/Clients on my Linux server?
 If I use all the same versions (Python, Zope and Plone and Products) can 
 I use a multi-OS infratructure?
 Thanks,
 ken wood

this is what i've learned:
-get as much RAM as you possibly can, esp for zeo clients
-smp not required on zeo clients
-go the unix way, if possible for zeo is much older on unix compared
to windows, iirc
-hardware need not be the same specifications.  just make sure your
load balancer can distinguish the difference

..can't think of any now..



 

-- 
http://myzope.kedai.com.my - my-zope 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 )


[Zope] zope-2.8b1, zclass and five documentation

2005-04-27 Thread Bakhtiar A Hamid
that's a mouthful subject :P

i've downloaded and installed zope 2.8 b1.  

wondered whether zclass is still b0rked in zope2.8r1.  nothing
mentioned in the CHANGES.txt.  probably is.  created zclasses ok. 
however instantiating the zclass requires authentication that will
never go thru.

since zope2.8 comes with five, is there any documentation/tutorials on
how to actually use it?  i've looked at Five/docs/*txt and FiveDemo*. 
it seems that i may need to grok (or at least know *something* about)
zope3  to actually use five.

thanks for any urls/pointers/etc
  

-- 
http://myzope.kedai.com.my - my-zope 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 )


[Zope] Re: Zeo

2005-04-26 Thread Bakhtiar A Hamid
On 4/27/05, ken wood [EMAIL PROTECTED] wrote:
 I've searched most site that have info on ZEO but have not been able to 
 find answers to my questions on install for ZEO.
 Maybe someone on the list can help.
 
 I am running Zope 2.7 (with Plone site) on a Win'03 Server.
 I would like to run ZEO Server and Client on a Linux Server.  The Linux 
 Server also runs Zope 2.7 with a Plone site. Python version are 2.3.3.
 Is this a workable configuration ?
 Ultimate goal is to do away with the Win32 Server (at least for Zope).
 
 I have noticed that most documentation on ZEO is a bit dated (2003). 
 Where can I get newer documentation or HowTo on ZEO?
 Thnaks in advance,
 ken wood
 

this is how i've upgraded all these while

http://myzope.kedai.com.my/Members/kedai/News_Item.2003-11-15.5611/view
 ___
 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 )
 

-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Organisational vs. Functional hierarchies

2005-04-20 Thread Bakhtiar A Hamid
On 4/21/05, David Given [EMAIL PROTECTED] wrote:
 
 The actual amount of code I want to write is minimal; it looks like what I'll
 have is a subclass of File that processes its content and passes it as a
 parameter into a page template on itself. (What I actually want is a
 lightweight RestructuredText thing with more customisability.) It should be
 pretty trivial.
 
 Any gotchas I should know about?

careful what you subclass.  don't do what i did (in 2000); subclass
all the classes i think i want.  now, i have to make sure all the
dependent products are installed.  some of them are not actually
maintained anymore.

 
 What other approaches are there to doing this kind of thing, other than
 writing a fully-fledged Product?

write a simple basic product.  and subclass that for your zclass

here's what i did:
http://myzope.kedai.com.my/blogs/kedai/20

 
 --
 +- David Given --McQ-+
 |  [EMAIL PROTECTED]| Quidquid latine dictum sit, altum viditur.
 | ([EMAIL PROTECTED]) |
 +- www.cowlark.com --+
 ___
 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 )
 


-- 
http://myzope.kedai.com.my - my-zope 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 )


Re: [Zope] Re: ZEO and Sessions.

2005-04-15 Thread Bakhtiar A Hamid
On 4/14/05, Richard Jones [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Wed, 13 Apr 2005 10:21 am, Tres Seaver wrote:
  Richard Jones wrote:
   Yeah, I remember poking around that code way back, and it seemed
   reasonable. Its interactions with transactions are the bits that scare
   me. Using a standard RDBMS connection would probably solve that though.
 
  I revisited the SQLSession product a year ago for a consuling customer,
  making their hacked version a drop-in replacement for the transient
  storage.  I can't release their code, but I maybe learned enough then to
  redo the task as a PluggableSessions product, using the
  PluginRegistry product to manage the different requried bits.
 
 Well, I have a ZSQLSessionDataManager implementation based on the standard
 SessionDataManager with some changes. It appears to work fine when I test our
 application (which makes heavy use of sessions).
 
 So far the SQL code is geared towards Postgres (and gadfly, I think). It'd
 need some tweaking to work on MySQL ('cos MySQL is *special*) and I'm not
 interested in doing that work ('cos MySQL is *special*).
 
 http://www.zope.org/Members/richard/ZSQLSessionDataManager
 

ark!
insufficient priveleges

Insufficient Privileges

You do not have sufficient privileges to view this page.

If you are getting this message when trying to edit your own zope.org
content, remember that you must retract published items before you may
edit them. To retract an item, click on the State link to view the
publishing status form and select retract from the publishing
options.

If you believe you are receiving this message in error, please send an
e-mail to [EMAIL PROTECTED]


 Richard
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (GNU/Linux)
 
 iD8DBQFCXhkFrGisBEHG6TARAjmiAKCCEa9AH/1l5LGx4py/CHhXb1X7hACfZiYE
 iFsD9cpdZgb8+7NwlVwethY=
 =nVP7
 -END PGP SIGNATURE-
 ___
 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 )
 


-- 
http://myzope.kedai.com.my - my-zope 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 )


[Zope-dev] localfs and zope 2.7 (was: Re: 2.7 assertion with CVS of that morning two)

2004-01-16 Thread Bakhtiar A Hamid
On Friday 16 January 2004 17:01, [EMAIL PROTECTED] wrote:
 Message: 2
 Date: Fri, 16 Jan 2004 00:56:36 +0100
 From: robert [EMAIL PROTECTED]
 Subject: Re: [Zope-dev] Re: 2.7 assertion with CVS of that morning two
   days ago
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;  charset=iso-8859-1

 Thanks,
 Yuppie allredy pointed me to my error. Things work fine now.
 Strange that this is not yet fixed in the CVS.
 Robert
 The only thing I am still figthing: LocalFS does not work under 2.7. You do
 not happen to know how to fix it?


fyi, i've danced to this tune, and the easiest is get localfs from cvs

here's the document - 
http://www.my-zope.org/Members/kedai/News_Item.2003-12-30.2242

or sf.net/projects/localfs

hth


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


[Zope-dev] zeo2.0.2 and zope2.6.1 trouble

2003-04-02 Thread Bakhtiar A Hamid
hi
was at #zope, and hazmat recommended that i shoot the question here.

i have a setup  zope-2.6.1-src and zeo2.0.2, running on linuxx and python2.1.3
i'm using instance home, and currently there are errors in ZEO_SERVER.log[1]

i'm not sure what else to do.  i've run fsrecover.py from 2.5.1, and nothing 
seems wrong with Data.fs  

running fsrecover.py from 2.6.1 results in nothing 
ive included
export PYTHONPATH=$PYTHONPATH:/usr/local/Zope-2.6.1-src/lib/python: in 
start_zeo, and still the same

tia

--
[1]
ERROR(200) Conflict Resolution Unexpected error
Traceback (innermost last):
  File /usr/local/Zope-2.6.1-src/lib/python/ZODB/ConflictResolution.py, line 
96, in tryToResolveConflict
(Object: /usr/local/ZopeHome/var/Data.fs)
SystemError: Failed to import class ClassicHTMLFile from module 
App.special_dtml



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


[Zope-dev] zope-2.6.1+zeo-2.0.2 not trouble

2003-03-23 Thread Bakhtiar A Hamid
hi
i've posted this to zope list, and got hints from dieter about the 
toby-clean-shutdown branch.

i apologize if this is not appropriate.
i'm restating the question again:

since upgrading zope from 2.5.1 + zeo1, i've been having frequent zope/zeo 
client hanging/not responding.

the setup:
we have zope-2.6.1-src + zeo-2.0.2 on linux with python 2.1.3

frequently, the zeo client hangs/not responding. output of ps axf is below[1] 
and the stupid.log[2] 

i've setup stupid_log_severity=-100 fr ZEO_EVENTS.log, and the last 20 lines 
of the log is attached.  this is when all zeo clients failed to get to the 
zeoserver.[3]

restarting the zeoserver makes things peachy again
also, sometimes i got this error[4] in ZEO_EVENTS.log.


telnet localhost 8080
GET / HTTP/1.0\n\n
resulted in nothing.  no time out, nothing

running ./stop will only kill the parent process, i.e 17160 in the below 
example.  the other processes can only be killed with a kill -9 17161.

restarting the zeoclient will make it respond again.

i've tried zeo2.1a1( iirc) and the behaviour is the same
i used to run with persistent zeo cache (ZEO_CLIENT=12000) in the ENV, but 
running without is still the same.  i've also tried runnin with -Z1, and -Z-
also the same behaviour

thanks for any help/pointers
--
ps axf [1]
# ps axf|grep py
17560 pts/0D  0:00  \_ grep py
17160 ?SW 0:00 /usr/bin/python2.1 /usr/local/Zope-2.6.1-src/z2.py 
-X
17161 ?S 16:39  \_ /usr/bin/python2.1 
/usr/local/Zope-2.6.1-src/z2.p
17162 ?S  0:00  \_ /usr/bin/python2.1 
/usr/local/Zope-2.6.1-src/
17165 ?R 26:09  \_ /usr/bin/python2.1 
/usr/local/Zope-2.6.1-
17166 ?S 28:26  \_ /usr/bin/python2.1 
/usr/local/Zope-2.6.1-
17167 ?S 26:50  \_ /usr/bin/python2.1 
/usr/local/Zope-2.6.1-
17168 ?S 27:11  \_ /usr/bin/python2.1 
/usr/local/Zope-2.6.1-

[2]# tail var/stupid.log
--
2003-03-21T10:24:53 BLATHER(-100) zrpc-conn:192.168.1.2:12000 calling 
Invalidate([('\x00\x00\x00\x00\x01\x0bQ\xec', ''), ('\x00\x00\x00\x00\...
--
2003-03-21T10:25:20 BLATHER(-100) zrpc-conn:192.168.1.2:12000 calling 
Invalidate([('\x00\x00\x00\x00\x00\x00$\xae', ''), ('\x00\x00\x00\x00\...
--
2003-03-21T10:25:28 BLATHER(-100) zrpc-conn:192.168.1.2:12000 calling 
Invalidate([('\x00\x00\x00\x00\x00\x1c\x9a\xd9', ''), ('\x00\x00\x00\x...
--
2003-03-21T10:25:50 BLATHER(-100) zrpc-conn:192.168.1.2:12000 calling 
Invalidate([('\x00\x00\x00\x00\x01\x0bQ\xea', ''), ('\x00\x00\x00\x00\...
--
2003-03-21T10:25:53 BLATHER(-100) zrpc-conn:192.168.1.2:12000 calling 
Invalidate([('\x00\x00\x00\x00\x01\x0bQ\xea', ''), ('\x00\x00\x00\x00\...

[3]# tail -20 ZEO_EVENTS.log.1
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.2:36996 calling 
storea('\x00\x00\x00\x00\x01![\xf6', '\x03K\xc4\x88\x17b\xc7\xbb',...
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.2:36996 calling 
storea('\x00\x00\x00\x00\x01*Of', '\x03K\xc4\x88\x17b\xc7\xbb', '(...
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.2:36996 calling 
storea('\x00\x00\x00\x00\x01*N\xea', '\x03K\xc4\x88\x17b\xc7\xbb',...
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.2:36996 calling 
storea('\x00\x00\x00\x00\x01*N\xeb', '\x03K\xc4\x88\x17b\xc7\xbb',...
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.2:36996 calling 
storea('\x00\x00\x00\x00\x01!Z\n', '\x03K\xc4\x88\x17b\xc7\xbb', '...
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.2:36996 calling 
storea('\x00\x00\x00\x00\x00\xb0_\xfd', '\x03K\xc4\x88\x17b\xc7\xb...
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.2:36996 calling 
vote('\x03K\xc4\x88\x1d$\x91f')
--
2003-03-24T03:20:07 INFO(0) ZSS:15977/192.168.1.2:36996 Transaction blocked 
waiting for storage. Clients waiting: 3.
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.3:50444 calling 
tpc_begin('\x03K\xc4\x89\xc2\xa9-\x88', ' None', '/Poll/BHQ5/processV...
--
2003-03-24T03:20:07 BLATHER(-100) zrpc-conn:192.168.1.3:50444 calling 
tpc_abort('\x03K\xc4\x89\xc2\xa9-\x88')

[4]--
2003-03-24T09:28:16 ERROR(200) Conflict Resolution Unexpected error
Traceback (innermost last):
  File /usr/local/Zope-2.6.1-src/lib/python/ZODB/ConflictResolution.py, line 
96, in tryToResolveConflict
(Object: /usr/local/ZopeHome/var/Data.fs)
SystemError: Failed to import class ClassicHTMLFile from module 
App.special_dtml


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