Re: [Zope] Iimport IPossibleSite not possible
Thanks everybody for the quick response. As far as I understand I should do a buildout installation instead of my simple path_to_python2.7 setup.py install? When I try buildout, it fails already with zope.testing : bin/buildout Develop: '/opt/Zope2-2.13.15/.' warning: no previously-included files matching '*.dll' found anywhere in distribution warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyo' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution While: Installing. Getting section test. Initializing section test. Installing recipe zc.recipe.testrunner. Error: There is a version conflict. We already have: zope.testing 4.1.1 but zc.recipe.testrunner 1.2.1 requires 'zope.testing=3.6.0,3.10.0'. Is there zope.testing =3.6.0,3.10.0 to be installed and then step by step the next errors to be eliminated or would it be possible to take a shortcut and install some older version of python or the site-packages? Is there a way to avoid buildout at all - for example switching to an older python2.6 and then try a simple installation with 2.13.15 again? Mario - Original Message - From: Tres Seaver tsea...@palladion.com To: zope@zope.org Sent: Monday, September 10, 2012 11:38 PM Subject: Re: [Zope] Iimport IPossibleSite not possible -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/10/2012 04:51 PM, Mario Premke wrote: Hello, many times now I tried to start zope, but I always get the following error: mapr@AtomN270 /opt/TESTInstance/bin $ ./runzope Traceback (most recent call last): File /opt/bin/runzope, line 8, in module load_entry_point('Zope2==2.13.15', 'console_scripts', 'runzope')() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py, line 22, in run starter.prepare() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py, line 86, in prepare self.startZope() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py, line 259, in startZope Zope2.startup() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/__init__.py, line 46, in startup from Zope2.App.startup import startup as _startup File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/App/startup.py, line 38, in module import OFS.Application File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/Application.py, line 22, in module import App.Product File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/App/Product.py, line 44, in module from OFS.Folder import Folder File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/Folder.py, line 24, in module from webdav.Collection import Collection File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/webdav/Collection.py, line 30, in module from webdav.Resource import Resource File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/webdav/Resource.py, line 35, in module from OFS.event import ObjectClonedEvent File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/event.py, line 20, in module import OFS.interfaces File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/interfaces.py, line 19, in module from zope.location.interface import IPossibleSite ImportError: No module named interface log/event.log shows: -- 2012-09-10T21:59:59 INFO ZServer HTTP server started at Mon Sep 10 21:59:59 2012 Hostname: 0.0.0.0 Port: 8080 and var/zope.conf: %define INSTANCE /opt/TESTInstance instancehome $INSTANCE effective-user mapr eventlog level info logfile path $INSTANCE/log/event.log level info /logfile /eventlog logger access level WARN logfile path $INSTANCE/log/Z2.log format %(message)s /logfile /logger http-server address 8080 /http-server zodb_db main filestorage path $INSTANCE/var/Data.fs /filestorage mount-point / /zodb_db zodb_db temporary temporarystorage name temporary storage for sessioning /temporarystorage mount-point /temp_folder container-class Products.TemporaryFolder.TemporaryContainer /zodb_db Z2.log is empty ... Any ideas? Thanks in advance, You have picked up too-new versions of some packages. Your buildout needs to pin to the version of Zope you are running, e.g.: [buildout] extends = http://download.zope.org/Zope2/index/2.13.16/versions.cfg Tres. - -- === Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software Excellence by Designhttp://palladion.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBOXdkACgkQ+gerLs4ltQ6f+QCePhXnfbT2XuEgUuFV+ppzbB6U S54AnivnwXd8CVOesTlOq5QADRbhKjHd =WjcR -END PGP SIGNATURE- ___ Zope maillist - Zope@zope.org https
[Zope] Iimport IPossibleSite not possible
Hello, many times now I tried to start zope, but I always get the following error: mapr@AtomN270 /opt/TESTInstance/bin $ ./runzope Traceback (most recent call last): File /opt/bin/runzope, line 8, in module load_entry_point('Zope2==2.13.15', 'console_scripts', 'runzope')() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/Startup/run.py, line 22, in run starter.prepare() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py, line 86, in prepare self.startZope() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/Startup/__init__.py, line 259, in startZope Zope2.startup() File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/__init__.py, line 46, in startup from Zope2.App.startup import startup as _startup File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/Zope2/App/startup.py, line 38, in module import OFS.Application File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/Application.py, line 22, in module import App.Product File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/App/Product.py, line 44, in module from OFS.Folder import Folder File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/Folder.py, line 24, in module from webdav.Collection import Collection File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/webdav/Collection.py, line 30, in module from webdav.Resource import Resource File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/webdav/Resource.py, line 35, in module from OFS.event import ObjectClonedEvent File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/event.py, line 20, in module import OFS.interfaces File /opt/lib/python2.7/site-packages/Zope2-2.13.15-py2.7.egg/OFS/interfaces.py, line 19, in module from zope.location.interface import IPossibleSite ImportError: No module named interface log/event.log shows: -- 2012-09-10T21:59:59 INFO ZServer HTTP server started at Mon Sep 10 21:59:59 2012 Hostname: 0.0.0.0 Port: 8080 and var/zope.conf: %define INSTANCE /opt/TESTInstance instancehome $INSTANCE effective-user mapr eventlog level info logfile path $INSTANCE/log/event.log level info /logfile /eventlog logger access level WARN logfile path $INSTANCE/log/Z2.log format %(message)s /logfile /logger http-server address 8080 /http-server zodb_db main filestorage path $INSTANCE/var/Data.fs /filestorage mount-point / /zodb_db zodb_db temporary temporarystorage name temporary storage for sessioning /temporarystorage mount-point /temp_folder container-class Products.TemporaryFolder.TemporaryContainer /zodb_db Z2.log is empty ... Any ideas? Thanks in advance, Mario ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope-dev] cPickleCache endless loop...
Am 26. Jan 2004, um 12:22:43 schrieb Tim Peters: It's actually that the number of __del__-resurrecting objects *plus* the number of non-ghostifiable objects in cache is larger than the cache target size, right? Yes, but when you push the minimize button, the cache target size is 0. Nonwithstanding our code (it was mostly debugging/tracing functionality anyway, so it was easy to fix), it is just that with Zope 2.5, it seemed to work (at least I never got a bug report back then) so it took us a while to track this down. Especially since we had just moved to RHEL3, so we were expecting more like a threading issue... Given that this property is not that widely published (in the various tutorials etc.), I wonder if it might be a good idea to improve that loop check code, and walk through the ring not more than once, using a counter, and not the comparison vs. the ring start, which, as we have seen, may be a target that moves too quickly. Similarly wink, except that if there's a large number of non-ghostifiable objects (more than the cache target size), then only one __del__-resurrected object is enough to provoke an infinite loop. Yes, this is exactly what happened here. Mario -- Mario Lorenz EMail: [EMAIL PROTECTED] Tel: 03774 6625-78 Technik Netze Handy: 0160 3151600 km3 teledienst GmbH Fax: 03774 6625-79 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] passing browser Id value #2
Hi to all, this follows my previous having subject passing browser Id value to further explain what I'm looking for. I want to embed the browserId value in every link/button/clickable-item of the pages in my site as the very last action before sending the pages back to the client; put another way I want to parse the HTML code of the page that Zope has built in response to the current HTTP request, embed into the 'href' and 'form' tags some identifier of mine and send the modified page back to the client. The point is that the parsing and embedding are to be performed 'on exit' -so to say-, i.e. when Zope has already processed the web request and built an HTML page to be sent back. -- To Dieter Maurer: Hi Dieter, does your extension to VHM meet these requirements? I'm afraid VHM is targeted to solving the problem of URL rewriting BEFORE letting Zope handle (publish) it, while I need some sort of parsing/rewriting 'on exit'. Thanks, cheers, Mario. _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] passing browserId value
Hi list, I want to embed the browserId value in every link/button/clickable-item of the p ages in my site, so that users get a sessioned access without using cookies. How can I manage this task without having to manually rewrite the code of the pa ges served by the site? Some pages are the dynamical output of a Zope product call, how can I intercept them, embed the browserId and then serve it to the client? It seems to me that embedding the browserId DYNAMICALLY is the only way to avoid statically re-write a lot of code (error-prone and time-wasting approach), the matter is how! I would prefer not to use JavaScript, only DTML or other Zopish/Pythonish resources. Thanks in advance, cheers, Mario. _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] interaction with local FS
Hi everyone, I'm curious in finding out how zope interacts with the server's file system: let's say I want to allow the users of my site to manage (read/write) their own files on the server's file system, does Zope support this goal anyhow? As far as I've seen, to me the response seems to be no, it doesn't! The only way to access the server's file system from zope seems to be using the ExternalFile product, which is far from satisfactory from the point of view of file access rights: it only allows access to files owned by zope itself (or in the same group of zope's). No way to access 'someuser''s files with the uid of 'someuser'? Thanks, Mario. _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail ___ 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] changing security settings from python
Hello list, I wonder if it is possible to change the security settings (the mapping of permissions to roles) on some object DYNAMICALLY, i.e. from python code instead of from the management interface. I need this feature to dynamically reflect the possible changes in the access rights of some files pointed by ExternalFile instances. Thanks, Mario. _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ___ 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] validate method
Hello everybody, I want to write a custom UserFolder to allow for a certain type of authentication/validation. One straightforward way to do so is to inherit from UserFolder and override the validate method. Nevertheless, the validate method is documented in the code as PRIVATE object interface, which means -I guess- that is not part of the object API and no guarantee of compatibility with newer version is given. I noticed there's a securityManager.validate method that takes the same parameters as the UserFolder.validate one, but the former is part of the Zope API: should I use that one to implement validation for my user folder? If this is the case, how can I manage extending class UserFolder and using SecurityManager.validate as well? Thanks, Mario. _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail ___ 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] random
hello to everyone. I'm new in this mailing list and also with Zope. This is my question: I need to extract, form my metapublisher object, one of my entrys randomly. i have found this command but it's good for some static pages. !--#var expr=_.whrandom.choice(glossario.objectValues())-- hope you understood my request. thank you mario ___ 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-Coders] Re: [Zope-dev] Speaking of 2.6...
At 01:30 10-04-2002 +0300, Myroslav Opyr wrote: Ok. Let's find out what we have and what we want. First of all we have strict hierarchy in ZODB where each object appears only once in the tree. Thus to access to an object it is only one way from root down to an object through containers. The idea is to allow user to specify several points of presence (pop) for an object. Precisely. My first hack solves this and I've been using it OK in production sites. But I didnt like the fact that an object point of presence in the Zope tree was identical in every instance. That leads to confusion. My second hack creates a ProxyObject class thus allowing for a different metatype and a different icon. This reduces confusion. And you can also provide a management tab with links to the original object point of presence. I tried using Python 2.1 Proxy classes but Acquisition wasnt proxiable... C U! -- MV ___ 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-Coders] Re: [Zope-dev] Speaking of 2.6...
At 10:06 10-04-2002 -0400, Brian Lloyd wrote: What is wrong with leaving this as an add-on product? Why does it _need_ to be a part of the core at all? Useful products are useful, whether or not they come with Zope, and there are plenty of very useful products that don't come built in. I totally agree. Thats what I previously thought was the case: that your earlier comments were very much towards the links stuff being Vetted and that it should be released as a patch/product. C U! -- MV ___ 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-Coders] Re: [Zope-dev] Speaking of 2.6...
At 15:12 10-04-2002 +0100, Toby Dickenson wrote: User X is designated as a manager of folder /Xfolder. In todays Zope /Xfolder is a secure environment He has no authority over objects outside that folder, thanks to aq_inContextOf Can he create links to objects outside that folder? No, he cant. To create a link (my hack...) you first need to obtain the object reference (moniker) with a Copy operation so that you can then do a Paste Ref. operation. Links would be pretty useless if not. No they wouldnt. A common use case would be to create a link /XFolder/banner.gif to /stock_images/banners/mono.gif (for example). However if that is allowed, he now has management rights over that image object. I dont see how 'hard links' can possibly avoid this problem. Right. But they would be useful to put an image in /Xfolder/images/ and then be able to paste links to it into /Xfolder/layout1/ and /Xfolder/layout2/ and /Xfolder/Development without the need to create multiples instances of the same image or without coding multiple requests for that object. C U! -- MV ___ 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] Re: [Zope] Object Links/references and Zope 2.6
Hi: Regarding my previous proposal. I would like to propose my Paste Reference/symlink hack for inclusion into Zope 2.6 And referring to my previous msg. At 19:04 07-08-2001 +0100, Mario Valente wrote: As discussed previously by others (re: object references) and asked by myself: I had the need to be able to refer to objects from different points of the folder hierarchy without duplicating those objects. - edited CopySupport.py - copied the manage_pasteObjects method to a manage_pasteMonikers method - commented the #ob=ob._getCopy(self) line (the duplicate object part) - added a Paste Ref button to the lib/python/OFS/dtml/main.dtml file that calls the pasteMonikers method input class=form-element type=submit name=manage_pasteMonikers:method value=Paste Ref. / Issues/TODO - find a way to distinguish references from the original (tried to change the meta_type at paste time but no luck). At least the meta_type/icon should change to provide a visual cue. - provide tool(s) to find impact of changing a reference. Provide a link from a reference object to the original. Provide a link from an object to its several references. I have now solved the issues/TODO. I now have implemented a way to distinguish references from the original. Links have a name like copy_of_ but instead its shortcut_to_XXX and they also have a different metatype and a different icon. There's also crude management screens to get to the original object. Here's the *major* hack :-) (its such a kludge that even I am shocked :-) But it serves to demonstrate the purpose. Like previously described I edited CopySupport.py and created a new method called pasteMonikers. This method is accessed by the interface button referred above. The coding difference is that this method now creates a *new* object (instead of copying the old one, which is the semantics of usual Copy/Paste, and instead of using the original object, which is the semantics of the PasteReference I created and described before). This is the relevant piece of code: #ob=ob._getCopy(self) id=self._get_linkid(ob.getId()) ob = SimpleItem.ItemShortcut(ob) ob._setId(id) self._setObject(id, ob) ob = self._getOb(id) ob.manage_afterClone(ob) As you can see a new id is created for the new object (method _get_linkid is identical to method get_id but returns ids with the format shortcut_to_%s) and a new object of class ItemShortcut is created and pasted into the current folder. The ItemShortcut class was created at the SimpleItem.py file and its basically a Proxy pattern. This is the relevant code, added at the end of SimpleItem.py: class ItemShortcut(SimpleItem): Proxying class for shortcut implementation meta_type = Shortcut icon ='shortcut.gif' manage_options= SimpleItem.manage_options + ( {'label':'View', 'action':'index_html', 'help':''}, ) manage_options= SimpleItem.manage_options + ( {'label':'Properties', 'action':'manage_properties', 'help':''}, ) #__ac_permissions__=(('View', ()),) __ac_permissions__=(('View', ('__call__', '')),) def __init__(self, obj=None): self.__obj__ = obj def __repr__(self): return Proxy for +`self.__obj__` def index_html(self): Proxying class for shortcut implementation return self.__obj__.__call__() def manage_properties(self): Proxying class for shortcut implementation return HTMLhead/head body Shortcut for +`self.__obj__`+ p a href=+`self.__obj__.absolute_url()`+View original object/a p a href=+self.__obj__.absolute_url()+/manage_workspaceEdit original object/a /body/html Once again, this is just proof of concept, and should be correctly (read 'nicely' :-) implemented for Zope 2.6. C U! -- Mario Valente ___ 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.6 planning - call for contributors!
Hi: I think that the possibility of having inactive objects, objects that are instantied, exist in the ZODB and in the folder tree but are invisibile to the Zope machinery (acquisition, rendering, itemizing) by setting/unsettting a property flag would also be something of extreme usefulness. C U! -- Mario Valente ___ 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.6 planning - call for contributors!
Hi: I would like to propose my Paste Reference/symlink hack for inclusion into Zope 2.6 C U! -- Mario Valente ___ 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] Zope Games
At 20:53 1/24/01 +0100, Erik Enge wrote: [Gerald Gutierrez] | Does anyone know about any web games written in Zope, something akin | to Blacknova.net, which is written in PHP ? The source is at | http://sourceforge.net/projects/blacknova/. I don't. But I might be able to hook someone up with some financial funding to do so. I recall having a contact which wanted to do web-based games, large scale. Take a look at http://www.copyriot.com/tarnold/nlpi/ and more specifically at http://www.copyriot.com/tarnold/nlpi/operating/index.html to see actual examples and screenshots. We (Ruido Visual TI) are also developing a large scale web-based game. C U! -- Mario Valente ___ 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] Instatiate object instances :-)
Hi: Can someone give any info/tips on the best way to solve this ? We have a folder "/content" containing all the diferent type of content we have available on our site. Within this folder, for example, we have a subfolder "/content/polls" where we store all the polls (instances of a Poll product). Another example, we have a subfolder "/content/articles" where we instantiate Squishdot articles. Now, the problem is that we'd like to reference those objects in several and different parts of the site. For example, we'd like to be able to reference diferent polls and diferent articles on area/folder "/Money"; and diferent polls and diferent articles on "/Games"; but an article could be referenced in "/Lifestyle" and in "/Money" We havent found an elegant OO solution. Up until now the only thing that comes to mind is that we should instatiate copies for the same object within each area/folder. This is a problem (duplicate copies, lack of data integrity, etc) The obvious solution in a non-OO paradigm would be links/pointers. But it is, of course, non-OO. And you cant do that on Zope anyway (can you?). The subject of this message is also another hypothesis: each object in Zope has a reference (the "Object Instance at #hiusd9743" messages...). Is it possible to instantiate object instances :-) ? This would be, of course, pointers. Any other options ? Is this a problem in our OO design (probable) ? How would you (suggest we) do it ? Any help/suggestions are welcome. C U! -- Mario Valente ___ 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] Tools used for programming Zope
At 09:49 1/19/01 +0100, Stephane Bortzmeyer wrote: On Thursday 18 January 2001, at 18 h 40, the keyboard of Gerald Gutierrez [EMAIL PROTECTED] wrote: Frankly, I'm a little surprised that this isn't a problem for more people, given the drawbacks of having to give up many of the existing tools, having the application server only be able to export in a proprietary format, and being bound to the application server for so many development-related tasks. It's impossible to do a simple grep through the code, for example ... I agree it is one of the MAIN problems with Zope. You have my support. A good way to have a read-write (at least a readonly) view of the ZODB would change things a lot. I think that a good way would be to have a new Storage available: something that stored ZODB using the actual filesystem (directories, files, etc). A headstart is available at http://www.ppetru.net/software/index.html ( Directory Storage). If only it worked. :-( C U! -- Mario Valente ___ 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] High Performance Zope
At 14:37 1/17/01 -0500, Vincent Stoessel wrote: Doh! I meant to say 200-300,000 pageviews per day. We're serving about 200.000 hits (not pageviews) per day at http://www.portal.pt/ with a couple of load balanced frontend servers connected to a couple of load balanced backend DB servers. We're using ZEO. C U! -- Mario Valente ___ 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] Date
On Wed, 22 Nov 2000, Tom Deprez wrote: Hum, but then you also have to take into account the possible year change. But a nice idea. Tom. At 23:17 21/11/2000 +0100, Dieter Maurer wrote: Tom Deprez writes: Does someone knows how to calculate the date after 6 months of a certain date? eg ZopeTime() + 6 months? Is there an easy formula for this? Or do I've to check myself for a new year, leap year When I would need it (and did not find a better method), I would use (in an external method): 1. convert to a Python time tuple 2. add 6 to the month component (creating a new tuple) 3. convert back to a DateTime object. It might be necessary to normalize the time tuple before 3. with an "time.localtime(time.mktime(tup))". it seems that DateTime has some functions to do addition and subtraction; i'm not sure about the behaviour, but it can do: aDateTime + other A DateTime may be added to a number and a number may be added to a DateTime; two DateTimes cannot be added maybe you could do some tests to see the results with this functions. see DateTime.html in /path/to/zope/lib/python/DateTime as a guess: aDateTime + 6 x 30 []s Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 ___ 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] Search and replace
On Tue, 21 Nov 2000, Lee Hunter wrote: On the other hand I actually *like* the Zope management interface - in fact, so far I've found it to be very easy to understand and a total pleasure to use. It just doesn't offer some things that I must have - features that would probably be hard to incorporate into a browser interface. what about a plug-in, written in {Java | TclTk | whatever_language}? I don't have skills to do this but I think this could be done. just an idea! []s Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 ___ 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] still problems w/ SiteAccess 2.0.0b3
On Thu, 9 Nov 2000, The Doctor What wrote: I'm curious, you posted a message about SiteAccess. I have the same problem, with Debian (Zope 2.2.2 and I've tried SiteAccess 2.0.0b3 and b4). for some reason, the debian SiteAccess package didn't contains some files of the original SiteAccess tar ball. I just installed it from the tgz file and it worked out of the box! I even posted a msg to the debian-user list without success :-( hth []s, Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br ___ 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] installing ZPatterns
Hi, I'm trying to install ZPatterns and I'm having troubles with the Setup. I don't have a cPersistence.h file and I don't know where to find it. This file is necessary to compile DynPersist.c. Here is the error: gcc -fPIC -I../../ZODB -I../../../Components/ExtensionClass -g -O2 -I/usr/include/python1.5 -I/usr/include/python1.5 -DHAVE_CONFIG_H -c ./DynPersist.c ./DynPersist.c:1: cPersistence.h: No such file or directory make: *** [DynPersist.o] Error 1 Any help? Thanks, []s, Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br ___ 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] manage_access problems
Hi, I'm having a strange problem with my Zope installation I need some help to solve. When I try to access the security (manage_access) page of my root Zope, I get the error listed below: !-- Traceback (innermost last): File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/lib/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_access) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_access) File /usr/lib/zope/lib/python/AccessControl/Role.py, line 255, in manage_access (Object: ApplicationDefaultPermissions) File /usr/lib/zope/lib/python/App/special_dtml.py, line 120, in __call__ (Object: access) File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line 528, in __call__ (Object: access) File /usr/lib/zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: _.namespace(valid_roles=valid_roles())) File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: permission_settings) File /usr/lib/zope/lib/python/AccessControl/Role.py, line 182, in permission_settings (Object: ApplicationDefaultPermissions) File /usr/lib/zope/lib/python/AccessControl/Role.py, line 177, in lambda TypeError: (see above) -- This only happen with root folder; in subfolders I can manage security without problem, that is, I can access the page and add/remove privileges, local roles, etc, even though I do not master it completely, but this is another story. Any help? My zope configuration is: Debian/GNU Linux 2.2 (potato) zope 2.2.1 zope-guf 1.1.0 zope-pygresqlda 0.3rjr2 zope-renderable 0.2 zope-tinytable 0b2 zope-worldpilot 1.0.4 []s, Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br ___ 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] Converting PHP3 - Zope
Hi, I'm planning to convert (migrate) a entire site from php3 to zope and i'm looking for suggestions, hints, etc on this. It's a GPL management school system done in php3+postgresql, and any user must be authenticated against a database and his privileges are those from the postgresql. The system is in portuguese (www.univates.br/sagu) if someone is interested. Does somebody have experience in such kind of migration (conversion) and can give me some "in advance" advice to avoid this or that or don't do this, etc, etc? Any comments? []s, Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br ___ 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] LocalForum_wAdm import error
Hi, I'm trying to import LocalForum_wAdm and I'm getting the following error: Zope Error Zope has encountered an error while publishing this resource. Error Type: ImportError Error Value: No module named ZnolkSQLWizard.Wizard I have LocalFS installed (0.9.5). What else I'm missing? Thanks, BTW, I'm looking for some product to serve files for an intranet. It should be used more or less in the following way: 1. anonymous user can browse the tree and select files for download 2. registered users can upload, delete, rename and copy files, as well as download. Does somebody know some product that do this or can serve as basis for its development? Thanks again Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br ___ 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] Set access rule
On Tue, 26 Sep 2000, Martijn Pieters wrote: Looking over your mail again, it seems that there is already an AccessRule registered, but it is of the wrong type. You can't remove it with the Add interface, because that triggers the error. how could it happens? I did a fresh install of zope 2.2.1! I purged the entire directory tree (/usr/lib/zope) before installing! []s, Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br ___ 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] Set access rule
Quoting Martijn Pieters [EMAIL PROTECTED]: On Mon, Sep 25, 2000 at 01:52:26PM -0300, Mario Olimpio de Menezes wrote: I did an upgrade last week, from zope 2.1.6 to 2.2.1, using Debian packages. Almost everything was correct, but site access no longer works. Zope 2.2 requires SiteAccess 2 to work. Well, I forgot to say that, but of course, I'm using SiteAccess 2. Any other suggestion? Thanks! []s Mario O.de Menezes"Many are the plans in a man's heart, but IPEN-CNEN/SP is the Lord's purpose that prevails" http://curiango.ipen.br/~mario Prov. 19.21 http://www.revistalinux.com.br ___ 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] GUF Authentication Problems
Yes - thanks to Brad. Give the proxy role (Authorizer) the permission "Access contents informations" in the folder you want to protect (i.e. the folder above GUF). Cheers Mario Did anyone find a solution to this problem? I have the exact same problem when try to access that object: 2000-07-19T22:09:27 ERROR(200) GUF http://127.0.0.1:8080/acl_users/userAuthenticate raised an exception (('Unauthorized', 0, traceback object at 18bf888)) Thanks - Original Message - From: "Mario Premke" [EMAIL PROTECTED] To: "Dieter Maurer" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, July 17, 2000 9:25 AM Subject: Re: [Zope] GUF Authentication Problems Yes, I made the proxy roles ... Before that Zope said: you are not authorized to access emUserAuthentication/em But meaanwhile I turned to Zope-2.2.0 and I recognized "Login Manager" in the Available Objects. Is that the Login MAnager which was formerly distributed as a Product and hence makes GUF obsolete ?? Thanks MArio Mario Premke writes: Maybe, your password is encrypted? NO, it isn't. The problem is, that I cannot access "real_password", because Zope says: 2000-07-12T15:54:46 ERROR(200) GUF http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate raised an exception (('Unauthorized', 'You are not authorized to access emreal_password/em.', traceback object at 857e2d0)) I know. Because I read the Zope digests, I am always about 1 day behind. I, therefore, may respond to questions already answered by the poster or others. You tried a proxy role as suggested by someone else? Dieter ___ 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] Re: GUF Permission Problem
Thanks a lot Brad it also works for me ... Only now I have a new and extraordinary bizarre problem: The folder I want to protect has GUF, openticket and index.html. When I log in I see index.html *but* while downloading index.html he suddenly says Authorization failed. To go into openticket I have to type login and password again as I have when going back to index.html. there is obviously something wrong with the permissions, but why then starts Zope to show half of index.html ? It stops showing an image in the dtml-var standard_html_header which is defined in the root folder - but it can be shown in the openticket folder! Any hints ??? Mario P.S: Want to look? http://134.96.119.88:8080/ login:test, password:test Hmmm, I'm not sure about that one. I use dtml-in and dtml-var in my GUF userList method. dtml-in SQL_get_users dtml-var user_account -=Brad=- -Original Message- From: Mario Premke [mailto:[EMAIL PROTECTED]] Sent: Monday, July 17, 2000 3:25 PM To: Brad Mabe Cc: [EMAIL PROTECTED] Subject: Re: GUF Permission Problem Hi - You were absolutely right !!! Thanks a lot! There is still a problem remaining in my User-Authentication. In the DTML-method userList I have the SQL-Method : dtml-return "sql_get_user_list()" When I write the usernames in userList everything goes well. Usind the SQL-method results in the Zope-message: 2000-07-17T22:20:44 ERROR(200) GUF An exception was raised by http://134.96.119.88:8080/portal_folder/acl_users/userList (('Unsupported Type', 'userList method returned an unsupported type', traceback object at 8592580)) The Sql-method is tested an OK ... What does the error 'Unsupported Type' mean ??? Any hints will be appreciated ... MArio Hi Mario, In reference to your problem where GUF cannot access "real_password", try turning on "Access contents information" for your role(s) in the security permissions area of the acl_users folder. I just ran into a similar problem where I could access my sql methods, but could not access the results from them. Setting this permission for my user defined role in the acl_users folder fixed it. Let me know how it goes and if you have any questions. -=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] GUF Authentication Problems
Yes, I made the proxy roles ... Before that Zope said: you are not authorized to access emUserAuthentication/em But meaanwhile I turned to Zope-2.2.0 and I recognized "Login Manager" in the Available Objects. Is that the Login MAnager which was formerly distributed as a Product and hence makes GUF obsolete ?? Thanks MArio Mario Premke writes: Maybe, your password is encrypted? NO, it isn't. The problem is, that I cannot access "real_password", because Zope says: 2000-07-12T15:54:46 ERROR(200) GUF http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate raised an exception (('Unauthorized', 'You are not authorized to access emreal_password/em.', traceback object at 857e2d0)) I know. Because I read the Zope digests, I am always about 1 day behind. I, therefore, may respond to questions already answered by the poster or others. You tried a proxy role as suggested by someone else? Dieter ___ 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: GUF Permission Problem
Hi - You were absolutely right !!! Thanks a lot! There is still a problem remaining in my User-Authentication. In the DTML-method userList I have the SQL-Method : dtml-return "sql_get_user_list()" When I write the usernames in userList everything goes well. Usind the SQL-method results in the Zope-message: 2000-07-17T22:20:44 ERROR(200) GUF An exception was raised by http://134.96.119.88:8080/portal_folder/acl_users/userList (('Unsupported Type', 'userList method returned an unsupported type', traceback object at 8592580)) The Sql-method is tested an OK ... What does the error 'Unsupported Type' mean ??? Any hints will be appreciated ... MArio Hi Mario, In reference to your problem where GUF cannot access "real_password", try turning on "Access contents information" for your role(s) in the security permissions area of the acl_users folder. I just ran into a similar problem where I could access my sql methods, but could not access the results from them. Setting this permission for my user defined role in the acl_users folder fixed it. Let me know how it goes and if you have any questions. -=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 )
[Zope] Cannot install PTK
Hi, I installed Zope2.2.0 and downloaded PTK0.7.1, installed it, restarted Zope and then tried to import DemoPortal.zexp, but after pressing import an error message is shown and there is no PTKBase or PTKDemo in the Available Objects ... Any ideas? Mario ___ 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] update Zope
I want to update from Zope 2.1.6 to 2.2.0. Is there a way to copy my contents to the new version or do I have to start from the beginning ? Thanks Mario ___ 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] GUF Authentication Problems
Maybe, your password is encrypted? NO, it isn't. The problem is, that I cannot access "real_password", because Zope says: 2000-07-12T15:54:46 ERROR(200) GUF http://134.96.119.88:8080/portal_folder/acl_users/userAuthenticate raised an exception (('Unauthorized', 'You are not authorized to access emreal_password/em.', traceback object at 857e2d0)) -- 2000-07-12T15:54:46 INFO(0) GUF Failed authentication for napr003 Any idea ?? Mario I cannot authenticate users with the following method: dtml-in "sql_get_password(xlogin=username)" dtml-if "password==_['sequence-item'].real_password" dtml-return "_.int('1')" /dtml-if /dtml-in dtml-return "_.int('0')" Maybe, your password is encrypted? Dieter ___ 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] ZSQL-ERROR
Hi, I have installed Openticket an the appropiate database .. when I now go into Openticket and select the "sqlGenTicketId" - ZSQL-method for testing the database-connection I get: Error, exceptions.KeyError: unhandled SQL used: select max(ticket_id)+1 as new_ticket_id from tickets In the mysql-monitor the same statement works. What does the error-message mean ??? Thanks Mario ___ 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] cant see ZmySQLDA-2.0.0
Hi, I upgraded from ZMySQL-1.1.3-nonbin.tar.gz (worked) to ZMySQLDA-2.0.0a1.tar.gz with MySQLdb-0.2.1.tar.gz. There is no ZMySQLDA.patch any more, right? But after I installed MySQLdb-0.2.1, expanded ZMySQLDA-2.0.0 and restartet Zope all my Database-Connection are broken and in the Available Objects I dont even see a ZMySQL DataBase connection ... What's wrong - did I forget something ??? Thanks Mario ___ 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] HEELLPP - Please !!!
I changed the variable name from login to xlogin ... that worked. login seems to be reserved for some reason ... Mario Daniel Rusch wrote: I think this line: where users.user_login=dtml-sqlvar name=login type=string Should be: where users.user_login=dtml-sqlvar login type=string --- no name= I'm sure that shouldn't make a difference Is this another example of DTML being sucky? ;-) 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] Howto store objects??
Hi, I want to store files, which should be downloadable through Zope. Do I have to import these files as objects and store them within Zope or is it possible to store them on the local filesystem and make a Link via DTML to access these files ??? Thanks Mario ___ 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] Question on OpenTicket
Hi, can anybody tell me what exactly the openticket product does as there is no detailed description in the docs ... Cheers Mario ___ 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] GUF Authentication Problems
Hi, I cannot authenticate users with the following method: dtml-in "sql_get_password(xlogin=username)" dtml-if "password==_['sequence-item'].real_password" dtml-return "_.int('1')" /dtml-if /dtml-in dtml-return "_.int('0')" The ZSQL-Method works as well as the former default method (user='jorge',passwd='secret') did. This above code comes from the Zope How-TO's: http://www.zope.org/Members/hippy/GUF_SQL_crypt_1_2 Any ideas will be appreciated as I have no idea any more what could be wrong... Thanks Mario ___ 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] Zsql_method doesnt work
Hi, I have the ZSQL-Method: arguments : login select user_passwd as real_password from users where users.user_login=dtml-sqlvar name=login type=string when I now press "change and test" and insert a valid login into the Login-field I get: Error, Missing Input: Missing input variable, login What am I doing wrong Other methods I made this way are working fine ... Thanks, Mario ___ 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] howto_GUF
Hi, I have installed Genreic User Interface with all the permission settings described in the README, but I cannot log into the folder which I want to protect. When I log in as "jorge" with passwd "secret" I get: Sorry, a Zope error occurred. Traceback (innermost last): File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 214, in publish_module File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/Publish.py, line 151, in publish File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/ZPublisher/BaseRequest.py, line 430, in traverse File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/Products/GenericUserFolder/GenericUserFolder.py, line 270, in validate (Object: ElementWithAttributes) File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/Products/GenericUserFolder/GenericUserFolder.py, line 308, in _basic_validate (Object: ElementWithAttributes) File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/zLOG.py, line 198, in LOG File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/Zope/ZLogger/ZLogger.py, line 18, in log_write File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/Zope/ZLogger/stupidFileLogger.py, line 40, in __call__ File /home/mapr/Zope-2.1.6-linux2-x86/lib/python/Zope/ZLogger/stupidFileLogger.py, line 62, in stupid_log_write IOError: [Errno 5] Input/output error Any hints will be appreciated ... Mario ___ 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 )