Re: [Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)
Robin Becker wrote: [stuff about 2.2] You can't create any objects except User Objects as the superuser. Create a manager, re-login as that manager and then add yoru objects. Can't speak for TinyTables but make sure the Anonymous role has the 'access TinyTables contents' permission. A lot of people get bitten by this when installign Squishdot 'cos Anonymous does not have this permission by default... cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] catlogged specialist and rack
Hello, for those who are in a need for search and enumeration capabilities for specialist and racks in ZPatterns-0.3.0 right now like I am, the following could be interesting. Searchable.py defines: CatalogAwareAttributeProvider, CatalogAwareAcquiredAttributeProvider Attribute providers that recatalog the object when its attributes are changed CatalogAwareRack Rack that has a catalog inside it, and index the object created with newItem, and modified afterward. by default, only the id is catalogged. this can be changed in _setup for derived classes CatalogAwareSpecialist Specialist that has support for CatalogAwareRack. A tab 'Contents' provide support for enumerating the objecs in the racks. www/contents can be customized to allow, editing, adding, and/or deleting objects if you like. This, in fact, is a quick hack. remember that all these will be useless when ZPatterns-0.4.0 is out. But I'm fool enough to use evolving software still in infant stage... hope this is useful like it is for me. regards, jephte clain [EMAIL PROTECTED] Searchable.tgz
Re: [Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)
Robin Becker wrote: What steps should I try to allow my currently unowned documents/tinytables to be made accessible. When I press the change ownership button I get a help browser with an error message in the content frame. That sounds like a 2.2 bug to me... oh well... it is Alpha so fair enough. Can you mail the whole error message (especially the traceback) to the list please :-) Should I just import everything as God and hope that improves things? Might help... Could you import stuff as the superuser? ('cos I think you shouldn't be able to...) cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Subclassing LoginManager
Phillip J. Eby writes: LoginManager will behave just like your outline, if you give it a BasicCookie LoginMethod, and a BasicAuth LoginMethod, in that order. LoginManager does not climb up the acquisition hierarchy, as that is properly the province of ZPublisher to do. It will provide the anonymous user, if it is a top-level user folder. You're right if course. I just didn't realize that the PTK was set up to require cookie logins, so I was trying to avoid them and solve the simpler piece of the problem first :-( Oh well, that's working fine now. I can log in, but it looks like permissions aren't getting set/propagated correctly: The initial management user is created with roles: ['Member', 'Manager', 'Reviewer'] My PersistentUserSource returns this list correctly as the roles list. All of the following are in Zope 2.1.6: 1. If I create the Portal as superuser with the Portal manager having the same username as me, then log in to the portal in a new browser I can see my folder but don't even have the permission to create new objects in it. 2. If I create the Portal as me, a site Manager, with the Portal manager having my user name, then log in as above, I can create objects but clearly don't have Reviewer rights. 3. If I create the Portal as me with the Portal manager having another username, then log in as above, it's just like the first case. I can see my folder but can't create anything in it. Any idea what I'm doing wrong now? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Memory 2.1.1
Shane: Holy cripe! I just saw a huge drop (half the available mem) and went to the Undo tab to see what was going on. The last transaction was my /Control_Panel/Database/manage_cache_age. Then I went to the manage_debug and my DateTime.DateTime.DateTime is DateTime.DateTime.DateTime 2460 96200 +93740 while I'm writing this its up to: DateTime.DateTime.DateTime 2460 140945 +138485 Ahhh! -- Jason Spisak [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-Dev] Zope 2.1.6 Memory issue
On Mon, 22 May 2000, Jason Spisak wrote: i did it again, and now I'm down to 160 objects total. That's more liek it. But system memory is still dropping. I was at 173632 available (This is only a half our after the Zope restart BTW. It ate 100MB in under that time.) before the second pass and now I'm at 173616. I'm *very* interested in this. I have a similar setup (stock 2.1.4 + the Lexicon.py patch, no external database, no non-bundled Products, custom CatalogAware ZClass, large number of objects (~60,000). I'm running under FreeBSD 3.4-STABLE. I tried the 'minimize' trick and got down to around 200 objects, with *no* decrease in memory used. I'm not leaking memory as fast as you, but over time memory usage does go up until swapping starts and I'm forced to restart Zope. Also as (apparently) with you, manage_debug does *not* give any clues as to what is taking the memory; everything in the list looks normal and does not add up to the observed memory usage as far as I can guess. I'm glad to see someone else is observing this memory weirdness, I thought I was the only one. --RDM ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-Dev] Zope 2.1.6 Memory issue
Shane Hathaway writes: Jason Spisak wrote: Shane Hathaway writes: Jason Spisak wrote: You must have a large site. 300,000 + objects Whoa... ;-) Tell me, what are you doing with 300K objects? Shane Technical recruiting. I am the ultimate test case for ZDOB scalability. ;) I just recently started having problems thoug, so I am going back and disabling the small fixes I have made recently in my code. I just restarted Zope again. Most of the objects just sit around. Wow. There it goes again. It's got to be DateTime.DateTime.DateTime. It just shot to 118003. That's actually a natural thing to happen. DateTime objects get attached to many kinds of objects. The real problem is that so many objects are being loaded into memory. I just did some research and it looks as though garbage collection is not fully implemented in Python. I was not aware of this; do you know whether it has been corrected? No, I had no idea. After minimizing your in-memory cache, look at the manage_debug screen again. Are the refcounts still high? I bet they are... No. The ref counts drop to hundreds. Also, is see reference to 161 Products.GadflyDA.gadfly.kjparser.ParseRule, and I'm not even useing Gadfly! What the heck is that about? Anyone? Thing's seem to be a bit nicer now that I took out an External Method that returns a DateTime object the Catalog for Indexing. However, there's only about 14,000 of objects with that property in existsnce in my DB, and they don't change often. Here's the code: def calendar_day(self) return int(self.calendar_date)/100 Used to return the unique integer day. All my best, Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Please HELP: Nested ZClass, Nested instance
"Park, Karl" [EMAIL PROTECTED] writes: I created a ZClass in the Product folder. And anther ZClass under the ZClass(thus nested class) To do it, I created a DTML Method which accepts user's input and then, if needed, it have to create an object. First part is to create the parent object, which works just fine. But the sencond part to create the child object doesn't seem to work. If I take the easy way, that is, creating othere ZClass on the top of the products folder of Control Panel, I can do it. But I don't think it is a good desing from the perspective of OOP I had some hassles with this recently. There's a HOWTO at: http://www.zope.org/Members/gtk/containers Can you create the child zclass from the manage screen inside the parent zclass? Does the parent zclass inherit from ObjectManager before any other superclasses? -- Karl Anderson [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-Dev] Zope 2.1.6 Memory issue
Shane Hathaway writes: Well, I reduced the 'target size' from 20,000 object down to 1000, and the memory seems to be climbing. Jason Spisak wrote: After minimizing your in-memory cache, look at the manage_debug screen again. Are the refcounts still high? I bet they are... No. The ref counts drop to hundreds. That's a big relief. Okay, now we know that this isn't a memory leak, it's only related to the fact that your site requires ZODB to load a very large number of objects into memory in order to perform normal operations. Here's something to think about: whenever an object is added to or removed from a folder, all objects in all neighboring folders and below are traversed. The manage_beforeDelete and manage_afterAdd hooks are called on each object. I am hoping to use ZPatterns to stem this rapidly out of control, ObjectManger not scalable, issue. Also, there is still the issue that Python doesn't seem to be releasing memory back to the system. I wonder whether that capability has been implemented in Python. It would really put a damper on things if is wasn't. However, when I stopped my Zope process each time, it didn't seem to give me back what Ihad started with. Maybe there is a leak in the kernel I am using. It's 2.2.12-smp. Anyone? Also, is see reference to 161 Products.GadflyDA.gadfly.kjparser.ParseRule, and I'm not even useing Gadfly! What the heck is that about? Anyone? Chances are some other product is "reaching in" to Gadfly. Do you have the Zope tutorial installed? It uses Gadfly. No. This is a Data.fs that came from Zope 1. I didn't even think to get Gadfly out of the Products directory. Thing's seem to be a bit nicer now that I took out an External Method that returns a DateTime object the Catalog for Indexing. However, there's only about 14,000 of objects with that property in existsnce in my DB, and they don't change often. Here's the code: def calendar_day(self) return int(self.calendar_date)/100 Used to return the unique integer day. That code actually doesn't return a DateTime instance, just an integer. Yeah, I didn't really think is was that. ;) Keep me informed. You bet. And a thousand thanks are waiting in my cache for you. Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)
On Mon, May 22, 2000 at 10:23:38AM -0600, mindlace wrote: Robin Becker wrote: What kind of idiotic permissions model is this where God cannot create anything? What is the function of the super user if not to manage? Seems to be specially designed for bureaucrats, lawyers and politicians. I feel like this specifically needed to be addressed. This change in the ability of superuser stems directly from a security issue common to all through-the-web interfaces: http://www.zope.org/Members/jim/ZopeSecurity/TrojanIssueOverview The superuser cannot create objects, because any object that was owned by superuser would have permission to do whatever it pleased. Yes, but if people _want_ to create superuser objects that can do anything they should be permitted to. As long as the superuser doesn't make really stupid objects they shouldn't get bitten. The problem is that the new security model should have more handholding to go along with it. Perhaps the superuser should be changed to the name "usermanager" or "permissionsmanager" or something like that and a default superuser with the behaviour every actually expects the superuser to have be created as well. As it stands now you need _two_ "superuser" type users, so they should both be created automatically instead of having to create one of them manually afterwards. Also I still maintain that, as well as the "Take Permissions" permission that a NONE permissioned method should be available for ownership transfer, that you can "offer" an object to someone and they can later on "accept" it when they log in. (Like the moderation concept in Squishdot) This is needed for cases where a site manager has say a hundred projects going on under their Zope server. When one of the projects changes project leader and leaves they have to transfer ownership to their successor, but they _can't_ because their successor is _less_ authorised than they are and can't "take permissions". In this case they currently have to petition the person running the site to change all of the permissions for their project over. This is a waste of everyone's time and completely unecessary. With a challenge/response transfer of objects you have complete security maintained (especially if you allow the person accepting the ownership to preview the object prior to their decision to accept it.) It's more work to set up this system because nothing in core Zope uses this type of messaging once people login, but it's a much broader and usable means for ownership transfer without losing any security. Hope that's a bit more explanatory, ~ethan mindlace fremen digicool imeme -- Evan ~ThunderFoot~ Gibson~ nihil mutatem, omni deletum ~ It doesn't count as intimacy until somebody starts crying. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-Dev] Zope 2.1.6 Memory issue
Shane Hathaway writes: Okay, here's the output. (BTW is was trying manage_debug without the Control_Panel. That was not intelligent;) Class May 22, 2000 4:21 amMay 22, 2000 4:22 amDelta OIBTree.Bucket 71328135+1003 IOBTree.BTree 25702827+257 BTree.BTree 10281105+77 IIBTree.Bucket 45904619+29 DocumentTemplate.DT_With.With 273 279 +6 2nd pass: Actually there's too damn much. Shane, I'll just send you the html. If anyone else wants to help let me know. Jason, Try /Control_Panel/manage_debug ... it will tell you exactly which kinds of objects are eating memory. Take a "snapshot" then refresh the page after a couple of minutes, and the table should list at the top the name of the class that's taking up more than its fair share. Shane Jason Spisak wrote: Zopists, I am spoiled. I have a large server and until now I have never really monitored memory usage. But I noticed things slowing down a great deal and was curious. Swapping. Machine: RH 6.1 2.2.12-smp Dual Xenon 1 gig memory Zope install: Zope 2.1 Binary ZODB pure. No DA's Home grown ZClasses. 'ps' tells me Zope is the culprit. It's using 64% when things get swappy. There are no prosesses running on this machine BTW. It's just a Zope server. My Data.fs file is ~300 packed and gets to be about 1GB at the end of every day. (A lot of transactions :) Zope is eating memory at the rate of 10MB every 2 minutes. Is that appropriate? I never noticed a slowdown until I switched to 2.1, really. I've considered writing a small python progam to compare the output of 'free' to the Zope log, but I'd love to see if there is another way to nail what's eating mem. If someone can tell me the best way to narrow it down from experience, I'll do it this afternoon. Hopefully, -- Jason Spisak [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. Title: Debug Information Zope Contents Undo Control Panel at /Control_Panel Debug Information Zope version: Zope 2.1.1 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] System Platform: linux2 Process ID: 2159 (5126) Running for: 1 hour 14 min 57 sec Top Refcounts: DateTime.DateTime.DateTime: 20559intSet.intSet: 12586OIBTree.Bucket: 8135IOBTree.Bucket: 5425BTree.Bucket: 5270IIBTree.Bucket: 4619IOBTree.BTree: 2827DocumentTemplate.DT_Util.Eval: 2168OIBTree.BTree: 1647OFS.DTMLMethod.DTMLMethod: 1548BTree.BTree: 1105ZClasses.Method.MW: 856ExtensionClass: 518DocumentTemplate.DT_In.InClass: 435ZClasses.ZClass.PersistentClass: 302DocumentTemplate.DT_With.With: 279AccessControl.User.User: 185OFS.Image.Image: 173Products.ZGadflyDA.gadfly.kjParser.ParseRule: 161DocumentTemplate.DT_Var.Var: 157ZClasses.Property.ZInstanceSheet: 135App.special_dtml.HTMLFi! le: 133ZClasses.ZClass.ZClass: 130OFS.SimpleItem.SimpleItem: 130ZClasses.Property.ZInstanceSheets: 129AccessControl.PermissionRole.PermissionRole: 127App.Factory.Factory: 123App.Permission.Permission: 118App.PersistentExtra.Persistent: 108DocumentTemplate.VSEval.Eval: 96OFS.Folder.Folder: 93App.ImageFile.ImageFile: 89SearchIndex.UnIndex.UnIndex: 68App.Product.Product: 65Acquisition.Acquirer: 57AccessControl.PermissionMapping.PM: 52ZClasses.ZClass.ZClassSheets: 50TreeDisplay.TreeTag.Tree: 50SearchIndex.UnTextIndex.UnTextIndex: 47Products.ZCatalog.CatalogAwareness.CatalogAware: 47re.RegexObject: 46Products.ExternalMethod.ExternalMethod.ExternalM! ethod: 42OFS.Image.File: 42Base: 41ZClasses.ZClass.ZObject: 37ZClasses.ObjectManager.ObjectManager: 37ts_regex.compile: 36ZServer.medusa.counter.counter: 36ZServer.PubCore.ZServerPublisher.ZServerPublisher: 35Missing.Missing: 35OFS.DTMLDocument.DTMLDocument: 34Acquisition.ImplicitAcquirerWrapper: 32DocumentTemplate.cDocumentTemplate.TemplateDict:
Re: [Zope-Dev] Zope 2.1.6 Memory issue
R. David Murray: Since this is a very heavily used Zope install, I am getting trashed faster than you can say 'leakage'. On Mon, 22 May 2000, Jason Spisak wrote: i did it again, and now I'm down to 160 objects total. That's more liek it. But system memory is still dropping. I was at 173632 available (This is only a half our after the Zope restart BTW. It ate 100MB in under that time.) before the second pass and now I'm at 173616. I'm *very* interested in this. I have a similar setup (stock 2.1.4 + the Lexicon.py patch, no external database, no non-bundled Products, custom CatalogAware ZClass, large number of objects (~60,000). I'm running under FreeBSD 3.4-STABLE. I tried the 'minimize' trick and got down to around 200 objects, with *no* decrease in memory used. I'm not leaking memory as fast as you, but over time memory usage does go up until swapping starts and I'm forced to restart Zope. Also as (apparently) with you, manage_debug does *not* give any clues as to what is taking the memory; everything in the list looks normal and does not add up to the observed memory usage as far as I can guess. I'm glad to see someone else is observing this memory weirdness, I thought I was the only one. --RDM I'm anxious to discover what's going on too. It's will really be a boon for DC to have Zope scalable to this size of ZODB and have the stability I've come to rely on. All my best, Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope] ZMysqlDA
Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD machine, I have compiled this fine before on Linux but no luck on bsd. I am new to Bsd so if this is a bsd problem I appolagise in advance, but the ZMysqlda documentation is not clear on what libs are required. Python 1.5.2 manually compiled and installed (not part from ports). cc -fpic -I/usr/local/include/mysql -I/usr/include/mysql -O -pipe -D_THREAD_SAFE -I/usr/local/include/python1.5 -I/usr/local/include/python1.5 -DHAVE_CONFIG_H -c ./MySQLmodule.c ./MySQLmodule.c: In function `pythonify_row': ./MySQLmodule.c:238: warning: assignment from incompatible pointer type ./MySQLmodule.c: In function `pythonify_res_fields': ./MySQLmodule.c:384: invalid lvalue in unary `' ./MySQLmodule.c: In function `STH_fetchdict': ./MySQLmodule.c:1125: invalid lvalue in unary `' ./MySQLmodule.c:1147: invalid lvalue in unary `' *** Error code 1 Brenton Bills. ___ 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 + Apache + Mailman
Dear Mailmen, I've been studying this all weekend and finally, *finally* understood enough to get it to work. I wanted to proxypass both sites into zope, however I needed access to CGI scripts and images to run mailman. I had to find the appropriate rewrite rule to allow this to work. The zope Zserver serves pages on port 8080. Apache has the ability to proxy this on port 80 either through "ProxyPass x y" which gives you very little control or through "RewriteRule x y [proxy]" which gives you tremendous control. In zope I have two SiteAcess objects. One at the root, says "http://morseall.org", "/" and the other inside /osm says "http://osm.cx", "/" This worked with the following configuration: Redhat Linux 6.2 apache-1.3.12-2.i386.rpm Zope-2.1.6-1.i386.rpm Zope-zserver-2.1.6-1.i386.rpm # added to /etc/httpd/conf/httpd.conf ScriptAlias /mailman/ "/home/mailman/cgi-bin/" Alias /pipermail/ "/home/mailman/archives/public/" VirtualHost 24.218.234.247 ServerName osm.cx RewriteEngine On RewriteOptions 'inherit' RewriteRule ^/icons(.*) - [last] RewriteRule ^/mailman(.*) - [last] RewriteRule ^/pipermail(.*) - [last] RewriteRule ^/(.*)$ http://localhost:8080/osm/$1 [proxy] ProxyPassReverse / http://localhost:8080/osm/ ProxyPass/p_http://localhost:8080/p_ ProxyPass/misc_ http://localhost:8080/misc_ /VirtualHost VirtualHost 24.218.234.247 ServerName morseall.org RewriteEngine On RewriteOptions 'inherit' RewriteRule ^/icons(.*) - [last] RewriteRule ^/mailman(.*) - [last] RewriteRule ^/pipermail(.*) - [last] RewriteRule ^/(.*)$ http://localhost:8080/$1 [proxy] ProxyPassReverse / http://localhost:8080/ /VirtualHost ___ 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] ZMysqlDA
+[ Brenton Bills ]- | | Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD | machine, I have compiled this fine before on Linux but no luck on bsd. I | am new to Bsd so if this is a bsd problem I appolagise in advance, but the | ZMysqlda documentation is not clear on what libs are required. | | Python 1.5.2 manually compiled and installed (not part from ports). You need to edit the src/Setup to change the locations for the mysql includes and libraries: -I/usr/local/include/mysql -L/usr/local/lib/mysql so you get a line that looks like:- MySQLmodule MySQLmodule.c -I/usr/local/mysql/include -I/usr/include/mysql -L/usr /local/mysql/lib -L/usr/lib/mysql -lmysqlclient -lm Works for me d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Deleting folder-like objects.
Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris ___ 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] SQLSession users - who's using what DB?
A short survey for SQLSession users out there: What database are you using for SQLSession? If you're using Gadfly, are you using the base64oneline encoding, or have you patched your gadfly install? I plan to stop supporting anything but the base64 encoding method in the next release (0.2.9). Also - how many people would be upset if the default table schema was changed? The default schema uses names that conflict with some databases' keywords. Anthony ___ 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 Pgsql 7.0/SQL Schema HeLp!
Here is a ZSQL Method (called insert_author) which inserts into a PostgreSQL table which has a serial column called author_id. Arguments surname search_name initials known_name user_id notes Query Template -- insert into author (surname,search_name,initials, known_name,user_id,notes) values( 'dtml-var surname sql_quote', 'dtml-var search_name sql_quote', 'dtml-var "_.string.upper(initials)" sql_quote', 'dtml-var "_.string.capwords(known_name)" sql_quote', 'dtml-var user_id', 'dtml-var notes') dtml-var sql_delimiter select currval('author_author_id_seq') Note that we don't insert anything into the serial column author_id since PostgreSQL puts that in for you. Here is the schema for that table CREATE TABLE author ( author_id serial, surname text, search_name text, initials text, known_name text, user_id int4, notes text And here is a snippet from a dtml method which performs the insert and retrieves the value of author_id for the row just inserted. dtml-in insert_author dtml-call expr="REQUEST.set('author_id',currval)" /dtml-in Author_id is dtml-var author_id This assumes all the arguments to insert_author (that is surname, user_id etc) have already been set up from a form or in some other way. HTH Richard At 23:22 20/05/00 -0400, you wrote: This is going to be a long winded questions. Ok I have been hacking around with Zope and Pgsql for awhile now. I am trying to learn both at the same time, not any easy task, I don't know SQL that well. I learn by doing ,and this is really fun, kinda like a digital puzzle of sorts. So any way I set up a database in pgsql to hold contact information. This was no small task for me, like I said, I am new to SQL. I did discover a neat way to use CREATE VIEW foo AS SELECT that is not in the book though. Anyway the PRIMARY KEY for the table of names is a SERIAL type, all other tables such as phone numbers and addresses use REFERENCES to this KEY. The database works quite well, I think I have it normalize as much as need be (bare with me I am still learning). Now on to Zope I have Zope all set, and I can run all your standard SELECT, INSERT, UPDATE stuff. But I have one hitch, I can't seem to figure out how to make it so an end user could add a name and email address without knowing about the PKEY number. This is no problem for a DBA but I want to make it easy for anyone to INSERT and UPDATE records. Did I make a bad design choice in use unique numbers to glue all the tables together. Is this an interface problem. Am I missing something. I need some help. Can someone point me in the right direction please? Richard ___ 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 ) Richard Moon [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] SQLSession users - who's using what DB?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Anthony Baxter [EMAIL PROTECTED] writes A short survey for SQLSession users out there: What database are you using for SQLSession? Interbase. Also - how many people would be upset if the default table schema was changed? The default schema uses names that conflict with some databases' keywords. Good idea! - -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.7.1 iQA/AwUBOShgGbTRdIWzaLpMEQIPnwCeOi2h4b5M+kGyx+fH6sVbVx9zp6QAoI4V mNRzcbU7p+6NymdcAt0QawB+ =w74T -END PGP SIGNATURE- ___ 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] ZClass acting up?
Hi, I have discovered this extremely irritating "feature" with ZClasses. Sorry for this long and rather ugly explanation, but I don't know what the problem is, so it has to be like this: Add test_product product in Control Panel - Product Management In test_product: Add a test_folder zclass with object manager as its base class In test_folder: Add test_project zclass with test_folder as its base class (be sure to enter all factories and press "change") Now, enter your Zope tree (http://localhost/, for example) and do: Add a test_folder In test_folder: Add a test_project In test_project: Add a test_project The point here being to demonstrate that you can add recursively test_projects. Which is nice, I love it.. semantics looking nice and all :-). Then, go back to the test_product, and in test_project add a Z Class thats called test_projectteam, make object manager the base class. And finally, enter the test_folder you created earlier and add a test_project. Enter this project... now what do you see? Thats right, your not able to add test_projects recursively any longer, but you can add project_teams (which doesn't really make me all that happy). Why is this? I want to be able to structure projects into sub projects and be able to divide the project teams working on the different projects. Does anyone know why this happens? And possibly how I can achieve what I want? -- Erik Enge ___ 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] how do you iterate over tiny tables?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a folder full of Tiny Tables. I would like to go over each table, and iterate thru their contents. dtml-in "objectValues(['TinyTable'])" dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in doesn't do anything. Clues? - -- Regards, Graham Chiu gchiuatcompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.7.1 iQA/AwUBOShmmLTRdIWzaLpMEQK1bgCfZzGV36/mDJUv0cMs+l0aLXIx2eMAoKwF fFOcpW6t4quJ2qisBnvYU/n4 =hdRX -END PGP SIGNATURE- ___ 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] Deleting folder-like objects.
Chris Withers wrote: Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris None I can think of off hand... ___ 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] ZMySQLDA and dtml-in (bug?)
When I use an ZSQL method to fetch data, the manage test tab gives a result of 14 items. When the same method is used in a dtml-in tag, with batches of size 10, it only shows the first 10 items, with no "Show next x missions". It previously showed "Show next 4 missions", but after altering 10 of the columns, only the 10 first objects get shown, with no "Show next x missions". The ZSQL method always showed 14 objects before and after alteration. Basically, it's not faulty dtml scripting, the dtml-in tag only shows the first 10 items, with no continual, after an alteration of 10 columns in the SQL table. This is Zope 2.1.6 on top of RedHat 6.2 -Morten - How to reply to email: http://home.sol.no/~vidaandr/news/OBSquoting.html (norsk) http://home.sol.no/~vidaandr/news/FAQquoting.html (english) Who is the bigger fool? The fool or the fool who follows him? ___ 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] Apache mod_rewrite module...
My URL references to Apache example: http://margo.pla.fr/intra/machin.html and I want to use httpd.conf to transform it (only for html and htm files) in http://margo.pla.fr/intra/?machin.html (which is my ZServer) Does someone know the rewrite I sould use regular expression are a mistery for me does "intra" represent that it should be represented by zserver? if so, RewriteRule ^/intra/(.*)htm /intra/?$1htm RewriteRule ^/intra/(.*)html /intra/?$1html Well, thanks mindlace, it helps, in fact, now, I use the following line: RewriteRule^(^([^/]*/)*)([^/]*\.html)$ http://newhost:8080$1?$3 (this line should be usefull for those who want to redirect any *.html URL to your ZServer) which change the URL like I want. The problem is that it makes a redirect, and all my relative addresses in the page are changed too (for instance, my .gif are served by zope too, and I don't want to!) To be clearer, what my product do is: I address Apache, with for instance: http://margo.ina.fr/intra/index.html then, Apache change the URL to: http://margo.ina.fr:8080/intra/?index.html (8080 is my ZServer port) my zope product construct a new page with informations from the "intra" folder, go and search the file ../intra/index.html on the disk, insert it to the builded page (by reading the file) and serve it. The problem is that by doing that, as in the HTML pages, paths are relatives, the redirection change all the relative address to the port 8080 (because the final served URL is on this port), and I want my Images to be served by apache (I hope I am clear, but it is hard to explain in an email). A solution would be to write absolute URL for my images, but I am not allowed to do it. so, I try... to use Apache not to redirect, but to go and search the result of http://margo.ina.fr:8080/intra/?index.html, in a way which would be transparent to the browser(the printed URL would keep the Apache one), and I have to say that untill now, I don't manage to do it... Well. thanks for your attention Pierre ___ 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: Zope log rotation
I use logrotate on Linux for this. Unfortunately I have to use the before and after config options to stop zserver before and restart it after -- otherwise zserver just keeps appending to the old log. If you log to a pipe you can use any mechanism you like without bothering Zserver. I use multilog from the daemontools package of Daniel J. Bernstein (http://cr.yp.to/daemontools.html). Regards, Frank ___ 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] how do you iterate over tiny tables?
+[ Graham Chiu ]- | | | I have a folder full of Tiny Tables. I would like to go over each | table, and iterate thru their contents. | | dtml-in "objectValues(['TinyTable'])" | dtml-in sequence-item | dtml-var valuebr | /dtml-in | /dtml-in | | doesn't do anything. Clues? I don't think you need the []'s dtml-in "objectValues('TinyTable')" dtml-var titlebr dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in This works for me. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZClass acting up?
"Kevin Dangoor" [EMAIL PROTECTED] writes: This seems like odd behavior to me. Did you check your Subobjects tab to make sure that the appropriate subobjects are still selected? There is no way to select a Z Class that is a child of another Z Class in the subobject list. Should I be able to do that? Seems to that this was never possible. All I can select is test_product, but that isn't what I want. Got a clue? Is it a bug or functionality that just isn't supposed to be there? Did you try it at your installation? With the same result? (I run Zope 2.1.6 on Linux if anyone wondered :-) -- Erik Enge ___ 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.org membership
Graham Chiu wrote: Can it be changed so that it remembers both my userid and password, or just my password? I usually remember who I am! This is certainly true. Unfortunately, Microsoft has made it so that anyone with a modicum of javascript skills can read *all* your cookies (if you use IE on Windows): http://slashdot.org/article.pl?sid=00/05/11/173257mode=nested Now, there may not be hugely deletrious effects resulting from this, but until cookies are handled in a sane manner, it's probably inappropriate for us to be putting the password there. If you're using IE 5 or Mozilla (NS 6) you can always tell it to remember what you've entered into the password field. Thanks, ~ethan fremen @ digicool imeme ___ 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] ZClass acting up?
Did you try it at your installation? With the same result? Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen, *host,host* ;). Seriøst, funker helt fint her. -Morten (=) ___ 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] ZClass acting up?
- Original Message - From: "Erik Enge" [EMAIL PROTECTED] To: "Kevin Dangoor" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 12:08 PM Subject: Re: [Zope] ZClass acting up? "Kevin Dangoor" [EMAIL PROTECTED] writes: This seems like odd behavior to me. Did you check your Subobjects tab to make sure that the appropriate subobjects are still selected? There is no way to select a Z Class that is a child of another Z Class in the subobject list. Should I be able to do that? Seems to that this was never possible. All I can select is test_product, but that isn't what I want. Got a clue? Is it a bug or functionality that just isn't supposed to be there? You're correct, there is no way to select a ZClass that is the child of another in the subobject list. (It is assumed to be available). I misread your original note. I didn't realize that test_project not only had test_folder as a base class, but is a class created underneath test_folder. I've never tried to do that, and it may not be a case that was considered when they built ZClasses... Kevin ___ 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] uploading a batch of files
I need to upload a batch of files into the zope database, what would be the best way thanks :) -jon Have a great day!!! ___ 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] uploading a batch of files
I need to upload a batch of files into the zope database, what would be the best way thanks :) What about ftp? Zope comes with a built-in ftp server. Point your favorite ftp client to your server. Don't forget to set the right port - see zopehome/z2.py for this. Enter your username/password and you're set. Have a great day!!! Same to you ! Rik ___ 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] Netscape Image Problems (LoginManager?)
Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... If you hit reload it breaks the images on the root level, if you put your cursor in the Location, or URL field and hit enter it reloads fine. I truly don't understand this problem and it only does it with images, in Netscape, is this an issue that everyone is just accepting or is there a fix for it. j At 08:51 AM 5/22/00 -0500, you wrote: I'm not using PTK, but I am using LoginManager. I wonder if it or ZPatterns are causing this phenomena. I use absolute URLs for images, so that's not an issue. Could LoginManager be denying access to the images on a refresh? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Monday, May 22, 2000 1:04 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] Netscape Image Problems I just noticed something strange..it is only doing it when you are inside a Portal (ptk)...very strange.. j At 12:45 AM 5/22/00 -0500, you wrote: I'm experiencing the same thing with Navigator 4.08 on NT4 against Zope 2.1.6 from Debian "potato". Disabling Navigator's cache fixes the problem. That's not a satisfactory solution, though. On Sun, 21 May 2000 [EMAIL PROTECTED] wrote: I have tried to track down a solution to this problem for a couple of days. I have Zope 2.1.6 (binary release, python 1.5.2, win32-x86) installed. Everything is working great, but when I use Netscape 3, 4.X , every time I hit the reload button or come back to the page at a later date all of my images won't display. It just shows the classic broken image icon that is default for Netscape. I know that it isn't a Zope issue because the zope.org site works fine! This is obviously not acceptable to any viewer, could someone please give me a work around or a solution to this problem. Thank you in advance! j [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zclass inheritence
OK, I've found that this may be a bug. You can't subclass ZClasses across products. Sorry. I have no "esimated time to resolution" for this either. For now, you should be able to create a subclass of STX_Document inside the product to which it belongs and work from there. John Morton wrote: ZClass based products already present are webDirectory (my own creation) and STX_Document. I create a product and add a vanilla ZClass to it, then create another product and add a ZClass. In that dialog I put Catalog Aware across, then DTML method, then I drop DTML method. The Base class list contains the same selection of bases - no Zclasses among them. Same deal under 2.1.4. I think debuging mode is operating on the both of them, for what it's worth. Which bit of code should I start looking through, first? :-) -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Netscape Image Problems (LoginManager?)
[EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know what's causing this... PPS: Is anyone who's experiencing this using SiteAccess? ___ 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] Netscape Image Problems (LoginManager?)
Jon Delheimer wrote: Checking the Z2.log file shows that Zope is returning a 500 status code (Internal Server Error) when the broken images appear. That's not good :( That means something is causing the requests to go astray. Can you see what the requested object is compared with the URL you would expect? cheers, Chris ___ 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] Broken ZWiki
Jason Cunliffe wrote: when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? ZWikiWeb Either see Evan's post or read: http://www.zope.org/Members/chrisw/ZWikiWeb/install ...particularly the bit about ZWikiWeb requiring ZWiki 0.6 to be installed ;-) I have to stress this again, ZWikiWeb is merely a wrapper for ZWiki. ZWiki is the real product and I'd like to thank Simon for giving us such an amazing product. cheers, Chris PS: Now, if I could just rename a Wiki page through the Wiki interface and have all links to that page updated... ;-) ___ 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] Netscape Image Problems (LoginManager?)
John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible). print header print DateTime(header) print DateTime(header).timeTime() Shane [EMAIL PROTECTED] wrote: O.K If you just load the document in a Netscape Browseryou get the imagethen when you hit reload you get a Zope error message that says: Zope Error Zope has encountered an error while publishing this resource. Error Type: OverflowError Error Value: float too large to convert traceback: error on line 186 of image.py 186: mod_since=int(DateTime(header).timeTime()) I have tried loading a fresh copy of Zope and I still get the same error! pressing on to try to find answers!! j [EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know what's causing this... PPS: Is anyone who's experiencing this using SiteAccess? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope 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.org tracker
Zopistas! There is now a zope.org tracker at http://www.zope.org/Tracker for bugs and feature requests for Zope.org. If there's anything that's been driving you nuts about the zope.org website, or something you'd just like to see, please feel free to add it to the Tracker! Thanks, ethan mindlace fremen Zopista Community Liason ___ 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] Apache mod_rewrite module...
Pierre Rougier wrote: The problem is that by doing that, as in the HTML pages, paths are relatives, the redirection change all the relative address to the port 8080 (because the final served URL is on this port), and I want my Images to be served by apache What I think you need to do is use SiteAccess so that it strips out the port. You can use an access rule like so: dtml-let basename="_.string.join(_.string.split(HTTP_HOST, ':')[-2:-1])" dtml-call "REQUEST.set('SiteRootBASE','http://'+basename)" /dtml-let Then, zope will generate all its links with a base that excludes the port, so Apache will always get the request and apply its rewrite rules. You have to do this, because zope always adds a base url tag to pages, so relative URL's think they go to zope. Hope that helps, -- ethan mindlace fremen Zopista Community Liason ___ 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] Apache mod_rewrite module...
mindlace wrote: What I think you need to do is use SiteAccess so that it strips out the port. You can use an access rule like so: dtml-let basename="_.string.join(_.string.split(HTTP_HOST, ':')[-2:-1])" dtml-call "REQUEST.set('SiteRootBASE','http://'+basename)" /dtml-let You may have to change the string.split if the subdomain is important. ~ethan ___ 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] Netscape Image Problems (LoginManager?)
Shane, Nope the console is not visible, couldn't even log in. j At 02:23 PM 5/22/00 -0400, you wrote: John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible). print header print DateTime(header) print DateTime(header).timeTime() Shane [EMAIL PROTECTED] wrote: O.K If you just load the document in a Netscape Browseryou get the imagethen when you hit reload you get a Zope error message that says: Zope Error Zope has encountered an error while publishing this resource. Error Type: OverflowError Error Value: float too large to convert traceback: error on line 186 of image.py 186: mod_since=int(DateTime(header).timeTime()) I have tried loading a fresh copy of Zope and I still get the same error! pressing on to try to find answers!! j [EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know what's causing this... PPS: Is anyone who's experiencing this using SiteAccess? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Pgsql 7.0/SQL Schema HeLp!
--snip-- I got help from one of our DBA's today here is what I was missing. This in not in Bruce's Book. INSERT INTO address (per_id,street_num,city,state,zip) SELECT per_id,'$3','$4','$5','$6' FROM person WHERE last = '$1' AND first = '$2'; $1-6 will be supplied by user input from Zope, I just wanted to isolate the per_id from person during an Insert so that end users would not need to know it was there. I know I might have a problem with getting more then one return for just first and last, I might add more WHERE statements in there. I am just happy to get moving on with my little project. Thanks for the help Richad ___ 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] Executing an external program
Is there a way for zope to call an external program (exe, batch file, etc.) and have it execute on the server? I have several home grown utilities on my server that I would like to access/execute via the browser. -=Brad=- ___ 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] Executing an external program
Brad, look into external methods. There is a howto on the zope.org website at http://www.zope.org/Documentation/How-To/ExternalMethods You'll need to know some Python, probably most importantly read about the os module's "popen" method at http://www.python.org/doc/current/lib/os-newstreams.html "Mabe, Brad" wrote: Is there a way for zope to call an external program (exe, batch file, etc.) and have it execute on the server? I have several home grown utilities on my server that I would like to access/execute via the browser. -=Brad=- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Netscape Image Problems (LoginManager?)
Shane, I made the changes you suggested to Image.py. Here are the results: Thursday, 11-May-00 16:21:32 GMT 1900/05/11 16:21:31 GMT -2197697908.0 Sunday, 14-May-00 04:03:14 GMT 1900/05/14 04:03:14 GMT -2197483006.0 Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0 Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0 Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0 Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0 Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0 Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0 Jon -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Shane Hathaway Sent: Monday, May 22, 2000 1:24 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Netscape Image Problems (LoginManager?) John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible). print header print DateTime(header) print DateTime(header).timeTime() Shane [EMAIL PROTECTED] wrote: O.K If you just load the document in a Netscape Browseryou get the imagethen when you hit reload you get a Zope error message that says: Zope Error Zope has encountered an error while publishing this resource. Error Type: OverflowError Error Value: float too large to convert traceback: error on line 186 of image.py 186: mod_since=int(DateTime(header).timeTime()) I have tried loading a fresh copy of Zope and I still get the same error! pressing on to try to find answers!! j [EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know what's causing this... PPS: Is anyone who's experiencing this using SiteAccess? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Executing an external program
Note that it works from the Python command line, but not from a Zope external method. I'm still trying to figure out why it is failing from within Zope (anybody have an idea?). How does it 'not work' from an external method? --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ 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] dtml-in Tag problem
A traceback is always helpful and would have been useful. Is it possible that there is a 3rd, empty item, or an item with no ^, in "related_stories"? An empty item when split would return only 1 subitem and your code is assuming you will always have two. A test for the ^ in the item before splitting would prevent this. Try this: ... dtml-if "_.string.find(['sequence-item'],'^')!=-1" dtml-let si=sequence-item rs_name_url="_.string.split( si, '^' )" rs_name="rs_name_url[0]" rs_url="rs_name_url[1]" li a href="http://dtml-var rs_url"dtml-var rs_name/a/li /dtml-let /dtml-if ... Jim Sanford - Original Message - From: "Tom Scheidt" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 3:58 PM Subject: [Zope] dtml-in Tag problem dtml-if related_stories table width=175 height=2 cellpadding=0 cellspacing=0 border=0 trtd font/font /td/tr /table table width=175 cellpadding=0 cellspacing=0 border=0 bgcolor="#e7e7e7" trtd valign=top font size=2 bRelated Stories/bbr /font font size=2 dtml-in related_stories dtml-let si=sequence-item rs_name_url="_.string.split( si, '^' )" rs_name="rs_name_url[0]" rs_url="rs_name_url[1]" li a href="http://dtml-var rs_url"dtml-var rs_name/a/li /dtml-let /dtml-in /font /td/tr /table /dtml-if gives me an error that says: "list index out of range" The related_stories property contains: King Kong website^www.kong.com Empire State Building Website^www.empirestate.com It worked at first but when I made any changes to other properties it gave me that error message. Any ideas? Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED] --- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope 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] Q; Date / ZCatalog / Search
I too have not been able to get this to work... anyone to help... please? J From: Jørgen Skogstad [EMAIL PROTECTED] Date: Tue, 23 May 2000 00:25:22 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Q; Date / ZCatalog / Search Kindest sir, I have a small question I hope someone could share some wisdom with. I am not that familiar with the various objects available within the Zope framework yet. .. I have made a ZCatalog which works seamlessly for text only searches etc. However; I need to search on a date basis on the generated object in the ZCatalog. For now my "date" entry/column is [string] coded.. not "date" as would be apropriate? How can I use date .. and then make a search to get the last 5 entries in a table? http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching .. shows some possible ways to do this; but I can't seem to get them to work properly; dtml-comment Items modified in the last 14 days /dtml-comment dtml-in "Catalog(bobobase_modification_time=_.DateTime(date)-14, bobobase_modification_time_usage='range:min')" New item: dtml-var "Catalog.getpath(data_record_id_)"br /dtml-in .. does anyone have any information on how they have used this and gotten it to work? .. and might have an example or two? ;) What exactly does the various elements in the above example do? .. like "Catalog(bobobase_modification_time=_.DateTime(date)-14, bobobase_modification_time_usage='range:min')" ?? .. mm .. any input? ;) Thanks in advance.. Kindest, Jørgen Skogstad ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how do you iterate over tiny tables?
+[ Graham Chiu ]- | | dtml-in "objectValues('TinyTable')" | dtml-var titlebr | dtml-in sequence-item | dtml-var valuebr | /dtml-in | /dtml-in | | This works for me. | | This code is in the index_html of the same folder containing the | tinytables. It doesn't work for me unless I specify the folder as in | | thisfolder.objectValues() | | whereas all the examples I've seen don't need this. Using 2.1.4. My index_html is a dtml-method, not a dtml-document. Using 2.1.4. I find myself rarely using dtml-documents because they don't acquire like methods. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] uploading a batch of files
There's an external method that loads a batch of files from the local machine into the zope database. I've got a copy if you're interested, since I can't seem to find it on the site anymore. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: R. David Murray [EMAIL PROTECTED] To: Jonathan Park [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 3:43 PM Subject: Re: [Zope] uploading a batch of files On Mon, 22 May 2000, Dieter Maurer wrote: FTP, mput? More difficult: a Python script generating appropriate HTTP Post requests An equally difficult alternative to b: a temporary python external method that creates file objects and reads the content from the file system. Perhaps the load_site (or whatever it's name is) product would help with this? I've never looked at it. --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Q; Date / ZCatalog / Search
For an events database, I catalog properties "startdate" and "enddate" of type "date" as field indexes; then I search it in two steps: First create a temporary list of events that meet the date criteria dtml-call "REQUEST.set('NewsEventsList',[])" dtml-in "NewsEventCat(meta_type='News Event', enddate=_.DateTime()-1, enddate_usage='range:min', sort_on='startdate')" dtml-call "NewsEventsList.append(NewsEventCat.getobject(data_record_id_))" /dtml-in dtml-if NewsEventsListdtml-return "1"dtml-elsedtml-return "0"/dtml-if Then, if that list is non-empty, I format as many entries from it as I need -- in this case 2. !-- Start Events Summary -- table width="100%" cellspacing=0 cellpadding=0 border=0 dtml-in NewsEventsList orphan=1 size=2 trtd colspan=2p class="sidebody" a href="/news/events"dtml-var startdate/a dtml-if "_['startdate'] != _['enddate']" - a href="/news/events"dtml-var enddate/a /dtml-if /p/td/tr trtdnbsp;/tdtdp class="sidebody" dtml-var title_or_id /p/td/tr dtml-else trtd colspan=2p class="sidebody" No events to announce. /p/td/tr /dtml-in trtd colspan=2 align="right"p class="sidebody" a href="/news/events"more gt;gt;/a /p/td/tr /table !-- End Events Summary -- Hope that helps. -- Loren - Original Message - From: "J. Atwood" [EMAIL PROTECTED] To: "Jørgen Skogstad" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: May 22, 2000 03:36 PM Subject: Re: [Zope] Q; Date / ZCatalog / Search I too have not been able to get this to work... anyone to help... please? J From: Jørgen Skogstad [EMAIL PROTECTED] Date: Tue, 23 May 2000 00:25:22 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Q; Date / ZCatalog / Search Kindest sir, I have a small question I hope someone could share some wisdom with. I am not that familiar with the various objects available within the Zope framework yet. .. I have made a ZCatalog which works seamlessly for text only searches etc. However; I need to search on a date basis on the generated object in the ZCatalog. For now my "date" entry/column is [string] coded.. not "date" as would be apropriate? How can I use date .. and then make a search to get the last 5 entries in a table? http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching .. shows some possible ways to do this; but I can't seem to get them to work properly; dtml-comment Items modified in the last 14 days /dtml-comment dtml-in "Catalog(bobobase_modification_time=_.DateTime(date)-14, bobobase_modification_time_usage='range:min')" New item: dtml-var "Catalog.getpath(data_record_id_)"br /dtml-in .. does anyone have any information on how they have used this and gotten it to work? .. and might have an example or two? ;) What exactly does the various elements in the above example do? .. like "Catalog(bobobase_modification_time=_.DateTime(date)-14, bobobase_modification_time_usage='range:min')" ?? .. mm .. any input? ;) Thanks in advance.. Kindest, Jørgen Skogstad ___ 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] Portuguese Zope Portal
Yellow, Portuguese Zope Portal Finally open The first portuguese Zope portal is finally online but still alpha. ZopersORG is online... but why so soon, you may ask?? because everybody was flooding our mailbox asking for it to be online!! So we've decided to go online with a limited number of services and develop the rest while everybody is visiting the site! Whe need all portuguese Zopers to send us some feedback with comments and sugestions!! Visit us! You'll find the site at http://www.zopers.org bye --- Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re[2]: [Zope] Deleting folder-like objects.
On Mon, 22 May 2000 04:54:26 -0600 you wrote: [Deleteing folderlike objects doesn't invoke manage_beforeDelete for it's children] Yeah, that can be annoying. Is there is any reason for it? None I can think of off hand... Right. I'm going to consider it a bug and submit it to the collector as soon as I can research a potential patch. John ___ 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.org membership
Graham Chiu wrote: I went there, clicked on the buttons, and got DNS errors. This link should show you all the cookies you have at www.zope.org: http://www.securityspace.com%2fexploit%2fexploit_1b.html%3fdomain==.www.zope.org/#exploit_1 Well, you only have to save one half of a pair. I would prefer you save the password. The username I can remember :-) Your username is publicly accessable from zope.org. With your password, if there's any way I can inferr your username- let's say the webmaster grabbed the information while you were posting a comment on zopeisevil.org- they can now do whatever you could do. More to the point, with redirection and javascript, they can even make you do it. For zope.org membership as it is today, all they could do is besmirch your good name in the community. In the future, as the things a zope member can do expands, it could mess up more. I will, however, look into other possibilities, like maybe your password could be filled in server side, if some appropriate check can be made. If you like, drop this issue in the Tracker, http://www.zope.org/Tracker , so that you'll be updated when its status changes. If you're using IE 5 or Mozilla (NS 6) you can always tell it to remember what you've entered into the password field. Doesn't offer to save it for me on IE5. If it did, I wouldn't be asking. Hmm. It harasses me about it all the time. Perhaps I'm using IE 5.5 (can't remember, I'm back in linux.) ~ethan ___ 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 )