Re: [Zope] zope-web issues was: (Re: [Zope] How do you search Tiny Tables?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article <[EMAIL PROTECTED]>, ethan mindlace fremen <[EMAIL PROTECTED]> writes >Graham Chiu wrote: > >> There is a TinyTables+ product, but da***ed if I can find it thru the >> search mechanism on www.zope.com > >Graham, I'm trying to get the search engine more informative. When I did a >search for "TinyTable", TinyTables + was the fourth item listed. I'm going to >work on adding descriptions to the search view. Oops. I was rushing this morning. I was looking for the words plus but the actual description is TinyTable with update. > >> The new presentation of products also means that there is much more text >> to scroll thru. > >Heh. And Phillip Eby is telling me to put whitespace between the items, which >would make it more scrolling ... Also, it looks odd when some descriptions are graphics, some are large fonts, and so forth. The category listing ( ordered by name rather than ascending date ) would be very useful. - -- Regards, Graham Chiu gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.7.1 iQA/AwUBOUfNWbTRdIWzaLpMEQKGrQCfYbxcVLKmGgSBmdad0WLkCVMWLJAAnjWD fIWwLbqcspdtSL5Q2ZBmnP6i =aO/i -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] getUsers cf. get_valid_userids question
Hi: In an attempt to solve the very same problem (Get a list of all users with certain role) I created an external method. It walks up the acquisition path, at each level checking the existing acl_users (if it exists) for all users with the role. I can't say this it is the best way to do it, but it worked for me. Here's the code: == from App.Common import aq_base def getUserIdsWithRole(self, role): "Get all userids having a role. Local roles on self are considered too." item=self dict={} while 1: if hasattr(aq_base(item), 'acl_users') and hasattr(item.acl_users, 'user_names'): for user in item.acl_users.getUsers(): if user.has_role(role, object=self): dict[user.getUserName()]=1 if not hasattr(item, 'aq_parent'): break item=item.aq_parent keys=dict.keys() keys.sort() return keys == Hope this helps, Shalabh Geoff Gardiner wrote: > I want to show all users who have certain roles / and or permissions (Zope > 2.1.6). I can't see how to do this directly, because I can't see how to get > hold of user objects, which I need to carry out has_permission, etc., > methods. > > I can show the userids of all valid users: > > > > > > > > but I can't get all actual user objects because getUsers is a method valid > only for an identified User folder, and doesn't have acquisition. > > Should I just go in and code a new get_valid_users in the style of > get_valid_userids, or is there another way? Perhaps there would be a > security implication (I can't think what) but that's not a major issue for > me at the moment. > > Thank you, > Geoff ___ 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] LoginManager HOWTO?
Hi Cesar ... I'm not trying to tell about login manager, because I'm still trying. But I can tell you about how to use RDBMS server and playing with data. You need a database adatper(I'm using ZODB, there are several.you can choose as you like) and ZSQL method. Connect database from your control panel and mention the same in ZODB database connection, now use ZSQL method for retrieving the data and for any other SQL inputs. You can use Z Search Interface also for interface. Good Luck, Chandra Sekhar.P "Cesar A. K. Grossmann" wrote: > Hi! > > I'm trying to produce a web site with user authentication, and was > looking for something more customizable than the standard user > authentication mechanism provided by Zope. > > My first step was look in the Zope page, making a search on the term > 'authentication'. I found three products: UserDB, GenericUserFolder, and > LoginManager. > > Reading the page at the UserDB I found the bellow: > > "Update (10/30/99): Zen has posted a product that has more functionality > than UserDB, called GenericUserFolder. " > > Well, looks like the GenericUserFolder is more advanced. So I go to its > page. In it there are another observation: > > "Deprecated > This product is being deprecated in favor of the LoginManager. > LoginManager is what I like to believe that GUF would have been if I > didn't have to write it in a hurry." > > Well, the next step is going to the LoginManager and try to figure out > how to install it and put it in my web site. I get the package (I'm > using the Linux version of Zope, in a Conectiva Linux 4.2 - like Red Hat > 6.x -, installed from the rpm packages found in the Zope site), and, > after some troubles to make ZPatterns fully functional, I get it > installed. So now? No HOWTO explaining how to put it to run. Well, go to > the mailing list, and search old messages. No one helps me... > > I'm looking for a sequence of steps needed to configure and use the > LoginManager. How to add users? How to add local roles? How to integrate > it whith LDAP (not for now, but in the future)? How to use a RDBMS > server, like PostgreSQL, to store the accounts (in case I cannot put > LDAP up an running)? > > I'm not a Python programmer, and I have a limited knowledge of Zope and > DTML, and my english is only better than your portuguese... > > TIA > -- > César A. K. Grossmann > [EMAIL PROTECTED] > http://members.xoom.com/ckant/ > > ___ > 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 ) begin:vcard n:; tel;work:8522192 extn 3308 x-mozilla-html:FALSE url:http://www.siri.co.in org:SIRI Technologies Pvt Ltd version:2.1 email;internet:[EMAIL PROTECTED] title:Sr Software Engineer adr;quoted-printable:;;92, 2nd Main,=0D=0AElectronic City,=0D=0A;Bangalore-561229;Karnataka-India;; fn:Chandra Sekhar.P end:vcard
Re: [Zope] PTK questions
Graham Chiu <[EMAIL PROTECTED]> wrote: > > Using the 0.7.1 snapshot First, there is a list dedicated to PTK issues: [EMAIL PROTECTED] You are much more likely to get a knowledgeable answer there. > > I've patched my Members/index_html to read > > > &dtml- > sequence-item; > > > but there's another one of these that says > > 'created by ' > > which gives the wrong url. Where can I patch that? I had a quick > look thru the methods of the portal instance, and in the portal > product, but couldn't find it. Look for a DTML file called "byline" -- I think it is the culprit. > Also, I've deleted a couple of test members I created but they still > show in the members listing. How can I reindex to remove them? -- === Tres Seaver[EMAIL PROTECTED] Digital Creations"Zope Dealers"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 )
[Zope] zope-web issues was: (Re: [Zope] How do you search Tiny Tables?)
Graham Chiu wrote: > There is a TinyTables+ product, but da***ed if I can find it thru the > search mechanism on www.zope.com Graham, I'm trying to get the search engine more informative. When I did a search for "TinyTable", TinyTables + was the fourth item listed. I'm going to work on adding descriptions to the search view. > The new presentation of products also means that there is much more text > to scroll thru. Heh. And Phillip Eby is telling me to put whitespace between the items, which would make it more scrolling ... There may be a "category" option soon. > How about an option to present a product listing ordered by name, and > case insensitive... We can do name, I'll look into case insensitive. ethan mindlace fremen Zopatista 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] WorldPilot - Regular messages are attachments? (PatchFix)
Bryan Stillwell wrote: > > Ok, I fixed the problem with files trying to be saved as ATT0001.DAT, but > they're still messed up in Mozilla (which your using, right ethan?) where > they save as getpart (I think this is a Mozilla bug, and not a WorldPilot > bug). I also fixed the bug where if it's an image (jpeg, gif, etc.) it > gets displayed instead of downloaded. I've attached the patch which fixes > both of these problems. Ah, mozilla. I can deal with getpart. > I also have new RPMs of WorldPilot that has all of my patches applied so > far here: http://www.verinet.com/~arcane/worldpilot/ Wow, thanks for the patches & then packaging them, brian! ~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] virtual hosts with ZServer
Alexander N Gould wrote: > > On Tue, 13 Jun 2000, ethan mindlace fremen wrote: > > > > > > > > > Set logical root: > > Add physical root: > > > > > > http://penguinpowered.com/NoHostHere')"> > > > > > > This almost works, but then even the superuser can't access these folders > (unauthorized)! > Help! Hmm. superuser can't manage the folders? They should be able to. I assume you mean by "almost works" it doesn't let you manage? First, you can always disable siteaccess by using __no_before_traverse__ as the first item in the path. Second, once you set this up, you cannot manage the folder except from it's url ( host1.penguinpowered.com/manage should work) These are kind of stabs in the dark. If you could show me some urls that don't work, then maybe I can do some more. Thanks, ~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] ZCatalog in python (getting closer)
I am getting closer to having a working catalog. Thanks everyone, all your hints have been really helpful. The catalog is automatically created when I add a new instance of my class to a folder My sub-classes now inherit: (CatalogAware, Persistent, Implicit, SimpleItem) It was the SimpleItem combined with the code used (in squishdot) to add an item that was preventing the catalog from finding it. When I changed it to: ob=PromoterPost(id,title) ob.id = id ob.title = title self._setObject(id,ob) It can now be found by the catalog when I manually update it in the management screen. It also now exists in the zope management screens, which is forcing me into better object management. =P Still, the catalog does not automatically update when a new object is added. can someone explain where the index_object() call should be? In my case it should be in the PromoterPost.__init__ method correct? It does not belong in my base class' call that creates the object right? Thanks again! -ed- ___ 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] Job Hunt
Hi, I would like to continue to program in python and zope ( don't make me go back to C/C++, please ). Does anyone have some short term contract work for me. I will be happy to send my resume in response to this email. Regards, Luis. ___ 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] Extra Path Info
Title: Extra Path Info I am using tomcat 3.1 with apache 1.3.12. Is it possible to send additional information on the URL (as in servlets, between servlet name and query) in a jsp request. For example .. snoop.jsp/ABC?query=..
Re: [Zope] LoginManager HOWTO?
Stuart 'Zen' Bishop wrote: > > But do you want advanced? If you just want to store your authentication > information, UserDB is just fine - moving to GenericUserFolder in > this case may just cause you troubles, as more advanced also means > more complicated. I need to provide a logon screen more informative than the default dialog box. Can I do it with UserDB (I have tried, and have not found any information about it). I have tried it and have to figure out by myself the table and column names and types. I have created one Gadfly connection (only for testing purposed), and created the tabel users, as bellow: create table users ( usernamevarchar, passwordvarchar, domains varchar, roles varchar ) I suppose it is correct, but I'm not sure (it worked). > GenericUserFolder is what you have to move to if you are > in a more peculiar environment or want to use Radius authentication. I have tried the GUF Walktrough and it doesn't works for me (the very last part, trying to logon as 'fred', doesn't work). I'm using SiteRoot, Apache proxying a zserver, and a Squid cache. All in the same machine... TIA -- César A. K. Grossmann [EMAIL PROTECTED] http://members.xoom.com/ckant/ ___ 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 search Tiny Tables?
Graham Chiu wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > In article <[EMAIL PROTECTED]>, > jesse <[EMAIL PROTECTED]> writes > >I created a tiny table and then fed the information into a DTML Method by > >inserting the tiny table subject headers into a table I creating inthe method > >html. Is is possible to search the tiny table since the Method is just calling > >the information and it is not actually in the document? Yes? No? If yes, how > >would I go about doing this or could you direct me to the resource that I would > >need to do this. If no, is there another table factory that IS searchable? > > > > There is a TinyTables+ product, but da***ed if I can find it thru the > search mechanism on www.zope.com > > The new presentation of products also means that there is much more text > to scroll thru. > > How about an option to present a product listing ordered by name, and > case insensitive... If it's not already there, put your suggestion in the Zope-web tracker. http://www.zope.org/Members/hathawsh/TinyTablesPlus Note that you can search the rows using either TinyTables or TinyTablesPlus by calling the table itself. For example, on a table that has the fields "first_name", "last_name", and "gender", you can call: mytable(first_name="John", last_name="Doe") Of course, this is extremely limited when compared with ZCatalog, etc. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Version Paradox
Help !! I've inadvertently created a version paradox. I created a version and joined it, then I realized that I did a stupid naming mistake I tried to UNDO the creation of the version. It allowed me to undo the creation of the version, however I was in the version at the time, and now I am stuck in the version and cannot get out. I cannot create a version of the same name and delete it either. I am stuck. HELP !! How can I exit a version that doesn't exist? ___ 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] Parse Text File (newbie q.)
joel grimes writes: > I'm trying to display the contents of a text file in a DTML document. It's > easy enough to display but all the line breaks are removed. Is there an > easy way to bring in formatted text? You may wrap your text inside a "..." HTML tag. 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 )
Re: [Zope] sequence-item as a method argument
Fabio Akita schrieb: > [ sequence-item in a python expression ] > > Error Type: NameError > Error Value: sequence > > Anyone knows what is going on? I think this must be a simple thing. Everything in quotes is taken as a python expression, therefore Zope wants to evaluate "sequence - item"; this won't work because sequence and item aren't defined. Try: _ is the current namespace, where Zope will find the value of sequence-item. hth Thomas ___ 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] getSize()? was [Zope] Zope 2.2 beta 1 released
> > After noticing that ZWiki throws an Attribute Error / getSize in > > RecentChanges, I tried a simple > > > > > > > > This works in 2.1.6, but throws the aforementioned exception in > > 2.2b1, too. Is this a bug or a feature? > > It's been changed to "get_size()". I don't know whether that would be > a bug or a feature. ;-) getSize is deprecated, but since folks are still using it I have added the alias back in for final. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Worldpilot and imap problem
You could download pynetd and setup port forwarding from some port (1430 would work) to port 143. Then setup WorldPilot to use port 1430 when checking for new mail. Everything will behave the same, but now you can watch all the imap commands being sent by WorldPilot. You can get pynetd from here: ftp://ftp.tummy.com/pub/tummy/pynetd/pynetd-1.18.tar.gz You'll have to modify the pynetd program to turn on local echo by doing this: Around line 292 you have: try: data = src.recv(10240) dest.send(data) Now change it to say: try: data = src.recv(10240) print 'got:"%s"' % data dest.send(data) Then add this line to pynetd.conf-dist: :1430 127.0.0.1:143 After you do both of those steps you can start up pynetd like this: # ./pynetd -f pynetd.conf-dist You can then do a test by telneting to your server on port 1430: # telnet imap.myserver.com 1430 Trying 192.168.1.28... Escape character is '^]'. * OK Courier-IMAP ready. Copyright 1998-2000 Double Precision, Inc. See COPYING for distribution information. 1 login bryan MySecret1 1 OK LOGIN Ok. 1 logout * BYE Courier-IMAP server shutting down 1 OK LOGOUT completed Connection closed by foreign host. Now the xterm running pynetd will look like this: # ./pynetd -f pynetd.conf-dist got:"* OK Courier-IMAP ready. Copyright 1998-2000 Double Precision, Inc. See COPYING for distribution information. " got:"1 login bryan MySecret1 " got:"1 OK LOGIN Ok. " got:"1 logout " got:"* BYE Courier-IMAP server shutting down 1 OK LOGOUT completed " got:"" You can now try it in WorldPilot and Netscape and see where it's messing up/hanging. Hope this helps... If you can't figure out why it's hanging at a certain IMAP command, feel free to send me the pynetd output and I might be able to tell you. Bryan Stillwell -- http://www.tummy.com/ Consulting and Software for Linux and Unix KRUD - Kevin's Red Hat Uber Distribution - the Freshest Red Hat every month On Wed, 14 Jun 2000, Deryk Barker wrote: > Looking through the archives I couldn't find anything which semed > quite relevant, so: > > I'm currently running Linux mandrake 7.02 and have enabled the IMAP > (4.7-7) server. I can read/write mail via netscape using imap, so I > presume the setup is OK. (Although i can't quite get pine to talk to > it, maybe something isn't quite right). > > Unfortunately, whenever I log onto worldpilot (and yes I have edited > the DOMAIN.py file) the hourglass appears, presumably while attempting > to fetch my mail and top shows me a python process running as zope, > chewing up anything up to 80-90% of the CPU. All that seems to work is > restarting zope. > > Trimming the contents of my mailbox down to just 6 messages didn't > seem to make any difference. > > Anyone shed any light? > > Oh yes, I have applied the imap.py.diff patch to the python library. ___ 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] sequence-item as a method argument
Hello again I´m still testing the usability and reliability of Zope. To accomplish this goal I am developing a very very simple shopping cart. But I got troubled by something aparently simple. This is the code: SESSION['cartItems'] is an array created in another DTML document using the well known SQLSession product. Here I am retrieving the itens of this array and passing it to a ZSQL method to get the selected items. The sqlSearchProduct, alone, works well. If I substitute the inner for a simple the block works fine, otherwise it gives me the following error: Zope has encountered an error while publishing this resource. Error Type: NameError Error Value: sequence change the line - to + in the line as it is now, sequence-item is interpreted as a Python expression, meaning sequence minus item. The second incantation gets the variables 'sequence-item' from the current namespace _ hth 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] How do you search Tiny Tables?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article <[EMAIL PROTECTED]>, jesse <[EMAIL PROTECTED]> writes >I created a tiny table and then fed the information into a DTML Method by >inserting the tiny table subject headers into a table I creating inthe method >html. Is is possible to search the tiny table since the Method is just calling >the information and it is not actually in the document? Yes? No? If yes, how >would I go about doing this or could you direct me to the resource that I would >need to do this. If no, is there another table factory that IS searchable? > There is a TinyTables+ product, but da***ed if I can find it thru the search mechanism on www.zope.com The new presentation of products also means that there is much more text to scroll thru. How about an option to present a product listing ordered by name, and case insensitive... - -- Regards, Graham Chiu gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.7.1 iQA/AwUBOUc9brTRdIWzaLpMEQI+fwCdH7XS9EYvx7MOsZEmVwcuYw4KanAAmwdb EwLrN9qqhK5fY1BAu8+M4YC0 =W1Dc -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] problem with PTK and LoginManager
Hi, I can't seem to get PTK to install. When I put both PTKBase and PTKDemo in the Products directory, PTKBase is OK, but PTKDemo is 'broken'. The traceback is: Traceback (innermost last): File "E:\I-10\lib\python\OFS\Application.py", line 387, in import_products product=__import__(pname, global_dict, global_dict, silly) File "E:\I-10\lib\python\Products\PTKDemo\__init__.py", line 3, in ? import Portal, ZODBMember, SQLMember, PersistentUserSource File "E:\I-10\lib\python\Products\PTKDemo\Portal.py", line 5, in ? from Products import LoginManager ImportError: No module named LoginManager LoginManager is installed in Products and is listed as OK in the Control Panel/Products display. I just did a complete re-install of Zope 2.1.4 (no other products at this time); I grabbed PTK from the CVS tree, the version of LoginManager I'm using is what came with the PTK. I'm running under WindowsNT with zope installed as a service. Haven't tried things on the Linux side of my machine as I need to get this stuff working under NT as a deliverable. Any ideas why Portal.py can't find LoginManager? I've tried editing the line in Portal.py from from Products import LoginManagerto from Products.LoginManager import LoginManager but that didn't seem to work Any help much appreciated. Tim Lynch ITS, Mann Library Cornell University Ithaca, NY [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] Worldpilot and imap problem
Looking through the archives I couldn't find anything which semed quite relevant, so: I'm currently running Linux mandrake 7.02 and have enabled the IMAP (4.7-7) server. I can read/write mail via netscape using imap, so I presume the setup is OK. (Although i can't quite get pine to talk to it, maybe something isn't quite right). Unfortunately, whenever I log onto worldpilot (and yes I have edited the DOMAIN.py file) the hourglass appears, presumably while attempting to fetch my mail and top shows me a python process running as zope, chewing up anything up to 80-90% of the CPU. All that seems to work is restarting zope. Trimming the contents of my mailbox down to just 6 messages didn't seem to make any difference. Anyone shed any light? Oh yes, I have applied the imap.py.diff patch to the python library. -- |Deryk Barker, Computer Science Dept. | Music does not have to be understood| |Camosun College, Victoria, BC, Canada| It has to be listened to. | |email: [EMAIL PROTECTED] | | |phone: +1 250 370 4452 | Hermann Scherchen. | ___ 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] pcgi.pid question?
These couple days, I first set up a test mechine to test Zope with IIS through pcgi. On this test mechine, things work as I expect. However, when I move to the main server and go through exactly the same setup step. Things become strange. I got an error said counld not lock the database file. I check as much things as I can think of. and I found that.. when I start up the Zope on the main server. under var/ the z2.pid and pcgi.pid is the same. It make sense to me since they need to access the same database file. However right after I try on brower with http://localhost/scripts/zope.pcgi, beside the above error message, I found that the pcgi.pid got changed. Checking my test mechine, however, no matter what link I click and try, pcgi.pid still remain the same as z2.pid. What's wrong with these? pcgi.pid suppose to be the same as z2.pid isn't it? So what makes the pcgi.pid got changed? Kwan ___ 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] Help with Zope/Python Evangelism
http://www.zope.org/Members/BwanaZulia/zope.html My collection of articles and sites also study the case studies on Zope.org as well as Zope Newbies. J > From: Joseph Santaniello <[EMAIL PROTECTED]> > Date: Wed, 14 Jun 2000 12:17:13 -0700 (PDT) > To: [EMAIL PROTECTED] > Subject: [Zope] Help with Zope/Python Evangelism > > Hello Everyone, > > I've been using Zope and Python in my own projects for over a year now, > and I am convinced well beyond a shodow of a doubt that "Zope Is The > Answer" and have used it for several of our internal applications, and use > Python almost exclusivly for our scripting needs. > > Here's the problem: > > Our main outside vendor (whom all managment besides me are very happy > with) has a new agenda for forward development: "Industry Standards" such > as Delphi (for backend!) and other things I deem silly. So I need as much > information as anyone is willing to share on Zope/Python implementations > in as large/corporate a setting as possible. > > Thanks, > > Joe > > PS: I've seen all the listings on the Python and Zope websites, but I need > more! > > -- > > Joseph Santaniello > Chief Technology Officer > > Westlake Financial Services > 4751 Wilshire Blvd. Suite 100 > Los Angeles, CA 90010 > > (323) 692 4129 > > http://www.westlakefinancial.com > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope 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] sequence-item as a method argument
Hello again I´m still testing the usability and reliability of Zope. To accomplish this goal I am developing a very very simple shopping cart. But I got troubled by something aparently simple. This is the code: SESSION['cartItems'] is an array created in another DTML document using the well known SQLSession product. Here I am retrieving the itens of this array and passing it to a ZSQL method to get the selected items. The sqlSearchProduct, alone, works well. If I substitute the inner for a simple the block works fine, otherwise it gives me the following error: Zope has encountered an error while publishing this resource. Error Type: NameError Error Value: sequence Anyone knows what is going on? I think this must be a simple thing. Thanks []´s Fabio Akita - Developer F/Nazca S&S / Adversiting [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] Help with Zope/Python Evangelism
Hello Everyone, I've been using Zope and Python in my own projects for over a year now, and I am convinced well beyond a shodow of a doubt that "Zope Is The Answer" and have used it for several of our internal applications, and use Python almost exclusivly for our scripting needs. Here's the problem: Our main outside vendor (whom all managment besides me are very happy with) has a new agenda for forward development: "Industry Standards" such as Delphi (for backend!) and other things I deem silly. So I need as much information as anyone is willing to share on Zope/Python implementations in as large/corporate a setting as possible. Thanks, Joe PS: I've seen all the listings on the Python and Zope websites, but I need more! -- Joseph Santaniello Chief Technology Officer Westlake Financial Services 4751 Wilshire Blvd. Suite 100 Los Angeles, CA 90010 (323) 692 4129 http://www.westlakefinancial.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How do you search Tiny Tables?
I created a tiny table and then fed the information into a DTML Method by inserting the tiny table subject headers into a table I creating inthe method html. Is is possible to search the tiny table since the Method is just calling the information and it is not actually in the document? Yes? No? If yes, how would I go about doing this or could you direct me to the resource that I would need to do this. If no, is there another table factory that IS searchable? -- Working at Multimedia Collective to make quality web pages for young Buisnesses. Jesse. -- ___ 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] Post method redirection / Core changes
Hello all, We recently had a "sales engineer" from Allaire come and talk to us about Spectra and were quite surprised at how similar it is to Zope. To be honest the only thing I left with any "ooh, thats neat" feeling about was their general style of building objects with the admin view optionally identical to the user view but with icons inserted below images, content etc to allow immediate altering of the content. The same stuff is simple to acheive in Zope, almost. Make a ZClass, add index_html which adds a header, footer and puts render_html in the middle. Then use render_html to embed it in other docs and index_html to view it standalone. Add a check to see if the user is logged in and has View management screens rights, if so give them little icons "in place" to edit the content and images. This works fine.. Now, this part is simple enough but it leads to a problem. The default methods for updating ZClass properties and images all redirect back to manage_main by the look of things. I propose that two things be added to this to allow simple management of redirection from the update/edit/change methods. 1) All instances of manage_main be changed to manage_workspace so the default view if given rather then contents_html. 2) That an optional redirect url can be supplied to everywhere this happens to override the redirect. Then once a user logs into the site, leaves the admin view after perhaps joining a version and travels through the site, it has extra icons immediately allowing them to edit the contents of certain things. The redirection would take them back to the extended user side view after pressing submit. I've looked at Image.py in OFS and this is fairly simple but I thought I'd suggest it so we could perhaps form some standard on the redirect url variable that would be passed about. Any thoughts? Phill ps. I've not looked at the DestinationURL stuff properly to see if it does anything like I'm asking. ___ 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 login
I've been bumping into the following problem a few times : 1. I install Zope 2.2.0b1 2. I run it and go to localhost:8080 3. I click on manage and go to the manage screen 4. I add a user with a password. 5. I exit Netscape 6. I start netscape again and go to localhost:8080 7. Click on manage and enter the new user login and password 8. Access denied. 9. I login as superuser 10. I go to the user profile to check my new user : I find that theconfirm_password field is one character less than the password field. 11. I cry... Does someone had the same problem ? ___ 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] Z ODBC and W2K
Hello all, I'm trying to install the Z ODBC DA product on Windows 2000 Server. I placed the .tar into the top level directory of my Zope installation, but when I restarted the service, the product did not install. I also tried starting Zope with the .bat file, but with the same results. So I copied the installed product from another (working NT) Zope installation onto the W2K server, and while it does make the product available, the link to the icon is broken, and the db connection doesn't work either. Does anyone know how I can get this to work? TIA, Jake LeBeau <[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] Costs of implementation
>Zope has a sigmoidal[0] (is that the word?) learning curve. I'd agree with this, especially if you are working on your own. Based on our experience of creating a *team* of Zope developers, it is a lot easier if you can learn in a group. We built the team up gradually with new members coming in every few weeks, and because we all site together we were able to learn from each other's experience and bounce stuff around. We also made sure that if one person got into a specific area (like ZSQL or ZClasses) they shared their knowledge. The mailing lists and the archives also helped a lot, in a lot of cases filling in the gaps in the documentation. From that experience I suspect its easier learning Zope as a group is easier then working on your own. From a business perspective, although we had some ability to pick our projects, we were productive pretty rapidly and its a testament to the Power of Zope (and possibly that we had smart guys :-) that our customers rarely knew we were one page ahead in the manual This was even when compared against working in other tools that we have experience with. So, learn Zope with your colleagues and friends, its easier and sociable :-) Simon -- - My opinions are my own, NIP's opinions are theirs -- Simon J. Coles Email: [EMAIL PROTECTED] New Information Paradigms Work Phone: +44 1344 753703 http://www.nipltd.com/ Work Fax: +44 1344 753742 === Life is too precious to take seriously === ___ 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] Referring to a total-xxx variable
[EMAIL PROTECTED] wrote: > > Following on from my last posting I seem to have made a lot of progress - > although still not sure if what I have done is the right thing or not. However, > please somebody put me out of my misery. In the following code snippet the > dtml-var part works fine. How can I, therefore, add count-id to v_allItems? It > seems to think I am trying to do subtraction. I've spent a couple of hours > trying to find the mystical incantation. > > > > > > > > -- Nick Garcia | [EMAIL PROTECTED] CodeIt Computing | http://codeit.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope and PTK newbie questions- showing the database items
I am trying to figure out how to use Zope and particularly the PTK to create an Intranet. I am new to zope and so am unsure of where the documentation is located to do the following (wish the PTK doc had complete "manager" section): Q: How does one show the various links, files, etc as a separate page of links, files, or whatever? In other words, what is the syntax? Q: How do you add variables such as catagories to each of the PTK items to post so that when you do show them they are listed by category? Again, syntax. Any general info about where to get info on how to display data from the zope database would be great. Thanks in advance. ___ 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] WorldPilot - Regular messages are attachments? (PatchFix)
On Fri, 9 Jun 2000, ethan mindlace fremen wrote: > Paul Gresham wrote: > > > > Excellent, thanks Bryan. I have another question? Do you have problems with > > browsers not obtaining the correct filenames of attachments when they are > > downloaded, i.e. the file becomes ATT0002.DAT or similar? I have this > > problem and also if I choose to download a file and then cancel the dialog, > > everything seems to get stuck, and I have to close the browser and start > > again. > > I have the same problem. All attachments, when downloaded, become "getpart". A > simple rename works, but I find it highly obnoxious. Ok, I fixed the problem with files trying to be saved as ATT0001.DAT, but they're still messed up in Mozilla (which your using, right ethan?) where they save as getpart (I think this is a Mozilla bug, and not a WorldPilot bug). I also fixed the bug where if it's an image (jpeg, gif, etc.) it gets displayed instead of downloaded. I've attached the patch which fixes both of these problems. I also have new RPMs of WorldPilot that has all of my patches applied so far here: http://www.verinet.com/~arcane/worldpilot/ Bryan -- http://www.tummy.com/ Consulting and Software for Linux and Unix KRUD - Kevin's Red Hat Uber Distribution - the Freshest Red Hat every month --- WorldPilot.vanilla/Resource.py Fri Mar 10 12:36:00 2000 +++ WorldPilot.mine/Resource.py Tue Jun 13 11:40:51 2000 @@ -4587,7 +4587,7 @@ - prog?DraftSource=Draft&prog?ViewMsg=1&Message=&Folder=&Index=&Order=&ListSize=&query_start=" DisTarget="Message">-- + prog?DraftSource=Draft&prog?ViewMsg=1&Message=&Folder=&Index=&Order=&ListSize=&query_start=" DisTarget="Message">-- @@ -4786,7 +4786,7 @@ - &Folder=&MimeEncoding=&AttType=&AttSubType=&Part=&FileName=/"> + &Folder=&MimeEncoding=&AttType=&AttSubType=&Part=&FileName=/"> # Download Attachment Attachment downloaden
[Zope] Containment or context
Hi, I've been trying to piece together a site which exploites acquisition, but I have come up against a problem. This basically boils down to the chosen method for acquisiton. I can have a site with the following structure: / +- foo | +- stuff | +- etc... +- bar | +- more stuff | +- etc... +- baz +- and so on where foo, bar and baz are folder objects, which contain various methods, etc. Now, I can construct urls such as: /foo /bar /baz /foo/baz /bar/baz ... and in each of these the child will operate within the context of the parent. At least that is how I would like it to work. But, having read the AcquisitionAlgebra, http://www.zope.org/Members/jim/Info/IPC8/AcquisitionAlgebra/siframes.htm and a post to the list a while back, http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/4C6995D8A903E711 I have learnt that acquisition works on the principle of containment before context. Unfortunately this is exactly what I don't want. I want context before containment, because that is the whole reason that I am construction urls in this way. The only reason that foo, bar and baz are all contained in / is so that they will all be available within the context of each other (the wonders of acquisition), but once they have been acquired, the context is all-important. Imaging that baz produces a set of data. Imagine also that within the context of foo or bar only certain subsets of baz's data are relevant. So I could go to /baz and see all the data, or /foo/baz and see only the data relevant to foo. But because of "containment before context", if I have a property as an atribute of foo to let baz know which data is important, baz will ignore it, because there is a property as an attribute of / to define the global case, which baz will use. Why is this? In http://www.zope.org/Members/Hoekstra/ChangingContexts1 it states that PARENTS is defined as the acquisition parents of an object. But this is not true. The acquisition parents of baz are / alone, but if I evaluate PARENTS from the url /foo/bar/baz/foo I will get parents of foo, baz, bar, foo, /. This is inconsistent with the idea of containment before context, and yet this is, in my opinion, the more useful case. Asuming that acquisition works the way that it does and that it is right that it should work that way (although I could be missing some reason as to why that is best), is there some other way by which I can acquire properties by, effectively, the context route? Either way, any feedback would be most welcome. Cheers, Stephen -- Stephen Harrison[EMAIL PROTECTED] New Information Paradigms www.nipltd.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] getSize()? was [Zope] Zope 2.2 beta 1 released
Wolfgang Strobl wrote: > > On 12 Jun 2000, 17:36 Brian Lloyd wrote: > > > Zope 2.2.0 beta 1 has been released - you can download it from > ... > > After noticing that ZWiki throws an Attribute Error / getSize in > RecentChanges, I tried a simple > > > > This works in 2.1.6, but throws the aforementioned exception in > 2.2b1, too. Is this a bug or a feature? It's been changed to "get_size()". I don't know whether that would be a bug or a feature. ;-) Shane ___ 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] getUsers cf. get_valid_userids question
I want to show all users who have certain roles / and or permissions (Zope 2.1.6). I can't see how to do this directly, because I can't see how to get hold of user objects, which I need to carry out has_permission, etc., methods. I can show the userids of all valid users: but I can't get all actual user objects because getUsers is a method valid only for an identified User folder, and doesn't have acquisition. Should I just go in and code a new get_valid_users in the style of get_valid_userids, or is there another way? Perhaps there would be a security implication (I can't think what) but that's not a major issue for me at the moment. Thank you, Geoff ___ 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] Parse Text File (newbie q.)
> > I'm trying to display the contents of a text file in a DTML document. It's > > easy enough to display but all the line breaks are removed. Is there an > > easy way to bring in formatted text? > > > Maybe you want something like: > > ')"> Even better, -Petru ___ 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] virtual hosts with ZServer
On Tue, 13 Jun 2000, ethan mindlace fremen wrote: > > > > Set logical root: > Add physical root: > > > http://penguinpowered.com/NoHostHere')"> > > This almost works, but then even the superuser can't access these folders (unauthorized)! Help! --- Building highways to reduce traffic is like loosening your belt to reduce obesity ___ 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] New Zope Site
Listers, Just wanted to post a quick note about our companies new web site: http://www.kaivo.com. It is 'powered by Zope'. Zope has proven to be very powerful (but you all know that already). We decided to put all the content for our site in Zope DTML Methods, and the code that backs it up is all python. We are using the following products: PTK, XMLDocument, RSSChannel, ZCatalog and the ZMySQLDA. Thanks to any and everyone who replied to any of our posts while we were working on this. The mailing list is a great resource. -- Chris Crownhart Kaivo, Inc. http://www.kaivo.com Open. For Business.(tm) ___ 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] Parse Text File (newbie q.)
- Original Message - From: joel grimes <[EMAIL PROTECTED]> Sent: Wednesday, June 14, 2000 5:39 PM Subject: [Zope] Parse Text File (newbie q.) > I'm trying to display the contents of a text file in a DTML document. It's > easy enough to display but all the line breaks are removed. Is there an > easy way to bring in formatted text? Maybe you want something like: ')"> PM ___ 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: SuperCannotOwn
Pls disregard the previous mail part about the new user. I had silly problems with the passwords which didn't match whatever I would do. I'm trying to figure out where it's coming from and if it's reproduceable I'll report a bug. Thanks hellekin ___ 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] Beta tutorial does not work
Greeting, When I try to add the Zope Tutorial, I get Python.exe Stack overflow(0xcfd) Address 0x1e1281bf. ___ 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] SuperCannotOwn
... La suite... Hello people ! I just installed a fresh v2.2.0b1 and bumped into some annoying problem. As the security model seems to have been changed, the superuser cannot own anything. That means we now need to install a new user with management access to get started. The question is : How to setup an "admin account" that will have the right to add new stuff ? * BTW, when i read the tutorial, there is the following alert prepended in red letters, while the content keeps displaying normally -- it seems so. Thanks for your help ! hellekin ___ 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 Beta traceback does not seem to work correctly
Greetings, How does the traceback differ in the the new Beta Zope? I seem to get confusing results with the traceback. Can some one explaing the correct way to perform a traceback. ___ 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] Problem with manage_addDTMLDocument(id,[title,file,REQUEST,submit])...
Hi all, when I specify the file I want, Zope just copy the name of the specified file in the body of the DTML Document. It doesn't get the contents of the file... However, first I wanted to clone an existent DTML Document - situated in my Product - but Zope always clone it into the current Folder. I would like to clone it a subfolder of the current folder but it doesn't work. When I try that, with a dtml-with tag, I obtain the following error : Error Type: AttributeError Error Value: 'None' object has no attribute 'importFile' Here is the part of the code of my method "MenuClass_add" : MenuClass is my new ZClass herited from Folder bm is my DTML Document Thanks Frederic ___ 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] Parse Text File (newbie q.)
I'm trying to display the contents of a text file in a DTML document. It's easy enough to display but all the line breaks are removed. Is there an easy way to bring in formatted text? Thanks joel Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Could not lock database file
kwan wrote: > > Hi, > > I am setting up pcgi with IIS. > I got the following error: > > Zope Error > zope has encountered an error while publishing this resuource > exceptions.ImportError > > (,'Could not locak the database file. There must be \012another > proccess that has opened the file.\012 > ') > > I had this message before also, when I test with a test mechine. But > that was my mistake that I forget to put the -p "D:\zope\zope.pcgi" when > start the zope server. > After I put this in, it work perfectly. > > However, this time, I did make this argument when start up the server. > I am still can make it work. > > Can anyone give me idea? Are you sure you didn't start zope as a service yet? 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 )
[Zope] Could not lock database file
Hi, I am setting up pcgi with IIS. I got the following error: Zope Error zope has encountered an error while publishing this resuource exceptions.ImportError (,'Could not locak the database file. There must be \012another proccess that has opened the file.\012 ') I had this message before also, when I test with a test mechine. But that was my mistake that I forget to put the -p "D:\zope\zope.pcgi" when start the zope server. After I put this in, it work perfectly. However, this time, I did make this argument when start up the server. I am still can make it work. Can anyone give me idea? Kwan ___ 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 newbie problem...
- Original Message - From: "Eric L. Walstad" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 13, 2000 12:30 AM Subject: [Zope] ZClass newbie problem... > I'm stuck. I would like to build a "shiny new ZClass" that has the following > structure: > > WebSimProduct > WebSim Class > 'Properties' Property Sheet > string RunID > Calc Class Object > 'Properties' Property Sheet > PathToInputFile > PathToWxFolder > Results Class Object > 'Properties' Property Sheet > float gashtg > float elchtg > float elcclg > float euihtg > float euiclg > > I haven't seen anything in the Zope documentation on using Zclass instances > as members of a super class. In other programming languages I would > instantiate default objects when the WebSim class is initialized. That way, > to use a WebSim object, all I would need to do is instantiate one, then fill > the properties of the automatiacally-created Calc object and Results object. > However, I'm not sure how to build these default objects in Zope. > > My next question is: do I have to build a bunch of products (one for the > Calc class and one for the Results class, for example)? I can imagine this > would result in a huge number of products under the control panel if this is > the case. I would like to have just a WebSim product and have all the other > classes defined within this product. Does Zope work this way? If not, how > is this class structure (or one similar) achieved? You can certainly have multiple ZClasses within a single Product. Some people recommend not nesting ZClasses, because when you do so you can only use the nested classes within the top level class... ZClasses can't be cut-and-pasted, so you're stuck with that hierarchy. If you're sure you only want to add those classes in that particular way, you can pretty easily do what you want. In the WebSim_add method, you would do something like: this line is already there ...set your properties here... ...set your Results properties here... HTH, 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 )
Re: [Zope] Does Zope support user authentication, sessions, etc?
- Original Message - From: "Boon Hoo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 14, 2000 6:05 AM Subject: [Zope] Does Zope support user authentication, sessions, etc? > My upcoming project is to build an investment-related website that > allows members to customise their profiles, portfolios and etc. Users > can also gain access to "tools" that they have subscribed for. > > From the specifications given, my first thought is to implement it in > object-oriented way of programming. Zope (being open-source and OOP > from ground-up) naturally came to mind. Therefore, i would like to know > whether Zope is suitable (and stable enough) to develop this kind of > websites, bearing in mind other criteria such as scalability, performance, > and the "learning curve" involved. Zope can do these things. How exactly you implement it depends on your usage patterns. There are two easy to use session products (FSSession and SQLSession) that store the session data in (you guessed it) the File System or an SQL database. For handling users, there are a few choices. The one that is most actively being developed right now is LoginManager. It's quite flexible. You can check out the in-progress Portal Toolkit to see what some of the drop-in capability could be like. 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 )
Re: [Zope] Accessing Superclass methods?
Nils Jeppe wrote: > > On Wed, 14 Jun 2000, Rik Hoekstra wrote: > > > > How do I call a ZClass'es superclasses' methods in dtml? :-) > > They're automatically available > > not if I overwrite them... > > In Java I think you can do somethink like call super.method(). > You can't from dtml as far as I know. You might consider not overriding methods if you need them. It would seem like blurring your design anyway to me, especially if you go on to using acquisition. But I don't know what you want to accomplish of course... 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] ZODB Storage Question
- Original Message - From: "Pete Kazmier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 13, 2000 4:31 PM Subject: [Zope] ZODB Storage Question > I've been reading through the docs, howtos, etc but haven't found an > answer to this question. I was hoping someone could help me out. Is > it possible to use the default ZODB store for everything EXCEPT a > custom built ZClass? or, even better is it possible to tell Zope not > to store more than one copy of my custom ZClass? Zope 2.2 includes a feature that allows you to mount other ZODB storages at specific points in your hierarchy (much like you mount things in Unix). You can store those objects in a mounted BerkeleyStorage, which doesn't do versions. It's important to note that all of that stuff is fairly new, but it is available to try it out. 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 )
Re: [Zope] Accessing Superclass methods?
On Wed, 14 Jun 2000, Rik Hoekstra wrote: > > How do I call a ZClass'es superclasses' methods in dtml? :-) > They're automatically available not if I overwrite them... In Java I think you can do somethink like call super.method(). Best wishes, Nils -- "Like most of life's problems, this one can be solved with bending." --- Bender ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] upgrade from zope-2.1.6 to zope-2.2.0b1
> Zope starts ok, but i can't get view or manage the site. > here's the traceback > --- > > Traceback (innermost last): > File > /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/Publish.py, > line 222, in publish_module > > File > /home/kdie/Zope-2.2.0b1-src/lib/python/ZPublisher/BaseRequest. > py, line 501, in old_validation > (Object: broken) > AttributeError: (see above) > > - > > i use UserDb for authentication, got a few ZClass of my own, > SiteSummary, and a > few other zope products. > > can anyone shed some light ? It _looks_ like you have a "broken" object in your top-level Folder. "Broken" objects are created when Zope has a problem unpickling an object (usually because the add-on product that defines the class of the object is missing). Are you sure that you got all of your add-on products installed (and any other dependencies like external methods) copied to the beta install? Alternatively, it is possible that one of your add-on products is incompatible somehow with the beta (if it can't import correctly, for example, then objects created from the product would be broken). One way you could probably test this theory: o shut down your beta installation o cd to your lib/python directory and crank up a Python prompt o do 'import Zope'. Look for any tracebacks (though the product import process will likely consume exceptions when trying to import products). o for each 3rd party product in lib/python/Products, try to do: 'import Products.xxx' where xxx is the product package name. If a product cant be imported, you should get a traceback for it (please post it if you get one). Hope this helps! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Accessing Superclass methods?
Nils Jeppe wrote: > > Hello, > > I have yet another question (sorry to spam y'all).. > > How do I call a ZClass'es superclasses' methods in dtml? :-) > They're automatically available 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 )
[Zope] Accessing Superclass methods?
Hello, I have yet another question (sorry to spam y'all).. How do I call a ZClass'es superclasses' methods in dtml? :-) best wishes, Nils -- "Like most of life's problems, this one can be solved with bending." --- Bender ___ 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] Referring to a total-xxx variable
Many thanks to both you and Andrew. I should really sit down and write out all the different ways of reffering to variables and learn them properly. I had tried to use something similar to and I thought it hadn't worked. However, just tried again and it does so I am obviously loosing the plot. Many thanks for your help Ian Cottee Nagoya, Japan ___ 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] Images not showing
Dieter wrote... > [EMAIL PROTECTED] writes: > > I've noticed that when i install images into the Zope database and call > > them sometimes they display as broken link images instead of the picture. > > after revisiting the image in the management screen but not making any > > changes just resaving it they work again. > > > > Anyone have any ideas what I might bedoing wrong or if this is a bug? > > > > I'm running Zope 2.16 on WinNT(unfortunately) 4.0 I see this too. > Try to view the image alone. > Netscape has a menu item "view image" in the context menu for > images. Alternatively, you can directly open the image's URL. > > Opening the image alone gives you more information about > the problem: you prabably will get a standard Zope error page > with problem description and traceback. > > Maybe, you encountered some of the image problems that > have been discussed in Zope or Zope-dev about 2 weeks ago. > Do you have any more detail, or a reference, or a subject I could use to look it up? -- cary ___ 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 on NT - port problem
- Original Message - From: - - <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 14, 2000 1:06 PM Subject: [Zope] Zope on NT - port problem > Hi all > > How do I customise the port number that Zope installs to? I'm > running NT and there is already a service running on the default > port 8080. http://www.zope.org/Members/teyc/howNTService > Also, is anyone using dreamweaver and zope? I want site designers to use the > tools they already have and then content management etc will be done with > zope. Well... you can always use dreamweaver and paste the HTML code into the text windows... or you could upload them using the Zope FTP server... u choose!! inte :-) --- 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 )
Re: [Zope] Referring to a total-xxx variable
Hi: Instead of > try: The _ is the 'current namespace' dictionary. Another way would be to do this: Hope this helps, Shalabh - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 15, 2000 9:43 AM Subject: [Zope] Referring to a total-xxx variable > > > Following on from my last posting I seem to have made a lot of progress - > although still not sure if what I have done is the right thing or not. However, > please somebody put me out of my misery. In the following code snippet the > dtml-var part works fine. How can I, therefore, add count-id to v_allItems? It > seems to think I am trying to do subtraction. I've spent a couple of hours > trying to find the mystical incantation. > > > > > > > > > > Ian Cottee > Nagoya, Japan > > > > ___ > 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 on NT - port problem
On 14 Jun 2000, 8:06 - - wrote: > How do I customise the port number that Zope installs to? I'm > running NT and there is already a service running on the default > port 8080. Modify the start value in HKLM/SYSTEM/CurrentControlSet/Services//Parameters, by adding a -P or -w at the end of the string. See other answers for the meaning of -P and -w. -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ 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] getSize()? was [Zope] Zope 2.2 beta 1 released
On 12 Jun 2000, 17:36 Brian Lloyd wrote: > Zope 2.2.0 beta 1 has been released - you can download it from ... After noticing that ZWiki throws an Attribute Error / getSize in RecentChanges, I tried a simple This works in 2.1.6, but throws the aforementioned exception in 2.2b1, too. Is this a bug or a feature? -- o ( [EMAIL PROTECTED] (+49 2241) 14-2394 /\* GMD mbH #include _`\ `_<=== Schloss Birlinghoven, __(_)/_(_)___.-._ 53754 Sankt Augustin, Germany ___ 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] virtual hosts with ZServer
> "emf" == ethan mindlace fremen <[EMAIL PROTECTED]> writes: emf> Set logical root: emf> Add physicalroot: As far as I can see, with this setup it is not possible to determine from Z2.log which virtual host has served a request. Is there a way to make the host logged as well? Rob Hooft -- = [EMAIL PROTECTED] http://www.hooft.net/people/rob/ = = R&D, Nonius BV, Delft http://www.nonius.nl/ = = PGPid 0xFA19277D == Use Linux! = ___ 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] Referring to a total-xxx variable
+[ [EMAIL PROTECTED] ]- | | | Following on from my last posting I seem to have made a lot of progress - | although still not sure if what I have done is the right thing or not. However, | please somebody put me out of my misery. In the following code snippet the | dtml-var part works fine. How can I, therefore, add count-id to v_allItems? It | seems to think I am trying to do subtraction. I've spent a couple of hours | trying to find the mystical incantation. Replace this | with this try to avoid hyphens in variable names as much as possible, it tends to get messy. -- 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] Zope on NT - port problem
- - wrote: > > Hi all > > How do I customise the port number that Zope installs to? I'm > running NT and there is already a service running on the default > port 8080. > The easiest way is to tweak z2.py in your zopehome directory. It is heavily commented; this shouldn't be a problem. > Also, is anyone using dreamweaver and zope? I want site designers to use the > tools they already have and then content management etc will be done with > zope. Yes, there is even a zope extension (experimental) for dreamweaver (check out http://www.zope.org/Members/johanc). Normal working with dreamweaver is ok, but you'll have to add an extension to your zope objects to work with dreamweaver (it won't open things without extensions). 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] Zope on NT - port problem
+[ - - ]- | Hi all | | How do I customise the port number that Zope installs to? I'm | running NT and there is already a service running on the default | port 8080. You have a few option... -P and a number -P 9000 means you get web on 9080 and you get ftp on 9021 and monitoring will be 9099 -w port (for just web) -f port (for just ftp) Have a quick look at z2.py for other groovy options you can set. -- 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] Does Zope support user authentication, sessions, etc?
>From the specifications given, my first thought is to implement it in >object-oriented way of programming. Zope (being open-source and OOP >from ground-up) naturally came to mind. Therefore, i would like to know >whether Zope is suitable (and stable enough) to develop this kind of >websites, bearing in mind other criteria such as scalability, performance, >and the "learning curve" involved. Yes. Yes and steep. (scalability = ZEO, performance is good, learning curve a bit steep) >I have done programming in PHP before, and AFAIK to implement features such >as user-authentication, sessions and permissions in PHP, we can either write >our own libraries, or use PHPLIB. However, looking at PHPLIB, it seems to >be quite buggy, and require a lot of work re-writing for some of its >functions. >Therefore, I would also like to know whether there's any >authentication/session >management modules(or classes) already written for Zope, and if they exist, >is >it easy to implement them(as in as easy as plug-and play, or a lot of coding >required)? Zope has its own authentication/session management built in. You will see this when you set up your first Zope and go to manage something. There are a few products out there that let you create better login/user management as well as some that you can connect to SQL databases or LDAP. A new product in the works it the PTK (Portal Tool Kit) that will have a lot of this built into it. My suggestion: Start poking around Zope.org, read up on the stuff there and download and install Zope. That will give you a better idea of what you are dealing with. J ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Referring to a total-xxx variable
Following on from my last posting I seem to have made a lot of progress - although still not sure if what I have done is the right thing or not. However, please somebody put me out of my misery. In the following code snippet the dtml-var part works fine. How can I, therefore, add count-id to v_allItems? It seems to think I am trying to do subtraction. I've spent a couple of hours trying to find the mystical incantation. Ian Cottee Nagoya, Japan ___ 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 on NT - port problem
Hi all How do I customise the port number that Zope installs to? I'm running NT and there is already a service running on the default port 8080. Also, is anyone using dreamweaver and zope? I want site designers to use the tools they already have and then content management etc will be done with zope. Thanks .wes --- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope Weekly News June 14th
LinuxTag, the Open Source Conference, Launch of Zope 2.2.0b1, a Docs Wiki and much Documentation work, PTK gains steam, Guido's time machine stolen, Improved Products page and more! The opinions expressed in Zope Weekly news are solely the authors', and not the opinions of Digital Creations, The Zope Community at-large, or the Spanish Inquisition. The Zope Weekly News now has a "permanent home", http://www.zope.org/Documentation/ZWN. And Now For Something Completely Different: Coming Events LinuxTag There will be a Zope booth at the "LinuxTag", http://www.linuxtag.de in Stuttgart, Germany from June 29th to July 2nd. In addition to the booth that will be there for the whole conference, there will be 2 rooms available for talks and discussions on the business day, Thursday 29th. There will not be an additional charge for the two rooms on buisness day. We are still looking for people who want help organizing the conference, give some talks and attend the booth. Generally, it would also be great to know who is planning to be at the conference. Please send feedback to "Stephan Richter", mailto:[EMAIL PROTECTED] See "Zope at Linuxtag", http://www.zope.org/Members/Linuxtag/ for the most up-to-date information. The Open Source Convention This "enormous convention", http://conferences.oreilly.com/oscon2000/ hosted by O'reilly, is shaping up to be pretty interesting. Aside from the State of Python, given by Guido von Rossum, there's also going to be a "talk on the CERT Advisory", http://www.oreillynet.com/pub/w/evening_events.html about cross-site scripting, a web-wide security issue that the Zope Community was among the first to begin implementing security policies for: they'll land with zope 2.2. Zope is going to be at the conference in force, with: - Paul "opening eyes to the Zope-Mozilla initiative", http://www.oreillynet.com/pub/e_sess/853 - Ryan telling the world "you can have web IMAP and collaboration", http://www.oreillynet.com/pub/e_sess/725 - Christopher, as always, concentrating on the "edification of the community", http://www.oreillynet.com/pub/w/python_tutorials.html Documentation -- by Amos Lattier This Week * We've released the Docs Wiki http://www.zope.org/Wikis/Docs This is your source for information on official Zope documentation. You can find out about all our projects including their status and timelines. You can also see what Amos, Michel and Stephan are doing each week. Plus, since it's a wiki you can add your comments. * The bulk of this week's work will be spent trying to get the online docs ship shape for Zope 2.2 final. Mike is finishing up the API docs, Amos is working on the help system framework and tutorial and Stephan is working on the management help content. * Mike is working with O'Reilly this week to clarify the status of his book. If all goes well we should have a definitive answer on making it official Zope documentation by the end of the week. Next Week * Next week will be spent finishing any bits that need finalizing for Zope 2.2 that we don't finish this week. * Hopefully next week we can begin making Mike's book public. Zope Status -- by Brian Lloyd Summary We finally beat the todo list and got the 2.2 beta 1 release "out the door", http://www.zope.org/Products/Zope/2.2.0b1 (and there was much rejoicing!). Last week highlights 7 more collector issues were closed last week, and the remaining items on the todo list for 2.2 beta 1 were knocked out. The needed hooks for non-invasive virtual hosting support were added, as well as better Undo handling, several catalog fixes and some long overdue fixes to the way that HTTP HEAD requests are handled that should make Zope more friendly to various spidering tools. This week's good-buddies-of-the-core: o Chris Withers and others for forcing some action on the HEAD issue o Toby Dickenson and Butch Landingin contributed fixes for ZCatalog o taz sent a patch to un-screw what I screwed up last time I worked on MailHost :^) Next week Next week we'll be absorbing feedback on the beta release and planning for final. More importantly, work will begin in earnest on the "opening the development process" initiative. I hope to get a basic "Zope core development"- focused area set up, publish the draft Zope roadmap for comment and start working out some post-2.2 plans. This week in the PTK Community -- by Tres Seaver * David Brown, author of "Zope Fish":http://zopefish.weblogs.com/ZopeFishRelease, agreed to join TeamPTK. Welcome! * We arrived at protocol for gaining consensus on proposed changes: - Create a tracker issue embodying the proposal (which then e
[Zope] File Sub-ZClass
Hello fellow Zopians, OK I seem to have further located my problem. In a File ZClass, index_html is used to display the file. But I want my ZClass to have text in the index_html, and display/offer the file for DL in a method, say, download_html. How do I display the File's data? In the Zope Quick Reference I found something called view_file_or_image, but this works only as long as I don't have a custom index_html... Help, anybody? :) Nils -- "Like most of life's problems, this one can be solved with bending." --- Bender ___ 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] compiling images
Hello, I have been trying to get a collaborative comic book buider made in zope and macromedia director. First I want to say that I have enjoyed working in the open source world of zope so much more than director. Whilst some parts of Director are well documented, others are positively hidden away... completely propritary it seems. Where as here there is a great will to share and distribute knowledge... anyhow that is by the by. (but really appreciated!) My problem is I can't find a good plug-in for Director that lets it export images from shockwave files. They are just 1bit images, so what I can do is export them as a string of 0s and 1s. Could I use zope or PYTHON to convert 25000 0s and 1s into an, er, a PNG file I guess it would have to be. note, I haven't ever written any python, though I here it is very lovely! I guess Director would send it via post to a zope page which would then process it and save a png file. Am I optomistic? josh on ___ 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: monitoring zope
> i know there's another one, a script maybe, with a peculiar name, but can't > really remember it. any clues/url? Try http://www.lightwerk.de/zope/monitoring 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 )
[Zope] Does Zope support user authentication, sessions, etc?
My upcoming project is to build an investment-related website that allows members to customise their profiles, portfolios and etc. Users can also gain access to "tools" that they have subscribed for. >From the specifications given, my first thought is to implement it in object-oriented way of programming. Zope (being open-source and OOP from ground-up) naturally came to mind. Therefore, i would like to know whether Zope is suitable (and stable enough) to develop this kind of websites, bearing in mind other criteria such as scalability, performance, and the "learning curve" involved. I have done programming in PHP before, and AFAIK to implement features such as user-authentication, sessions and permissions in PHP, we can either write our own libraries, or use PHPLIB. However, looking at PHPLIB, it seems to be quite buggy, and require a lot of work re-writing for some of its functions. Therefore, I would also like to know whether there's any authentication/session management modules(or classes) already written for Zope, and if they exist, is it easy to implement them(as in as easy as plug-and play, or a lot of coding required)? Thanks in advance. Regards, Thee Boon Hoo ___ 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] monitoring zope
hi again, there were threads that talk about restarting Zope if and when it hangs. i know of the -Z option for z2.py and daemontools. i know there's another one, a script maybe, with a peculiar name, but can't really remember it. any clues/url? i wwant to give it a try thanks -- -- http://www.kedai.com.my/kk Am I Evil? ___ 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] long columns on oracle
On Mon, Jun 12, 2000 at 05:22:04PM +0300, Riku Voipio wrote: > Hi, > > I'm running Oracle 8.1.5i / DCoracle 1.3/Zoracle 2.1.0/zope 2.1.6, > On Debian/potato (2.2.16) and whenever I try select a LONG column, I > get the following; > > Error, exceptions.IndexError: 1 Sorry, I was running really an older version of DCoracle in the Zope subdirectory while I had the newer in the python directory... -- Riku Voipio [EMAIL PROTECTED] 09-862 60764 ___ 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] Login using Certificates
Stuart 'Zen' Bishop wrote: > > On Tue, 13 Jun 2000, Alexandre A. Drummond Barroso wrote: > > > I have an installation of Zope as PCGI using Apache to communicate using SSL >connections. > > When Apache starts a CGI (and PCGI) programs, it sets many SSL environment >variables, including e-mail and user id. > > I would like to use this kind of information to automaticaly authenticate the >user, without requesting user name and password. > > Has anybody tried to do something like this? There's a product that does this included with m2Crypto: http://www.post1.com/home/ngps/m2/ -- Itamar S.T. [EMAIL PROTECTED] Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C ___ 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] PTK questions
Using the 0.7.1 snapshot I've patched my Members/index_html to read &dtml- sequence-item; but there's another one of these that says 'created by ' which gives the wrong url. Where can I patch that? I had a quick look thru the methods of the portal instance, and in the portal product, but couldn't find it. Also, I've deleted a couple of test members I created but they still show in the members listing. How can I reindex to remove them? -- Regards, Graham Chiu gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope ___ 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] Sharing of the same Data.fs on a separate machine
On Wed, Jun 14, 2000 at 05:12:03PM +0800, Troy Tan Wee Teck wrote: > Currently I have installed 2 machines(machine A and machine B) with Zope > 2.1.6 and another machine called C which solely contain the Data.fs > which is to be shared by the 2 machines. From what I know whatever > changes to the Zope management it will update the Data.fs file (pls > correct me if I am wrong). > > The problem now is these 2 machines are supposed to be on all the time > but whenever I did any changes to the Data.fs (example if I add in any > dtml methods or whatever in the Zope management) using Machine A. I can > only view the new changes that are being implemented on machine A, but > when I switch to machine B to view those changes, strangely enough, > machine B do not show me the changes that I have already done by machine > A since both machine A and B are sharing the same Data.fs from machine > C. However, if I do a reboot to machine B, then I will be able to able > to view the changes that have been done. > > What I would like to find out if there is a solution, to enable both > machines to view any changes to the Zope management regardless of the > Data.fs is modified by either machines. Out of the box, Zope does not support sharing of one Data.fs amongst multiple Zopes, the ZODB assumes it is the only process controlling the storage, an dit in fact locks that storage. I am surprised you didn't run into more serious trouble, if not at least a lock error, already. If you wait a short period, then you can use ZEO, an extension to the ZODB that let's you distribute one ZODB storage over multiple ZOpe installations, precisely what you want. It is slated to be released Real Soon Now (TM). I can't tell you when, because from my position I have no view whatsoever on that project. More information in ZEO: http://www.zope.org/Products/ZEO -- Martijn Pieters | Software Engineermailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | The Open Source Web Application Server - ___ 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] Login using Certificates
On Tue, 13 Jun 2000, Alexandre A. Drummond Barroso wrote: > I have an installation of Zope as PCGI using Apache to communicate using SSL >connections. > When Apache starts a CGI (and PCGI) programs, it sets many SSL environment >variables, including e-mail and user id. > I would like to use this kind of information to automaticaly authenticate the user, >without requesting user name and password. > Has anybody tried to do something like this? If its setting the REMOTE_USER environment variable, then Zope does this out of the box with a little configuration - see doc/WEBSERVER.txt in your Zope installation (search for 'Zope authentication with existing web servers') -- Stuart Bishop Work: [EMAIL PROTECTED] Senior Systems Alchemist Play: [EMAIL PROTECTED] Computer Science, RMIT University ___ 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] Sharing of the same Data.fs on a separate machine
Currently I have installed 2 machines(machine A and machine B) with Zope 2.1.6 and another machine called C which solely contain the Data.fs which is to be shared by the 2 machines. From what I know whatever changes to the Zope management it will update the Data.fs file (pls correct me if I am wrong). The problem now is these 2 machines are supposed to be on all the time but whenever I did any changes to the Data.fs (example if I add in any dtml methods or whatever in the Zope management) using Machine A. I can only view the new changes that are being implemented on machine A, but when I switch to machine B to view those changes, strangely enough, machine B do not show me the changes that I have already done by machine A since both machine A and B are sharing the same Data.fs from machine C. However, if I do a reboot to machine B, then I will be able to able to view the changes that have been done. What I would like to find out if there is a solution, to enable both machines to view any changes to the Zope management regardless of the Data.fs is modified by either machines. Any kind souls out there, pls enlighten me. Thank you. -- Regards Troy ___ 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] LoginManager HOWTO?
On Tue, 13 Jun 2000, Cesar A. K. Grossmann wrote: > "Update (10/30/99): Zen has posted a product that has more functionality > than UserDB, called GenericUserFolder. " > > Well, looks like the GenericUserFolder is more advanced. So I go to its > page. In it there are another observation: But do you want advanced? If you just want to store your authentication information, UserDB is just fine - moving to GenericUserFolder in this case may just cause you troubles, as more advanced also means more complicated. UserDB is a simple user adaptor that is all you need if you are storing your usernames, passwords and roles etc. in the one central RDBMS. GenericUserFolder is what you have to move to if you are in a more peculiar environment or want to use Radius authentication. LoginManager supports all the functionality of GenericUserFolder, but is still in developmental stages and probably not recommended for production sites but may be the perfect choice if you don't plan going production right now. > I'm looking for a sequence of steps needed to configure and use the > LoginManager. How to add users? How to add local roles? How to integrate > it whith LDAP (not for now, but in the future)? How to use a RDBMS > server, like PostgreSQL, to store the accounts (in case I cannot put > LDAP up an running)? Sounds like you would be happiest with UserDB for now and migrating to the LDAP Adaptor in the future. Or if you wait long enough before migrating to LDAP, you will probably find LoginManager supports LDAP out of the box with no coding. > I'm not a Python programmer, and I have a limited knowledge of Zope and > DTML, and my english is only better than your portuguese... Both GenericUserFolder and the current incarnation of LoginManager require fairly in depth DTML knowledge unless you follow a cheat sheet (check the HOWTO's on zope.org). -- Stuart Bishop Work: [EMAIL PROTECTED] Senior Systems Alchemist Play: [EMAIL PROTECTED] Computer Science, RMIT University ___ 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] XML-RPC
Try http://www.zope.org/SiteIndex/search?date%3Adate=1969%2F12%2F31++16%3A00%3A0 0+US%2FPacific&date_usage=range%3Amin&text_content=xmlrpc -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Budi Wiyono Sent: 14 June 2000 10:34 To: [EMAIL PROTECTED] Subject: [Zope] XML-RPC Hi, Where can I found Zope based XML-RPC example application ? Thanks, Budi Wiyono ___ 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] XML-RPC
Hi, Where can I found Zope based XML-RPC example application ? Thanks, Budi Wiyono ___ 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] The right way to sum fields
I have a folder with a set of timesheets in it. If I create a method to sum a field called I_TimeTaken is this the correct syntax? --- --- To explain, this works but I'm interested to know if this is the right way. Specifically because I am now trying to write another routine which totals not just the current folder but the contents of any sub folders below and am running into problems (i.e. I can't do it). If the basic step is wrong I'd like to know before I use it in other places. Haven't managed to find anything in the archives but I think I may be suffering from docs overload. Many thanks for any help Ian Cottee (knee deep in Zope and way out of time) ___ 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 as program
In article <[EMAIL PROTECTED]>, George Donnelly <[EMAIL PROTECTED]> writes >true. and this newbie searches first before asking. however i have noticed >my questions very often going unanswered. yeah they may be stupid but i only >ask if i cant find it myself. The obvious solution is to improve the docs, but that's a work in progress already. It's a pity the mailing list software can't monitor the messages, and automatically re-post question messages that go unanswered. Questions could be flagged with a Q: header or whatever. -- Regards, Graham Chiu gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope ___ 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 )