SV: [Zope-dev] Web Services for Zope
Well... the status is that I'm trying to work on it on an as-possible basis :) The problem is that it hasn't been very possible for the last few weeks. If you just need to generate WSDL and you're willing to live on the bleeding edge and use some code that might still change a lot in the future to get the job done, let me know and I'll be happy to send you a snapshot of what I have... Why don't you put into the public CVS instead? /Magnus ___ 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 )
SV: [Zope-dev] ZPT equivalent for DTMLFile?
I'd like to use ZPT for product add pages and the like, where I'd usually use DTMLFile. How do I do that? PageTemplates itself does this. Take a look at the initialize method in PageTemplates/ZopePageTemplate.py /Magnus ___ 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] url quote from pyton scripts
Hi. How can I do a url quote from a python script? Can I somehow access the method in urllib or DT_Var or how can it be done? -- /Magnus Heino ___ 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 )
SV: [Zope-dev] 60GB Data.fs?
Also how are the disks layed out? Is it possible to have, say, 5 disks each on their own (no RAID) and then split the data.fs over them using PartitionedFileStorage or similar. Where can I get PartitionedFileStorage? /Magnus ___ 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 )
SV: Subject: [Zope-dev] change ownership
I can get it to work :-/ I get an attributeerror on aq_inner in lib/python/AccessControl/Owned.py, line 302, in ownerInfo Seems as if the user i provide isn't of the right type? How do you use your method? How is it being called? /Magnus Magnus, No, changeOwnership is not exposed for TTW calling. But you can expose it through an external method... I used this one on a ZClass. def set_owner(self, user): self.changeOwnership(user) return ___ 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 )
SV: Subject: [Zope-dev] change ownership
def set_owner(self, user_name): self.changeOwnership(self.acl_users.getUser(user_name)) OK, so that should keep you busy for a while. Anyway, the Not long enough :-P point is that the parameter to changeOwnership is a User _object_. Good luck. Ive got this external method in a zclass: def setObjectOwner(self, username): self.changeOwnership(self.acl_users.getUser(username)) I call it like http://localhost:8080/myobject/setObjectOwner?username=foo and get this error: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: aq_inner Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: PLATS_1) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: setObjectOwner) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: setObjectOwner) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/Products/ExternalMethod/Exter nalMethod.py, line 262, in __call__ (Object: setObjectOwner) (Info: ((FooObject instance at 873bd78, 'david'), {}, None)) File /usr/home/magnus/www/Zope-2.3.2-src/Extensions/Owner.py, line 2, in setObjectOwner (Object: PLATS_1) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/AccessControl/Owned.py, line 168, in changeOwnership (Object: PLATS_1) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/AccessControl/Owned.py, line 302, in ownerInfo AttributeError: (see above) ___ 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 )
SV: Subject: [Zope-dev] change ownership
The one that comes with Zope. /Magnus -Ursprungligt meddelande- Från: Tim McLaughlin [mailto:[EMAIL PROTECTED]] Skickat: den 10 maj 2001 15:26 Till: 'Magnus Heino (Rivermen)'; Tim McLaughlin Kopia: '[EMAIL PROTECTED]' Ämne: RE: Subject: [Zope-dev] change ownership What kind of UserFolder are you using... LoginManager or something? -Original Message- From: Magnus Heino (Rivermen) [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 10, 2001 9:13 AM To: 'Tim McLaughlin'; Magnus Heino (Rivermen) Cc: '[EMAIL PROTECTED]' Subject: SV: Subject: [Zope-dev] change ownership def set_owner(self, user_name): self.changeOwnership(self.acl_users.getUser(user_name)) OK, so that should keep you busy for a while. Anyway, the Not long enough :-P point is that the parameter to changeOwnership is a User _object_. Good luck. Ive got this external method in a zclass: def setObjectOwner(self, username): self.changeOwnership(self.acl_users.getUser(username)) I call it like http://localhost:8080/myobject/setObjectOwner?username=foo and get this error: Zope Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: aq_inner -- -- Troubleshooting Suggestions The URL may be incorrect. The parameters passed to this resource may be incorrect. A resource that this resource relies on may be encountering an error. For more detailed information about the error, please refer to the HTML source for this page. If the error persists please contact the site maintainer. Thank you for your patience. Traceback (innermost last): File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: PLATS_1) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: setObjectOwner) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: setObjectOwner) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/Products/Extern alMethod/Exter nalMethod.py, line 262, in __call__ (Object: setObjectOwner) (Info: ((FooObject instance at 873bd78, 'david'), {}, None)) File /usr/home/magnus/www/Zope-2.3.2-src/Extensions/Owner.py, line 2, in setObjectOwner (Object: PLATS_1) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/AccessControl/O wned.py, line 168, in changeOwnership (Object: PLATS_1) File /usr/home/magnus/www/Zope-2.3.2-src/lib/python/AccessControl/O wned.py, line 302, in ownerInfo AttributeError: (see above) ___ 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] change ownership
Is it not possible to change ownership of an object? I can only find methods to take ownership... /Magnus ___ 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] manage_tabs
Hi. In my Zope product, I've got this; manage_options = SimpleItem.manage_options+( {'label':'Edit', 'action':'manage_main'}, ) If I view the management sceen of this product, I get four tabs (Undo, Ownership, Security and Edit). But If I click on Edit, all tabs but the edit tab is removed. Why? My Edit dtml looks like this; dtml-var manage_page_header dtml-var manage_tabs p class=form-help This is the edit form. /p dtml-var manage_page_footer Thanks, /Magnus ___ 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 )
SV: [Zope-dev] manage_tabs
Title: RE: [Zope-dev] manage_tabs Well, right now I'm doing it like this... security = ClassSecurityInfo() security.declarePublic('manage_editForm')manage_editForm = DTMLFile('dtml/editForm', globals())security.declarePublic('manage_main')manage_main = manage_editForm Browser doesn't change anything. /Magnus Could this be an "Internet Explorer failing to pass the AUTH info" problem? It sounds as though you are getting access to the edit tab via Anonymous permissions (Have you restricted access to the manage_main method using the __permissions__ settings)? In that case, Zope will not show you the other tabs because the Anonymous User is not allow to see them. (Does it show that this one got me too???) What version of which browser are you using? Adrian... -- Adrian Hungate Manager, European I.S. Acucorp UK Limited -Original Message- From: Magnus Heino (Rivermen) [mailto:[EMAIL PROTECTED]] Sent: Friday, 04 May 2001 13:09 To: '[EMAIL PROTECTED]' Subject: [Zope-dev] manage_tabs Hi. In my Zope product, I've got this; manage_options = SimpleItem.manage_options+( {'label':'Edit', 'action':'manage_main'}, ) If I view the management sceen of this product, I get four tabs (Undo, Ownership, Security and Edit). But If I click on "Edit", all tabs but the edit tab is removed. Why? My "Edit" dtml looks like this; dtml-var manage_page_header dtml-var manage_tabs p class="form-help" This is the edit form. /p dtml-var manage_page_footer Thanks, /Magnus ___ 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] Threads...
Hi. I want to start a thread from my product. I'm doing it in the same way as the code below. Label is set to 'a' as default. If I change this to 'b' and save, Label is changed to contain 'b'. But, it seems as if Label is loaded with the saved value at some later point than the last row below, because Label always contains 'a' at that point. So the question is; Where should I start the thread? When are the saved properties loaded? class FooBar(SimpleItem, PropertyManager): meta_type = 'FooBar' _properties = ( {'id':'Label', 'type':'selection', 'mode':'w', 'select_variable':'values'} ) values = ('a', 'b', 'c') Label = values[0] manage_options = ( {'label':'Edit', 'action':'manage_main'}, )+PropertyManager.manage_options+\ SimpleItem.manage_options # Create a SecurityInfo to define security # assertions later on security = ClassSecurityInfo() _v_fooThread = FooThread.FooThread(Label) _v_fooThread.start() /Magnus ___ 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] CoreSessionTracking
Is onStart and onEnd broken in the CoreSessionTracking (0.8) product? (Or am I broken? :-)) I have a folder /Radio Within that folder I have a Session ID Manager and a Session Data Manager named Session. Session onStart method path of the Session ID Manager is set to /Radio/onStart I have an external method /Radio/onStart that does work if called standalone, from zLOG import LOG, WARNING def onStart(sdo): LOG('session started', WARNING, 'session started') but it never gets called when I call my index_html; dtml-var standard_html_header dtml-var Session.getToken() dtml-if Session.isTokenNew() Token is new. dtml-else Token is not new. /dtml-if dtml-var standard_html_footer Ths index_html method does return 'Token is new', but no onStart method is being called. What am I missing??? I have read the helpfile over and over again, but it still doesn't work. ? /Magnus ___ 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 )
SV: [Zope-dev] CoreSessionTracking
The onStart method will be called when a session data object is created. Neither of the calls you show here create a session data object. Something like Session.getSessionData() would, however. Ah. I read when a session starts, you may call an external method or PythonScrip and thought that the session started when I received a new token... Thanks! /Magnus ___ 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 )
SV: [Zope-dev] CoreSessionTracking
This onStart method... sdo['date'] = context.ZopeTime() ...gives this error: -- 2001-04-23T14:36:32 PROBLEM(100) Session Tracking session event failed The call to function onStart failed. Traceback: Traceback (innermost last): File /usr/home/magnus/www/Zope-2.3.1-src/lib/python/Products/CoreSessionTracking/ SessionDataManager.py, line 451, in __call__ (Object: ) File /usr/home/magnus/www/Zope-2.3.1-src/lib/python/Shared/DC/Scripts/Bindings.py , line 324, in __call__ (Object: onStart) File /usr/home/magnus/www/Zope-2.3.1-src/lib/python/Shared/DC/Scripts/Bindings.py , line 354, in _bindAndExec (Object: onStart) File /usr/home/magnus/www/Zope-2.3.1-src/lib/python/Products/PythonScripts/Python Script.py, line 336, in _exec (Object: onStart) (Info: ({'script': PythonScript instance at 87d1b10, 'context': Folder instance at 8847358, 'container': Folder instance at 8847358, 'traverse_subpath': []}, ({},), {}, None)) File Script (Python), line 2, in onStart File /usr/home/magnus/www/Zope-2.3.1-src/lib/python/Products/PythonScripts/zbytec odehacks/VSExec.py, line 430, in __setitem__ TypeError: object does not support item assignment ___ 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 )
SV: [Zope-dev] CoreSessionTracking
In the meantime, use the .set method of the session data object, e.g. in the onStart function: sdo.set('Username', 'Foobar') .. or use an external method. Ok, works now. Thanks. How to I access things like the DTML AUTHENTICATED_USER.getUserName() from a python script? /Magnus ___ 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] Product Tutorial
Hi. Is http://www.zope.org/Members/hathawsh/PythonProductTutorial/index_html?pp=1 still valid, or have things changed since it was written? /Magnus ___ 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] Python 2.0 ??????
My web site had been working until this morning for months without a problem. When investigating the cause of the crush I found out that my ISP just upgraded to python 2.0 without my knowledge.My site isas far as I know the only zope site there. It does not start or build. I tried to upgrade to version 2.2.5 (I was running 2.2.2) without a success. This is what i got when trying to upgrade to version 2.2.5 :
RE: [Zope] Python 2.0 ??????
There are several solutions to this one. 1. Your ISP probably didn't remove the python1.5 build. 'python' is usually just a link to python1.5. If you install python 2.0 on top of it, the link will point to python2.0. So change the reference to python in the start script to be python1.5 instead, and it will work. If you removed your old 2.2.2 site, build the 2.2.5 one with 'python1.5 w_pcgi.py' 2. If python1.5 actually is removed, compile a version of 1.5 on your own with './configure --prefix=/path/to/your/home make make install'. Put that in your path, and use that version of python to build with. 3. Although not official, the CVS checkout of Zope (2.3.1beta+), does seem to work just fine with python2.0. But maybe that will break something else in the products that you are using. /Magnus (Is there no way to tell Outlook2000 to NOT send a message in html format EVER? :-P) My web site had been working until this morning for months without a problem. When investigating the cause of the crush I found out that my ISP just upgraded to python 2.0 without my knowledge.My site isas far as I know the only zope site there. It does not start or build. I tried to upgrade to version 2.2.5 (I was running 2.2.2) without a success. This is what i got when trying to upgrade to version 2.2.5 :
RE: [Zope] Holiday Calendar anyone? (cont.)
By end of January/early February we'll have a groupware thingy ready that will do things like holiday planning etc. (and much more ...) Where can we look at a preview? :) /Magnus ___ 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] PoPy Installation. Where's the BEEF?
The PoPy module is not installed So, it looks like I need to install PoPy. I went to Can anyone give me a pointer? http://freshmeat.net/search/?q=popy ___ 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] Is there any (paper) book on Zope?
Does anybody know if someone is going to publish a book on Zope? http://www.zope.org/Members/michel/ZB/ ___ 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-dev] ANNOUNCE: PartitionedFileStorage
But like I told ChrisW, I think BerkeleyStorage will fill the need that PartitionedFileStorage was only partitially addressing. How is the new BerkeleyStorage product coming along? /Magnus ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ___ 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] ZPatterns
I simple products that does things the ZPatterns way, and explains why and how would be just great. The problem, and this I totally agree with PJE, Ty Sarna and the other people who're using ZPatterns and fully understand it, is that they are using it to do their jobs and so really haven't got the time to come up with nice examples and finished docs. To be honest, I'm just glad they chose to open source it all :-) And so am I. What I meant was that there seems to be more and more people that that start to understand it, at least a small bit of it. If all these people contributed their small part to a HowToWriteASimpleAndGoodZPatternsProductZWiki, then the documentation bit would be solved. Maybe people like you? :) /Magnus ___ 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] ZPatterns
...I disagree, ZPatterns only major flaw is that its totally immersed in its own jargon which very few people understand :-( That said, my impression is that if you can wade through the b/s, it's more than worth the effort... Are there any more docs or any examples available now than a couple of months ago? I tried it back then, but really didn't understand it all :-P I simple products that does things the ZPatterns way, and explains why and how would be just great. /Magnus ___ 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-dev] Loginmanager and LDAP
Hi. I'd like to authenticate users using LDAP and Active Directory. Zope is running on a RH7.0 box. Has anyone done this, is it possible? /Magnus ___ 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] Tracker
Hi. What is the status of the Tracker product? I remember someone saying that it had some problems with the latest version of Zope a while ago, is that still true? /Magnus ___ 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-dev] ZODB, Threads and Persistence
Hi. Reading from Jims 'Introduction to the Zope Database': "An object's state may be freed at any time by the ZODB to conserve memory usage." What does this mean? That the object can be freed even though there are references to it? The reason I'm asking is becase I want to use threads and persistence together. I would like to inherit both threading.Thread and Persistence.Persistent, but that gives an error. I guess thats because of the ExtentionClass. However, if i only inherit Persistence.Persistent and starts a thread using the thread module withing the persistent class, what will happen with it? Can the ZODB still decide to free my persistent object even thoght it has a reference to a thread that is running?? Or can I start my thread when the object first is used, and rely on that it will be running until I stop it or remove any reference to it? /Magnus ___ 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] soap and zope
Has anyone done anything with soap and zope? /Magnus Heino ___ 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] urlquote?
Hi. Is there a method available somewhere in python to urlquote(?) a string. Example: lösning - l%f6sning /Magnus ___ 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] SV: [Zope] urlquote?
in module 'urllib' quote (string[, safe]) Replace special characters in string using the "%xx" escape. Doesn't work like that here. import urllib urllib.quote('lösning') 'l\366sning' Am I doing anything wrong? :-P /Magnus ___ 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] SV: [Zope] Building ZPyGreSQLDA on Linux
Let me try again, does any of you guys have a "config" subfolder inside your /usr/lib/python1.5/ folder? I guess the "config" subfolder maybe an feature from the old python1.5, because in the new python1.5.2 there is no such a folder. Also, in an error like: make[1]: *** No rule to make target `/usr/lib/python1.5/config/Makefile', needed by `sedscript'. Stop. You need to install the python-devel-1.5.2 rpm (or compile and install python from source). /Magnus Heino ___ 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] Roxen patch
Hi. I have lost the patch for Roxen 1.3 to work properly when you enable RXML-parsing for CGI, i.e. Zope. Who has it? /Magnus Heino ___ 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 )