RE: [Zope] Zope performance ratios
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 24. heinäkuuta 2000 20:54 To: [EMAIL PROTECTED] Subject: [Zope] Zope performance ratios I'm interested in getting performance statistics for Zope. I'm scouring the mailing lists for previous messages but I would also be interested in anything else people may want to say about it. For example, what is the record for average web hits from a Zope site? Does someone have a feel for useful ratios like: "a Zope page takes, on average, twice as a static page to serve"? I'm not interested in being anal about the numbers, seat of the pants estimates are what I'm looking for. -- Andres Corrada-Emmanuel Email: [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] [Fwd: Re: [Zope-dev] DateTime formatting with strftime: patch]
Original Message Ämne: Re: [Zope-dev] DateTime formatting with strftime: patch Datum: Mon, 24 Jul 2000 16:56:52 +0100 Från: Steve Alexander <[EMAIL PROTECTED]> Till: [EMAIL PROTECTED] Referenser: <[EMAIL PROTECTED]> This is now in the Collector, as bug number 1457. http://classic.zope.org:8080/Collector/1457/view Incidentally, http://classic.zope.org:8080/Collector/1409/view is another patch to the same problem. However, that patch doesn't address the root of the problem, which is that DateTime instances are associated with a particular timezone, and users expect all formatting to occur with respect to that particular timezone. The fix in collector #1409 makes all strftime formatting happen in the local timezone of the Zope installation, not the timezone given in the particular DateTime instance being formatted. Steve Alexander wrote: > > Here's a working patch to make formatting of a DateTime instance work as > generally expected, when you use > > > > or whatever. > > It could be made more efficient by compiling the two regex (regexes? > regexen? regular expressions :-) ) into class attributes. There's a problem with this optimisation -- see my other posting to zope-dev today. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope ) ___ Zope 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] "REQUEST" a string object?
On Mon, 24 Jul 2000, Jonothan Farr wrote: > I couldn't reproduce this. The following code works for me in Zope 2.1.6, > verbatim. Ah-ha! It was on 2.2.0 that this code failed. And.. sure enough, a quick check on the Zope 2.1.6 install I still have around shows that the code works there for me as well. Thank goodness; I was pulling my hair out trying to figure out what I was doing wrong, but it seems likely to be a bug in the new release that was causing my problem. > > > > > > > > > > > > > > > > > > > In case we end in the middle of a row... > > > > > > > Maybe you can play with this as a starting point. > > I added a couple of REQUEST.set() calls at the top to simulate variables passed > from a form, I assume. > > 'local' is my LocalFS object. Are you using this code in a statement > or are you actually serving it as a .dtml file from the local file system? It may be academic now, but I'm using it in a .dtml file that is called as a method by a python product. Actually, what I'm doing is hacking LocalFS to be an image gallery, so that all I have to do is drop a bunch of image files in a certain directory on my hard drive and they'll show up on the www all thumbnailed and prettified, via the magic of Zope. The code that you saw is from my replacement for the 'methodBrowse.dtml' file in the LocalFS product. I know that there are some other PhotoAlbum type products out there that do something similar, but I wanted the exercise. Thanks for your help... I guess now I report this as a bug. I've seen some mention of a "Collector" for this sort of thing; I'll go dig around zope.org (as soon as it comes back up) to find out what that is and how to use it. Unless of course any Zen masters notice this thread and decide to tackle the problem straightaway... ;-] rob ___ 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] 2gb and you
Zope.org has finally hit the 2gb barrier. I have taken it down for the moment, whilst I work out what to do. ___ 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 still not functional
OK, it isn't just me, I've gotten email from others having this problem; unfortunately, I have had to tell them I still have it. I have tried using older pcgi code, I have tried the PCGI_FDS_CLOSE=0 variable, and still, nothing seems to work right. The second method worked once, but a reboot stopped that clean in it's tracks, and it doesn't work now. I've even tried combining both of the above; no luck. In the 2.2betas, and in 2.1.6, I could use ZServer and PCGI, but now, I get one or the other. Can someone at DC look into fixing this? We still get unable to connect errors, _even_ if the pcgi.soc file is created. I am getting this on _every_ 2.2.0 final server I have. On Linux and HPUX. Eagerly awaiting resolution ... Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] zeo and rdb backend
> "Bak @ kedai" wrote: > > > > BTW, site summary doesnot work with zeo. i can vview an instance fine on the > > machine that server Data.fs, but not on the other machine. > > what should we look out for when considering zeo? > boy, am i talking to myself a lot. another follow up. as always, right after i sent a distress signal to the list, i got enlightened. i missed all my external progs when i installed the other machine. so, in the hopes of not showing how dense i am ;), in conclusion -get a mirror copy of your working site - products, external methods, etc -change host for connectiing to SQL backend. use ip, not localhost -make sure access are granted for all machines wanting to access the sql backend -to minimize error, make changes from one machine only. and enjoy! did i miss anything else? ___ 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:jcNTUserFolder troubles
OK, so I got in by changing the ntuserfolder.py file in my installation: def authenticate(self, password, request): """ try to authenticate the user """ # return 1 # . . . ... just in case anyone follows this thread in the future with the same problem. Erik Myllymaki [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zeo and rdb backend
On Mon, 24 Jul 2000, [EMAIL PROTECTED] wrote: followup on my problem i just need to give permission to both machine to access the database. after that, restart zope and everything is peachy is this worth a writeup? not too sure myself. BTW, site summary doesnot work with zeo. i can vview an instance fine on the machine that server Data.fs, but not on the other machine. what should we look out for when considering zeo? thanks Error type: TypeError Error value: string, None Traceback (innermost last): File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/kdie/temp/Zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ApplicationDefaultPermissions) File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/kdie/temp/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: index_html) File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in render (Object: FM) File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__ (Object: simpleView) File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: simpleView) File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_In.py, line 630, in renderwob (Object: entries) File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__ (Object: entries) File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: entries) File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Return.py, line 106, in render (Object: siteSummaryEntries(REQUEST)) File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval (Object: siteSummaryEntries(REQUEST)) (Info: REQUEST) File , line 0, in ? File /home/kdie/temp/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, line 251, in __call__ (Object: siteSummaryEntries) TypeError: (see above) > hi > i have a few questions about zeo and how it works (newbie) > i managed to get zeo runniing, and i have two hosts serving one zodb. that's > great. > > but i can't access some of the data that resides in a rdbms (postgres). i > guess the db connection points to the wrong host since i use > dbname@localhost username (for postgres). > > tried changing host to something else (host1 as defined in /etc/hosts) but cant > change properties. zope said bad request. the same error if i use zPoPyDA. > > does this mean that i need to use zodb to use zeo? what should i do to use rdb > for some of my data? > > i'm stuck and in need of help, pointers, docs from the great ones. > help > > 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 ) -- -- 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] zeo and rdb backend
I think it'd be great if you wrote something up about using ZEO in general, myself... "Bak @ kedai" wrote: > > On Mon, 24 Jul 2000, [EMAIL PROTECTED] wrote: > followup on my problem > i just need to give permission to both machine to access the database. after > that, restart zope and everything is peachy > > is this worth a writeup? not too sure myself. > > BTW, site summary doesnot work with zeo. i can vview an instance fine on the > machine that server Data.fs, but not on the other machine. > what should we look out for when considering zeo? > > thanks > > Error type: TypeError > Error value: string, None > > Traceback (innermost last): > File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 222, in >publish_module > File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 187, in publish > File /home/kdie/temp/Zope/lib/python/Zope/__init__.py, line 221, in >zpublisher_exception_hook > (Object: ApplicationDefaultPermissions) > File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 171, in publish > File /home/kdie/temp/Zope/lib/python/ZPublisher/mapply.py, line 160, in mapply > (Object: index_html) > File /home/kdie/temp/Zope/lib/python/ZPublisher/Publish.py, line 112, in >call_object > (Object: index_html) > File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 167, in __call__ > (Object: index_html) > File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in >__call__ > (Object: index_html) > File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_With.py, line 146, in >render > (Object: FM) > File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__ > (Object: simpleView) > File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in >__call__ > (Object: simpleView) > File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_In.py, line 630, in >renderwob > (Object: entries) > File /home/kdie/temp/Zope/lib/python/OFS/DTMLMethod.py, line 163, in __call__ > (Object: entries) > File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_String.py, line 502, in >__call__ > (Object: entries) > File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Return.py, line 106, in >render > (Object: siteSummaryEntries(REQUEST)) > File /home/kdie/temp/Zope/lib/python/DocumentTemplate/DT_Util.py, line 337, in eval > (Object: siteSummaryEntries(REQUEST)) > (Info: REQUEST) > File , line 0, in ? > File /home/kdie/temp/Zope/lib/python/Products/ExternalMethod/ExternalMethod.py, >line 251, in __call__ > (Object: siteSummaryEntries) > TypeError: (see above) > > > hi > > i have a few questions about zeo and how it works (newbie) > > i managed to get zeo runniing, and i have two hosts serving one zodb. that's > > great. > > > > but i can't access some of the data that resides in a rdbms (postgres). i > > guess the db connection points to the wrong host since i use > > dbname@localhost username (for postgres). > > > > tried changing host to something else (host1 as defined in /etc/hosts) but cant > > change properties. zope said bad request. the same error if i use zPoPyDA. > > > > does this mean that i need to use zodb to use zeo? what should i do to use rdb > > for some of my data? > > > > i'm stuck and in need of help, pointers, docs from the great ones. > > help > > > > 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 ) > -- > -- > 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 ) ___ 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, User Sources, ...
Wolfgang Klinger wrote: > > Hi! > > I searched the archives and found some entries, all > concerning the same problem ... > > I read this: > > "LoginManager currently comes with a default > User Source called Generic User Source (GUS), > that is a GUF-like roll-your-own system. It uses > GUF-compatible methods (userExists, userRoles, etc), > so converting any GUF-using site to a LM site > . " > > and wondered where this GUS is hidden It is hidden in the tab that says: UserSources :^) > and how I actually add users ?? As for adding users, that's a bt more work. You have to create the forms for doing so. You can search the archives, and it would be a decent idea to look at the Membership *alpha* product, as it is an example. http://www.zope.org/Members/tsarna/LoginManager/Help/API.txt Might also be a good starting point... Cheers, Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] query parameters
how can you pass parameters to the query that is already in the database in Access(or just any ODBC connection) from Zsql (or elsewhere)ODBC)? ___ 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] "REQUEST" a string object?
I couldn't reproduce this. The following code works for me in Zope 2.1.6, verbatim. In case we end in the middle of a row... Maybe you can play with this as a starting point. I added a couple of REQUEST.set() calls at the top to simulate variables passed from a form, I assume. 'local' is my LocalFS object. Are you using this code in a statement or are you actually serving it as a .dtml file from the local file system? --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Adding an XMLDocument instance Programmatically
> I can' t seem to get beyond importing Document (cannot import name > Document). Do I need to import other modules? Is this the best/only way to > do this?? Appreciate any help. > > from Products.XMLDocument import Document I think you missed an 'XMLDocument'. from Products.XMLDocument.XMLDocument import Document That is: import the Document class from the XMLDocument module (file) in the XML package (directory) in the Products package. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] A Better Way (Stupid DTML code)
Okay now im really curious what does min-provid tell you, I had a quick rummage through the docs and couldnt see any reference to this. - Original Message - From: "Bill Anderson" <[EMAIL PROTECTED]> To: "Baker, Dennis [sjmr]" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, July 24, 2000 6:40 PM Subject: Re: [Zope] A Better Way (Stupid DTML code) > "Baker, Dennis [sjmr]" wrote (quote rearranged to be *after* the > previous message, as it should be:): > > > > -Original Message- > > > From: Andy McKay [mailto:[EMAIL PROTECTED]] > > > Sent: Friday, July 21, 2000 5:27 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [Zope] A Better Way (Stupid DTML code) > > > > > > > > > Other smug answers include: > > > - dont put - in your SQL methods > > > - use your SQL to give the variable a different name > > > - use python > > > > I suppose my smug reply would be that min- is a variable generated by > > dtml-in, I didn't pick the variable name. > > > > Touche' > > > Bill > > -- > Do not meddle in the affairs of sysadmins, for they are easy to annoy, > and have the root password. > > ___ > 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] A Better Way (Stupid DTML code)
"Baker, Dennis [sjmr]" wrote (quote rearranged to be *after* the previous message, as it should be:): > > -Original Message- > > From: Andy McKay [mailto:[EMAIL PROTECTED]] > > Sent: Friday, July 21, 2000 5:27 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [Zope] A Better Way (Stupid DTML code) > > > > > > Other smug answers include: > > - dont put - in your SQL methods > > - use your SQL to give the variable a different name > > - use python > > I suppose my smug reply would be that min- is a variable generated by > dtml-in, I didn't pick the variable name. > Touche' Bill -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] Bi-directional update of Data.fs
Chris Withers wrote: > > Jim Fulton wrote: > > > Definitely, can someone say whether QuorumBasedReplication would handle > > > this on whether it's designed more for real-time replication between > > > storage servers in the ZEO world? > > > > It's designed for real-time replication. > > Aww :~( > > And there was me hoping I could do the Lotus Notes 'go to the beach and > work, then replicate the changes when I got back' or the 'work from > home, replicate the stuff when I can next be bothered to go into work' > ;-) > > Seriously though, is there anything in the pipeline (even just simple > ideas) for Notes-styel replication at any point in the future? It's the > only sticking point for quite a big project we're working on that's > forcing us to stay with Notes. > > cheers, > > Chris > > PS: No, none of us has enough Zen to do it ourselves... ;( Hmm ... howzabout this for an idea, at least: Since the Data.fs is appended to, and that your disconnected version is canonical, why couldn't you basically look for the last common transaction, and append all transactions in the canonocial to the main one? Bill (thinking this might need to be moved to dev ...) -- Do not meddle in the affairs of sysadmins, for they are easy to annoy, and have the root password. ___ 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] user permissions
No, that should do it. You cannot add, copy or move objects as the superuser, but you can add users to a user folder and change permissions. But there should be no permissions that need changing. Make sure that you give the user the 'Manager' role when you add a new user (while logged in as superuser). josh on wrote: > > I just installed 2.2 on win98. > > I log on as a superuser, and try and make a new folder an I get: > > >Zope Error > > > > Zope has encountered an error while publishing this resource. > > > > Error Type: SuperCannotOwn > > Error Value: Objects cannot be owned by the superuser > > So I used to do that I thought. I tried to make a new acl user, but > couldn't log in with that name password combo. I saw that webmaster asked > this a couple of days ago, but I saw no answer. > > Am I being dumb and missing the obvious? Do I need to go and read some how > to about users and permissions? > > any help would be great. > > 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 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] user permissions
I just installed 2.2 on win98. I log on as a superuser, and try and make a new folder an I get: >Zope Error > > Zope has encountered an error while publishing this resource. > > Error Type: SuperCannotOwn > Error Value: Objects cannot be owned by the superuser So I used to do that I thought. I tried to make a new acl user, but couldn't log in with that name password combo. I saw that webmaster asked this a couple of days ago, but I saw no answer. Am I being dumb and missing the obvious? Do I need to go and read some how to about users and permissions? any help would be great. 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] jcNTUserFolder troubles
I am using Zope 2.2 and jcNTUserFolder 0.0.7. I just installed a top level NTUserFolder and now I cannot login as superuser (or any user for that matter). First of all, how do I get back into my Zope management pages and second, what is wrong with jcNTUserFOlder (or what did I do wrong?)? I am running Zope standalone. My root user is mapped to a valid administrator of my local NT Domain. Thanks, Erik Myllymaki ___ 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] A Better Way (Stupid DTML code)
I suppose my smug reply would be that min- is a variable generated by dtml-in, I didn't pick the variable name. > -Original Message- > From: Andy McKay [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 21, 2000 5:27 PM > To: [EMAIL PROTECTED] > Subject: Re: [Zope] A Better Way (Stupid DTML code) > > > Other smug answers include: > - dont put - in your SQL methods > - use your SQL to give the variable a different name > - use python > > - Original Message - > From: "Phil Harris" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; "Dennis Baker" <[EMAIL PROTECTED]> > Sent: Friday, July 21, 2000 4:29 PM > Subject: Re: [Zope] A Better Way (Stupid DTML code) > > > > > > > > > > Search for Member Information > > > > > > > > > > > > - Original Message - > > From: Dennis Baker <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Saturday, July 22, 2000 12:08 AM > > Subject: [Zope] A Better Way (Stupid DTML code) > > > > > > > Ok, there has to be a better way of doing this, I just > want to show a > > > dialog if there minimum value of a field is lower than > 20,000. This is > > > the only way I could figure out to do this, Python seems > to choke on > > > variables with Hyphens so I have to use the dtml-let > It works but > > > it's a STUPID way to do things. > > > > > > > > > > > > > > > > > > > > > Search for Member Information > > > > > > > > > > > > > > > > > > > > > > > > > > > ___ > > > Zope maillist - [EMAIL PROTECTED] > > > http://lists.zope.org/mailman/listinfo/zope > > > ** No cross posts or HTML encoding! ** > > > (Related lists - > > > http://lists.zope.org/mailman/listinfo/zope-announce > > > http://lists.zope.org/mailman/listinfo/zope-dev ) > > > > > > ___ > > Zope maillist - [EMAIL PROTECTED] > > http://lists.zope.org/mailman/listinfo/zope > > ** No cross posts or HTML encoding! ** > > (Related lists - > > http://lists.zope.org/mailman/listinfo/zope-announce > > http://lists.zope.org/mailman/listinfo/zope-dev ) > > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Lines data type possible in boolean OR's?
Hi, I have a small problem. When I use the lines data type in OR statements, I get an Error Type: TypeError Error Value: bad operand type(s) for | I've used them earlier on integers, like this: and it works fine. When I try the same with other data types, like this: where "toy" is a "multiple select" type and "additionalToys" is a "lines" type. Can anyone provide me with some hints on what to do to get it working the way I want? Is typecasting necessary? Thanks in advance. Alexander. PS: please CC me if you answer :) ___ 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] delays when processing form posts
I get unexpectded long delays from Zope e.g. for processing form posts. For example from an edit view under the management screen, simply requesting "wider" takes at least 20 seconds (on a Pentium 2, 400 MHz under W2000). I'm not on a network, and I remember sometimes having had problems working off-line with HTTP servers in Python (blocking until time-out in a socket call). I have tried to trace socket calls, but haven't seen anything unexpected. I'm new to Zope - maybe this is normal behaviour?? Any hints? christer fernstrom ___ 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] ZopeLDAP with Zope 2.2 - verify_watermark ImportError
> > I just installed ZopeLDAP in Zope 2.2 and I am getting the following > message: > > > Traceback (innermost last): > File "/usr/local/Zope-2.2.0-src/lib/python/OFS/Application.py", line > 396, in import_products > product=__import__(pname, global_dict, global_dict, silly) > File > "/usr/local/Zope-2.2.0-src/lib/python/Products/ZLDAPMethods/__init__.py", > line 24, in ? > import LM > File > "/usr/local/Zope-2.2.0-src/lib/python/Products/ZLDAPMethods/LM.py", line > 42, in ? > from AccessControl.User import verify_watermark > ImportError: cannot import name verify_watermark > > Is there a patch available? If not, does anyone know a work around? > I edited out the import and replaced some of the code with pass - not good I know, but I needed it up and running ... Tone ___ 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] ZopeLDAP with Zope 2.2 - verify_watermark ImportError
I just installed ZopeLDAP in Zope 2.2 and I am getting the following message: Traceback (innermost last): File "/usr/local/Zope-2.2.0-src/lib/python/OFS/Application.py", line 396, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/usr/local/Zope-2.2.0-src/lib/python/Products/ZLDAPMethods/__init__.py", line 24, in ? import LM File "/usr/local/Zope-2.2.0-src/lib/python/Products/ZLDAPMethods/LM.py", line 42, in ? from AccessControl.User import verify_watermark ImportError: cannot import name verify_watermark Is there a patch available? If not, does anyone know a work around? Thanks. ___ 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] Problem with dtml-sendmail from external method
Chris Withers wrote: > Kent Polk wrote: > > For instance: > > self.test(tolist=towhom, subject=subject, body=message) > > perhaps try: > self.test(self, REQUEST=None, tolist=towhom, subject=subject, > body=message) Failed. I had already tried that and a few of the other typicals, including assignment outside the sendmail tag (hoping for an acquisition problem). > If that fails, stick it in the collector as it's the sendmail tag being > mucky and nasty again ;-) It's in the Collector. Thanks ___ 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 performance ratios
Well, if you "ARE" anal about numbers try http://www.zope.org/Members/BwanaZulia/zope_benchmarks/benchmarks.html which has a lot of information. Zope is certainly not going to compare to any static webserver in terms of speed so I would not be upset when you see that it does not. It does, however, come out much faster than other things like Apache Tomcat. I have done a lot of testing so let me know if you have any specifics. J > From: [EMAIL PROTECTED] > Date: Mon, 24 Jul 2000 13:54:09 -0400 > To: [EMAIL PROTECTED] > Subject: [Zope] Zope performance ratios > > I'm interested in getting performance statistics for Zope. I'm scouring the > mailing lists for previous messages but I would also be interested in > anything else people may want to say about it. For example, what is the > record for average web hits from a Zope site? Does someone have a feel for > useful ratios like: "a Zope page takes, on average, twice as a static page > to serve"? I'm not interested in being anal about the numbers, seat of > the pants estimates are what I'm looking for. > > -- > Andres Corrada-Emmanuel Email: [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] Is zope.org up?
Lately, I've been having problems connecting to the Zope web site. Netscape can't seem to resolve the ip address. Anyone else out there having problems? Possibly DNS related? Thanks. -- Peter Kropf Codesmith VEReCOMM Corp. 2475 Augustine Drive, Suite 102 Santa Clara, CA 95054 408-919-3107; Fax 408-969-0688 [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] Announcement: zCommerce First Public Release!
Nick Garcia wrote: > Of course its OSS! We're going to set up CVS for it soon and > everything. I didn't write the announcement BTW :) Cool :-) Sorry, I have an allergic reaction to press releases like that ;-) > > PS Did you have to spam zope-dev in as well? ;-) > > Sorry, I wasn't sure if I should or not, but in the end I decided to do > it because there's a lot of development opportunity in there. Ah well, just my axe to grind right now, not enough people read that little message mailman appends: > ** No cross posts or HTML encoding! ** pedantically, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Announcement: zCommerce First Public Release!
Chris Withers wrote: > > Hi Nick, > > Is zCommerce OSS? > It's a pretty M$-like press release (blegh!) but the 'download here' bit > implies it's going to be Open Source. If so, then it sounds very cool > :-) Of course its OSS! We're going to set up CVS for it soon and everything. I didn't write the announcement BTW :) > PS Did you have to spam zope-dev in as well? ;-) Sorry, I wasn't sure if I should or not, but in the end I decided to do it because there's a lot of development opportunity in there. -- 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 )
Re: [Zope] Problem with dtml-sendmail from external method
Kent Polk wrote: > For instance: > self.test(tolist=towhom, subject=subject, body=message) perhaps try: self.test(self, REQUEST=None, tolist=towhom, subject=subject, body=message) If that fails, stick it in the collector as it's the sendmail tag being mucky and nasty again ;-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Problem with dtml-sendmail from external method
I have two DTML Methods: - To: From: xxx Subject: - To: From: xxx Subject: - (fill in the 'xxx's) When I call either from a form or via xml-rpc they work properly. However, when I call the one with the dtml-sendmail tags from an external method, it triggers an exception (the second version does not trigger an exception). For instance: self.test(tolist=towhom, subject=subject, body=message) > Fault: > Fault -2: 'Unexpected Zope error value: > Error Type: AttributeError > Error Value: this Evidently the dtml-sendmail tag is looking for this(), probably in globals, which is provided by the xml-rpc or dtml->dtml calls? What is the recommended way of providing this information? Thanks ___ 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] Bi-directional update of Data.fs
Jim Fulton wrote: > > Definitely, can someone say whether QuorumBasedReplication would handle > > this on whether it's designed more for real-time replication between > > storage servers in the ZEO world? > > It's designed for real-time replication. Aww :~( And there was me hoping I could do the Lotus Notes 'go to the beach and work, then replicate the changes when I got back' or the 'work from home, replicate the stuff when I can next be bothered to go into work' ;-) Seriously though, is there anything in the pipeline (even just simple ideas) for Notes-styel replication at any point in the future? It's the only sticking point for quite a big project we're working on that's forcing us to stay with Notes. cheers, Chris PS: No, none of us has enough Zen to do it ourselves... ;( ___ 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/Apache/ProxyPass
Joshua Brauer wrote: > > I'm having trouble getting Zope and Proxy Pass to work the way I expect > > Specifically if you look at this site: > > http://www.bmb.colostate.edu:8111/ I can't get to this url at all. In fact, I don't know how this relates to the proxypass rules below... > it's really supposed to proxypass to webdev.bmb.colostate.edu, but the >ProxyPassReverse directive doesn't seem to clean/modify/correct the base tag in the >header as I understand it should You have to use siteAccess to correct the base tag & any generated URL's. > Here's the proxypass section of my httpd.conf for apache: > ProxyRequests on > NoCache * > ProxyPass / http://webdev.bmb.colostate.edu/ > ProxyPassReverse / http://webdev.bmb.colostate.edu/ > ProxyPass /misc_ http://webdev.bmb.colostate.edu/misc_ > ProxyPass /p_ http://webdev.bmb.colostate.edu/p_ Josh, the proxypass rules on zope.org are pretty simple: ServerName www.zope.org ProxyPass / http://www.zope.org:93/ ProxyPassReverse / http://www.zope.org:93/ and everything seems to work fine, with a SiteRoot that says that SiteRootBASE is http://www.zope.org hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ 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 performance ratios
[EMAIL PROTECTED] wrote: > For example, what is the > record for average web hits from a Zope site? I've heard of 7 or 8 hundred thousand hits a day of a dual PIII-500. If whoever mentioned that to me on #zope could shout, it might sound better :-) > Does someone have a feel for > useful ratios like: "a Zope page takes, on average, twice as [long as] a static page > to serve"? I'm not interested in being anal about the numbers, seat of > the pants estimates are what I'm looking for. Dunno, but for what it does it's pretty damn quick :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Announcement: zCommerce First Public Release!
Hi Nick, Is zCommerce OSS? It's a pretty M$-like press release (blegh!) but the 'download here' bit implies it's going to be Open Source. If so, then it sounds very cool :-) cheers, Chris PS Did you have to spam zope-dev in as well? ;-) Nick Garcia wrote: > > CodeIt announces the much-anticipated release of zCommerce. zCommerce, > in it's first public release, provides a flexible shopping cart and > order processing engine that you can use along with a few lines of DTML > to develop just about any kind of e-commerce application. Our hope is > that along with your help, we can develop a standard for e-commerce > components that are fully customizable and scalable to meet the needs of > even the most demanding e-commerce sites. > > "CodeIt is a strong believer in Zope and open source in general. Being a > recognized leader in the Zope community we believe we have a > responsibility to Zope and everyone else in the community to help > improve it, hence the alpha release of zCommerce. We look forward to > your comments, suggestions and patches." - Jason Reid, CEO CodeIt > Computing > > zCommerce can be downloaded from > http://www.zope.org/Members/ngarcia/zCommerce. More information on > ZCommerce in general will be available at http://www.zope-store.com. > > CodeIt Computing is one of the leading providers of Zope based > solutions. We offer a full range of services from Zope Hosting to > custom application development. Located in Southern California, we > design custom sites and applications exclusively in Zope. Please visit > our website at http://www.codeit.com to find out more about us, and our > exciting career opportunities. > > -- > 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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-Annce] July 20th Zope Weekly News
Simon Michael wrote: > > ethan mindlace fremen <[EMAIL PROTECTED]> writes: > >o Wikis are now searchable - and they have history, > > too! This was a little bumpy, with Steve > > Alexandar pointing out a search bug. > > Yay! where can we see this ? Search for anything. If the icon is a white page with a bunch of funny black squiggies, that's a zWiki page :) -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ 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 performance ratios
I'm interested in getting performance statistics for Zope. I'm scouring the mailing lists for previous messages but I would also be interested in anything else people may want to say about it. For example, what is the record for average web hits from a Zope site? Does someone have a feel for useful ratios like: "a Zope page takes, on average, twice as a static page to serve"? I'm not interested in being anal about the numbers, seat of the pants estimates are what I'm looking for. -- Andres Corrada-Emmanuel Email: [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] Bi-directional update of Data.fs
Chris Withers wrote: > (snip) > Definitely, can someone say whether QuorumBasedReplication would handle > this on whether it's designed more for real-time replication between > storage servers in the ZEO world? It's designed for real-time replication. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! Technical Director (888) 344-4332http://www.python.org Digital Creationshttp://www.digicool.com http://www.zope.org Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats. ___ Zope 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] Announcement: zCommerce First Public Release!
CodeIt announces the much-anticipated release of zCommerce. zCommerce, in it's first public release, provides a flexible shopping cart and order processing engine that you can use along with a few lines of DTML to develop just about any kind of e-commerce application. Our hope is that along with your help, we can develop a standard for e-commerce components that are fully customizable and scalable to meet the needs of even the most demanding e-commerce sites. "CodeIt is a strong believer in Zope and open source in general. Being a recognized leader in the Zope community we believe we have a responsibility to Zope and everyone else in the community to help improve it, hence the alpha release of zCommerce. We look forward to your comments, suggestions and patches." - Jason Reid, CEO CodeIt Computing zCommerce can be downloaded from http://www.zope.org/Members/ngarcia/zCommerce. More information on ZCommerce in general will be available at http://www.zope-store.com. CodeIt Computing is one of the leading providers of Zope based solutions. We offer a full range of services from Zope Hosting to custom application development. Located in Southern California, we design custom sites and applications exclusively in Zope. Please visit our website at http://www.codeit.com to find out more about us, and our exciting career opportunities. -- 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] Subdirs in IIS - broken by upgrade of IIS from 3.0 - 4.0
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I just added the option pack to bring a NT (ugh) server up to option pack 4, (NT4) Service pack 6. pcgi to redirect zope stuff to the iis port 80 so there are no port 8080 parts to the url stopped working for all parts of the site in lower directories. That is, myhost.com/scripts/zope.pcgi/DIR1/file_html works and myhost.com/scripts/zope.pcgi/DIR1/DIR2/file_html does not. Everything more than one directory deep in Zope returns a 404. IIS 3 didn't have this problem. Any advice would be great; I can't find anything in mailing archives, newsgroups or at zope.org. John Holland - --- Email: [EMAIL PROTECTED] Web: http://jbhsoft.linuxave.net Public key : finger -s or http://jbhsoft.linuxave.net/pubkey.html -BEGIN PGP SIGNATURE- Version: PGP 6.5.2 iQA/AwUBOXx2ChPWCCE2yAKHEQI1sACg4b4j1rC9aVgfWPRUdIZstLN668AAoLJe OQe8lCzOIWtONJIjoZnG5KBB =n5ty -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] Viewing Dependencies in the ZDB
I thought I saw a product that would let you view object dependencies in the ZDB. Is there such a product? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] zope.org down
See http://www.zope.org/Members/mcdonc/RS/InterbaseStorage/InterbaseStorage. txt for answers to the Interbase questions and InterbaseStorage docs and see http://www.zope.org/Members/mcdonc/RS/InterbaseStorage to download the InterbaseStorage product. > -Original Message- > From: Chris Withers [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 24, 2000 11:34 AM > To: Chris McDonough > Cc: Ethan Fremen; Cary O'Brien; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [Zope] zope.org down > > > Chris McDonough wrote: > > The InterbaseStorage product is full-featured (undo, > versioning). But > > I've gotten little response to releasing it, and I don't > think anyone is > > using it, so bugs are sure to exist. > > I don't think you announced this loudly enough ;-) > > Is interbase stable/OSS? Where can I get it from? Where is the > InterBaseStorage product (and documentation ;-) available? > > cheers, > > Chris > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zope.org down
Chris McDonough wrote: > The InterbaseStorage product is full-featured (undo, versioning). But > I've gotten little response to releasing it, and I don't think anyone is > using it, so bugs are sure to exist. I don't think you announced this loudly enough ;-) Is interbase stable/OSS? Where can I get it from? Where is the InterBaseStorage product (and documentation ;-) available? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] calendar problem
Hi, after an upgrade of zope 2.2.0-1 the calendar doesn't work. (I have no valid backup of the old version :o( ) I have override (the directory) the old version of the calendar with the new version 0.9.17, but I get errors. In the new directory doesn't exist a calendar.pyc. Do I need this file and how can I create this??? I can't programming in python. How can I solve this problem Thanks Frank ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] zope.org down
The InterbaseStorage product is full-featured (undo, versioning). But I've gotten little response to releasing it, and I don't think anyone is using it, so bugs are sure to exist. > -Original Message- > From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 24, 2000 11:11 AM > To: Cary O'Brien; [EMAIL PROTECTED] > Subject: Re: [Zope] zope.org down > > > Cary O'Brien wrote: > > > Hold on. I am confused, and I really need to understand this. > > Why do you need a 40 gb drive to store something that might > get to 2GB? > > Do thing get really big during packing? (Thinking > PostgreSQL index creation > > here, where it uses temp files for sorting, which has bit > me more than > > once). Or do you just want to keep N old versions around? > > I need to have n versions for various testing purposes: this > is what got > me in trouble in the first place- I was packing to try to make room. > The pack makes a full backup of your data, so it needs about 1.75*n > space where n is the size of your current Data.fs > > > Also, (besides "upgrade to alpha"), what is the workaround > for Data.fs > > bigger than 2GB? Are there any plans to split it across multiple > > files? (Once again, the PostgreSQL people recently added > this -- database > > files don't exceed 1GB, when the table gets that big it splits them > > across multiple files). > > One solution is to have your Data.fs actually be split using mounted > databases, something I consider a sub-optimal solution. > Another option > would be to store the entire zodb in a relational database, but as far > as I know none of the products that attempt to provide that are > full-featured. > > The bottom line is that the OS should support the creation of > very large > files. Note that any of the BSD variants, or Solaris for x86, or SCO > unix, all will let you have a ZODB larger than 2gb, assuming > python was > compiled properly. > > I have spent literally about 40 hours trying to get Linux to support > large files. While the code is integrated into kernels 2.3.27 and up, > something still isn't quite right because I cannot get python > to support > large files although I can get c to create 17GB files using lseek(). > > Hope that helps, > -- > ethan mindlace fremen > Zopatista Community Liason > Abnegate I! > > ___ > 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.org down
>>> ethan mindlace fremen wrote > One solution is to have your Data.fs actually be split using mounted > databases, something I consider a sub-optimal solution. I'm curious - why do you consider this sub-optimal? Anthony -- Anthony Baxter <[EMAIL PROTECTED]> It's never too late to have a happy childhood. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zope.org down
Cary O'Brien wrote: > Hold on. I am confused, and I really need to understand this. > Why do you need a 40 gb drive to store something that might get to 2GB? > Do thing get really big during packing? (Thinking PostgreSQL index creation > here, where it uses temp files for sorting, which has bit me more than > once). Or do you just want to keep N old versions around? I need to have n versions for various testing purposes: this is what got me in trouble in the first place- I was packing to try to make room. The pack makes a full backup of your data, so it needs about 1.75*n space where n is the size of your current Data.fs > Also, (besides "upgrade to alpha"), what is the workaround for Data.fs > bigger than 2GB? Are there any plans to split it across multiple > files? (Once again, the PostgreSQL people recently added this -- database > files don't exceed 1GB, when the table gets that big it splits them > across multiple files). One solution is to have your Data.fs actually be split using mounted databases, something I consider a sub-optimal solution. Another option would be to store the entire zodb in a relational database, but as far as I know none of the products that attempt to provide that are full-featured. The bottom line is that the OS should support the creation of very large files. Note that any of the BSD variants, or Solaris for x86, or SCO unix, all will let you have a ZODB larger than 2gb, assuming python was compiled properly. I have spent literally about 40 hours trying to get Linux to support large files. While the code is integrated into kernels 2.3.27 and up, something still isn't quite right because I cannot get python to support large files although I can get c to create 17GB files using lseek(). Hope that helps, -- ethan mindlace fremen Zopatista Community Liason Abnegate I! ___ 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] selecting namespaces with with (was RE: [Zope] Enitity syntax and2.2) 2.2)
> And how about: > > &dtml.missing-REQUEST.form['foo']; > > That is, allow expressions to be used. I guess this makes the > entity syntax > act more like . > > This would allow a really clear syntax for refilling type=text> tags > with previously entered values in a form. You can explicitly select a namespace (and exclude others) using , for example: If you don't use the "only", this still enforces that the REQUEST.form namespace is the first searched. ___ 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] Inserting Python object in Zope !
I'm a newbie, and I wonder : how could I use a personal Python object in Zope. I've a second question : how could I display (in html page) the results from the Pythons function ? thanks In advance
Re: [Zope] timezone change and permission problem
>From: Chris Withers <[EMAIL PROTECTED]> >Bart Holthuijsen wrote: > > This works for a User with the role Manager, but not with a user-defined > > role. I have created a Viewer class with all the available permissions >(for > > testing purposes), but the above code returns nothing. If I remove the >"and > > AUTHENTICATED_USER.has_permission('View',_.getitem('id',1)) " part it >does > > show up. What should I do to make that part work? > >Try giving your DTML method a proxy role or 'Manager'... Thanks for the quick reply... BUT It still isn't working. I even created a user in the root folder with the Viewer role and all the rights granted, but I'm still greeted with a blank screen where the list should be :( I added the proxy role "Manager" to the methods, but still nothing. I also checked all the "Acquire permission settings" boxes, so it couldn't be that. Any other suggestions? TIA, Bart Holthuijsen 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] zope 2.2.0 simply dies
Make sure that ALL your dtml-in's are wrapped in try/excepts we have seen this happened when there is a problem with either the sql or database adaptor. DR Andy Pahne wrote: I have a Zope-2.2.0 installation running on a Redhat 6.0 Linux Box. It simply dies sometimes. Three times in the last 72 hours?!? There's only DCOracle and ZOracleDA installed, nothing more. I cannot see any other problems on the machine and it does not have that much load. Is there a solution? Has anybody had the same problem? Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ 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] com error
I'm using HTMLgen to add a small table to a page. It works the first time I try it and then I get this error: Error Type: com_error Error Value: (-2147221008, 'CoInitialize has not been called.', None, None) What can I do? -mjm winmail.dat
Re: [Zope] Zope 2.2 installation error....missing header files (?)
Hi, thanks for your reply: Actually all headers are installed, in fact every other compilation works fine so far. [root@server Zope-2.2.0-src]# rpm -qa | grep kernel kernelcfg-0.5-5 kernel-utils-2.2.16-3 kernel-ibcs-2.2.16-3 kernel-doc-2.2.12-20 kernel-2.2.16-3 kernel-pcmcia-cs-2.2.16-3 kernel-BOOT-2.2.16-3 kernel-headers-2.2.16-3 kernel-source-2.2.16-3 [root@server Zope-2.2.0-src]# Thanks Ed. "Bak @ kedai" wrote: > > In file included from /usr/include/errno.h:36, > > from pcgi.h:49, > > from ./pcgi-wrapper.c:51: > > /usr/include/bits/errno.h:25: linux/errno.h: No existe el fichero o el > > directorio > > i may be wrong, but i think you need to install the kernel-headers too > > - > -- > http://www.kedai.com.my/kk > Am I Evil? begin:vcard n:Barousse Boué;Felipe E. tel;fax:+(52)5247-0272 tel;work:+(52)5247-0272 x-mozilla-html:FALSE url:http://www.piensa.com/ org:Bufete Consultor de Mexico - Piensa Systems;Supercomputer Cluster Systems group version:2.1 email;internet:[EMAIL PROTECTED] title:CEO, Director General note:Tel: +(52)5247-0272 adr;quoted-printable:;;Ap. CAP Polanco 336=0D=0ACol. Anzures;Mexico City;D.F.;11550;Mexico x-mozilla-cpt:;-27680 fn:Felipe E. Barousse Boué end:vcard
Re: [Zope] Sybase in Remote Machine
This should be simply a matter of specifying the remote machine in your $SYBASE/interfaces file. Anthony >>> Herbert Kwong wrote > Hello, > > I have SuSE 6.4, Zope 2.1.6, Sybase 11.9.2 and SybaseDAv2 in my > machine. It works fine. However, is it possible to make my local > Zope create a connection to a remote Sybase server? As I would like > to separate the Sybase Database from the Apache/Zope server. Thanks. > > Regards, > Herbert Kwong > [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 ) > -- Anthony Baxter <[EMAIL PROTECTED]> It's never too late to have a happy childhood. ___ 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] Old broken product...
Restart Zope... Chris * Lucky wrote: > > After a modification of the python source code, my product > remains broken with the same error... No modification seems > to be made to the line which leads to the error. Does > somebody know why and how to cope with this ? > > ___ > Vendez tout... aux enchères - http://www.caraplazza.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] timezone change and permission problem
Bart Holthuijsen wrote: > This works for a User with the role Manager, but not with a user-defined > role. I have created a Viewer class with all the available permissions (for > testing purposes), but the above code returns nothing. If I remove the "and > AUTHENTICATED_USER.has_permission('View',_.getitem('id',1)) " part it does > show up. What should I do to make that part work? Try giving your DTML method a proxy role or 'Manager'... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Adding an XMLDocument instance Programmatically
I am trying to write a python method which will programmatically create an instance of an (existing) XML document. (I am using Zope2.1.6 and XMLDocument 1.0a6) I am able to add an XML document by selecting the XMLDocument from the available objects ... so XMLDocument is installed correctly. Essentially I have taken the 'add' method of XMLDocument and tried to turn it into an external method. [I was able to successfully do this for the Parrot product so hopfully I am on the right track] I can' t seem to get beyond importing Document (cannot import name Document). Do I need to import other modules? Is this the best/only way to do this?? Appreciate any help. from Products.XMLDocument import Document def add(self, id, title='', file='', REQUEST=None, submit=None): """ Add a XML Document object with the contents of file. """ ob=Document() ob.title=title ob.id=id if file: ob.parse(file) id=self._setObject(id, ob) if REQUEST is not None: try: u=self.DestinationURL() except: u=REQUEST['URL1'] if submit==" Add and Edit ": u="%s/%s" % (u,quote(id)) REQUEST.RESPONSE.redirect(u+'/manage_main') return '' I appologize in advance if I have missed something obvious. Brad ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Old broken product...
After a modification of the python source code, my product remains broken with the same error... No modification seems to be made to the line which leads to the error. Does somebody know why and how to cope with this ? ___ Vendez tout... aux enchères - http://www.caraplazza.com
[Zope] RPM
Is there an RPM for 2.2 that does not include the http server so you can you upgrade from the previous 2.1.6 and still use Apache? Thanks -pa
Re: [Zope] Help Needed for creating : Page 1 2 3 4 Previous:Next
Hi, Peter Marriott wrote: > > Hi, > > I would really appreciate it if someone could point me to some example dtml > that gives navigation links like the following at the bottom of a list of > items. > > Page 1 2 3 4 5Previous:Next (with the current page highlighted bold) it is ugly, but it works for me ... the following creates links like: [ << previous ] 1 2 3 4 5 6 7 8 [ next >> ] [ << previous ] [ next >> ] ... Holger ___ 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] timezone change and permission problem
Hi list! I have two problems with Zope, and I hope you will be able to help me. First one: (probably very basic) When I create / edit a document it says: Content changed, then date / time and GMT+2. Where can I set the time zone? I did not have this problem in 2.1.4, it started after the upgrade to 2.2.0 (final). I just copied the data.fs file and the relevant installed products. Any suggestions on how to solve this problem? Second problem: I found a way to make a list of the folders at the same level in the tree in a How-to on the Zope site. I'm using the following code to do this: "> This works for a User with the role Manager, but not with a user-defined role. I have created a Viewer class with all the available permissions (for testing purposes), but the above code returns nothing. If I remove the "and AUTHENTICATED_USER.has_permission('View',_.getitem('id',1)) " part it does show up. What should I do to make that part work? Thanks in advance, Bart Holthuijsen. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZTopics breaks with 2.2?
Hi, can anyone confirm that the ZTopics product works after upgrading to 2.2? I get an AttributeError for value Lexicon after migrating. Error Zope has encountered an error while publishing this resource. Error Type: AttributeError Error Value: lexicon Traceback (innermost last): File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish File /home/zope/Zope-2.2.0-linux2-x86/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/OFS/DTMLMethod.py, line 167, in __call__ (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 502, in __call__ (Object: index_html) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ZTopic/Topic.py, line 166, in contents (Object: ElementWithAttributes) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/Products/ZTopic/Topic.py, line 228, in _contentsSet (Object: ElementWithAttributes) File /home/zope/Zope-2.2.0-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 391, in _apply_index File /home/zope/Zope-2.2.0-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 463, in query File /home/zope/Zope-2.2.0-linux2-x86/lib/python/SearchIndex/UnTextIndex.py, line 197, in getLexicon AttributeError: (see above) ___ 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] LoginManager, User Sources, ...
Hi! I searched the archives and found some entries, all concerning the same problem ... I read this: "LoginManager currently comes with a default User Source called Generic User Source (GUS), that is a GUF-like roll-your-own system. It uses GUF-compatible methods (userExists, userRoles, etc), so converting any GUF-using site to a LM site . " and wondered where this GUS is hidden and how I actually add users ?? (I'm still a newbie and want to know how it works!) Can somebody please help? TIA Wolfgang ___ 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] Re: Datebug?
I think I found the posting that you meant but he later said his patch unfortunately didnt do any good. Anyway I have posted the bug to the collector now. Chris Withers skrev: > Peter Arvidsson wrote: > > I already used the things in AlexR's howto but still he uses fmt or strftime() and >that is > > the problem. > > Someone posted a replacement module/patch for strftime() on zope-dev(I > think, maybe it's in the collector) > > Try searching the archives at: > http://zope.nipltd.com/public/lists.html > > > AlexR claims the base is GMT though (the Zope developers said the base-time was > > UTC). > > Same thing I think... GMT technically doesn't exist since they got rid > of the observatory in Grenwich ;-) > > >Nevertheless this is a problem... I'll try to chunk it in the collector once more >with > > a bit more explaination. > > cool :-) > > cheers, > > Chris > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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: Datebug?
Peter Arvidsson wrote: > I already used the things in AlexR's howto but still he uses fmt or strftime() and >that is > the problem. Someone posted a replacement module/patch for strftime() on zope-dev(I think, maybe it's in the collector) Try searching the archives at: http://zope.nipltd.com/public/lists.html > AlexR claims the base is GMT though (the Zope developers said the base-time was > UTC). Same thing I think... GMT technically doesn't exist since they got rid of the observatory in Grenwich ;-) >Nevertheless this is a problem... I'll try to chunk it in the collector once more with > a bit more explaination. cool :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] document_src()
On Sat, 22 Jul 2000, Ronald F. Tagra wrote: > I have tried the dtmlObject.document_src() to view the source code of the > script but it has error that says something like there are 3 arguments dtmlObject.document_src(REQUEST, RESPONCE) Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ 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 tutorial
yeah i know how ya feel. even for little stuff i have to scrounge and beg for help. :-( hopefully this will improve when the O'Reilly Zope book comes out. btw have you checked out the pdf files of all the howto's and tip's? i've found them to be really helpful http://www.zope.org/Members/AlexR/ also this list archives is really useful i think. i get a lot of stuff from here http://zope.nipltd.com/public/lists/zope-archive.nsf/$$Search?OpenForm hth Regards, GEORGE DONNELLY [EMAIL PROTECTED] http://cyklotron.com/ He that always gives way to others will end in having no principles of his own. --Aesop > Hi, some thoughts(and frustrations) from a newbie having his "first time" > with Zope. > > The documentation needs a lot of improvement. > sigh...i foresee a rocky road ahead for this newbie to master the 'Zen' of > Zope. Hopefully it's not a long one:( ___ 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: Datebug?
I already used the things in AlexR's howto but still he uses fmt or strftime() and that is the problem. AlexR claims the base is GMT though (the Zope developers said the base-time was UTC). Nevertheless this is a problem... I'll try to chunk it in the collector once more with a bit more explaination. Thanks for your help. Peter Chris Withers skrev: > Ah, OK, I see what happened. > > Did you try AlexR's how-to and did it help? > > I'd suggest submiting another bug along the lines of "fmt should use the > local time and nto be locked to UTC", which is what I think is the > 'horribel' bit of this :-) > > cheers, > > Chris > > Peter Arvidsson wrote: > > > > #1445 (http://classic.zope.org:8080/Collector/1445/view) > > > > Chris Withers skrev: > > > > > What was the issue number? > > > > > > Chris > > > > > > Peter Arvidsson wrote: > > > > > > > > The most hirrible thing is that I chunked it in the collector but the Zope > > > > developers rejected it! Apparently they seem to claim this is a feature. >Feature or > > > > not I can't use dates in forms because of this. > > > > > > > > Peter > > > > > > > > Chris Withers skrev: > > > > > > > > > Erich Seifert wrote: > > > > > > I had the same problem. > > > > > > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), >month(), > > > > > > year(), etc. do not. So I used them. > > > > > > > > > > That's really horrible, I'd chuck it in the collector: > > > > > http://classic.zope.org:8080/Collector/ > > > > > > > > > > cheers, > > > > > > > > > > Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] zeo and rdb backend
hi i have a few questions about zeo and how it works (newbie) i managed to get zeo runniing, and i have two hosts serving one zodb. that's great. but i can't access some of the data that resides in a rdbms (postgres). i guess the db connection points to the wrong host since i use dbname@localhost username (for postgres). tried changing host to something else (host1 as defined in /etc/hosts) but cant change properties. zope said bad request. the same error if i use zPoPyDA. does this mean that i need to use zodb to use zeo? what should i do to use rdb for some of my data? i'm stuck and in need of help, pointers, docs from the great ones. help 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] Datebug?
#1445 (http://classic.zope.org:8080/Collector/1445/view) Chris Withers skrev: > What was the issue number? > > Chris > > Peter Arvidsson wrote: > > > > The most hirrible thing is that I chunked it in the collector but the Zope > > developers rejected it! Apparently they seem to claim this is a feature. Feature or > > not I can't use dates in forms because of this. > > > > Peter > > > > Chris Withers skrev: > > > > > Erich Seifert wrote: > > > > I had the same problem. > > > > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(), > > > > year(), etc. do not. So I used them. > > > > > > That's really horrible, I'd chuck it in the collector: > > > http://classic.zope.org:8080/Collector/ > > > > > > cheers, > > > > > > Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Datebug?
What was the issue number? Chris Peter Arvidsson wrote: > > The most hirrible thing is that I chunked it in the collector but the Zope > developers rejected it! Apparently they seem to claim this is a feature. Feature or > not I can't use dates in forms because of this. > > Peter > > Chris Withers skrev: > > > Erich Seifert wrote: > > > I had the same problem. > > > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(), > > > year(), etc. do not. So I used them. > > > > That's really horrible, I'd chuck it in the collector: > > http://classic.zope.org:8080/Collector/ > > > > cheers, > > > > Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] can't install squishdot with 2.2.
So much for checking the mail archives before asking a question :( Tom Smith wrote: > I upgraded to zope 2.2 and most products migrated OK, but squishdot won't. I > always get the "broken" product icon. Squishdot doesn't currently work with 2.2. It won't do until I get some time to work on it or someone gives me the patch to make it happen. Sorry, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] off topic: How do I run a python cgi?
Sorry for the off-topic-ness, but can anyone tell me "exactly" what I have to do to get a python script cgi working under IIS? Or point me at a web page? when I request http://mysite/test.py I just get the contents of the file back...ala print "Content-type: text/html" print print "Why doesn't this work?" thanks tom ___ 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 and squishdot newbie question
George Donnelly wrote: > you shouldn't need to create a Catlog and then put your Squishdot site in > it. The main squishdot site *is* a Catalog, or has Catalog-like qualities. > (i think). Well, it is a subclass of ZCatalog as of Squishdot 0.4.0 > if you want to be able to search the Squishdot site *and* other stuff you > should be able to select the Squishdot site as well as whatever other > Catalogs you have when you add a Z Search Interface. Sounds liek great advice :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] can't install squishdot with 2.2.
I upgraded to zope 2.2 and most products migrated OK, but squishdot won't. I always get the "broken" product icon. I'm on Windows2000. any ideas? thanks ___ 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] re: Meta Type Registry
Andrew Kenneth Milton wrote: > What about code like this ? While this one is explicitly searching for > sub objects, I have code that searches the acquisition path for > known meta_types, if someone else has a product with a meta_type I think > is mine, then bad things can happen... Cataloging also might cause an issue. This looks like a pretty nasty can of worms... I like the idea of a meta_type registry on zope.org just as a guide. It shouldn't be too hard to set up. However, I think Zope(and its peripheries) need to handle this in some more defined and 'safe' way. I know I've written code like AKM's many a time and now I'm not confident it will work :( Perhaps a combined meta_type and product name to serve as the 'unique meta_type' is called for? Mayeb this could replace meta_type all together? Another thing I've wondered about is 'inherited' meta_types. Subclassing is easy in Zope and python which is cool, but the OO nature is currently hard to exploit when it comes to meta_type. When I say 'find me all ZCatalogs', I might well want to include anything the subclasses ZCatalog as well, like Squishdot and ZDiscussions for example. I wonder how this could be implemented? I wonder how python handles this with the __class__ attribute or something similar? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Extra info: Can not import XML export
I made some experiments and found, that removing from the generated XML file all tags named , and (together with their contents) changes something - loading takes longer and is finished with different error: Error Type: AttributeError Error Value: 'string' object has no attribute '__dict__' I can not find word __dict__ anywhere in my xml file, maybe some of Base64 encoded object contain such a thing... My main suspicion is that I have problem with importing ZCatalog objects -- Marcin.Kasperski | As a slow-witted human being I have a very small head @softax.com.pl | and I had better learn to live with it and to respect Marcin.Kasperski | my limitations, rather than to try to ignore them. @bigfoot.com | (Dijskstra) ___ 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] An observation about manage_* methods
albert boulanger wrote: All good points, there's a thread on this on zope-dev right now. I think this area is a good candidate for a new interface... Maybe it should be discussed on the zope-dev thread and then have somethign done on dev.zope.org? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZClass tutorial
Hi, some thoughts(and frustrations) from a newbie having his "first time" with Zope. The documentation needs a lot of improvement. Since October last year, there's still only ONE chapter(which is on ZClasses) in the Zope Developer's Guide?? Are there any more chapters forthcoming? Or do i have to fork out money and purchase the commercial version one?:( (And don't refer me to ZDP, please...) As for the "Zope Content Manager Guide", the examples are easy enough for newbies to understand, but some of the screenshots accompanying the examples are not 'consistent'. Perhaps DC can do some proof-reading there. As for the DTML reference, i felt "lost" after reading a few sections. At first, I thought it would be as easy as when i first read the PHP manual, but somehow it doesn't seem 'user-friendly' enough. Maybe i will try it again after i have read the rest of the Reference Guides. I'm not an expert in web development, and could not really pick up new "technologies" fast. But i still remembered learning PHP was not that difficult; the manual is comprehensive, easy-to-use and tutorials contributed by other websites really speed up my learning process. I understand that Zope is a different thing altogether from a programming language like PHP. I have yet to read up the Z SQL Methods User Guide, but from the docs that i have read so far, i still feel lost as to where and how to start building an 'advanced' website, e.g. converting my current PHP/MySQL website to Zope. Someting is missing here... Perhaps the Reference Guides could add more explanation and details, instead of just "click here and you will see this" kind of instructions. OR give more complex (real-world)examples, like building an e-commerce site(with sessions, cart & authentication). sigh...i foresee a rocky road ahead for this newbie to master the 'Zen' of Zope. Hopefully it's not a long one:( regards, firestar __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup ___ 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] request for advice
Patrick Lewis wrote: > - I think it would be kind of interesting to use RCS for something like > this on the backend. Build your methods in Zope to manipulate RCS, and > then you get all the functionality of RCS "for free", and don't have to > reinvent the wheel. You may run into problems with people not working with > the most current document (I grab something from the database, Jill > commits some changes to the same document, I make some changes, commit > them, and destroy Jill's changes), but you would have that problem anyway > as you initially described it. Checkout the ZCVS Mixin class producty thing... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Datebug?
The most hirrible thing is that I chunked it in the collector but the Zope developers rejected it! Apparently they seem to claim this is a feature. Feature or not I can't use dates in forms because of this. Peter Chris Withers skrev: > Erich Seifert wrote: > > I had the same problem. > > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(), > > year(), etc. do not. So I used them. > > That's really horrible, I'd chuck it in the collector: > http://classic.zope.org:8080/Collector/ > > cheers, > > Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] more catalog issues
ed colmar wrote: > Now my 2.2 catalog is giving me the problems were supposed to be bugs in > zope (catalog) 2.1.5 and lower... Inconsistancy, and missing indexes...??? I think there are still problems, check with Ethan Fremen, I think he's been having fun with zope.org recently ;-) > Is there a better syntax to use than 'catalog_object()'? I think that's what you should be using, check out the interfaces Wiki or 2.2 API help. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Catalog contains items, but no results
ed colmar wrote: > This is a sample of a call that I make to the Catalog. > > base_url=self.site_url() > self.Catalog.catalog_object(ob,base_url+'/Promoters/'+id) I'd go to 2.2 and use the relevent bits of the Traversal interface for all of this. This whole area was notoriously problematic in the past (particularly when things like SiteAccess come into play...) I hope it's improved in 2.2. What's the 'correct' way to do this sort of thing in 2.2? Where is it documented? ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope and Mac
Tom Scheidt wrote: > icon = 'survey_icon.gif' > ) > ^ > SyntaxError: invalid syntax Looks like a line ending problem. I'd download the .tar.gz, ftp it to your server and unpack it there using tar. cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Datebug?
Erich Seifert wrote: > I had the same problem. > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(), > year(), etc. do not. So I used them. That's really horrible, I'd chuck it in the collector: http://classic.zope.org:8080/Collector/ cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope 2.2 installation error....missing header files (?)
> In file included from /usr/include/errno.h:36, > from pcgi.h:49, > from ./pcgi-wrapper.c:51: > /usr/include/bits/errno.h:25: linux/errno.h: No existe el fichero o el > directorio i may be wrong, but i think you need to install the kernel-headers too - -- 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 )
[Zope] Help Needed for creating : Page 1 2 3 4 Previous:Next
Hi, I would really appreciate it if someone could point me to some example dtml that gives navigation links like the following at the bottom of a list of items. Page 1 2 3 4 5Previous:Next (with the current page highlighted bold) I have managed to get something like the following Page (1-5), (6-10) ,but i find this really ugly. Thanks Peter ___ 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] Can not import XML export
[ A few days ago I started working with zope and I am really impressed. But now the first problem... ] I created simple folder containing a few DTML documents and methods, a couple of images and ZCatalog. Then I exported it using XML format. Now I try to import it into another Zope installation and I get an error suggesting some problem with XML tags. Error Type: TypeError Error Value: illegal argument type for built-in operation Traceback (innermost last): File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/lib/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_importObject) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_importObject) File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 495, in manage_importObject (Object: ElementWithAttributes) File /usr/lib/zope/lib/python/ZODB/ExportImport.py, line 216, in importFile File /usr/lib/zope/lib/python/ZODB/ExportImport.py, line 316, in importXML File /usr/lib/zope/lib/python/Shared/DC/xml/xyap.py, line 57, in unknown_endtag File /usr/lib/zope/lib/python/Shared/DC/xml/ppml.py, line 748, in save_item TypeError: (see above) On both machines I used exactly the same Zope version (2.2.0) and Python version (1.5.2). So: - isn't it a bug? - can I do anything to import at least some parts of this file (say - by editing it manually in some way) - I would really like to import something today (tomorrow I will try usual zope export) Regards -- Marcin.Kasperski | You can even cancel and be left with a working system @softax.com.pl | reflecting investment to date. (Ken Beck's Fourth Marcin.Kasperski | Customer Right - part two) @bigfoot.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] Can not import XML export...
[ A few days ago I started working with zope and I am really impressed. But now the first problem... ] I created simple folder containing a few DTML documents and methods, a couple of images and ZCatalog. Then I exported it using XML format. Now I try to import it into another Zope installation and I get an error suggesting some problem with XML tags. Error Type: TypeError Error Value: illegal argument type for built-in operation Traceback (innermost last): File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/lib/zope/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_importObject) File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_importObject) File /usr/lib/zope/lib/python/OFS/ObjectManager.py, line 495, in manage_importObject (Object: ElementWithAttributes) File /usr/lib/zope/lib/python/ZODB/ExportImport.py, line 216, in importFile File /usr/lib/zope/lib/python/ZODB/ExportImport.py, line 316, in importXML File /usr/lib/zope/lib/python/Shared/DC/xml/xyap.py, line 57, in unknown_endtag File /usr/lib/zope/lib/python/Shared/DC/xml/ppml.py, line 748, in save_item TypeError: (see above) On both machines I used exactly the same Zope version (2.2.0) and Python version (1.5.2). So: - isn't it a bug? - can I do anything to import at least some parts of this file (say - by editing it manually in some way) - I would really like to import something today (tomorrow I will try usual zope export) Regards -- Marcin.Kasperski | You can even cancel and be left with a working system @softax.com.pl | reflecting investment to date. (Ken Beck's Fourth Marcin.Kasperski | Customer Right - part two) @bigfoot.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] Re: Folderish objects and that BASE tag...
"R. David Murray" wrote: > > On Mon, 17 Jul 2000, Chris Withers wrote: > > If you go to: > > http://my.zope/site/file.html/ > > > > It will just return the DTML document :-) > > > > I wonder if it is redirecting to http://my.zope/site/file.html? > > I belive that it is returning: > > http://my.zope/site/file.html/index_html I wonder what index_html that is then? :S Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] problem with rss
Hello, At 12:43 23.07.2000 +, Oliver Frommel wrote: >When I change the XML encoding type to ISO-8859-1 the problem still >persists. >I suspect that Zope silently sets the encoding type to something different. >My DTML method looks like this: > > > > "http://my.netscape.com/publish/formats/rss-0.91.dtd"> > > > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns="http://my.netscape.com/rdf/simple/0.9/"> > > >... > > >when I try to change the dtml-call to set the charset to ISO-8859-1 Zope >produces the "" sequence again. >Any ideas on how to solve this problem? Here is the code I use on a Squishdot server containing french text (with accents) which works fine: --- http://my.netscape.com/publish/formats/rss-0.91.dtd" > fr . -- I believe an important point is to have the first line containing the and the tags, without a line brake. This is used on a 2.1.6 server with Squishdot 0.3.2. Best regards, Gérard Métrailler Jr. Meeting Maker Inc. ... the intelligent choice for collaborative scheduling Email: [EMAIL PROTECTED] Web: http://www.meetingmaker.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] Sybase in Remote Machine
Hi, you should be able to specify the hostname/IP-Adress in the connection string. It should be similar (or the same) to the MySQL DA connection string I am using: database@hostname user password where hostname being the (correct !) hostname as being seen from the database, i.e. I have to use the fqdn to connect since my MySQL server sees me with the full domainname. Furthermor you have to set the access rights in your database correctly for the user to be able to connect from that host ... - Holger Am Mon, 24 Jul 2000 schrieb Herbert Kwong: > Hello, > > I have SuSE 6.4, Zope 2.1.6, Sybase 11.9.2 and SybaseDAv2 in my > machine. It works fine. However, is it possible to make my local > Zope create a connection to a remote Sybase server? As I would like > to separate the Sybase Database from the Apache/Zope server. Thanks. > > Regards, > Herbert Kwong > [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 ) -- --- catWorkX GmbH Hamburg Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 40 890 646-0 Fax: +49 40 890 646-66 mailto:[EMAIL PROTECTED] http://www.catworkx.de http://www.catbridge.de ___ 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] all DTML Methods of current folder and subfolder
Hi, now I'm at work I've tested your solution, read below. On Sun, 23 Jul 2000, Dieter Maurer wrote: > Jerome ALET writes: > > I want to do the following loop in Zope 2.1.6: > > > > where XXX is "not objectValues(['Folder'])" > > > > What is the correct syntax (', " and """ nesting) for that ? > > You can use: > ... obj_expr='''not objectValues(['Folder'])''' ... > or > ... obj_epxr='not objectValues[\'Folder\']=' ... Thanks to you, the syntax you gave me is accepted by the dtml parser, but both and have given me an empty list. If I don't use obj_expr then I've got the full recursive list of all subfolders from the current folder. Knowing that the Zope Search Interface allows me to type this expression in the obj_expr field and gives me the correct result, what could be the problem I encounter ? I know I could build a correct list by putting a test inside my dtml-in loop, but I really prefer to understand why this doesn't work, and all I can say now is: I don't understand at all. Does anyone have an idea about where the problem comes from ? thanks in advance. Jerome ALET - [EMAIL PROTECTED] - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope 2.2 installation error....missing header files (?)
I'm trying to build Zope 2.2 from the sources in a RedHat Linux 6.1 box (which has Gnome-Helixcode intalled as a GUI). The following happens after "python w_pcgi.py" executed as root, nevertheless other things do build, compile and install ok. Obviously Zope is not finding some include files. What would be the best approach to solve this: Thanks in advance, all help and suggestions are appreciated. Ed P.D: I know I could use the pre-compiled Zope distribution. I prefer and need to use sources. [root@server Zope-2.2.0-src]# python w_pcgi.py -- Building the PCGI wrapper ./configure loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking MACHDEP... linux2 checking for inet_addr in -lnsl... (cached) yes checking for socket in -lsocket... (cached) no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for unistd.h... (cached) yes checking for syslog.h... (cached) yes checking for working const... (cached) yes checking for pid_t... (cached) yes checking return type of signal handlers... (cached) int checking for putenv... (cached) yes checking for socket... (cached) yes checking for strerror... (cached) yes checking for union semun... no creating ./config.status creating Makefile make gcc -c -I. -I. -DPCGI_WRAPPER_MAIN -DVERSION=\"2.0a5\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYSLOG_H=1 -DRETSIGTYPE=int -DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -DUNIX -DOPT_NO_STDERR -DCLOSE_FDS ./pcgi-wrapper.c In file included from /usr/include/errno.h:36, from pcgi.h:49, from ./pcgi-wrapper.c:51: /usr/include/bits/errno.h:25: linux/errno.h: No existe el fichero o el directorio In file included from /usr/include/signal.h:294, from pcgi.h:56, from ./pcgi-wrapper.c:51: /usr/include/bits/sigcontext.h:28: asm/sigcontext.h: No existe el fichero o el directorio In file included from /usr/include/bits/posix1_lim.h:126, from /usr/include/limits.h:30, from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117, from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7, from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11, from /usr/include/bits/socket.h:31, from /usr/include/sys/socket.h:34, from pcgi.h:58, from ./pcgi-wrapper.c:51: /usr/include/bits/local_lim.h:27: linux/limits.h: No existe el fichero o el directorio In file included from /usr/include/sys/socket.h:34, from pcgi.h:58, from ./pcgi-wrapper.c:51: /usr/include/bits/socket.h:295: asm/socket.h: No existe el fichero o el directorio make: *** [pcgi-wrapper.o] Error 1 Traceback (innermost last): File "/usr/local/Zope-2.2.0-src/w_pcgi.py", line 111, in ? if __name__=='__main__': main(sys.argv[0]) File "/usr/local/Zope-2.2.0-src/w_pcgi.py", line 104, in main import build_pcgi File "/usr/local/Zope-2.2.0-src/inst/build_pcgi.py", line 97, in ? do('make') File "/usr/local/Zope-2.2.0-src/inst/do.py", line 104, in do if i and picky: raise SystemError, i SystemError: 512 [root@server Zope-2.2.0-src]# ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] zope 2.2.0 simply dies
I have a Zope-2.2.0 installation running on a Redhat 6.0 Linux Box. It simply dies sometimes. Three times in the last 72 hours?!? There's only DCOracle and ZOracleDA installed, nothing more. I cannot see any other problems on the machine and it does not have that much load. Is there a solution? Has anybody had the same problem? Andy Pahne [EMAIL PROTECTED] net22 GmbH Bad Meinberger Strasse 1 32760 Detmold Tel.: 05231 - 580 640 ___ 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] [FAQTS] Zope Knowledge Base Update -- July 24th, 2000
Hi Guys, Here are the latest entries to be entered into http://zope.faqts.com I'm sending this out now so list subscribers get an idea how the summaries work, if they haven't seen the python summaries I mentioned in the thread "[Zope] FAQ Wiki and What happend @ O'Reilly Conference" from earlier today. regards, Fiona Czuczman ## New Entries # - installing Zope 2.2.0b4 via CVS http://www.faqts.com/knowledge-base/view.phtml/aid/4845 - Fiona Czuczman T.J. Mannos I'd just like to announce that I've installed Zope 2.2.0b4 via CVS and done a complete run-through of my site. It seems to work flawlessly now, and I've gone ahead and installed it on my main port for a trial period. I hope to launch the site using the final version of 2.2.0 (so hurry up, developers!!) :) Anyway, upgrading wasn't without its problems, so let me share with you some tips that will help those in my situation upgrade more successfully. Note that I've skipped some steps, with the assumption that since your upgrading an existing Zope version, you already know how to install Zope. Directories cited: Original installation: /usr/Zope-2.1.6 Fresh install of 2.1.6 (for diff'ing changes I made in the python modules): /temp/Zope-2.1.6 New CVS install of Zope-2.2.0b4: /usr/local/Zope2 (I moved it to the /usr/local volume because I had more space there). Products installed: SQLSession SiteAccess TinyTable ZMySQLDA (your product list may vary) FIRST, I like to hack the source a lot. I have my own special comment tags, such as instead of ... , and I have my own special modifier, js_friendly, which quotes all special characters so I can use them in JavaScript code. On a tip from Shane, I started using CVS to download the Zope source code so that it would merge the changes made in each upgrades with the changes I've made to the source. (Do a search for "CVS" on Zope.org). However, this was my first CVS, so I still needed to bring over the changes I'd previously made. So... cd /usr/local/Zope2 diff -rc /temp/Zope-2.1.6/lib/python /usr/Zope-2.1.6/lib/python >MyChanges.diff patch -p3 http://www.faqts.com/knowledge-base/view.phtml/aid/4846 - Fiona Czuczman Andy Dawkins To create a new object you must supply an addForm and a method to add the product. e.g. manage_addMyProductForm = HTMLFile('MyProductAdd',globals()) def manage_addMyProduct(self, id, title='') """Adds the product""" self.setObject(id, MyProduct(id,title)) if REQUEST is not None: return self.manage_main(self, REQUEST) The product tabs are defined in the manage_options section of the product.py The order is important the first item in the list is called when you access the object from the management screens. The index_html is the default when accessed without the management screens. For example: manage_options = ( # the management options available {'label': 'Contents', 'action': 'manage_main'}, {'label': 'View', 'action': ''}, # defaults to index_html {'label': 'Properties', 'action': 'manage_propertiesForm'}, {'label': 'Security', 'action': 'manage_access'}, ) Download the boring product from zope.org It is a plain shell of an object that does nothing, but works. - How can I deactivate HTML tags? http://www.faqts.com/knowledge-base/view.phtml/aid/4843 - Fiona Czuczman Curtis Maloney html_quote Convert characters that have special meaning in HTML to HTML character entities. - When Saving changes from a version are the notes entered in the text box logged anywhere? http://www.faqts.com/knowledge-base/view.phtml/aid/4844 - Fiona Czuczman Shane Hathaway Problem: When Saving changes from a version are the notes entered in the text box logged anywhere? It would be handy to use them for a regular CHANGES file. Solution: They appear in the Undo log. - Using Zope, can I obtain the current exchange rates for the yen, mark, etc. at least once a day, preferrably every other 15 minutes? http://www.faqts.com/knowledge-base/view.phtml/aid/4842 - Fiona Czuczman ethan mindlace fremen, Loren Stafford, Peter Be It depends on where the exchange rates are. If you get them from a database, you can make zope display the current rates. If you get them from a web page, you can use
[Zope] ODBC SQL DA
Greetings, I have been digging about for a couple of weeks, and either I'm missing something (most likely :) or where there once was a mxODBC adapter, there is no longer? I am going to need to dig into an ODBC based DB (DataFlex), for which we have an ODBC interface. The db was not my choice, so there's no option there. However, I saw a few references to various ODBC DAs in the product lists. With ODBC supposedly being a 'generic' interface, why does each different DB require a different DA? Is this just tailoring the DA for that specific DB? In which case, would it be possible to build a "Generic" ODBC DA? Fortunately, this is not a priority project, but I would appreciate some details in this matter. Oh well, back to the archives. Have a better one, Curtis Maloney ___ 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 )