Re: [Zope] Zope log rotation
+[ Dan L. Pierson ]- | Chien-pin Wang writes: | > Dear All: | > | > Quick question about Zope admin. | > Can zope automatically rotate its access log? Thanks. | | I use logrotate on Linux for this. Unfortunately I have to use the | before and after config options to stop zserver before and restart it | after -- otherwise zserver just keeps appending to the old log. FreeBSD has the newsyslog utility, which allows you to send a signal when rotating the log. You can rotate on time or size, and it takes a pid file so it knows what pid to rotate. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] detect root folder
+[ Morten W. Petersen ]- | > | > We're at the root folder | > | > You can go up from here | > | > | | I think the root folder has the title Zope too, so: | | | | | | Just don't give any other folders the title of 'Zope' -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZMysqlDA
+[ Brenton Bills ]- | | Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD | machine, I have compiled this fine before on Linux but no luck on bsd. I | am new to Bsd so if this is a bsd problem I appolagise in advance, but the | ZMysqlda documentation is not clear on what libs are required. | | Python 1.5.2 manually compiled and installed (not part from ports). You need to edit the src/Setup to change the locations for the mysql includes and libraries: -I/usr/local/include/mysql -L/usr/local/lib/mysql so you get a line that looks like:- MySQLmodule MySQLmodule.c -I/usr/local/mysql/include -I/usr/include/mysql -L/usr /local/mysql/lib -L/usr/lib/mysql -lmysqlclient -lm Works for me d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how do you iterate over tiny tables?
+[ Graham Chiu ]- | | | I have a folder full of Tiny Tables. I would like to go over each | table, and iterate thru their contents. | | | | | | | | doesn't do anything. Clues? I don't think you need the []'s This works for me. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how do you iterate over tiny tables?
+[ Graham Chiu ]- | | > | > | > | > | > | > | > | >This works for me. | | This code is in the index_html of the same folder containing the | tinytables. It doesn't work for me unless I specify the folder as in | | thisfolder.objectValues() | | whereas all the examples I've seen don't need this. Using 2.1.4. My index_html is a dtml-method, not a dtml-document. Using 2.1.4. I find myself rarely using dtml-documents because they don't acquire like methods. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope with FreeBSD
+[ Jilani Khaldi ]- | Hi All, | did somebody try to use Zope with FreeBSD with success? Yes I have used it with 3.x, 4.x, 5.x I do not install it out of ports though. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
+[ Denis [Fr_re] ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | "J. Atwood" wrote: | > | > Stunned. Totally and utterly stunned. I would have thought there | > would be Java floating around in Zope's bowl before Perl! Perl? | > Jeeze... what a great but very scary thing. I trust that DC will do | > it right. | | Let's take up bets. | | In an egg, there is white and yellow, | when these are mixed, what does remain ? | Just yellow, doesn't it ? It doesn't matter how much you shake an egg. It's still got a yolk and a white. You have to smash open the egg and break the yolk before you get just 'yellow' -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
+[ Chris Withers ]- | Paul Everitt wrote: | > | > Howdy gang. Below is an announcement that we'll start distributing over | > the next 24 hours. I wanted to let you folks see it first. In summary: | > Perl Methods. | | Why is this a good thing? ;-) It may increase the user-base of Zope and an increase in the number of Python fans. :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
+[ Chris McDonough ]- | This is pretty silly. I agree, it got silly about 8 hours ago. I don't think I've ever seen paranoia and religious fervour mixed in quite the same way before. Anyone would think that people think that python is inadequate as a language. If you don't want people working for you to write perl, tell them they can't write it in perl. I find the whole 'perl will pollute us' mentality quite disappointing, it's worse than a bunch of school girls arguing over which all boy band is best. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
+[ Chris Withers ]- | | This userbase gets into hacking the core and bring perl into there. | | Suddenly Zope is a total mess of perl and python and the whole community | shifts onto something cleaner leaving DC high and dry and spoiling a | perfect solution... So retaliate by making PHP into a python project. d8) If the phantom 'perl userbase' could 'hack into the core' and put perl in there, why would they wait for perl methods to become available first? They would have implemented PerlZope long before this. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed
+[ Roman Milner ]- | | Well, I don't think that analogy applies directly. People will ask, | "do you know zope", and in order to say yes - I will need to know | perl. The answer "yes except for the perl bits" won't fly with an | employer. | | Linux is different. Saying "I know linux" generally means | you know how to administer it - not how to code in every language | available to it. Do you know UNIX? "Only the Linux bits" is that your answer? I wouldn't hire you based on that. Zope is to UNIX, not to Linux. Nearly everything you want to deal with in the IT industry is fragmented. Do you know C? (ANSI and K&R ?) If someone wants you to maintain Perl code they will specifically ask about Perl, the way they will specifically ask about Solaris or HPUX not just UNIX (although they might if they think you actually have the capacity to apply your skills to another variant). The sad fact of the matter is that there is more concern for people's personal welfare, than that of the project as a whole. When in fact, what is good for Zope is good for the community. Zope is open source, if you don't like Perl, and it morally offends you, branch the code and keep your own Python-only version running. If you don't think this is feasible, ask yourself why, and then rethink why other language support in Zope is a GoodThing(tm) (TCL ? mmm acs integration) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] E-Commerce solution using Python and Zope.
+[ Bill Anderson ]- | Itamar Shtull-Trauring wrote: | > | > Jilani Khaldi wrote: | > > | > > Hi All, | > > do you know about something written in Python & Zope for e-commerce | > > solutions? | > | > Etailer - http://e-tailer.adriot.net | > | > It's simple, but very nice. | | | But the url doesn't work, No DNS entry (been trying off and on since it | was posted...) adroit not adriot :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [Zope-Annce] ANN: Perl For Zope - why I'm bummed
+[ Oleg Broytmann ]- | | > So, I believe this is enough reason for me to start considering other | > web technologies for me, and my company. | |I am considering dismounting the Zope bandwagon, too :( It was good | techonology, but what will come? Where do you intend on going? If there was something better out there you'd be humping its leg already. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] 2 isp's, only 1 allows connection to http://localhost:8080
+[ Michael Douglass ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | i am using internet explorer 5, trying to connect to this page, 1 isp allows | connection every time, the other doesn't at all. i was hoping to change to | the one that doesn't permanently & get rid of the other. is there any way to | get around this. i think its something to do with cgi scripts being accepted | by the isp. it is mentioned in the zap document very briefly. does anyone | know an answer? put localhost:8080 into your proxy exceptions. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope.org down
+[ Graham Chiu ]- | | Hmm. zope.org has been down most of the afternoon. | | Not that Friday afternoon change over to Zeo that they were talking | about doing ? Dunno, but, their nameservers have been dead until just recently too, but, they're both on the same /24 so perhaps network problems more than anything else. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope Chat
+[ Stuart 'Zen' Bishop ]- | On Wed, 31 May 2000, David Trudgett wrote: | | > Sorry for my ignorance, but what's that in UTC? | | I think it is American for GMT, so I think it comes out to 3am EST | (thats Australian EST) and well past my bed time. I think 3PM AEST is way past your bed time, he wanted the time converted to UTC, not an explanation of what UTC is. (I misread it myself the first time). GMT doesn't really exist any more since the Greenwich Observatory is gone. UTC is basically GMT without a lighthouse with a red line painted on it :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Site Powered by Zope
Hrm I just went to applixware.com to look for updates for Applixware (UNIX Office suite), and they've become VistaSource.com. Down the bottom of their site is the venerable "Powered By Zope" icon. I knew they'd started a new Open Source development plan, but, its still good to see large-ish sites running Zope. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Site Powered by Zope
+[ Hugo Ramos ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | Yellow, | | Are you trying to imply that ZopersORG (www.zopers.org) isn't a large site? | :- Dunno, what's your annual turnover? d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Jim & Paul's chat full log
+[ Hugo Ramos ]- | | Yellow, | | ZopersORG (www.zopers.org) already has the full log of the great chat!!! | The site itself is portuguese but if you click on the top link you can read | the log in english!! Just some hints on how to run these types of online chats (having run a few in my time). You setup two channels say #ZopeTalk and #ZopeTalkPrivate The public join #ZopeTalk The 'guests' join #ZopeTalkPrivate (lock it up so noone can get in). Your MC(s) join both channels. When you want questions you unmoderate #ZopeTalk for a few seconds and let people type their questions to the channel (that way everyone sees the questions and don't ask the same twice). Paste the questions into #ZopeTalkPrivate Guests respond in #ZopeTalkPrivate Paste the responses back into #ZopeTalk This way you avoid the private messages that go on that are disruptive, and one person isn't getting messaged all the time with questions. If you want to throw the floor open, then the guests join the Public Channel. We've done this with very very large chats for bands like Savage Garden Henry Rollins, and SilverChair with thousands of people in the public channel (chats were advertised on Channel V - Australian MTV type cable channel). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZPoPyDA license (was: [Zope] Thread-safe PostgreSQL adaptor?)
+[ Federico Di Gregorio ]- | | the only good reason for changing the license would be Digital Creations | asking us to do so because they want to include ZPoPyDA in one of their | products but don't want to be binded by the gpl. we are using zope and | making money out of it and i don't like if they can't do the same with | out work. You don't have to change the license for this. As the author you can provide different licenses to different people. So if DC wanted to you alter the license you could license the code to them and only them under a different license to everyone else. You have that right as the author. (I'm not a GPL fan, but, its best for people to know their options). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MS SQL server and Zope
+[ paul beard ]- | anyone have any insight on accessing a SQL server store thru Zope? I have | an app that's backed by SQL server and rather than buy r/w licenses for | it, I'd be happy to use Zope to access it readonly. What platform are you running Zope under? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Two in one?
+[ Andy Gates ]- | Fun for all the family. I'm trying to produce a page that draws from | two databases following one friendly search. The first chunk of data | is from the search itself and returns, among others, an ID which I want | to pass into the second chunk to search it. Kinda like this: | | Search page: blah | | Report page: loop thru hits on "blah" in db1, any of 6 fields (name, | desc) | show id | show name | show desc... | loop thru hits in id db2 | show users | show friendlynames | /loop | /loop -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Product Downloads
Just a small suggestion:- Can you put a list of "Page Numbers" along with the next/prev 20 to make it easier to navigate into the middle of the pack ? Or a 'show all' link perhaps? At least you can binary search when you're looking for something rather than sequential search (and you don't know how many products you've got). Actually even Letter Ranges, Date Ranges and Author Ranges would be good instead of just Pages (there's even an example of doing that in the ZDTML guide so we know you know how to do it d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] I18N
+[ Gijs Reulen ]- | Gregor Hoffleit <[EMAIL PROTECTED]> wrote: | | > How about I18N as a topic for one of the discussions ? I guess many European | > sites and developers struggle with problems of I18N. | | What is I18N ? I did not know I am struggling with that :-) ? InternationalisatioN (s/s/z/ if you're an american) it's called I18N because there are 18 letters between the I and the N. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] I18N
+[ Pierre-Julien Grizel ]- | | Do you mean to talk about products or techniques (or both) ?... | I set a multilingual site that works quite perfectly, with almost no product at | all (just a few external methods to make things easier). Haha. Your french humour was lost on me the first time, now I understand :-) | I can explain my schema if some of you want to. No no, I've done enough I18N in my life, please no more :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Novice simple one - recompile one module?
+[ David Ornstein ]- | Hi Folks, | | (Somebody should let me know if these questions are *way* too basic to waste | list bandwidth with...) | | I see a patch to AccessControl\User.py that I want to apply. I don't know | jack about Python (thought do know other OO languages). I've made the | changes to User.py. How do I recompile User.py to get the User.pyc file? If you restart Zope it (the python interpretter) should recompile the python for you. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Expression Evaluation Order..
I have noticed a buglet in the dtml-var expression evaluation:- Is the same as this is obviously wrong :-) so I need to expressly put -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] stupid question I guess
+[ Chris Withers ]- | josh on wrote: | > can I set a local variable in zope on a dtml page | > | | Yup: | | | | Nice syntax, huh? ;-) Tsk tsk, that's global :-) ... ... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] stupid question I guess
+[ Phil Harris ]- | | Is it global to the page, or local to the page ?!?!? It's global to all methods you call from that point onwards. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] stupid question I guess
+[ Tony McDonald ]- | | >Tsk tsk, that's global :-) | > | > | >... | >... | > | | Tsk tsk tsk - it don't work ;) Yeah I'm busted, I use REQUEST.set() d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Newbie question: graphics in subdirs
+[ Randy Edwards ]- | I'm going to rewrite my web site in dtml and am using the latest stable | Zope. Well, I should say I'll rewrite it after I get over this infuriating | newbie problem I have. :-) | ` | I'm trying to get Zope to display an image from a subdir. I've whipped up a | simple dtml document called "test". Test contains this: | | | | This is the Document. | Now show a graphic: | | | There's more than one way to skin the cat, however:- You have a '.' in your id which means doing stuff like:- are out in any clean way. You can which will also work. You can say; -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] load-balancing recommendations ? (configuration and hardware)
+[ chas ]- | | | ps. In the past I've got around this by ensuring that if the | very first request from a given browser is dealt with by, say, | server silo8.domain.com, then all subsequent requests from that | browser are also dealt with by by that server. But that | (a) introduces head-aches with application logic and (b) is | not good if silo8.domain.com suddenly goes down. pps. If you use sessions that are not distributed (i.e. in memory), this is the setup you need. It is a royal pain (thinking IIS + ASP here more than anything) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope w/ FreeBSD 4.
+[ Jason C. Leach ]- | hi, | | I would do with a hand getting zope working w/ FreeBSD 4. I make it by | going to the /usr/ports, and why I try and start it with './start' I get | the errors at the end of this msg. Don't use it out of ports. For some reason it decides positively absolutely that you require Apache to run Zope, and makes a lot of assumptions about Zope (since the port-maintainer seems to still run 2.2.8, Thomas have you upgraded in recent history?). go into /usr/ports/distfiles/ and unpack the Zope-2.1.6-src.tgz file somewhere else. type python ./w_pcgi.py (for pcgi support). or python ./wo_pcgi.py (for stand-alone). | su-2.03# ./start | Traceback (innermost last): | File "/usr/local/www/Zope-2.1.6/z2.py", line 493, in ? | logger_object=lg) | File "/usr/local/www/Zope-2.1.6/ZServer/medusa/http_server.py", line | 552, in __init__ | self.bind ((ip, port)) | File "/usr/local/www/Zope-2.1.6/ZServer/medusa/asyncore.py", line 205, | in bind | return self.socket.bind (addr) | socket.error: servname not supported for ai_socktype | su-2.03# Since you're running it as root, make sure that the directory and all the files are owned by nobody:nobody Make sure your python is up to date as well. Make sure your 4.0 is recent-ish (like 4.0-RELEASE or younger, not a pre-2000 snapshot). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] error (200)
+[ Martijn Pieters ]- | > On Sat, 10 Jun 2000, you wrote: | > > On Sat, Jun 10, 2000 at 09:47:54AM -0700, Mike Mikkelsen wrote: [Lots of Snipping] | > > > This is the error that shows up on the console when going to Product Management | > > > or accessing the subdir that holds the subdir that has LoginManager: | > > > | > > > ERROR (200) ZODB Couldn't Load State for | > > > '\000\000\000\000\000\000\002\017' | > > > | So, Tranalyzer says nothing is wrong, but you do get a load state error. I got this error after updating LoginManager, but, not the PTKDemo which caused these errors. Have you tried upating PTKDemo via CVS (if you're using PTK)? After I updated these errors went away, or updating any Products you have that use the LoginManager? It could be related to an old LoginManager instance hanging around. Try removing and re-adding LoginManager instances. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] SINGOFF
+[ [Juanjo Garc_a] ]- | | SINGOFF La La La La -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope 2.2 beta 1 released
+[ Anthony Baxter ]- | | >>> Graham Chiu wrote | > I go to the manager interface of my root folder in Zope and it dies with | > a Dr Watson :-( | | ?? What's a Dr Watson? I haven't seen that error... It's like the full-circle crash stuff for Netscape. Any application that dies under NT causes a "Dr Watson" error as that's the name of the application that fires up to tell you that something died. Probably some third party licensed software (by Microsoft). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] RSSChannel
+[ Oleg Broytmann ]- | On Tue, 13 Jun 2000, Martijn Pieters wrote: | > It is listed, just under a different name. A search for 'RSS' lists a product | > called 'Site Summary' by Edd Dumbill as the first hit. This is immediatly the | > only product for Zope (that I know of) that is specifically tailored for | > generating RSS channels: | > | > http://www.zope.org/Members/edmundd/SiteSummary | |Thanks, but I want to import RSS rather than generating it :) I want to | import zope.org news, appwatch.com etc... This also does this (albeit a tad crudely). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [ZCommerce] Re: [Zope] Costs of implementation
+[ J. Atwood ]- | | This is very rough but should be around the amount of time. This does | mean full "developing days" which are about 10-14 hours. I don't know Remind me to get paid by the hour if I ever do any work for you :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope as a program
+[ Malcolm C. Mallette ]- | Zope is the sorst escuse for a program I have ever encountered. Right after your spell-checker. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] zope as program
+[ Malcolm C. Mallette ]- | Zope is the worst excuse of a program I have ever encountered. Haven't spent long in Microsoft land have you? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope as a program
+[ Malcolm C. Mallette ]- | I was so mad I could not type correctly the first time. Second message | is correct. Perhaps you should engage your brain before posting. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope on NT - port problem
+[ - - ]- | Hi all | | How do I customise the port number that Zope installs to? I'm | running NT and there is already a service running on the default | port 8080. You have a few option... -P and a number -P 9000 means you get web on 9080 and you get ftp on 9021 and monitoring will be 9099 -w port (for just web) -f port (for just ftp) Have a quick look at z2.py for other groovy options you can set. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Referring to a total-xxx variable
+[ [EMAIL PROTECTED] ]- | | | Following on from my last posting I seem to have made a lot of progress - | although still not sure if what I have done is the right thing or not. However, | please somebody put me out of my misery. In the following code snippet the | dtml-var part works fine. How can I, therefore, add count-id to v_allItems? It | seems to think I am trying to do subtraction. I've spent a couple of hours | trying to find the mystical incantation. Replace this | with this try to avoid hyphens in variable names as much as possible, it tends to get messy. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ISP supporting zope
+[ Rajil Saraswat ]- | hi everyone, | can anybody give me names of ISP's providing zope support. I wil prefer | US for the ISP locations. Is any such list available on the net or zope | site. Yes. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ISP supporting zope
+[ Rajil Saraswat ]- | hi everyone, | can anybody give me names of ISP's providing zope support. I wil prefer | US for the ISP locations. Is any such list available on the net or zope | site. | Thanks Hrm obviously my Zen attempt to get you to help yourself failed miserably, since you simply posted again without checking the obvious places. http://www.zope.org/Resources/ I'm not giving any more clues. If you want more help, you'll have to buy a vowel, and since I've only got five left, they're very expensive d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZODB or not ZODB?
+[ Cary O'Brien ]- | | I'll let others speak to 3. I've never had a problem with ZODB, but I've | never put 750MB in it. It'll take a fair amount of abuse :-) I've loaded the entire dmoz data into it (once only) just to see what would happen. Booting was slow, but, once it got up, it ran OK. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Using Zope DB connection from a Python class
+[ Tino Wildenhain ]- | Hi Ivan, | | > 3. Zope 2.1.7 | > Z ODBC DA 3.0.3 | > Solid dev kit 2.3 | > RedHat Linux 6.1 on i386 | | How to use Z ODBC DA on Linux? I only found a windows binary. You need to do a few things: First the ZODBCDA comes with src for the python ODBC wrapper. You can alter this src to use your ODBC library rebuild it and move the .so file up a directory. For UNIX ODBC libraries you have some choices:- OpenSource -- iODBC-- works OK unixODBC -- I had problems with this, but, it's not a very mature product, I didn't really stick with it at the time either (time constraints). Commercial -- Openlink Multi-Tier ODBC libraries -- Commercial, but, they have a 10 connection demo license. This works well, and I have succesfully used this to talk to MS-SQL v7 from FreeBSD. Then there's the ODBC-ODBC bridge software I haven't really tried to get this to work, although I briefly looked at it. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Starting Zope on FreeBSD 2.2.8---Python dumps core
+[ Loren M. McCarter ]- | I'm having difficulty starting Zope. | | Versions: | Zope: 2.1.6, compiled from source with "python wo_pcgi.py" | Python: 1.5.2, (#2, Jan 17 2000) [GCC 2.7.2.1] on freebsd2 | Python is compiled with pthreads enabled. | FreeBSD: 2.2.8 (yes, I know it is outdated). The FreeBSD threads support even up until 4.0-RELEASE was attrocious. You will probably find that it is this thread support that is hosing your python, and therfore your Zope. Zope will run on FreeBSD 3.4, 3.5 quite well, but, you really want to have 4.0-Stable on your machine. You will have to upgrade the OS on your machine, be it a switch to Linux, or an upgrade in FreeBSD. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml-always et al
+[ Lalo Martins ]- | On Fri, Jun 23, 2000 at 12:49:16PM +0530, Shalabh Chaturvedi wrote: | > Hi: | > | > Could you give an equivalent using the current dtml tags? | | > From: Jay, Dylan <[EMAIL PROTECTED]> | > | > > | > > | > > | > > link text | > > | > > (no link currently available) | > > | > > | > > | | If I understood it correctly: | | | | | link text | | | | (no link currently available) | | | | Or alternatively: | | | link text | | link text (no link currently available) | Or sometimes you just need to rethink what "clean" is... and where you want clean, and where you're willing to be a little dirty. ')"> ')"> link text I would do it this way, if I could pre-set that text in an earlier and the programming logic, would mess up my display flow, it works nicely for where you have a list of URL's, and you can hide the ugliness in another place. link text -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml-always et al
+[ Andrew Kenneth Milton ]- | | Or sometimes you just need to rethink what "clean" is... and | where you want clean, and where you're willing to be a little dirty. | | | | | | ')"> | ')"> duh link_end | -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] MySQLDA Problems with simple constant/function queries
+[ Stefan Franke ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | I'm using MySQLDA 1.1.3 on Win32. When I type the following queries | into the test tab edit box, I get the traceback below: | | select LAST_INSERT_ID() | | or | | select 1 from I can give you work_arounds for both cases:- select 1 from foo as One select CONV(LAST_INSERT_ID(),10,10) AS LAST_INSERT_ID This last one took me a little while to work out :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] embed an SQL method inside a tag
+[ [EMAIL PROTECTED] ]- | Hi, | | I tried to embed an SQL method statement inside my listing, the | problem I'm facing was, will Z sql method detact the value I passed in, let | say : | | # This is my first listing | | #another sql_statement | | | | | # The bcd_statement will not be requested by a form | | The reason being I do this is because I need to do some interaction in the | results of bcd_statement. | | Any one can help or done this before ?? The inside loop bcd_statement needs to have the values passed to it explicitly, because values from the outer dtml-in will not be acquired. So... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How-to Bypass DTML Code?
+[ Nestor A. Diaz L. ]- | Hi, anyone know how to bypass the dtml-code, that's because i'm writing a | howto with showing the use of some "dtml-tags" so it tries to interpreting | it rather than only showing them. | It's easy:- Make a method called printCode which contains one line: Then to display a method or a document:- Will print your standard_html_header, you will probably want The advantage of this, is that you can use actual methods (if you're doing a tutorial). So when you change the method, your documentation updates itself. If you just want to pass strings into printCode, you can do that too. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] embed an SQL method inside a tag
+[ Dieter Maurer ]- | Andrew Kenneth Milton writes: | > | > So... | > | Alternatively, you could place the values from "abc_sql_statement" | into the "REQUEST" object: | | | Except you get one line per variable you want to set... It's ok if you've only got one variable and you want to use it outside the loop, setting four or five would get messy I think. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [ZCommerce] Secure storage of credit card info
+[ Curtis Maloney ]- | On Fri, 30 Jun 2000, Andrew Kenneth Milton wrote: | > Just to make those people who think "It will never happen to me" think | > twice, the Australian Government Treasury site was hacked and lots of | > banking details about lots of small businesses was released. | > | > The Australian Treasury was very happy with their security too. Until | > yesterday. | | Whilst I agree that "It will never happen to me" is a stupid stance, the ATO | web site was not 'hacked'. As an example, the Federal Police and the | government are NOT doing anything to the person. Last night I heard they were still looking for him. Of course ringing JJJ first wasn't exactly a smart idea. | What happened was somebody noticed that a number in the URL for a page of | their details matched their ID number, and tried some others. Upon finding | they worked, he wrote a script to try numbers, munge the page, and e-mail | people their details. And the site is down 'indefinitely'. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] FOR loops?
+[ Andy Gates ]- | This ought to be easy: ... | Presenting these in a SELECT input I want to show the indentation so | it's easy to see and use. Obvious answer is to use characters | to pad the values thus: You have to drop to the python level I'm afraid... | | | | | | | | | | | | So where does Zope hide its FOR loop? Can't find the bugger anywhere! You can find these things... you just have to know what you're looking for... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] What's wrong with this code?
+[ Luke Tymowski ]- | Hello, | | When: | | | blah blah | ...snip... | If I create a simple page like: | | This is some text. | | | The footer doesn't get published. I'll go the obvious answer straight up... Because 'renderedHeader' is already set? You want to change it to renderedFooter in the footer... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Is there a better way to code this?
+[ Luke Tymowski ]- | Hello, | | I'm still having trouble trying to get Zope to use/ignore header and footer | code in the appropriate places. ...snip... | So. Is there a better way to do this? Or is the above meet and right and | not worthy of shame? I want to write a How-To so other newbies don't have | to go through what I did. You should set flags to say when it's safe to render the header/footer, or you should remove the header/footer calls from documents you want to embed. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Is there a better way to code this?
+[ Luke Tymowski ]- | Hello Andrew, | | >You should set flags to say when it's safe to render the header/footer, | >or you should remove the header/footer calls from documents you want to | >embed. | | Can't do the latter. | I'm building a weblog. I need to have the user enter entries for each day. | I need for each day to display properly on its own - which means each needs | header and footer code. No it doesn't. You need to seperate content, and structure. Each day can simply be Where day_content is what you have now sans header and footer. I don't know your structure, but, this is how I would do it knowing that... | And I need the front page to be created on the fly, | consisting of the three latest entries, but, of course, without the header | and footer code appearing in the body of the document. Yep you can get the content... | It now works as it should, but I want to know if there is a more elegant | way of doing what I want to do. No point pointing fellow newbies at | something and then have one of the gurus suggest I could have done it much | more simply and elegantly. Yes there is, and then you don't need all that hackery in the header/footer. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] uploading from client PC in MySQL thru ZSQL
+[ Didier Georgieff ]- | | SQL used: | LOAD DATA LOCAL INFILE 'D:/Data/SIT67/AnnuaireTest.csv' | INTO TABLE annuaire FIELDS TERMINATED BY ';' Local means local to the actual mysql client (your webserver), not local to your user (browser). You could get your form to upload the file to a LocalFS directory and then use that path the INFILE. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] About "Powered by Zope"...very simple, isn't it?
+[ Pierre Rougier ]- | Hi zopatistas, | well... this is not a very important thing, but I would like to remove | the picture "Powered by Zope" at the end of my Zope Pages... | is it possible..? I though it was in the "standard html header" but it | seems that it is not...gasp... | someone can help me? | It's in standard_html_footer, you were pretty close. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] too many open files
+[ Ragnar Beer ]- | Help! | | Zope 2.1.6 refuses to work in the middle of an external method on my | i386 running under OpenBSD 2.7. Is says: | | OSError | [Errno 24] Too many open files: '[EMAIL PROTECTED]' | | | I've never ever seen this problem before and this external method | used to work well until some minutes ago. Now the error keeps | reappearing even after rebooting and also other external methods that | used to run well now deliver the same message. | | Does anybody have suggestions how to diagnose/cure this problem? You have several options:- First type 'unlimit' at your prompt before you start Zope (or in a shell script). This should raise your max files from 64 to 800+ You should verfiy this by typing 'limits' at a prompt to see what the settings are before and after the unlimit. Next you can increase the MAXUSERS in your kernel conf to something larger (say over 100) which will increase the maximum number of file descriptors available and increase the number network buffers availalble (which you will need for a webserver anyway) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] error going from 2.1.6 to 2.2b3
+[ Anders Holmbech Nielsen ]- | Hi, | | when trying to import an object made in 2.1.6 into 2.2b3 i get this | error. What could be the problem ? I can't help with the error, but, you can try exporting as XML and importing the XML. I find this to work a little more reliably between Zope Versions when zexp fails. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] error going from 2.1.6 to 2.2b3
+[ Anders Holmbech Nielsen ]- | >+[ Anders Holmbech Nielsen ]- | >| Hi, | >| | >| when trying to import an object made in 2.1.6 into 2.2b3 i get this | >| error. What could be the problem ? | > | >I can't help with the error, but, you can try exporting as XML and | >importing the XML. I find this to work a little more reliably between | >Zope Versions when zexp fails. | | | Sorry to say: That didn't do it! Same error. Do you have the same classes and Zclasses installed on both ? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to deal with MySQL's LAST_INSERT_ID() sensibly?
+[ Stefan Franke ]- | | As far as I understand from the MySQL manuals, the value of LAST_INSERT_ID() | is maintained on a per-connection basis (wish it would be | per-connection/per-table; | a LAST_INSERT_ID() would make much more sense in combination | with | table locking, but anyway..). It's per thread (MySQL thread). | I have a number of ZSqlMethods and Python methods that share a DB | connection. | I see two kinds of possible race conditions here: | | 1. Queries to different tables occur simultanously and affect the value of |LAST_INSERT_ID(). This could propably be solved by creating multiple |connections for each different kind of INSERT command. This can only happen if you have multiple threads, in which case each thread will have its own last_insert_id. You should pull the last_insert_id out when you do the insert (in the same ZSQL Method). | 2. Multiple requests trigger the same query which leads to confusion. You need to have a) Multiple CPUs to handle multiple requests simultaneously, otherwise one will always 'win'. This also assumes you have a fairly good SMP OS, Linux isn't, so even with multiple CPUs I think you'll find it gets serialised by the kernel. | | My question is if 2. is really a possible problem. I don't know enough about | database adapters and Zope threading. Are queries serialized by DB | connections | or by SQL Methods? The DA determines it's level of concurrency, some DAs are not threadsafe and therefore can only do one query at a time. I think the other two levels are:- Allow concurrent accesses for different connections -- requests to different DB Connections are allowed in parallel. Allow concurrent accesses across all connections (Oracle I think) -- all requests are handled in parallel. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Announce: ZBabel a Translation Assistant for Zope
Some people have been bugging me to release this so here we go:- http://www.zope.org/Members/TheJester/ZBabel/ The doco is shambolic to say the least, and there are no examples at the moment and no list of what hooks are available. It does not automatically translate for you, it assists you to build a multi-lingual site once, and then maintain it in different languages, rather than building it once for every language (or rebuilding the same thing over and over). It does however make it pretty easy to get things going fairly cheaply. There is a trade off between resuable phrase lengths and making phrases unambiguous that you have to deal with. If it breaks, you get to keep both bits. Readme Excerpt: This is the ZBabel Translation System for ZOPE, the Z Object Publishing Environment (http://www.zope.org/) This is a phrase by phrase translation system, it allows you to translate key parts of your site, and the content if you desire. With this you don't need to maintain seperate source for each supported language, or mix different languages in your source. You can do your entire site in one language and then translate it without re-editing the source code. This system also automatically creates the catalogs as you go, you do not need to manually insert text strings into databases for translation. ZBabel comes as a two part kit, to help you with translating your ZOPE Content. The first part is the tag which allows you to register and translate your phrases. The second part is a the ZBabel Tower Product. This is a Folderish Object that does most of the legwork. You will need a ZBabel Tower Product installed somewhere that your documents can acquire it if you want translations to occur. If you do not install the product, the tag will simply return the existing text. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Announce: ZBabel a Translation Assistant for Zope
+[ Albert Langer ]- | | Thanks for "ZBabel". I've only just downloaded it and haven't played with it | yet, but from just reading through, it looks like it will be a great | approach! Ta. | One thing I'm not clear on, which you might want to deal with in future | releases, either by documenting what wasn't obvious to me, or by adding a | separate layer, is how to deal with "Composite Strings". Often a "phrase" | that will need translation is a concatenation of more than one text string | with embedded dynamically generated parameters, such as a date, name, price | etc. In different languages the actual ordering of the concatenated elements | may differ and the structure of the destination language may even result in | a different number of text strings to translate than for the source | language. I'm not a linguist nor do I play one on TV d8). This system is obviously not ideal for very dynamic content, what it is useful for is as you describe below, UI elements. Dates, and currency, time etc are usually best handled by fixed catalogs (usually provided by the operating system) where sort orders etc are already well defined and well handled. You can usually change your locale on the fly before calling the routines that require a known locale to function correctly. | Often the original author of a dynamically generated web page will be | tempted to use a repeated string for common parts of different UI strings, | which cannot in fact be translated that way for other languages. You must be disciplined and try to include as much context as possible, especially when your source language is going to be something as crappy as English is. Generally it pays not to be lazy when it comes to translating, and it also pays to have a good thesaurus on hand for replacing really common words with multiple meanings like 'bank' which annoying for having three common meanings. | I would imagine that Zope is ideally suited to using some sort of class for | each composite, with properties for the phrase identifier and the | constituent dynamically generated parameters, and leaving it to the specific | translation to determine the number and positioning of the elements | required. | | Is that already taken into account somehow by allowing the embedding of DTML | within the text phrase to be translated? Yes you can embed DTML inside the block and it will resolve all of the DTML before translating the result. You can turn this behaviour off. This is why I opted for a container tag, rather than a simple tag. | Finally, is there some way that the "magic" behind Zwicki structured text | formatting could be used, to allow an author to just write the phrase in | their own language and automatically generate related DTML tags for | parameters etc? | | (Rather vague idea I know, but somehow make it easier for | people just writing content, like Zwiki contributors, to know nothing about | DTML at all, yet still make it easier for scripters to integrate their | translatable content with DTML as well as integrating with HTML layout). I have another project on my TO DO list which is a dynamic components product which this would integrate well with. Any "Form Generation" products would probably be able to integrate the same stuff as well fairly easily. It is rather intrusive I know, but, there are few if any options that don't require massive amounts of effort to achieve the same thing. Especially building the catalogs. I know of another ASP based system that's pretty much the same as this, but, they have to go through and change the source code after translating (they have to provide a dummy 'phrase id' which is then altered). It is really really ugly. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Announce: ZBabel a Translation Assistant for Zope
+[ Albert Langer ]- [Charset iso-8859-1 unsupported, filtering to ASCII...] | [Andrew] | Yes you can embed DTML inside the block and it will resolve all of the | DTML before translating the result. You can turn this behaviour off. | This is why I opted for a container tag, rather than a simple tag. | | [Albert] | That is what I am still not clear on. Noticed the container, but still | confused about "literal" and about "before", "after", "off" and "on". | | Suppose web site in source language has something like this: | | 'Click here, for {fieldY(someVar.B)}' | | With suitably horrific DTML instead of ' ' and {}. | | Rendered english result would be, for some particular dynamic instance of | someVar: | | 'Click http://www.zope.org/">here for Zope' | | Translator for language X decides to reverse the positions of fieldA and | fieldB and use 3 separate substrings, because it is too abrupt for that | language, so translates to something like: | | 'If you would like {fieldY(someVar.B)}, click this link, please' Aha! This is not translation d8) This is re-wording and then translating, which is a bit of fine hair splitting I know. If you reached a point where something couldn't be translated, you would have to revisit the source. | There are now 3 substrings in the translation because it would be rude not | to start or end with something like "please" in language X, and it reads | better with the fields reversed in that language. | | Final rendered result becomes (in language X): | | 'If you would like Zope, click http://www.zope.org/">this link, | please' | | depending on the particular value of someVar at the time. | | Does ZBabel allow this? If so, that's *exactly* what I was hoping for. I think it does what you want to do... GreetAndLink... Click For You would end up with the following to be translated:- Click For a good langX clicking So you would end up with a phrase that would be partially translated ready for translating because your langXUrl and AJollyRogering already do some localisation. However if langXUrl and AJollyRogering are dynamic you should probably not wrap them in tags. | [Andrew] | I have another project on my TO DO list which is a dynamic components | product which this would integrate well with. | | Any "Form Generation" products would probably be able to integrate | the same stuff as well fairly easily. | | It is rather intrusive I know, but, there are few if any options that | don't require massive amounts of effort to achieve the same thing. | Especially building the catalogs. I know of another ASP based system | that's pretty much the same as this, but, they have to go through | and change the source code after translating (they have to provide a | dummy 'phrase id' which is then altered). It is really really ugly. | | [Albert] | The lack of a dummy "phrase id" is what I thought was really great about | your approach. Thanks! | | I regard HTML/DTML as possibly avoidable clutter in the same way that a | "phrase id" is. | | If ZBabel already does what I asked above, my question about something | closer to Zwiki structured text might be more clear in terms of wondering | whether anything can be done to hide the HTML/DTML tagging and field coding | from the translator by giving them some sort of template like this: | | 'Click [here] for {Zope}' | | So that they would translate it to: | | 'If you would like {Zope} click [this link[here]], please' | | Note that the two original substrings of ordinary text AND the [bracketed] | text all denote elements to be translated, while the text in {braces} does | not, but is sample data visible in the UI as a prototype example for the | translator. You can do this by nesting calls... Click here for Zope Would yield the following to be translated:- o Click here o for Zope o Click here for Zope | Then the magic which extracted the HTML (and DTML) tagging and field names | etc to give the translator something more understandable, would just stick | it back in, replacing "here" with "this link", but ALSO restoring the | surrounding DTML/HTML for that element and for the {Zope} element, in much | the same way that you already do not need a "phrase id" but work directly | with the text. Translators understand prototypes much more easily than they | understand web pages. | | (Also useful for content managers cf HTML/DTML designers and convenient for | HTML/DTML designers too ;-). | | Any possibility of doing that automatically? By clicking "generate | template", a web developer might be able to generate simplified template | strings like above for the translator, using a sample prototype from actual | data. Then, when the translator has processed it, a web developer or content | manager could just click "import translation". | | Otherwise either the web developer might still need to generate such | prototypes manually to make life easier for translators, or the tr
Re: [Zope] ZBabel performance??
+[ [EMAIL PROTECTED] ]- | Hi, | | I was able to install and test the ZBabel product. | Very nice product indeed!! I have a question about performance.. Thanks :-) [...snip...] | However my concern that if the page is accessed by thousands | of people, does Zope cache the translated text and serve it? does ZBabel | do that? or is there a way to do that? If you are passing query_string parameters into your page you will not be able to cache the pages anyway. If a page is cacheable then you can setup a HTTP accellerator in front of Zope that will cache the rendered pages. I don't know what your current network topology is like, so it's a little hard to comment. I can look at adding caching into ZBabel, but, it's not high on my priority list at the moment... I'm currently pounding the bricks. I'll try to make time over the weekend to have a look (I may be able to use the Zope Machinery to do the caching). | I do not want to hit the database | everytime someone requests that page.. Our site is usually translated to 5 | languages and we had developed a Perl script that would read php tags and | create static pages becuase of that problem, and in this case we do not | know at all what happend in eth backend.. Out of interest how many hits per hour are you doing? I worked on a largish portal system (ASP *puke*) and they had no problem going to the DB very very frequently. The key for the phrase is 32 bytes, it should be very quick to look up, even in a poorly tuned MySQL. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZBabel performance??
+[ [EMAIL PROTECTED] ]- Snip... | translated. However my concern that if the page is accessed by thousands | of people, does Zope cache the translated text and serve it? does ZBabel I've added caching of phrase lookups using the ZSQL Methods caching facilties, it should cache up to 1,000 different phrases for 60 seconds. There is a 0.0.2 release on zope.org now. http://www.zope.org/Members/TheJester/ZBabel/ -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Entity syntax and 2.2
+[ [EMAIL PROTECTED] ]- | | Perhaps you can suggest a simple way to do something like the following: | | | | | | | Replace the whole mess with:- -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Meta Type Registry
Is there a Product Builders meta-type registry somewhere? I can see things getting messed up in the near future as the number of products proliferates and meta-types start to clash. I've already seen weird interactions with products PSQL Input Wizard and ZNolk when both are installed I only got PSQL Input Wizard despite picking ZNolk from the drop down... At least if developers can register their meta-types then common meta-types won't clash for different products (I can see stuff like 'news item' and 'link' clashing all the time). Perhaps limit registration to developers who have published their product, I know this probably places an additional burden on the already heavily under seige developers, but I think some controls are going to be needed. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] re: Meta Type Registry
+[ Steve Alexander ]- | Andrew Kenneth Milton wrote: | > | > Is there a Product Builders meta-type registry somewhere? | > | > I can see things getting messed up in the near future as the number of | > products proliferates and meta-types start to clash. | | I just tried adding a new ZClass in a new Product in my Zope 2.2 final | installation. | | The multiple-selection widgit for choosing the base-classes has all the | available meta-types prefixed with the name of their product, followed | by a colon. I'm not sure that Zope will actually let you successfully register two classes or baseclasses with the same meta-type... That's the real problem, and while a cursory examination of the Zope site will reveal product names to avoid clashing with, it's a lot harder short of installing every single product to find out what meta-types those products register. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Announce: WiFLZ Simple Widget Framework for Zope
Greetings once again, This is the start of the Widget Framework for Zope. http://www.zope.org/Members/TheJester/WiFLZ/ It's an attempt at building something for re-use slightly more cohesive than methods and documents, and slightly less cohesive than Products and ZClasses. README Excerpt: WiFLZ is a dtml widget framework for Zope. If you are a programmer, you will probably hate it. It's not called ZWiFL because I was sick of things starting with Z d8) Summary === o Widgets consist of; - header, body, and footer dtml, - optional arguments for the dtml template, - sql query, - optional arguments for the sql template, and - description field for built-in 'help' facility. o Widgets can be tested from the management interface. o Widgets can be ZODB backed, DB backed, or both. o Widgets can be optionally rendered to a DB effectively caching widget states, which is useful for slow changing, or time consuming things such as reports. o Cached Widgets have a configurable TTL. o DB Backed widgets can be grouped into different libraries, and can be called from specific libraries allowing test widgets to be setup without compromising production widgets. o DB Backed widgets can be edited from any Zope installation with access to the DB. Purpose === This is part of a broader system for site design still under development. Zope currently lacks a mid level 'reuse' facility, reuse is limited to very fine grained (individual methods, and documents), or very coarse grained (products) elements. Content managers also like to be able to 'build' components that can be used in different parts of the site, and they like to be able to 'hold' those components. This system does not remove the ability to have fine grained reuse, as all of the dtml stored is resolved, so any methods you have developed can be used in a widget (e.g. incorporating ZBabel translations into widgets). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] re: Meta Type Registry
+[ Steve Alexander ]- | Andrew Kenneth Milton wrote: | | > I'm not sure that Zope will actually let you successfully register two | > classes or baseclasses with the same meta-type... | | The meta-type is further qualified by the name of the Product. This | works without a problem if you're writing Python products, but there are | some difficulties if you want to have two ZClasses with the same name. | for item in cat.objectValues(): if item.meta_type == "Category": 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. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Your feedback: what should DateTime strftime() behavior be?
+[ Brian Lloyd ]- | Hi all - | | There has recently been some confusion over the expected | behavior of various approaches to DateTime formatting in | Zope regarding timezone representation. I would like to | resolve this for the next release by making a proposal | and asking you to reply to the list with a "vote": | | +1 == agree | | +/-0 == no strong opinion | | -1 == disagree You will only ever see votes from people wanting change... apathy rules otherwise. Then when it changes you'll see a whole bunch of bitching about the change, and how there's 1,000 people on the list and only 20 people voted... etc. d8) Mailling list votes are often a bad idea... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Snapshots and Demo of Products
+[ Peter Bengtsson ]- | | This is especially important for the Zope product itself. I have noticed | that the first thing I do when I browse zope competitors homesites, is to | look at screenshots. Screenshots of the website you're currently looking at probably won't have the impact you would expect -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Batchpeocessing with multiple selection
+[ vikas ]- | the varibles are not geting passed again when i click on next sequence. You have to pass the variables, to the page that *does the query* The query is run every time, just different results are displayed. If this is a problem, check out the advanced properties for your query and cache the query for a few minutes. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml-calendar question.
+[ R. David Murray ]- | On Sat, 12 Aug 2000, tom smith wrote: | > / "date.dd()">/)> | | Untested: | | | | Inside the quotes you are in Python... kind of... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml-calendar question.
+[ R. David Murray ]- | On Thu, 3 Aug 2000, Andrew Kenneth Milton wrote: | > | Untested: | > | | > | | > | | > | Inside the quotes you are in Python... | > | > kind of... | | Well, yeah. A restricted python environment. The point being, it follows | python syntax rules . kind of... :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZODBCDA 3.1.0b2 and Zope 2.2 as a Service on NT
+[ Jim Sanford ]- | | I am having problems with Zope 2.2 and ZODBCDA 3.1.0b2. When I start Zope manually |with the start.bat my ZSQL methods work fine. | When I start Zope as a service, every ZSQL method returns a SQL error that states |that the table I am looking for does not exist. | | Anybody out there know what's going on? You have some environment variables set, that aren't set when you start it as a service. Check the start.bat file, and also check your environment in a DOS Window for variables that could be needed. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Python Class trickyness
+[ Erik Enge ]- | | Good evening. | | I know how to make a Python Class, which is a container. But how do | I make another Class which can only be added from the container-class | I have created. Know what I mean? The last class should only show up | in the "Available Objects"-list if the user is in a instance of the | first class. Did this make any sense? | | Thanks for any answers. :-) This is easier than you might think:- Step 1: Do not register your 'sub' class(es) in your __init__.py Step 2: In your container class import your sub class manage_add function(s) (not sure if this is really needed, but, I do it for completeness). Step 3: In your container class add:- meta_types=({'name':'Sub Product', 'action':'manage_addSubProduct'},) # Sub-ob ject types that are specific to this object You can add as many as you like... Step 5: Optionally add a meta_type to your sub class (if you haven't) Step 6: Optionally add icon='thisIcon.gif" into your sub classes so they get pretty icons. Copy over new Product, and Restart Zope :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] sybase - hmmm
+[ Dr. Ross Lazarus ]- | I know that zope runs on everything else, but how do we reconcile the | DC/Sybase partnership announced late last year [ snip... ] | We're becoming a sybase/zope/linux dependent outfit; to whom should I | email my concerns - or is it time to move to another SQL backend? They picked the wrong free UNIX platform. Linux has a whole lot of machines installed, but, not too many of them would be deployed in an Enterprise environment, where people would be happy to pay money for licenses. An OS heavily promoted by one specific individual who doesn't really believe in commercial software doesn't seem like the ultimate platform to aim high-priced internet application software at. I think you'll find that Sybase the DB will still be released for Linux, just not their Internet Application Suite, which is a different kettle of fish. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] (OT) Re: [Zope] sybase - hmmm
+[ Bill Anderson ]- | Andrew Kenneth Milton wrote: | > | > +[ Dr. Ross Lazarus ]- | > | I know that zope runs on everything else, but how do we reconcile the | > | DC/Sybase partnership announced late last year | > | > [ snip... ] | > | > | We're becoming a sybase/zope/linux dependent outfit; to whom should I | > | email my concerns - or is it time to move to another SQL backend? | > | > They picked the wrong free UNIX platform. Linux has a whole lot of | > machines installed, but, not too many of them would be deployed in an | > Enterprise environment, where people would be happy to pay money for | > licenses. | | The claim that Linux is not deployed in Enterprise environments is uninformed at |best. The most recent announcement came | from Google, which claims 4000+ Linux servers. Clearly an enterpise environment. | ( http://www.internetwk.com/lead/lead060100.htm ) err no. Read again... "not deployed in Enterprise environment, where people would be happy to pay money for..." as opposed to deployed where people want stuff for free - or as free as they can get it. Face it if you're doing web stuff using Zope (or anything else), you're not looking to go and pay Sybase for something just as good, with a hefty price-tag. You still have to pay developers, and 'commercial' stuff usually attracts people at twice the rate of the going Open Source developers. PHP is firmly entrenched as the ASP of Linux at this stage and it's going to take a very long stick and a very firm place to stand to shift it. | And, of course, there is IBM. Who do a lot of open stuff, with FreeBSD as well. But marketing requires a Linux presence these days... mustn't let that share price slip.. :-) | > An OS heavily promoted by one specific individual who doesn't really believe | > in commercial software doesn't seem like the ultimate platform to aim | > high-priced internet application software at. | | While I don't mean any offense, your characterization here is both unwarranted and |unfounded. ESR and Linus (not sure | exactly whom you refer to) both believe in commercial software just fine. Actually referring to RMS... | In addition, if you look at the largest promoters of Linux, you will not find any |one individual. Rather, you will find | an array of companies, of all sizes; from ISP's to ol' Big Blue. IBM, for example, |is in the process of porting most | everything they have to Linux. And they do it for commercial reasons. One wonders if Oracle's Linux product has actually recouped them the development costs. Most of the larger Linux promoters are trying to get a leg into the 'smaller' market that was dominated by NT. If they can offer their products on hardware that doesn't cost more than a house, then they have opened a new market. Linux is obviously a means to an end here. They're trying to make a sale, they don't particularly care about Linux. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] More threading
+[ Chris Withers ]- | Nicholas Lo wrote: | > so, is there anyway to make database routines run in separate threads? | | Me too! (tm) | | What I'd really like to do is to cpu intensive stuff (like mass | cataloging ;-) in a seperate thread or process so that Zope's | responsiveness doesn't die when those things happen (even though it's | running on a multiprocessor machine ;-) | | Any ideas? Multiple database connectors... Multiple Zopes + ZEO... -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Make a Python Products Add list show only certain meta types?
+[ Kapil Thangavelu ]- | Kevin Howe wrote: | > | > I have a custom Python class (Container) which uses Folder as it's base | > class. I also have a custom Python class (AnObject). I want it so that when | > you view a Container object, "AnObject" will be the only meta_type available | > to be added in the Add List. The problem is that since Container inherits | > from Folder, the Add List makes all object types available to be added. Is | > there any way to tell a class to show only certain meta_types? | > | > Kevin | > | | There is more than one way. The proper way would probably to be adjust | the security settings on your class in python (filtered_metatypes?). The simplest way is to; all_meta_types=meta_types=({'name':'Sub Object1', 'action':'manage_addSubObject1Form',}, {'name':'Sub Object2', 'action':'manage_addObject2Form',},) In your 'base' product. If you don't register your sub objects in __init__.py you will also need to import their 'constructors' into your base class, and explictly declare the icon under misc_ -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Seeking Zope Volunteers
+---[ Lyno Sullivan, Candidate ]-- | Greetings, | | My name is Lyno Sullivan and I am the endorsed Independence Party (see [ snip ] | If you cannot volunteer your time but would like to help, please consider | making a $5 to $500 contribution to my campaign. If you are a Minnesota | eligible voter you can receive a refund on the first $50 through the | Minnesota Political Contribution Refund program. My campaign cannot accept | contributions from corporations, PACs or special interest organizations so | we rely on contributions from individuals like you. And you are now Lyno Sullivan, Spammer and in violation of your own laws. Too bad I don't even live in the same country as you. Or in the same hemisphere. I don't think too many people subscribed to the list signed on to a technical list for Political Announcements. There are more appropriate forums for this type of garbage (websites for example). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Seeking Zope Volunteers
y+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | > +---[ Lyno Sullivan, Candidate ]-- | > | Greetings, | > | | > | My name is Lyno Sullivan and I am the endorsed Independence Party (see | > | > [ snip ] | > | > And you are now Lyno Sullivan, Spammer and in violation of your own laws. | | I would not be that hard. | | I think political support is essential for the free software movement. | I see this in Europe where the European Commission prepares | to make software and business rules patentable -- a nightmare | for free software and free look&feel. | Therefore, it is not bad for the free software movement to support | the right politics. Volunteers is tolerable, campaign donations is an entirely different ballgame. Especially since on one hand they're not taking donations from 'special interest groups.' The "Free Software Movement" is a special interest group, if they don't support special interest groups then they don't support you. | I, personnally, do not mind *one time* announcements of the above | kind. I do. One time announcements belong on mailing-lists like zope-announce, or zope-chat. We have enough people who rouse when stuff is off topic (like this whole thread, and I do apologise for continuing it), without the introduction postings about stuff that is completely and totally unrelated. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Nested Tag Creation
I want to create a tag that has sub-tags. Now I know I can use blockContinuations to approximate this, but, I think it would be cleaner to be able to define tags that are only available within the context of the main tag (namespaces and all that). Is this possible? Without rolling my own parser ? I don't see a lot of tag products being released so I assume that this is not a widely used thing for Zope. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Nested Tag Creation
+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | > I want to create a tag that has sub-tags. | > | > Now I know I can use blockContinuations to approximate this, but, I | > think it would be cleaner to be able to define tags that are only available | > within the context of the main tag (namespaces and all that). | | Have a look at "sqlgroup" in "Shared.DC.ZRDB.sqlgroup". | It does that, so you can learn how to do something similar. I spent some time trying to think of a Zope tag that did this, I forgot all about sqlgroup, and sqltest. Thanks! -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Nested Tag Creation
+---[ Dieter Maurer ]-- | Andrew Kenneth Milton writes: | > I want to create a tag that has sub-tags. | > | > Now I know I can use blockContinuations to approximate this, but, I | > think it would be cleaner to be able to define tags that are only available | > within the context of the main tag (namespaces and all that). | Have a look at "sqlgroup" in "Shared.DC.ZRDB.sqlgroup". | It does that, so you can learn how to do something similar. SQL defines a new document type 'sql template' and defines the tag within that template only, and there's no implicit nesting of the tags. It doesn't look currently possible do define a general use tag that works the way I want (yet). I'll keep looking at it. I might be able to define the commands[] inside the actual tag, but, I don't think that that's going to work. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] doesn't?
+---[ Jan H. Haul ]-- | Tino Wildenhain wrote: | | > dtml-comment is a tag like all the other tags. It does not | > control the parser. One advantage is, you may nest comment-tags. | | True. | But still, the parser could read over all comments as long as the | tags are properly nested. But then you'd have to parse the contents to find out if the comments are properly nested... I've looked at this briefly today, and the code inside DT_String.py is recursively ugly... d;) It doesn't look difficult to provide what you want, but, I'm not motivated enough to fix it either at this stage. d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] calling (SQL) methods dynamically from External methods
+---[ Philipp Auersperg ]-- | | What I want to do is calling a SQL method given its | name as string, so I first have to get the method out of | the self.__dict__ and then call it. I need that for calling | the SQL methods dynamically for example out of an URL | string. realConnection=getattr(self,connectionId) realConnection().query(query_in_a_string) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Looping through a folder's contents...
+---[ [EMAIL PROTECTED] ]-- | I would like to loop through the contents of a folder, and the | contents of the subfolders of that folder. I know I can do this to a | singular level by doing something like: | | | | | | Should give me a list of the titles of all the subfolders of the | folder called "subfolder". So, once I get there, how do I loop | through the subobjects of each of those folders? | | In other words, I have a subfolder inside of the folder called | "subfolder" and I want to see the contents of that folder. How do I | do it? I'll give you the general case for 'all' folders:- Make a Method... Recurse_SubFolder. - You can obviously expand this to also take a 'type' for objectValues, and pass the namespace etc. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Looping through a folder's contents...
+---[ Jason Cunliffe ]-- | Hello | | oops!.. I just tried this and now I am getting error messages saying "not | authorized" to access 'objectValues' - stranger yet seems to have broken my | login to Zope - so I am locked out from even getting back into the site to | fix ..hmm this can't be right. It's probably real busy traversing your entire site right now... Control Panel, acl_users, *everything* | I had put the Recurse_SubFolder method at top level, hoping to use it | liberally through the site. I then made a call to it from my site's root | index_html Yep see above. You kamikaze you. You are a bad bad puppy. | Any ideas how to restore my Zope? Probably just restarting it will do the trick nicely. Then you will be modifying the method to return if the depth exceeds say 5. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Looping through a folder's contents...
+---[ Phil Harris ]-- | Andrew, | | You *almost* seem to be enjoying this ;) Until I get sued for code I paste to a mailing list d8) The day will come, mark my words, that someone will get sued for trying to help. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] calling (SQL) methods dynamically from External methods
+---[ Philipp Auersperg ]-- | Thanks for the answer, it helped me, | but you missed what I really wanted. Sorry. d8) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Microsoft SQL Server Access under Linux?
+---[ Darin Lee ]-- | Zopistas, | | Is it possible to access an ODBC data source through Zope running under Linux? I |have perused the literature, and it appears the Zope DA's for ODBC only run under the |Win32 environment. | | I would very much like to setup ZAP (for many reasons), but our "organizational |standard" is MS SQL Server 6.5. Openlink multi-tier UDBC drivers will work a treat (minor hacking of ZODBCDA required) and will talk to anything your NT box can talk to. They also have evaluation licenses (up to 10 simultaneous connections). I'll see if I can dig up my hacks to ZODBCDA... they're not clean, but, they served the purpose at the time. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] dtml syntax for showing folder objects?
+---[ [EMAIL PROTECTED] ]-- | Hi, | I wonder how one would show the dtml documents in a folder with a | dtml statement. I see it working with the tree command and I see | it working in Yihaw, but there must be a simple way to show just | files as links by some sort of call with the subfolder name. Any | ideas? Here's possibly the ugliest idea.. "> We use objectIds() rather than objectValues in case you want to pass a mask to objectIds(). This way we only instantiate the objects we're interested it. We could have used nested calls to getitem, but, that wasn't as funky looking. -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Not like ASP complaint - any good answers
+---[ Sean McGrath ]-- | All, | | I have had a number of e-mails from developers | using Microsoft ASP in recent days. The paraphrased consensus | in the e-mails is that the external | methods/python methods approach to mixing markup | with code in Zope is more clunky than in ASP where | you can intermingle the two at will. So don't use External or Python Methods. They are a small part of Zope, and are usually used to do some complex logic or calculation. It is not normal to embed markup inside of Python or External methods. I would suggest your developers have a lack of understanding of how Zope operates, and also have a fear of the unknown and are grasping for reasons not to use Zope. If the best they can come up with is External Methods are more clunky than ASP, and you don't need External Methods (not everyone does), then you have a winner. | Has anyone written anything on this topic I could | point them to? If you're really talking Python Products and not Python Methods, then your developers really have no idea. Abstracting business logic into an object which can 'render itself' in HTML if required, and can be customised without using python to render in different ways, is obviously a better idea than logic+markup in scattered files (and I don't just point the finger at ASP here). Quick and dirty, sure you can something a little more complex in ASP a little faster. If you have a large project, and you want it maintainable, then this is not going to work for you, and I'm speaking from experience here (30 + guys on one ASP project). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068|[EMAIL PROTECTED]| ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )