[Zope-Checkins] CVS: Packages/ZEO - runzeo.py:1.15.6.7
Update of /cvs-repository/Packages/ZEO In directory cvs.zope.org:/tmp/cvs-serv30645 Modified Files: Tag: Zope-2_7-branch runzeo.py Log Message: Add platform idea of line terminator to pid file. Compute the pidfile path only once. === Packages/ZEO/runzeo.py 1.15.6.6 = 1.15.6.7 === --- Packages/ZEO/runzeo.py:1.15.6.6 Wed Apr 13 01:37:34 2005 +++ Packages/ZEO/runzeo.py Thu Apr 14 10:44:14 2005 @@ -279,12 +279,13 @@ environment variable could not be found. Cannot guess pidfile location.) return -pidfile = os.path.join(instance_home, var, ZEO.pid) -return pidfile +self.options.pid_file = os.path.join(instance_home, + var, ZEO.pid) def make_pidfile(self): if not self.options.read_only: -pidfile = self._get_pidfile() +self._get_pidfile() +pidfile = self.options.pid_file if pidfile is None: return try: @@ -292,7 +293,7 @@ os.unlink(pidfile) pid = os.getpid() f = open(pidfile, 'w') -f.write(`pid`) +print f, pid f.close() info(created PID file '%s' % pidfile) except IOError: @@ -302,7 +303,7 @@ def remove_pidfile(self): if not self.options.read_only: -pidfile = self._get_pidfile() +pidfile = self.options.pid_file if pidfile is None: return try: ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Coders] Zope Bugs, Features, and Patches Collector: Open Issues
The following supporters have open issues assigned to them in this collector (http://www.zope.org/Collectors/Zope). Assigned and Open Brian - ZPT not being processed with text/vnd.wap.wml mime type, [Accepted] http://www.zope.org/Collectors/Zope/968 Caseman - ZCTextUndex should not hold a reference to a lexicon, [Accepted] http://www.zope.org/Collectors/Zope/505 - locale based sorting in ZCatalog, [Accepted] http://www.zope.org/Collectors/Zope/738 LRA - FileUpload not iterable, [Accepted] http://www.zope.org/Collectors/Zope/1199 Tiran - Zope 2.7 doesnot serve pages to some accept-charset request headers, [Accepted] http://www.zope.org/Collectors/Zope/1492 ajung - manage_catalogIndexes: '# objects' is misleading, [Accepted] http://www.zope.org/Collectors/Zope/1587 - Multilingual search gives a wrong results., [Accepted] http://www.zope.org/Collectors/Zope/1343 - WebDAV broken in 2.7.0-b3, [Accepted] http://www.zope.org/Collectors/Zope/1145 - Mount-Points: documentation incomplete, behaviour surprising, [Accepted] http://www.zope.org/Collectors/Zope/1487 - Need a way to include non-xml valid structure in ZPT attributes, [Accepted] http://www.zope.org/Collectors/Zope/1281 chrism - ZODBMountPoint should not monkey-patch ZODB, [Accepted] http://www.zope.org/Collectors/Zope/1525 - poor error reporting on product initialization failure under windows, [Accepted] http://www.zope.org/Collectors/Zope/1020 - Potential bug in Python cgi.FieldStorage can lead to problematic memory growth, [Accepted] http://www.zope.org/Collectors/Zope/1685 - TemporaryStorage should be made MVCC-capable on HEAD, [Accepted] http://www.zope.org/Collectors/Zope/1526 - Lurking CPU eater in Transience, [Accepted] http://www.zope.org/Collectors/Zope/1633 chrisw - security.declareObjectProtected('View') appears to be buggy, [Accepted] http://www.zope.org/Collectors/Zope/1264 - Zope 2.7.3b1 DAV server doesn't provide DAV header, [Accepted] http://www.zope.org/Collectors/Zope/1518 - VHM and ZCatalog absolute paths, [Accepted] http://www.zope.org/Collectors/Zope/608 - default page encoding hardcoded to latin1, [Accepted] http://www.zope.org/Collectors/Zope/1490 - Debug Information Illegible, [Accepted] http://www.zope.org/Collectors/Zope/1736 - Windows Linefeeds in ZPT, [Accepted] http://www.zope.org/Collectors/Zope/1464 ctheune - Windows build tweaks, [Accepted] http://www.zope.org/Collectors/Zope/1531 - hasattr_unacquired, [Accepted] http://www.zope.org/Collectors/Zope/742 - Shutdown ZEO Server under Windows, [Accepted] http://www.zope.org/Collectors/Zope/1508 - Update WinBuilders to use recent pywin32/win32all builds, [Accepted] http://www.zope.org/Collectors/Zope/1528 dreamcatcher - PropertySheets xml_escape method with hardcoded encoding, [Accepted] http://www.zope.org/Collectors/Zope/1561 efge - ZCatalog getObject broken, [Accepted] http://www.zope.org/Collectors/Zope/1713 evan - Cant declare classes in Scripts with 2.7 and Python 2.3, [Accepted] http://www.zope.org/Collectors/Zope/1074 fdrake - ZCTextUndex should not hold a reference to a lexicon, [Accepted] http://www.zope.org/Collectors/Zope/505 - [Weakness] analysis of Zope startup problems (log hidden), [Accepted] http://www.zope.org/Collectors/Zope/1285 - FTP server does not implement MLSD or MLST, [Accepted] http://www.zope.org/Collectors/Zope/1161 - Make possible to configure non-default logger hierarchies via zope.conf, [Accepted] http://www.zope.org/Collectors/Zope/1555 htrd - startup ConflictError, [Deferred] http://www.zope.org/Collectors/Zope/300 jeremy - Transaction Manager Brokenness, [Accepted] http://www.zope.org/Collectors/Zope/701 - ZODB load state error, [Accepted] http://www.zope.org/Collectors/Zope/1204 jim - aq_acquire on u'aq_parent', [Accepted] http://www.zope.org/Collectors/Zope/1738 mcdonc - filestream_iterator handling is not implemented for FastCGI protocol., [Accepted] http://www.zope.org/Collectors/Zope/1647 mj - expectMultipleRanges test should use email package, [Accepted] http://www.zope.org/Collectors/Zope/579 mjablonski - Error in zmi when an object is named 'URL' or 'URL1', [Accepted] http://www.zope.org/Collectors/Zope/1217 slinkp - AcceleratedHTTPCacheManager doesn't PURGE correctly for virtual hosts, [Accepted] http://www.zope.org/Collectors/Zope/1447 tim_one - Zope 2.8/ZODB 3.3: Update all cPickle.Pickler instances to use protocal 2, [Accepted] http://www.zope.org/Collectors/Zope/1519 - ZCTextUndex should not hold a
Re: [Zope-dev] Zope Windows setup
Hi, Zope 2.7 uses Innosetup. Check http://cvs.zope.org/Packages/WinBuilders/README.txt?rev=1.9content-type=text/vnd.viewcvs-markup for more information. Regards, Patrick. 2005/4/13, Manuel Markwort [EMAIL PROTECTED]: For my product i want to write my own Installshield setup. To make life easier I want to include the Windows setup of Zope 2.7.1 but I can't find the setup sources in cvs. I need this to manipulate the original Zope setup, as well. Thanks for advises, -- Manuel Markwort (mailto:[EMAIL PROTECTED]) Software-Development RATIO Entwicklungen GmbH Admiralitaetstrasse 59 D-20459 Hamburg Phone: +49-40-369007-73 Fax: +49-40-369007-75 ___ Zope-Dev maillist - Zope-Dev@zope.org 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 maillist - Zope-Dev@zope.org 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] Re: Five within Zope 2.8 - really cool !
Martijn Faassen wrote: Andreas Jung wrote: I just would like to thank everyone working on the Five integration with Zope 2.8. It's really easy and fun to work with views, view classes, adapters and interfaces in a Zope 2 environment. I've always tried to get around Zope 3 somehow but now I am at the point where I am really convinced and healed :-) It was a good decision to ship Five now instead in Zope 2.9 or so. I am sure Five will make Z2 application design a lot more straight forward and cleaner...thanks...great work. Thanks on behalf of the Five developers and integrators! That's very nice to hear, especially coming from you! Regards, Martijn Andreas, Getting thanks from someone deeply involved in the everyday work of the Zope maintenance is a pleasure. And a good opportunity to thank YOU for the work done on 2.x release management. Godefroid PS: I am a bit late on this, was on holiday... ___ Zope-Dev maillist - Zope-Dev@zope.org 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 )
Re: [Zope] ZPT list is dead... zpt nav question
Norbert Ray-Goldman wrote: so I am posting this here. I would like my zpt to list only folders in a director - essentially filtering out all other meta_type(s)... can you tell me where I am going wrong with the filtering here ? html head title tal:content=template/titleThe title/title /head body span a href=HOME_URL tal:attributes=href container/absolute_url tal:content=container/title_or_idTITLE OR ID/a span tal:repeat=item here/objectValues a href= tal:attributes=href item/absolute_url tal:condition=python:item.meta_type=='Folder'URL/a /span /span /body /html You don't have to do the filtering yourself. Just pass objectValues (or any of its related methods) a meta_type and it will return only those. You can even pass a list if you want to filter on several. See the API docs: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixB.stx --jcc ___ 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.
-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 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 )
Re: [Zope] ZPT list is dead... zpt nav question
Norbert Ray-Goldman wrote: so I am posting this here. I would like my zpt to list only folders in a director - essentially filtering out all other meta_type(s)... can you tell me where I am going wrong with the filtering here ? html head title tal:content=template/titleThe title/title /head body span a href=HOME_URL tal:attributes=href container/absolute_url tal:content=container/title_or_idTITLE OR ID/a span tal:repeat=item here/objectValues Make it: span tal:repeat=item python:here.objectValues('Folder') ...and remove the test on meta_types. Or you can also put the filter in a python script, so the template does not need to know about that... -- Bruno Desthuilliers Développeur [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Sorting is broken with UTF-8?
I have a Zope 2.7.0(+Plone) instance that uses utf-8 encoding everywhere. The problem is that alphabetical sorting (like with DocumentTemplate.sequence.sort(seq, 'locale', ...)) is broken everywhere: accented letters come after all US-ASCII characters. I have locale=hu_HU.UTF-8 in zope.conf, still it seems that the collation algorithm can't handle UTF-8 encoded strings correctly, and since 0x80 is higher than the code of the US-ASCII characters, a character that is out of the US-ASCII range will be later than the US-ASCII ones. Actually Python can't sort UTF-8 with strcoll either (at least I couldn't achieve that), I guess the root of the problem is there. So, what should I do now? UTF-8 charset doesn't work in reality with Zope so I should forget it and switch to ISO-8859-x? -- 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 )
Re: [Zope] Sorting is broken with UTF-8?
--On Donnerstag, 14. April 2005 12:20 Uhr +0200 Daniel Dekany [EMAIL PROTECTED] wrote: I have a Zope 2.7.0(+Plone) instance that uses utf-8 encoding everywhere. The problem is that alphabetical sorting (like with DocumentTemplate.sequence.sort(seq, 'locale', ...)) is broken everywhere: accented letters come after all US-ASCII characters. I have locale=hu_HU.UTF-8 in zope.conf, still it seems that the collation algorithm can't handle UTF-8 encoded strings correctly, and since 0x80 is higher than the code of the US-ASCII characters, a character that is out of the US-ASCII range will be later than the US-ASCII ones. Actually Python can't sort UTF-8 with strcoll either (at least I couldn't achieve that), I guess the root of the problem is there. Right. This is not a Zope problem so better ask the Python world or file a Python bug report. So, what should I do now? UTF-8 charset doesn't work in reality with Zope so I should forget it and switch to ISO-8859-x? sequence.sort() accepts also custom comparison methods. So you could write your own method *somehow*. -aj pgpFnNNmaocdn.pgp Description: 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 )
[Zope] Re: ZEO and Sessions.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Richard Jones wrote: 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 Cool. Where is CVS for that, so that I don't bug you for features. ;) I could import it to cvs.zope.org, if you like. Tres. - -- === Tres Seaver[EMAIL PROTECTED] Zope Corporation Zope Dealers http://www.zope.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCXoEbGqWXf00rNCgRAuhJAKCaV3P7/MRuBQD8oL6Awmofc42hYgCglex+ OY3hhWKBg05zs4IG5xmKNuk= =vYaS -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 )
Re: [Zope] METALError:incompatible version error when try to do use-macro and python script
Andrew Milton wrote: +---[ Gautam Saha ]-- | Hi: | | I am getting a METALError when I try to do use-macro in ZPT. | | Here is my code in main_template.pt | . | .. [snip] | div metal:use-macro=python:here.getSubTab() | /div | | | [snip] | I am basically returning 'here/subtab/macros/tools_sub' from the | getSubTab() py | script. ( my script has one line for testing - return | 'here/subtab/macros/tools_sub' | | Any help to resolve this is greatly appreciated. You actually have to return a macro, not a string representing the path to the macro. Your script will have to return here.subtab.macros['tools_sub'] I think that's the right format. Thanks a lot for your help. My return now looks like: return context.subtab.macros['tools_sub'] GS ___ 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 on cdrom
Hi, I would like to run zope on cdrom but it doesn't work. I used the handbook on the following site: http://georget.sebastien.free.fr/files/zope/zope-on-cdrom.en.html On the HDD, it goes, but as soon as I put it on cdrom, it does not function any more. I use a mandrake 10, python 2.3.4 and zope 2.7.3 I have the following error: /mnt/cdrom/python/lib/python2.3/fcntl.py:7: DeprecationWarning: the FCNTL module is deprecated; please use fcntl DeprecationWarning)esource File /mnt/cdrom/zope/lib/python/Zope/Startup/__init__.py, line 33, in parse File /tmp/python/l Traceback (most recent call last):y, line 107, in parse]$ File /tmp/python/lib/python2.3/xml/sax/xmlreader.py, line 123, in parse File /mnt/cdrom/zope/lib/python/Zope/Startup/run.py, line 49, in ?ader.py, line 300, in start_element ile /tmp/zope/lib/python/ZConfi run()in startElement File /tmp/zope/lib/python/ZConfig/loader.py, line 154, in schemaComponentSourcee /mnt/cdrom/zope/lib/python/Zope/Startup/ File /mnt/cdrom/zope/lib/python/Zope/Startup/run.py, line 18, in runich is backed by a opts = _setconfig()drom]$ File /mnt/cdrom/zope/lib/python/ZServer/HTTPServ File /mnt/cdrom/zope/lib/python/Zope/Startup/run.py, line 41, in _setconfig opts.realize(doc=Sorry, no option docs yet.) File /mnt/cdrom/zope/lib/python/zdaemon/zdoptions.py, line 262, in realize self.load_schema() File /mnt/cdrom/zope/lib/python/zdaemon/zdoptions.py, line 303, in load_schema self.schema = ZConfig.loadSchema(self.schemafile) File /tmp/zope/lib/python/ZConfig/loader.py, line 37, in loadSchema File /tmp/zope/lib/python/ZConfig/loader.py, line 71, in loadURL File /tmp/zope/lib/python/ZConfig/loader.py, line 137, in loadResource File /tmp/zope/lib/python/ZConfig/schema.py, line 43, in parseResource File /mnt/cdrom/zope/lib/python/Zope/Startup/__init__.py, line 33, in parse check_python_version() File /tmp/python/lib/python2.3/xml/sax/expatreader.py, line 107, in parse File /tmp/python/lib/python2.3/xml/sax/xmlreader.py, line 123, in parse File /tmp/python/lib/python2.3/xml/sax/expatreader.py, line 207, in feed File /tmp/python/lib/python2.3/xml/sax/expatreader.py, line 300, in start_element File /tmp/zope/lib/python/ZConfig/schema.py, line 119, in startElement File /tmp/zope/lib/python/ZConfig/schema.py, line 306, in start_import File /tmp/zope/lib/python/ZConfig/loader.py, line 154, in schemaComponentSource File /mnt/cdrom/zope/lib/python/Zope/Startup/__init__.py, line 36, in ? # we log events to the root logger, which is backed by a File /mnt/cdrom/zope/lib/python/ZServer/HTTPServer.py, line 45, in ? from HTTPResponse import make_response File /mnt/cdrom/zope/lib/python/ZServer/HTTPResponse.py, line 25, in ? from PubCore.ZEvent import Wakeup File /mnt/cdrom/zope/lib/python/ZServer/PubCore/ZEvent.py, line 24, in ? the_trigger=simple_trigger() File /mnt/cdrom/zope/lib/python/ZServer/medusa/thread/select_trigger.py, line 50, in __init__ asyncore.file_dispatcher.__init__ (self, r) File /mnt/cdrom/python/lib/python2.3/asyncore.py, line 543, in __init__ flags = fcntl.fcntl(fd, fcntl.F_GETFL, 0) AttributeError: 'module' object has no attribute 'fcntl' Somebody can it help me? Is there any other handbook? Thanks. Nip ___ 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.
Tres Seaver wrote: http://www.zope.org/Members/richard/ZSQLSessionDataManager Cool. Where is CVS for that, so that I don't bug you for features. ;) I could import it to cvs.zope.org, if you like. I'd like to add Oracle support since I need it myself, and when I have working changes would like to have them included in newer releases of ZSQLSessionDataManager. /dario -- -- --- Dario Lopez-Kästen, IT Systems Services Chalmers University of Tech. ...and click? damn, I need to kill -9 Word again... - b using macosx ___ 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] tuples of length 2 in DTML
Title: tuples of length 2 in DTML Tuples of length 2 just don't seem to work in DTML. I don't know what it is, certainly never seen any documented explanation before. The simple test below explains itself . Can anyone explain why the results are what they are? I'd go to the collector if it didn't seem like such a glaringly obvious quirk. I figure there must be some sensible reason why this happens, but my manual is missing that page. pre dtml-let tt=[('a',),('b','c',),('d','e','f')] tt: dtml-var tt dtml-in tt tt[dtml-var sequence-index]: dtml-var sequence-item /dtml-in /dtml-let /pre Jim ___ 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] tuples of length 2 in DTML
--On Donnerstag, 14. April 2005 12:20 Uhr -0400 Jim Abramson [EMAIL PROTECTED] wrote: Tuples of length 2 just don't seem to work in DTML. I don't know what it is, certainly never seen any documented explanation before. The simple test below explains itself . Can anyone explain why the results are what they are? I'd go to the collector if it didn't seem like such a glaringly obvious quirk. I figure there must be some sensible reason why this happens, but my manual is missing that page. pre dtml-let tt=[('a',),('b','c',),('d','e','f')] tt: dtml-var tt dtml-in tt tt[dtml-var sequence-index]: dtml-var sequence-item /dtml-in /dtml-let /pre This is a well-known behaviour and considered a feature for historical reasons (don't ask why...). Try to add the 'mapping' attribute inside dtml-in. -aj pgpWvbx1WIC5Q.pgp Description: 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 )
[Zope] Problem with Zope Threads on Debain
I have installed the zope debian (sarge) package. The default number of threads is 4 but only one thread is running. I installed this package in several machines and I have this problem in everyone. Somebody knows whats the possible problem? Sorry for bad english and thank for advance. David. -- David Zapico [EMAIL PROTECTED] Neo Ingeniería Informática S.L. http://www.neosystemssl.com Tlfn/fax: 895 313 424 -- ___ 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] Some problem about Data.fs
Fu-Ming_Tsai wrote: What I meant is that if there are more and more objects, maybe it cause some problem because there are a big Data.fs. Doesn't it cause any problem if there are a big big Data.fs? Not particularly. If you hit the upper limit of your disk or filesystem limits on file size/partition size you can get into trouble. Also, if it gets too big, you may not have enough room to pack (because the old and new Data.fs files must be able to exist simultaneously.) The ZODB can be broken into multiple files if needed. You could also use DirectoryStorage, but some file systems aren't so good at large numbers of files. But there are no Zope-specific problems with a large database, save that building the index (on startup) can take longer if you have lots of objects. --jcc ___ 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] how to generate debug.log for requestprofiler
Title: how to generate debug.log for requestprofiler At some point btn Zope 2.6.2 and 2.7.4, it seems way you set up a logfile to be used by requestprofiler.py has changed. Now I need debug.log - whats the proper way to generate one? I've just been googling and can't find explicit instructions about this. Doing runzope or zopectl with -M aren't working, and there is no obvious directive in zope.conf for it. Unless I am supposed to configure a logger at DEBUG level myself, from the zope.conf and make sure it's called debug.log, but this doesn't seem right Any suggestions? Thanks, Jim ___ 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] how to generate debug.log for requestprofiler
On Apr 14, 2005, at 6:02 PM, Jim Abramson wrote: At some point btn Zope 2.6.2 and 2.7.4, it seems way you set up a logfile to be used by requestprofiler.py has changed. Now I need debug.log - whats the proper way to generate one? I've just been googling and can't find explicit instructions about this. The log that I think of as the debug.log seems to now be called the event log. Request profiler still needs the trace log. You can enable it by putting the following stanza in your zope.conf file: logger trace> level WARN logfile> path $INSTANCE/log/trace.log format %(message)s /logfile> /logger> The zopectl command isn't the direct equivalent of the old z2.py. It is a wrapper around it. (the rough equivalent of z2.py is run.py, The zopectl program spawn something that spawns run.py) so command line parameters added to zopectl aren't seen by zope itself. ___ 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 )