[Zope] Fwd: [Zope-dev] How to delete ZServer's zombie channel?
Hi, some times I see in my /Control_Panel/DebugInfo/manage, channels opened longer than 48378.26s. How can I kill/delete a specific zombie channel/request? Thanx, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ 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] Fwd: [Zope-dev] Zope max script execution time?
Hi Is there a way to define a timeout or max script execution time for zserver requests? Thanx, Júlio Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ 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] Fwd: [Zope-dev] kill_zombies
I read in HISTORY.txt that something was fixed for Zope 2.0 but I'm not having sucess with this channel killing. Is there another way, external_method or something, to kill a specific channel which is zombie? Thanx, Júlio Dinis Silva >From: "Júlio Dinis Silva" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: [Zope-dev] kill_zombies >Date: Wed, 20 Dec 2000 17:58:52 - > >Hi, > >since I started to use zeo, my medusa debug, close_zombies >stop to work. Is there another way to call this method close_zombies >or kill_zombies? > >thanx, >Júlio Dinis Silva > _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ 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] images last-modified bug?
Hi, I read sometime ago of a bug in zope not sending images header last-modified, which cause browsers to always get images from zope not using the browser's cache. I'm seeing some different behaviour in my site statistics since I upgrade from 216 to 222, and I think it could be related with this image problem. I search in HISTORY.txt but I cant find nothing saying If the bug really existed and if it was fixed. Any help? Best Regards, Júlio Dinis Silva _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ 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] ZODBCDA problem?
Hi, Some times my site stop responding. I have a winnt32odbc system dsn to a sqlserver70. In my zope I have a ZOdbc_Connection using this dsn. When my site hangs if I do a restart the python.exe process grows to some size and then stop. I think he finished import Data.fs and start ZServer but it just dont publish nothing. The only solution I found was to delete the DSN restart the process and after zope starts it now respond to gets with no problem, then I create my DSN and voila my site is running ok. Why do just deleting the DSN my zope starts correctly (not hanging)? Could be the ZODBC connection object turned to some bad state on Data.fs, or the DSN on NT stop to connect to the sqlserver and became "locked"? Thanx for comments, Júlio Dinis Silva _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Version Lock/save/discard Problem
>We have had the same problem with "saving" Versions on zope 2.2.2 + >ZEO. Our ZSS servers are on linux and our Zope Clients are on NT >(don't ask). I have all ZSS and ZCS on NT but I isolated the possible zeo's related problem running my Data.fs on a standalone zope and the problems persisted. >The only solution that worked for us so far is to repeatedly modify >the locked object and re-save the version. If it doesn't work at >first try again after a few hours. Eventually (after a dozen or so >tries) it seems to sort itself out. >We haven't seen documents become folders yet, but most of the work >was done in ZClasses. I solved the problem with some packs to the Database. In no understandable way after one of the packs the discard and save worked okay. In one of the packs I got this output: ERROR(200) ZODB FS FS21 ERROR: Bad reference to ('\000\000\000\000\000\010kQ','myversion') ERROR(200) ZODB FS FS21 ERROR: Bad reference to ('\000\000\000\000\000\010]\250','myversion') Its obviously there was something wrong with myversion object, but only after some more packs the save/discard worked okay. But I quit versions because the locking of a folder when you add objects is not a good feature of versions, specially if the one locked is root, means you just loose the possibility of changing your online "version" of your site like adding new objects, and changing locked ones. I know this versionlock happened with CatalogAware objects from experience with zope 2.1.6 but for instance the locking of a document even for a change out of the version is something never happened in 2.1.6. I'm just seeing this in 222, maybe this is a result of those objects being in a locked folder. Best Regards, Júlio Silva _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ 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] Version Lock/save/discard Problem
>I created a version in my zope root in which I've been working >for some days. I created some objects on my root folder when >working on my version which caused root to became locked. > >Now I want to save/commit my version. I go to the save/discard form >and the save form post looks to work okay, i.e, I have a undo log >of this commit and If I try to save again Zope tells me there >is nothing else to save in the current version. > >But... when I try to delete my version I get a VersionLockError, >and my root folder is still being locked. > >Same goes to Discard, i.e, apparentely zope do the save/discard but >the locked files/folders continues there. > >I've tryed with superuser, and even on the Control Panel Version manage, >with no luck. > >I'm using zope222. >I'm using latest release of ZEO. >I do a pack to my Data.fs on a daily basis. > >Anyone had this problem, any help? I saw in a post someone saying that a Pack to the Database solved the problem he had with versions. In fact, after doing a pack to my database I can now discard and delete my version but the save operation do some weird things like Documents become Folders !?! Júlio Dinis Silva _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ 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] Version Lock/save/discard Problem
Hi, I created a version in my zope root in which I've been working for some days. I created some objects on my root folder when working on my version which caused root to became locked. Now I want to save/commit my version. I go to the save/discard form and the save form post looks to work okay, i.e, I have a undo log of this commit and If I try to save again Zope tells me there is nothing else to save in the current version. But... when I try to delete my version I get a VersionLockError, and my root folder is still being locked. Same goes to Discard, i.e, apparentely zope do the save/discard but the locked files/folders continues there. I've tryed with superuser, and even on the Control Panel Version manage, with no luck. I'm using zope222. I'm using latest release of ZEO. I do a pack to my Data.fs on a daily basis. Anyone had this problem, any help? Thanx, Júlio Dinis Silva _ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com ___ 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] Dr.Watson on NT
Hi all, Is there a NT guru in the house :-) Zope 222 Sometimes Zserver goes Zombie, I login on the machine and I see a DrWatson Window. I close DrWatson window and the process automagically restarts, and everything ok. Whenever this happens two logs are written in EventLogger: -one is a Warning: Restarting Zope... -one is a Info: starting Zope... With a couple of seconds of distance in time between them. I can see something is puting ZServer zombie and I'm looking at debug to find the sucker method :-) but this DrWatson behaviour never seen by me before: could be Zope doing a Zombie Timeout and restarting himself? If yes why does he hangs and only by closing the DrWatson Window the python.exe process really restarts? Any comments, tips, Dr.Watson Guru? Best Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] ZCatalog scalability?
Does anyone has a Catalog with more than 1500 items catalogued? If yes does anyone can do searches to this Catalog in a resonable time without freezing ZServer until it ends? Thanks, Júlio Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] my brains?
Hello, I'm doing some search in two catalogs I have. They each have more than 1000 items. When a search is made besides taking to long the debug information screen print a lot of . Can anyone explain what is this "my brains" thing or some page to go and read more about this? Thanks, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] ZServer log buffer?
Hi all. Supose you are saving z2.log on a mounted disk, either nfs linux or a WinNT cluster network name. If for some seconds that mounted disk became unavailable, isnt supose ZServer log system to buffer a little until the mounted resource became available again? I'm dealing with the problem that z2.log "write system" on NT are giving me a IOError when the resource becames unavailable for some seconds. If there isnt anything already to fix this, wouldnt be good if ZServer buffer a "little" until the resource became available and in the case the resource just completelly cease to be then ZServer just stop to write logs, instead of killing the process raising the exception? I know what you are thinking: just dont permit the resource to became unavailable dude! But supose you have active-passive resources in case of fail down and you need some seconds to automatically or by hand(not the case) fix the resource, wouldnt be nice for ZSERVER to, for instance, stop logging. Maybe this should not be addressed to Zope Log writes. Maybe this is more a system administration issue but... Thanx anyway for some comments. Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] Gadfly auto-increment datatype option?
Hi, Does ZGadfly supports the auto-increment option of a column? Thanx, Júlio Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] siteaccess + resolve_url problem
Opps! It was my problem. The problem was: You have www.mysite.com "siteaccesing" www.mysite.com/site1. You have the following directory: /site1/myfolder If you type in a browser www.mysite.com/myfolder there is no problem because siteaccess handles the location of myfolder. But you cannot use: REQUEST.resolve_url('http://www.mysite.com/myfolder'). You must use: REQUEST.resolve_url('http://www.mysite.com/site1/myfolder'). Otherwise you will get a resource not found. Regards, Júlio Dinis Silva >From: "Júlio Dinis Silva" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [Zope] siteaccess + resolve_url problem >Date: Thu, 26 Oct 2000 22:55:46 WEST > >Hi all, >I search for a solution in mailing lists but I didnt found a solution, >just people talking about the same problem. > >this dtml code dont work with siteaccess: > > >some code > > >I receive a Resource Not found error. >I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its >a Zope resolve_url call. > >Is there a solution? > >Thanks very much, >Júlio Dinis Silva >_ >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > >Share information about yourself, create your own public profile at >http://profiles.msn.com. > > >___ >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 ) > _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] siteaccess + resolve_url problem
Hi all, I search for a solution in mailing lists but I didnt found a solution, just people talking about the same problem. this dtml code dont work with siteaccess: some code I receive a Resource Not found error. I saw a solution(patch) for ZCatalog, but here I'm not using ZCatalog, its a Zope resolve_url call. Is there a solution? Thanks very much, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] Request size limit
Hi, Is there a place to define the max request size limit zserver can serve. Thanx, Julio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] Database Pack
Hi all, is there a way to do a pack to zodb without using the managment screens pack button? Maybe a python script we could execute from the file system. Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] script execution timeout?
Hi all, Is there a place to define a script execution timeout? I've been using urllib and there is no way to kill a urllib.open if its taking too long. Does zope has that implemented? Best Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope sites DOS
Hi all, all you that have sites running zope, its better to optimize your applications deleting methods you do not use anymore and check for you External/Python Methods anonymous permissions. I've just tested some DOS on sites running zope and ppl take care with your methods permissions because finding them by webdav or www.yoursite.com/objectIds its just a step to do bad things to your sites. Take care ;-) Best Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] zope needs webdav global access *ON/OFF* feature
Hi all, I think zope MUST have a way to disable webdav access. Running a webdav client on some zope sites I found in almost all of them things like test_html index_html_old and some other forgiven methods that programmers leave on their applications. Depending on what test programmers were doing in this methods one could find a way to do some DOS on does sites, just to begin. I mean, even if the user dont have permissions to edit/save methods, just the fact that he is browsing my structure and viewing my methods is bad for security. I looked at source and the webdav implementation is class specific implemented, i.e, only objects of classes that import webdav stuff and implement it are Published by zope to a webdav client. I tryed to find a *central* switch to disable it on ZServer or ZPublisher, but no luck. I also tryed to find something like domain restriction which could be another way to disable webdav. The solution of disable Access Contents Information to anonymous isnt pratical on a complex site already in production. I'll try to find a way to disable/restrict the webdav access. Any suggestion? Best Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] webdav security
>From: Shane Hathaway <[EMAIL PROTECTED]> >To: Júlio Dinis Silva <[EMAIL PROTECTED]> >Subject: Re: [Zope] webdav security >Date: Wed, 27 Sep 2000 14:10:07 -0400 > >"Júlio Dinis Silva" wrote: > > > > Hello all! > > > > Lets say that anyone can do ">cadaver www.myhost.com" and after that a >">ls" > > listing my content. I know the user will see the objects processed, but >just > > the fact that he can see my structure is bad for security. > > > > How do I disable the webdav access, if possible? > >Disallow "Access contents information" for anonymous. > >Shane Hi Shane, your solution is too much radical for a complex site already in production. Is there a way, maybe on ZServer to just not import the webdav support? thanks, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] webdav security
Hello all! Lets say that anyone can do ">cadaver www.myhost.com" and after that a ">ls" listing my content. I know the user will see the objects processed, but just the fact that he can see my structure is bad for security. How do I disable the webdav access, if possible? Best Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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 2.2.2 breaks zdiscussions
>From: "J. Atwood" <[EMAIL PROTECTED]> >To: Júlio Dinis Silva <[EMAIL PROTECTED]> >Subject: Re: [Zope] Zope 2.2.2 breaks zdiscussions >Date: Tue, 19 Sep 2000 12:53:24 -0400 > >Ahh.. what version of Zope did you go from? I use zdiscussions with no problems since zope 2.0.0 to 2.2.0. I didnt test it with (zope>220 and zope<222). Now I'm testing it with 222 and for the first time its broken. -- Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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 2.2.2 breaks zdiscussions
Hi, I'm using version 1.0, and here is the exact traceback from the ZDBASE Product Folder: ( yes, I recovered my copy+paste mojo :) - Traceback (innermost last): File "lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "lib\python\Products\ZDBase\__init__.py", line 86, in ? import ZDiscussions File "lib\python\Products\ZDBase\ZDiscussions.py", line 106, in ? class ZDItem(OFS.SimpleItem.SimpleItem, File "lib\python\App\class_init.py", line 109, in default__class_init__ AccessControl.Permission.registerPermissions(self.__ac_permissions__) File "lib\python\AccessControl\Permission.py", line 204, in registerPermissions perm, methods, default = setting ValueError: unpack sequence of wrong size - And now the traceback from ZDConfera: -- ZDConfera Import Traceback Traceback (innermost last): File "lib\python\OFS\Application.py", line 397, in import_products product=__import__(pname, global_dict, global_dict, silly) File "lib\python\Products\ZDConfera\__init__.py", line 3, in ? from ZDConfera import * File "lib\python\Products\ZDConfera\ZDConfera.py", line 2, in ? from Products.ZDBase import ZDiscussions ImportError: cannot import name ZDiscussions And now for something :) the ZDiscussions Error when trying to add a zdiscussion topic: -- Error: NameError Traceback (innermost last): File lib\python\ZPublisher\Publish.py, line 222, in publish_module File lib\python\ZPublisher\Publish.py, line 187, in publish File lib\python\Zope\__init__.py, line 221, in zpublisher_exception_hook (Object: RoleManager) File lib\python\ZPublisher\Publish.py, line 171, in publish File lib\python\ZPublisher\mapply.py, line 160, in mapply (Object: ZDTopic_add) File lib\python\ZPublisher\Publish.py, line 112, in call_object (Object: ZDTopic_add) File lib\python\OFS\DTMLDocument.py, line 177, in __call__ (Object: ZDTopic_add) File lib\python\DocumentTemplate\DT_String.py, line 528, in __call__ (Object: ZDTopic_add) File lib\python\DocumentTemplate\DT_With.py, line 133, in render (Object: ZDTopic.createInObjectManager(REQUEST['id'], REQUEST)) File lib\python\DocumentTemplate\DT_Util.py, line 337, in eval (Object: ZDTopic.createInObjectManager(REQUEST['id'], REQUEST)) (Info: ZDTopic) File , line 0, in ? NameError: (see above) -- Julio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope 2.2.2 breaks zdiscussions
more specific it is a zdbase problem, and by consequence zdconfera and zdiscussions are broken. somewhere on startup: zope couldnt import Products.ZDBase ... ZDiscussions.py line 106 ... lib\python\App\class_init.py line 109 in default__class_init ... lib\python\AccessControl\Permisson.py line 204 in registerPermissions Anyone? ps.sorry for this 'traceback' but (dont ask me why) I lost the copy+paste mojo of my window manager :-( _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] ANNOUNCE: Zope 2.2.2 released...
Hi, sorry if I'm asking too much but why isnt there a zope-2.2.x-2.2.2 win32 version? Can I help? Júlio Dinis Silva >From: "Brian Lloyd" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> >Subject: [Zope] ANNOUNCE: Zope 2.2.2 released... >Date: Mon, 18 Sep 2000 15:58:25 -0400 > >Hello all, > > Zope 2.2.2 has been released - you can download it from > Zope.org: > > http://www.zope.org/Products/Zope/2.2.2/ > > This is a relatively minor bug-fix release. It includes fixes > for a number of issues uncovered recently during some fairly > heavy ZEO testing - ZEO users are highly encouraged to upgrade. > It also contains fixes for ZClass factory ownership and some > other miscellaneous bugs. > > For more information on what is new in this release, see the > CHANGES.txt and HISTORY.txt files for the release: > > http://www.zope.org/Products/Zope/2.2.2/CHANGES.txt > > http://www.zope.org/Products/Zope/2.2.2/HISTORY.txt > > Note that we have also posted "diff" updates as .tgz files > that will let you easily upgrade an existing 2.2.x site. > These updates are available for those currently using the > 2.2.x source release or the 2.2.x binary releases for either > solaris or linux. > > To apply a differential update to your site: > > - download the appropriate .tgz file from zope.org > > - shutdown your Zope process > > - copy the .tgz to your Zope directory and extract it > > - run w_pcgi or wo_pcgi *if you are not using a binary release* > > - restart your process > > >Brian Lloyd[EMAIL PROTECTED] >Software Engineer 540.371.6909 >Digital Creations http://www.digicool.com > > > > >___ >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 ) > _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] dtml-tree urlparam
Hello all! Suppose I have a page who needs some dinamically generated params in order to be rendered. Suppose this page also has a dtml-tree. I found that to add extra params to the url created I can use the urlparam param :-) But suppose instead of passing "arg=1" I want to pass REQUEST['QUERY_STRING']. I thought urlparam would do the trick but using urlparam=QUERY_STRING the string passed is "QUERY_STRING" instead of the value of QUERY_STRING. Is there another param to do what I want or do I have to go into the source to hack dtml-tree to force to pass my QUERY_STRING parameters? thanx to all, Julio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] FTP Server bug or feature
Hi all, just to check: with zope 220 when I do any changes to a normal user in a normal acl_users folder this user can no more access the zope module via ftp, i.e, login ok but a simple dir command return a unauthorized error . Isn't suppose to the FTP server view this changes cause its accessing the acl_users in memory? I only solve this restarting the ftp server. Is suppose to be like this, restart the ftp server to reflect user permissions changes? Best Regards, Júlio Dinis Silva _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] MountedFileStorage
Hi, Using and reading the MountedFileStorage Product I got the impression that I can mount an existing Data.fs in another Data.fs. Is this possible or is only possible to mount a "create new" Data.fs? Thanx, Júlio Dinis _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. ___ 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] Acquisition, Not! How?
> > I know this sound strange but is there a way to, > > during execution of a dtml method, when a with tag is used one > > force acquisition not to be used? > > > > example: > > > > /root/a/b/c > > /root/c > > > > say was a mistake so I dont want the root.c >namespace > > to be imported due to acquisition and instead I want to raise an >exception. > > > > How can I "turn off" acquisition? > > > > I love acquisition, I know its great but I dont want it in a specific >case. > > Is there a way to turn off? > >Try: > > > > > This result in a system error (infinite loop) :-( I'll follow this aq_explicit tip. Thanx anyway, Júlio Dinis Silva Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ 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] Acquisition, Not! How?
I know this sound strange but is there a way to, during execution of a dtml method, when a with tag is used one force acquisition not to be used? example: /root/a/b/c /root/c say was a mistake so I dont want the root.c namespace to be imported due to acquisition and instead I want to raise an exception. How can I "turn off" acquisition? I love acquisition, I know its great but I dont want it in a specific case. Is there a way to turn off? Thanx, Júlio Dinis Silva Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ 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] ZDiscussions and Zope 2.2
I'm using ZDiscussions 1.0 on 2.2 with no problems. Regards, Júlio Dinis Silva >From: "J. Atwood" <[EMAIL PROTECTED]> >To: Gidon Friedman <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]> >Subject: Re: [Zope] ZDiscussions and Zope 2.2 >Date: Thu, 20 Jul 2000 10:28:36 -0400 > >Good.. that means that it was an inherited problem. :) > >J > > > From: Gidon Friedman <[EMAIL PROTECTED]> > > Date: Thu, 20 Jul 2000 15:08:25 +0200 > > To: "J. Atwood" <[EMAIL PROTECTED]> > > Cc: [EMAIL PROTECTED] > > Subject: Re: [Zope] ZDiscussions and Zope 2.2 > > > > I used the old ZDiscussions 0.2, but i installed the > > new ZDiscussions 0.3.2 now, and the results are > > _exactly_ the same. > > > > cheers > > > > gidon > > > >> Are you using the old ZDiscussions or ZUBB? > >> > >> I have not had the time to fix ZUBB to work with 2.2 but will try this > >> weekend. > >> > >> J > > > > > > >___ >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 ) > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ 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] upgrade to 2.2 and zsql methods problems
I have the exact same problem. Júlio >From: "Erik Myllymaki" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: [Zope] upgrade to 2.2 and zsql methods problems >Date: Sun, 16 Jul 2000 22:34:28 -0700 > >Hello, > >I just upgraded to 2.2 from 2.1.6 on a WinNT machine. Things went well, >except my zsql methods won't run from the site. I can manage and test them >from the management pages, but if I call them from the site I get an >*unauthorized* error. This happens even wen I log in as superuser or the >owner of that zsqlmethod object. I have tried to recreate some of the >queries from scratch and applying new ownership and wide open permissions, >but this doesn't seem to work either. > >Zope is running as a service and I am using the ODBC adapter to connect to >MSSQL Server. As I say, the queries all un as expected from the management >test screens. > >Any ideas? > >Thanks, > >Erik Myllymaki >[EMAIL PROTECTED] > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ 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] upgrade to 2.2 zsql authentication problem
Hi all, I create a zsql method in 2.2b4, using the test tab the zsql method works ok. The problem is when I use a dtml method or document (executable objects) to call the zsql method with a IN statment, a not authorized browser box appears. I'm aware of the ownership changes but on my port I'm having this problems only with zsql methods so I wonder if this is only related with this product before diving into the ownership issues. Any help? Best Regards, Júlio Dinis Silva Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] why this happens? a bug?
Is there a guru to explain why this happens? Create a document with the following code: Some code Note: it is expected for this code to give a dtml parse error because there isnt a terminating " in the first if sentence. Yeah, but try to execute this page and view the page source on your browser... you'll get the dtml source. Best Regards, Júlio Dinis Silva Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ 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 )