[Zope] incosistant behaviour.
Greetings, I am experimenting with my first ZClass. I have inherited from Renderable, and XMLDocument. I have added a few DTML Methods, including a 'render' method. Testing has been all well and good, with pages displaying predictably when I hit the View tag, but if I hit View in the folder, which contains one of my classes as index_html, it doesn't display correctly. My class relies on being able to find methods in itself (using _.hasattr() ), but the results are as if it cannot find any. I thought this might be because render is a dtml Method, so I tried it as a DTML Document. Now when trying to view it, it asks for authentication, and denies anyone (even the superuser). What am I doing wrong? Shouldn't a ZClass member method be able to reference other members in the same ZClass? -- Have a better one, Curtis. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
Well, let me see. I would consider giving the summer to working on Zope Documentation in Exchange for Zope School. That's right, I'm as much a newbie to Zope as that egg they are breaking in the Perl2Zope thread. But I live 20 minutes from Zope Headquarters.Fredericksburg, eh? I like working long hours and am probably going to be available through mid august/september. The downside is that I am "really new" to zope and python. The upside is that I'm into it It would be a good backgrounder for that book I've always wanted to write about something... - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: "Jason Cunliffe" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 24, 2000 4:47 PM Subject: [Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation Jason Cunliffe wrote: > > > I reckon there's about 25 man weeks of work to do based on 5 people > > spending: > > -1 week to build the tools > > -1 week to plan the structure of the documentation > > -3 weeks to get ALL the Zope documentation linked in one place (which is > > what zdp is supposed to be...) > > > > So, has anyone got the cash? ;-) > > Well I have asked a few times before, before but never a reply.. so I will > ask again: > > How much would it cost? (U$?) Based on the above figures, and assuming £500/day/person, it comes out as: £62,500 (roughly $100,000) > Perhaps you have no time but some money.. Personally, I have neither ;-) > resources to go round. And money might really help out here... I agree, I would love to do it, and I'm sure my employer wouldn't mind if someone else was footing the bill ;-) > It seems like rather a catch-22 [or is that a zope-22] : until the docs are > in better shape, it is so much harder for more people to contribute usefully > because it is so easy to get lost again.. I agree :-) > ZDPLINE.COM ?? $ whois zdpline.com Whois Server Version 1.1 Domain names in the .com, .net, and .org domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. No match for "ZDPLINE.COM". Well, the name is there... ;-) cheers, Chris > > Perhaps someone with better dtml skills than I can make a little mini > priceline.com app for zdp.. > > Everyone/Anyone wishing to contribute something towards documentation logs > on and enters the amount: > instant tally shows total potential sponsorship with column for > person-hours/days at rate. Instead of a well intentioned message thread > which will be rapidly drownded in a sea of DTML minutuae, we can have > visible target + 'potential' zdp attractor > > When we hit a 'u$eful 'threshold - $ponsors kick in with their actual > contrib. and zdp advances. > Perhaps you have a better crazier idea..I hope so:-) > > Meanwhile, some fascinating and surreal reading: > Interview with Jay Walker > http://www.strategy-business.com/thoughtleaders/00209/page1.html > > my $0.25 > - Jason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] problems with NTUserFolder.
I can't seem to get your product to work the way I want. I'll tell you what I'm after and perhaps you can tell me where I'm going wrong or if indeed your product can do it at all. I have a group of users who are all part of the same domain as I am on. Its the department domain. I want to have these people recognized by my website seemlessly. I know this can be done with NT challenge response if you are using ie as your client. I want to do this in zope such that users who enter the site are automatically authenticated and appriate permissions for them set. These would be zope permission set inside zope, nothing to do with NT permissions. How do I do this? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: ZOPE ITALIAN Mailing List
On Thu, 25 May 2000, Marco Mariani wrote: > Sorry for bothering you. This is a one-time spam. A dozen > people are being mailed in the back (blind carbon copy :-) > > I'd like to know if there's a need for an italian Zope list. > > Altough I'm OK reading or writing english, such a list could > free some CPU cicles from my brain that I can devote to the > Zen Of Zope or helping newbies. > > If somebody is interested, or can host the list, please reply > privately. > > Thank you. > A me piu` che una mailing list piacerebbe un newsgroup (che evita il riempirsi della mailbox) , comunque approvo anche la mailing list. Marco Guidi ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How to write "Hello Zope!" portal?
Hi All and be patient, I am new to Zope, After I have installed Zope on my Linux box and read almost all documentation, I can't find a little example how to create: 1- a single main page as I usualy do with HTML (index.html -- the main one); 2- how to call another page (page1.html) from the main one; 3- how to insert an image; Where can I find all the steps I need to create a mini portal? Thanks. Jilani -- ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power To Serve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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
"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 ? I guess that's the price of fame. -- Denis Frère P3B: Club Free-Pytho-Linuxien Carolorégien http://www.p3b.org Aragne : Internet - Réseaux - Formations http://www.aragne.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Job Opportunity for Zope Developer 75K+, stock, San Francisco
HiringTools is a small, rapidly growing start-up located in San Francisco's trendy Potrero/SOMA district. We create revolutionary web applications that help dot-coms and other fast-growth companies hire and develop the best people. Since hiring (like job seeking) can be a huge hassle, there is a tremendous market opportunity for our products. Come join us if youre an enthusiastic, innovative Zope developer who wants to design high visibility web applications. HiringTools has an exciting pipeline of new products in the works. Our team has a proven track record of creating award-winning applications. This means plenty of opportunity for you to develop high visibility internet applications that will be used by thousands of people. Specifically, you will be creating application prototypes in HTML, designing web-based hiring applications and XML data formats, writing and debugging software, and following and influencing best software development practices. Generous stock options, medical benefits, great location, fast growth, great people and work environment - you'll be happy, challenged, and help shape great products developed in Zope. Please send us a resume or if its easier, send an email that describes what youve done before, your skills, and what youre looking for now. Check out www.HiringTools.com to see an example of one of our products. Send correspondence to [EMAIL PROTECTED] __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Mailing Lists
Zopistas, There's a new mailing list: Zope-Web. This list will discuss what's happening with the zope family of websites (zope.org, zope.net, and zope.com). Currently only zope.org has content, but this may change in the future. If you want to see the zope websites do what they should, sign up! Also, I am extending an open offer to anyone who has a zope-related mailing list to have it hosted at zope.org. I would specifically like to see the zope-language mailing lists come to zope- zope-de, zope-pt, and it looks like we may add zope-it. You're under no obligation to do so, but the offer is there. Thanks, ethan mindlace fremen Zopista Community Liason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] The agony of the ZOPE Documentation
[EMAIL PROTECTED] wrote: > > I'm sorry, but I have to say, the ZOPE documentation, despite efforts > to improve it, is absolutely, positively horrible. Not because the > content isn't there, but because the tools to access it simply suck. > I can type in searches on both zope.org and zdp.zope.org and though I > KNOW the information is there, I can't get the results I want! Ok. This only vaguely begins to address your issues, but I went ahead and added searching Zope.org with Google to the "search" page- the one you get for clicking on the "search" link at the top of the page. For example, I searched for dtml-+in (had to add the +, because "in" is a stop-word) and got loads of relevant results. Hope this helps a tiny bit. Digital Creations did just recently hire me, in part, to fix the tools to access the documentation, so you can expect it to get better soon. Thanks, ethan mindlace fremen Zopista Community Liason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
I posted this on ZDP but I thought I should put it here too. Chris Withers wrote: > Maik Roeder wrote: > > The ZDP project has got another server than the main Zope site, and > > there are only a few spare time developers working on this site. If > > we could work together with Digital Creations and perhaps on the > > same server as Zope.org, things would be much easier ! > > I'm inclined to agree, why have a ZD portal when you could just have a > Zope portal... > > > The ZDP has "only" got > > the aim to point to existing stuff. Restructuring the existing docs > > is not our job. > > Maybe it should be? How about rebuilding zope.org as a generic 'Zope > Portal' with the building and documenting work being done more by the > community? (ie: integrating ZDP and Zope.org) You got it. I think that the ZD portal and Zope.org should be seamlessly integrated. More to the point, I have the authority to make it happen on DC's end. I am *very* interested in integrating the community's effort more completely into Zope.org. Furthermore, this *is* a major part of what I need to do with Zope.org. It is, indeed, part of my Job Description: 4. Use direct assistance, tight documentation integration, collaborative tools and appropriate koans to provide a path to Zope Zen: a gentle learning curve that takes participants from novice DTML work to hacking zope internals So I *do* have time to help with this, and I don't imagine my employer will give me flack :) I will admit that I am not exactly up to speed on who's doing what with ZDP, nor am I trying to impose a vision. So what do you folks think? -- ethan mindlace fremen Zopista Community Liason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] The agony of the ZOPE Documentation
I too was struggling to stay sane while coding in DTML, until I came across this little beauty from AlexR. http://www.zope.org/Members/AlexR/ZopeDocs He has combined Howto's and Tip's into PDF's, with nice contents pages and you can easily search PDF's. Hope this helps ! Peter Marriott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, 25 May 2000 3:00 AM To: [EMAIL PROTECTED] Subject: [Zope] The agony of the ZOPE Documentation I'm sorry, but I have to say, the ZOPE documentation, despite efforts to improve it, is absolutely, positively horrible. Not because the content isn't there, but because the tools to access it simply suck. I can type in searches on both zope.org and zdp.zope.org and though I KNOW the information is there, I can't get the results I want! Constantly, when I am recommending ZOPE to people, the ONE thing I and they complain about is the horrible documentation! Is there some way that I can get a copy of all of the FAQ's, HOW-TOs, Ref manuals, etc in some kind of raw ASCII text format or HTML or something, so that I can build some kind of useful search engine for this stuff? The search engines on www.zope.org and zdp.zope.org just plain suck. Additionally, the zdp web site is a real nice idea that is SO poorly executed IMO as to make it totally unusable. You can't even browse the documentation without clicking through a thousand different links. (I can give you specific examples of how to improve the site if you want.) Please, anyone? Save Zope's documentation! -- Some husbands are living proof that a woman can take a joke. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] The agony of the ZOPE Documentation
Shane Hathaway wrote: > > [EMAIL PROTECTED] wrote: > > > > I'm sorry, but I have to say, the ZOPE documentation, despite efforts > > to improve it, is absolutely, positively horrible. Not because the > > content isn't there, but because the tools to access it simply suck. > > I can type in searches on both zope.org and zdp.zope.org and though I > > KNOW the information is there, I can't get the results I want! > > Constantly, when I am recommending ZOPE to people, the ONE thing I and > > they complain about is the horrible documentation! > > It would be very helpful if you would take a look at the new help > system in the latest alpha release. Or even better, check out Zope via > CVS and try that out. I may be biased, but I think it's real progress. > > Just push the "help" button on most management screens. Yes the help system is great. Also check out the various Wikis on Zope.org where the new flava of documentation is emerging as we speak. http://www.zope.org/Members/WikiCentral -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Broken ZWiki
Simon Michael wrote: > > looks like this has been answered, good. I'll check out ZWikiWeb > soon. Maybe there's something we can do to integrate or market the two > better for newcomers ? > > Or better, someone could cook up a nice, simple, zope product > dependency checker that works like debian's apt.. Or like Roxen's module upgrader. Pretty please. -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 )
[Zope] Re: [Zope-Moz] Good news for Zope/Mozilla efforts!
Paul Everitt wrote: > > David was going to check to see if the embedded Python could import C > extensions. If it could, I know of a little object publishing > environment that could run in Mozilla. :^) Holy $#*! That would make it possible to replace Frontier on the desktop! Michael Bernstein. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Subclassing from Custom Python Classes
This is a good question that I'm not sure of the completely technically correct answer to. But here's my best shot. Part of what composes a "Zope object" is that the object inherits characteristics from the "Persistence.Persistent" class. This base class overrides Python's normal __setattr__ and __getattr__ instance methods. When a persistent object is queried for a subobject (e.g. its __getattr__ is called), it does some magic to pull that subobject out of persistent storage. Likewise, when you attach an attribute to an object (e.g. its __setattr__ is called), this base class does its thing and when a transaction is committed, the object is written out to the ZODB. Because mutable objects have methods that do an end-run around __setattr__ (such as list.append, dict.__setitem__, etc.), Zope won't know that the object has changed because setattr never gets called. However, when you do the persistence shuffle (ala m=self.map; m['foo']=bar; self.map=m), __setattr__ does get called on the parent object, and Zope therefore knows the object has been changed. Others may elaborate or correct, I'm certain. > -Original Message- > From: Pete Kazmier [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 24, 2000 8:32 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: [Zope] Subclassing from Custom Python Classes > > > Thank you for the useful information!! > > I do have one more question regarding your persistence comments. How > does using a temporary name notify the Zope persistence machinery that > self.map has changed? Doesn't 'self.map=m' do nothing in Python if > one already did a 'm=self.map'? In the end, aren't they referencing > the exact same object? Hows does Zope know its different? > > Thanks again, > Pete > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] seq-items and nested dtml-ins
Aaron Payne <[EMAIL PROTECTED]> > > How do you differentiate between the seq-items of nested dtml-ins? > > I tried the following code: > > > > > > > > > > > > Where: > instances is a folder containing the coupon instances > Coupon ZClass is the meta type of the zclass > SearchCategory is a list from a form > resultsList is a list containing instances of Coupon ZClass matching the > search criteria > Auto is a property of Coupon ZClass > > When I try to run a search an error page pops up saying "strings aren't > allowed as input in the in tag." > > The property Category of the zclass is the type lines. "Auto' is one of > the values in Category. > In I am comparing the current > element of SearchCategory to one of the values in Category. Your code to deal with SearchCategory looks OK to my. Try a couple of things: * Try dumping the REQUEST variable (e.g., '' in your form handler) and make sure that the SearchCategory is actally a list. * Make sure you leverage the ZPublisher marshalling machinery to force SearchCategory to be converted to a list, even if the user selects only one item, e.g.:: ^ on your form. > In I want to append the instance and not > SearchCategory list. For the moment, you need to alias the "outer" sequence item, because the "inner" one hides it (by that name). So, in your case:: ^^ Real Soon Now, you will be able to declare the alias for the sequence variable within the tag itself, which would solve your problem nicely. For the details, see: http://www.zope.org/Members/4am/DTMLWiki/NamedDTMLInLoop Hope this helps! Tres. -- === Tres Seaver[EMAIL PROTECTED] Digital Creations"Zope Dealers"http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ANN: Perl For Zope
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. J At 7:32 PM -0400 5/24/2000, 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. > >This isn't a press release, which we'll be doing in the run-up to the >O'Reilly Open Source conference in July, when the code is closer to >being available. > >--- > >Digital Creations, creators of the Open Source Zope application server, >announced today that it is teaming with ActiveState, a leading provider >of >Internet programming software, to make Perl a scripting language for >Zope. > >Perl is the predominant scripting language for Internet applications and >is >a key success story for the Open Source software movement. Zope is >written >in Python, the fastest growing Open Source scripting language. > >"It is clear that the strength of Zope realizes the future architecture >of >the Web," says Paul Everitt, CEO of Digital Creations. "This dynamic >architecture, and the people working with it, are a fantastic match for >scripting languages. Thus it is natural that Digital Creations would >team >with ActiveState to make Perl a scripting language for Zope." > >"Zope is a powerful content management system that we use internally," >said >Dick Hardt, CEO of ActiveState. "By adding the power of Perl to Zope, we >will be able to leverage all the existing Perl technology that we have >as >well as bring the worlds of Python and Perl closer together." > >Under this agreement, ActiveState will get Python and Perl to run in the >same application. More specifically, Perl programmers can code critical >pieces of business logic in Zope solutions. > >"The Perl for Zope project brings the worlds of the two most important >open >source programming languages together," stated Gisle Aas, Senior >Developer, >ActiveState. "Python programmers will be able to directly take advantage >of >the large collection of reusable Perl program modules, like DBI, found >on >CPAN. Perl programmers will be able to program and customize the Zope >web >application server using their favorite language." > >The initial developer release of Perl For Zope will coincide with >the O'Reilly Open Source Software Convention in July 2000. For more >information on the project, please visit the Perl For Zope project >page at http://www.zope.org/Wikis/zope-perl/. > >Contact Information > > For Digital Creations, contact Paul Everitt, [EMAIL PROTECTED], > 540.371.6909x102. For ActiveState, contact Lori Pike, > [EMAIL PROTECTED], 604.713.8433. > >--Paul > >Paul Everitt Digital Creations >[EMAIL PROTECTED] 540.371.6909 >- >The Open Source Zope application server >http://www.zope.org/ >- > > >___ >Zope maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
Maik Roeder <[EMAIL PROTECTED]> writes: > Do think that the basic idea of offering different portals for > different communities (Beginners, Developers and so on) is a bad > idea ? What do you think about the organisation in Subjects/Topics ? Well, as a brand-spanking new user (or user wannabe, if I can get the tutorial to run), I think that offering portals at all is a bad thing. I want information, not hoops to jump through to get information. Part of this is that I don't really like portals much in general, but a large part of it is that when I have problems, I go looking for information to solve those problems, and I don't want to have to guess where something would be filed (kind of hard when you don't know much). The current portal segments information based on what kind of "user" you are, but in reality, my problems involve information which might be found in many places, and I have to dig through all of them to find out where. It might be better if all information were contained in all portals, but organized differently. Right now, as a "new user & developer" I have a portal that's empty... not even a link to the faq! That's a big help! > This is a job that only DC can do right now. The ZDP has "only" got > the aim to point to existing stuff. Restructuring the existing docs > is not our job. Well, why is it called the Zope Documentation Project, if it's not supposed to provide documentation? Oh, wait... it's not, I guess. I hadn't looked at the title on http://zdp.zope.org before, but the link at http://www.zope.org/Documentation says it's project (and a source of documentation). > What documentation do you mean ? Well, there's the Zope Book project which requires lots of clicking (and it took me a little while to figure out that there was actually content on the sub-sections, because the interface changed on me). Personally, I haven't gotten any further, because I just started. -- Alan Shutko <[EMAIL PROTECTED]> - In a variety of flavors! 170 days, 17 hours, 37 minutes, 27 seconds till we run away. Your mind understands what you have been taught; your heart, what is true. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] M$soft
Hi, > > Is anybody bold enough to try Zope with ODBC to an ACCESS database? > > How about a Micosoft's SQL? > Have you had any success with either? We have Zope running without any real problems with ODBC and SQL-server 7 for about 10 months. > What would you recommend?? It all depends on your needs. The question you have to answer is: do I realy need a databaseserver? I won't get in the nitty gritty details about the differences between databaseservers (there some differences between them also) and Access, dBase, Paradox etc. Basically: if all you want to do is just serve some data from simple tables with not more then 5 concurrent users you can pull it of with Access etc. Henny van der Linde ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Subclassing from Custom Python Classes
Thank you for the useful information!! I do have one more question regarding your persistence comments. How does using a temporary name notify the Zope persistence machinery that self.map has changed? Doesn't 'self.map=m' do nothing in Python if one already did a 'm=self.map'? In the end, aren't they referencing the exact same object? Hows does Zope know its different? Thanks again, Pete On Wed, May 24, 2000 at 12:38:03AM -0400, Chris McDonough wrote: > > >> You should also note that your subclass must obey the ZODB > > >> persistence rules, which basically state that mutable sub-objects > > >> should be treated immutably. For example, > > >> > > >> self.bird='parrot' # OK > > >> self.map['bird']='parrot' # NOT OK, will not trigger persistence > > >> machinery > > >> m=self.map > > >> m['bird']='parrot' > > >> self.map=m # OK, treats a mutable object immutably > > > > What are these "persistence rules" and how come the second example is > > ok? I thought in Python, when you assign "m = self.map" that m is > > simply pointing to the same object as self.map and that any changes to > > m affect self.map too? Does the "self.map = m" have any effect? > > Don't they point to the same object? > > It's a long story. :-) Attributes of Zope objects need to play by some > ground rules to be persistent. The description in the docs is sort of a > half truth. It works as described, but you can also do something like: > > self.map['bird'] = 'parrot' > self._p_changed = 1 > > to trigger the persistence machinery. The "m=self.map..." stuff in the > example does the same thing. In either case you're bringing it to > Zope's attention that it needs to at some point re-write the object > referred to by "self" out to the ZODB. By doing the jiggery up there > where you use "m" as a temp object, operate on it, and then reassign > "self.map" to "m" in order to let Zope know you've really changed the > object and that you really want to write a new copy of it out to the > ZODB when it's convenient for it to do so. the _p_changed flag applies > to any Zope object, and just needs to be set true at some point during > the method to let the persistence machinery know that the object has > changed state. > > In english the phrase "mutable sub-objects should be treated immutably" > means that attributes of the Zope object you're mucking with that can be > reassigned "in-place" (things you can append to like a list, or add > items to like a dictionary) should be treated as though they can't be. > So when saying (where 'self' is a Zope object): > > self.mylist.append("foo") > > This should be given special treatment, either by saying: > > self.mylist.append("foo") > self._p_changed = 1 > > or > > mytmp = self.mylist > mytmp.append("foo") > self.mylist = mytmp > > > > > I ask because I've already built my first product based on a custom > > python class I wrote (its a router object that has methods to query > > various snmp oids) based on a ZClass and I want to make sure that I am > > not doing anything wrong. > > In addition to the methods that query the oids, I store the results in > > an instance variable of my Python class so I can cache the information > > for a specified amount of time. Is this safe to do? Can I store > > these values in my Python instance (self.), not a ZClass property? > > Sure, just make sure you abide by the stuff above. > > > Also, What happens if multiple people activate my query method, do I > > need to worry about them stomping over each other as the method writes > > the results to the instance variables? Is there any record locking of > > objects? > > The ZODB will flag a ConflictError and will cause the second attempter > to retry. This is pretty normal, and your data won't get munged. Look > out, however, if you're really concerned, about "hot spots" that can > effect performance. > > > Lastly, since I couldn't really find any pointers regarding a builtin > > Zope scheduler that is bug free, I need to write a small python script > > that I can place in a cron job to run every ten minutes to call the > > query methods of these objects so they update their cache instances. > > Is there a link on how to get a regular Python script access to the > > ZODB? > > Yes... sort of. Try looking for a HowTo named "The Debugger is Your > Friend" by Michel Pelletier. That shows you how to use the Zope module > from inside python. It's simpler than you might expect. Here's an > example (make sure you shut down your Zope before you try this or it > won't work): > > [chrism@opar chrism]$ cd Zope2.1.6/lib/python > [chrism@opar chrism]$ python > >>> import Zope > >>> app = Zope.app() > >>> app > > >>> dir(app) > ['Control_Panel', '__allow_groups__'] > > Play around inside Python, call methods on things, etc. This is a great > way to learn more about Zope. > > > ___ > Zope maillist - [EMAIL
Re: [Zope] M$soft
> Is anybody bold enough to try Zope with ODBC to an ACCESS database? I wrote a Jet database adapter so you can skip the ODBC and go straight to access. http://www.zope.org/Members/jfarr/Products/ZJetDA/ SQL server is a different story. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] 2.1.4 to 2.1.6 nightmare
On Wed, 24 May 2000 13:38:55 -0400 (CLT) you wrote: > > Hi Zopistas, > > after upgrading Zope (in a debian/Linux system) from 2.1.4 to 2.1.6 > the acquisition rules seems to be broken. > > As an example supose we have this tree structure > > ---|- aviso >|- foo >|- bar > |- X_sql (sql method) > > > > X_sql is a sql method with to parameters: objeto, aviso > > here is the template: > > INSERT INTO linea_publicacion > (publicacion,aviso) > VALUES > (&dtml-objeto;,&dtml-aviso;) > > when zope renders this template to execute the sql, it renders > > INSERT INTO linea_publicacion > (publicacion,aviso) > VALUES > (3,) > > so it replaces aviso with the folder instance aviso. > > Apart of discarding the explicit parameter "aviso", the aviso folder > is not parent of bar so it shoudn't acquire it. > > So, who can explain me this?? > > is that a bug in Zope 2.1.6 ?? Zope 2.1.4 works fine. Yes. ZSQL methods attempt to acquire values _before_ using the ones you supply directly. It's been discussed on the list earlier this month, as I found out when I stumbled upon it on Monday. Lots of things in 2.1.6 are worth keeping, however, so I patched it. Just as soon as I have the time I'll post a formal patch just as soon as I have time, but here's a quick rundown: In lib/python/Shared/DC/ZRDB/Aquaduct.py you should see something like this: class BaseQuery(Persistent, SimpleItem.Item, Acquisition.Implicit, RoleManager): def query_year(self): return self.query_date.year() def query_month(self): return self.query_date.month() def query_day(self): return self.query_date.day() query_date=DateTime.now() manage_options=() def quoted_input(self): return quotedHTML(self.input_src) def quoted_report(self): return quotedHTML(self.report_src) MissingArgumentError='Bad Request' def _convert(self): self._arg=parse(self.arguments_src) def _argdata(self, REQUEST): r=ArgWrapper() Change that last line to: r={} Then, in lib/python/Shared/DC/ZRDB/DA.py, in __call__, look for this: query=apply(self.template, (p, argdata)) And change it to: query=apply(self.template, (p,), argdata) That seemed to fix the problem for me. Brickbats to DC for releasing a security update that breaks functionality this badly, but kudos to them for releasing the code so we can patch around problems. John ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZOPE ITALIAN Mailing List
Sorry for bothering you. This is a one-time spam. A dozen people are being mailed in the back (blind carbon copy :-) I'd like to know if there's a need for an italian Zope list. Altough I'm OK reading or writing english, such a list could free some CPU cicles from my brain that I can devote to the Zen Of Zope or helping newbies. If somebody is interested, or can host the list, please reply privately. Thank you. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 search
I followed the helpful instructions in the Z Catalog tutorial concerning adding searching to my site, and it works, though not in the way that I'd like. I've added the raw field to the list of searched indices, and chosen to only index DTML documents. Yet, all of my searches seem to be case sensitive, and they all seem to be 'and' searches. I'm not particularly interested in supporting boolean keywords, but since my site isn't that large, it might make more sense to treat searches as 'or' searches by default. How difficult is it to implement case insensitive searches in this manner? Also, I've noticed that DTML documents don't appear to automatically add themselves to the Z catalog. My understanding is that all Z catalog-aware classes automatically notify the catalog when they are created; are DTML documents and methods not catalog-aware? Thanks. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ANN: Perl For Zope
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. This isn't a press release, which we'll be doing in the run-up to the O'Reilly Open Source conference in July, when the code is closer to being available. --- Digital Creations, creators of the Open Source Zope application server, announced today that it is teaming with ActiveState, a leading provider of Internet programming software, to make Perl a scripting language for Zope. Perl is the predominant scripting language for Internet applications and is a key success story for the Open Source software movement. Zope is written in Python, the fastest growing Open Source scripting language. "It is clear that the strength of Zope realizes the future architecture of the Web," says Paul Everitt, CEO of Digital Creations. "This dynamic architecture, and the people working with it, are a fantastic match for scripting languages. Thus it is natural that Digital Creations would team with ActiveState to make Perl a scripting language for Zope." "Zope is a powerful content management system that we use internally," said Dick Hardt, CEO of ActiveState. "By adding the power of Perl to Zope, we will be able to leverage all the existing Perl technology that we have as well as bring the worlds of Python and Perl closer together." Under this agreement, ActiveState will get Python and Perl to run in the same application. More specifically, Perl programmers can code critical pieces of business logic in Zope solutions. "The Perl for Zope project brings the worlds of the two most important open source programming languages together," stated Gisle Aas, Senior Developer, ActiveState. "Python programmers will be able to directly take advantage of the large collection of reusable Perl program modules, like DBI, found on CPAN. Perl programmers will be able to program and customize the Zope web application server using their favorite language." The initial developer release of Perl For Zope will coincide with the O'Reilly Open Source Software Convention in July 2000. For more information on the project, please visit the Perl For Zope project page at http://www.zope.org/Wikis/zope-perl/. Contact Information For Digital Creations, contact Paul Everitt, [EMAIL PROTECTED], 540.371.6909x102. For ActiveState, contact Lori Pike, [EMAIL PROTECTED], 604.713.8433. --Paul Paul Everitt Digital Creations [EMAIL PROTECTED] 540.371.6909 - The Open Source Zope application server http://www.zope.org/ - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] M$soft
Hello, Is anybody bold enough to try Zope with ODBC to an ACCESS database? How about a Micosoft's SQL? Have you had any success with either? What would you recommend?? Regards, Luis. -- == Luis Cortes Pollak EPD (915) 621-6113 == ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] The agony of the ZOPE Documentation
Jason Cunliffe wrote: >Perhaps you have a better crazier idea..I hope so:-) Maybe. I too have had problems with the ZDP stuff, but not specifically those mentioned by others in this thread. When I try to use the ZDP I am impressed by the effort and sheer volume of material, but unfortunately it seems to be mostly supported by non-native English speakers. The result is that I am often uncertain that I clearly understand what the author intended. That leaves me in a state that is nearly worse that where I began, potentially more knowledgable, but certainly more confused. Now, for that crazy solution. If the ZDP were in some Wiki-ish form that could be edited by readers ("Edit This Page", a la Frontier?), a new version of a page could be created to fix the most obvious misexpressions. The author might then be able to review the updates, and either approve the fixes, or clarify cases where a misfix has resulted from a misinterpretation, which itself is a verifiable indication that the original text was somewhat obscure. After a few passes through this process, the ZDP might be dressed up and ready to go to press! In a case like the proposal above, anyone willing to do some copyediting would be free to edit a paragraph at a sitting, if that's the all the time available, or a page, or a chapter. Whatever works. I know I have been reluctant to commit to any extensive participation simply because my time is very limited. Still, as tight as the schedule is, it isn't quite in the negative microseconds yet, so a graph per shift is better than nothing! With this in mind see the very recent post: http://lists.zope.org/pipermail/zope-dev/2000-May/005021.html This is a way to manage Zope Objects, stuff that usually lives in ZODB, using CVS. This can provide versioning, checkout, checkin, etc. It could be used as a way to let ZDP Authors know what's changed, at a very granualr level, to keep from having to wade through the page looking for somthing that isn't precisely as it was last time they saw it. ZDP is itself a Zope site, so this could be just the ticket. How can such a critter be set up? Thanks for considering a crazier idea, Jerry S. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Broken ZWiki
Simon Michael wrote: > > > PS: Now, if I could just rename a Wiki page through the Wiki interface > > and have all links to that page updated... ;-) > > I need this too.. it's near the top of my zwiki todo list. > > -Simon Cool :-) Open Source is great... ;-) > looks like this has been answered, good. I'll check out ZWikiWeb > soon. Maybe there's something we can do to integrate or market the two > better for newcomers ? I think just roll the two together. ZWikiWeb is nothing more than an automated copy, paste and rename... The 'new' ZWiki product could just have two factories: -Add ZWiki Page (as it is now) -Add ZWiki Web (from ZWikiWeb, feel free to use the code ;-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] The agony of the ZOPE Documentation
Thanks shane, I'll check it out! :) On Wed, May 24, 2000 at 05:12:36PM -0400, Shane Hathaway wrote: > [EMAIL PROTECTED] wrote: > > > > I'm sorry, but I have to say, the ZOPE documentation, despite efforts > > to improve it, is absolutely, positively horrible. Not because the > > content isn't there, but because the tools to access it simply suck. > > I can type in searches on both zope.org and zdp.zope.org and though I > > KNOW the information is there, I can't get the results I want! > > Constantly, when I am recommending ZOPE to people, the ONE thing I and > > they complain about is the horrible documentation! > > It would be very helpful if you would take a look at the new help > system in the latest alpha release. Or even better, check out Zope via > CVS and try that out. I may be biased, but I think it's real progress. > > Just push the "help" button on most management screens. > > Shane -- I'm pretending that we're all watching PHIL SILVERS instead of RICARDO MONTALBAN! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Broken ZWiki
looks like this has been answered, good. I'll check out ZWikiWeb soon. Maybe there's something we can do to integrate or market the two better for newcomers ? Or better, someone could cook up a nice, simple, zope product dependency checker that works like debian's apt.. Chris Withers <[EMAIL PROTECTED]> writes: > ZWiki is the real product and I'd like to thank Simon for giving us such > an amazing product. My part was a small one.. but you're most welcome! :) > PS: Now, if I could just rename a Wiki page through the Wiki interface > and have all links to that page updated... ;-) I need this too.. it's near the top of my zwiki todo list. -Simon ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Reloading products
Shane pointed me to the Refresh product, but I'm still baffled. The same problem that's stopping me from updating my product is stopping the Refresh product from doing its thing on my product (even though it appears in the product folder itself). I can completely add or remove my own products from the Products directory and they have no effect whatsoever on the ZODB. Am I missing something? Here's what I'm doing to create a product (following source for various things including the Boring product): 1) create folder Products/AlbumImage 2) add __init__.py 3) in __init__.py, import AlbumImage, initialise(context) stuff 4) create AlbumImage/AlbumImage.py 5) do stuff that is good in AlbumImage.py Now, as far as I can tell, this should be sufficient to make my product appear in the products folder. Why does it refuse to disappear or change? Is it stuck somewhere in the ZODB? Ek I'm confused. Seb. > -Original Message- > From: Chris Withers [mailto:[EMAIL PROTECTED]] > Sent: 24 May 2000 21:03 > To: Seb Bacon > Cc: Zope Users > Subject: Re: [Zope] Reloading products > > > Seb Bacon wrote: > >(n.b. is > > there any way of reloading a product without the tedium of > stopping and > > starting zope?) > > There is a very-alpha product for doing this floating around on the > zope-dev list. check the archives... > > Chris > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] E-Commerce solution using Python and Zope.
Jilani Khaldi wrote: > > Hi All, > do you know about something written in Python & Zope for e-commerce > solutions? Try having a search on the ZCommerce mailing list archives: http://zope.nipltd.com/public/lists/commerce-archive.nsf/$$Search?OpenForm and join the list: http://lists.codeit.com/mailman/listinfo/zcommerce cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Zwiki
"Pierre R." <[EMAIL PROTECTED]> writes: > I am using Navigator product and the ZWiki in Zope. I have been trying > to include the Navigator Header in the Zwiki Header so that you can > browse through Zwiki Pages and have the Navigator top and side Bar > around the Zwiki page. If I just include the standard_html_header in the > > zwiki_header it works OK but not when invoking editing or backlink. > Do you have any idea it could be done. I tried to look at the Python > code > but I am new to Python. Hello Pierre, sorry, I haven't tried Navigator and don't know the answer at this moment. Perhaps someone in the community has done this ? I am forwarding to the zope list. Regards -Simon ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] (newbie) manage_options?
I'm making a new product derived from Poll, and I want it to have the standard 'Contents' tab where it displays its subitems in a tree and stuff. The original Poll product (Poll.py) has: manage_options=( {'label':'Properties', 'action':'manage_main'}, manage_main=HTMLFile('pollEdit', globals()) So it has no Content tab, and the main view is an edit form. I took a line from another product with the behavior I wanted and said: manage_options=( {'label':'Contents', 'action':'manage_main'}, (removing the Properties entry) and didn't define manage_main at all. But it looks exactly the same as before! Is there somewhere else it could be determining what tabs to display and what function to call for each? Poll is derived from (Folder,RoleManager) -- it should be looking in Folder, right? Am I totally off base here? Thanks Adam ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] E-Commerce solution using Python and Zope.
Hi All, do you know about something written in Python & Zope for e-commerce solutions? Thanks. Jilani -- ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power To Serve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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.1.4 to 2.1.6 nightmare
> > Finally it works. Thanks. > > > > Do you know why DigitalCreations haven't release a patch? > > Dunno :S > > > I guess i'm not the first one getting mad with 2.1.6. > > Had us fooled for about a week :( > > I think it's all fixed in 2.2 anyway, which may be why no patch was > released... That's basically right - it boils down to that releasing a patch for every bug/feature just doesn't scale. We have made some internal adjustments to allow our release schedule to be much more flexible and frequent than it was, which should address this. Of course, if having every latest bug fix is of burning importance to you, you can run from the public CVS - though you are also, of course, going to get every latest bug as well :^) Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
> > Well I have asked a few times before, before but never a reply.. so I will > > ask again: > > > > How much would it cost? (U$?) > > Based on the above figures, and assuming £500/day/person, it comes out > as: > > £62,500 (roughly $100,000) ouch!Interesting.. .And if you write a book, how much will a publisher pay you [for example ORA 'Zope in a Nutshell']. ..and how many copies do you think ZIAN [Zope in a Nutshell] will sell ? Is this why/how FrontierLand/Manila asks $899/year ? http://store.userland.com/default.html or Roxen SEK 95,000.00 = 10,308.75 USD http://www.roxen.com/store/ etc ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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.1.4 to 2.1.6 nightmare
Felipe Alvarez Harnecker wrote: > > Finally it works. Thanks. > > Do you know why DigitalCreations haven't release a patch? Dunno :S > I guess i'm not the first one getting mad with 2.1.6. Had us fooled for about a week :( I think it's all fixed in 2.2 anyway, which may be why no patch was released... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] The agony of the ZOPE Documentation
[EMAIL PROTECTED] wrote: > > I'm sorry, but I have to say, the ZOPE documentation, despite efforts > to improve it, is absolutely, positively horrible. Not because the > content isn't there, but because the tools to access it simply suck. > I can type in searches on both zope.org and zdp.zope.org and though I > KNOW the information is there, I can't get the results I want! > Constantly, when I am recommending ZOPE to people, the ONE thing I and > they complain about is the horrible documentation! It would be very helpful if you would take a look at the new help system in the latest alpha release. Or even better, check out Zope via CVS and try that out. I may be biased, but I think it's real progress. Just push the "help" button on most management screens. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-dev] Cannot rename or move my ZClass object
Please don't cross-post to both lists. Lindell Alderman wrote: > > I have derived a ZClass from the Folder base class and it works > great, except I cannot rename or move my ZClass. How can I fix this? What is the error and traceback that you get when moving or renaming fails? -- -Michel Pelletier http://www.zope.org/Members/michel/MyWiki Visit WikiCentral for the latest Zen: http://www.zope.org/Members/WikiCentral ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
Jason Cunliffe wrote: > > > I reckon there's about 25 man weeks of work to do based on 5 people > > spending: > > -1 week to build the tools > > -1 week to plan the structure of the documentation > > -3 weeks to get ALL the Zope documentation linked in one place (which is > > what zdp is supposed to be...) > > > > So, has anyone got the cash? ;-) > > Well I have asked a few times before, before but never a reply.. so I will > ask again: > > How much would it cost? (U$?) Based on the above figures, and assuming £500/day/person, it comes out as: £62,500 (roughly $100,000) > Perhaps you have no time but some money.. Personally, I have neither ;-) > resources to go round. And money might really help out here... I agree, I would love to do it, and I'm sure my employer wouldn't mind if someone else was footing the bill ;-) > It seems like rather a catch-22 [or is that a zope-22] : until the docs are > in better shape, it is so much harder for more people to contribute usefully > because it is so easy to get lost again.. I agree :-) > ZDPLINE.COM ?? $ whois zdpline.com Whois Server Version 1.1 Domain names in the .com, .net, and .org domains can now be registered with many different competing registrars. Go to http://www.internic.net for detailed information. No match for "ZDPLINE.COM". Well, the name is there... ;-) cheers, Chris > > Perhaps someone with better dtml skills than I can make a little mini > priceline.com app for zdp.. > > Everyone/Anyone wishing to contribute something towards documentation logs > on and enters the amount: > instant tally shows total potential sponsorship with column for > person-hours/days at rate. Instead of a well intentioned message thread > which will be rapidly drownded in a sea of DTML minutuae, we can have > visible target + 'potential' zdp attractor > > When we hit a 'u$eful 'threshold - $ponsors kick in with their actual > contrib. and zdp advances. > Perhaps you have a better crazier idea..I hope so:-) > > Meanwhile, some fascinating and surreal reading: > Interview with Jay Walker > http://www.strategy-business.com/thoughtleaders/00209/page1.html > > my $0.25 > - Jason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
> I reckon there's about 25 man weeks of work to do based on 5 people > spending: > -1 week to build the tools > -1 week to plan the structure of the documentation > -3 weeks to get ALL the Zope documentation linked in one place (which is > what zdp is supposed to be...) > > So, has anyone got the cash? ;-) Well I have asked a few times before, before but never a reply.. so I will ask again: How much would it cost? (U$?) How many people on these lists are willing to contribute some money towards the zdp work? I am. I buy books and magazines all the time - do you? How much do you spend over, say, 3 months on printed matter? How much would it worth over the next 3 months X how many people to move this work along significantly? Perhaps you have no time but some money.. I am not saying that money is the magic answer - clearly ZDP needs intelligent dedicated contribution and feedback. But there does appear to be some basic work to be done and not enough humna resources to go round. And money might really help out here... It seems like rather a catch-22 [or is that a zope-22] : until the docs are in better shape, it is so much harder for more people to contribute usefully because it is so easy to get lost again.. ZDPLINE.COM ?? Perhaps someone with better dtml skills than I can make a little mini priceline.com app for zdp.. Everyone/Anyone wishing to contribute something towards documentation logs on and enters the amount: instant tally shows total potential sponsorship with column for person-hours/days at rate. Instead of a well intentioned message thread which will be rapidly drownded in a sea of DTML minutuae, we can have visible target + 'potential' zdp attractor When we hit a 'u$eful 'threshold - $ponsors kick in with their actual contrib. and zdp advances. Perhaps you have a better crazier idea..I hope so:-) Meanwhile, some fascinating and surreal reading: Interview with Jay Walker http://www.strategy-business.com/thoughtleaders/00209/page1.html my $0.25 - Jason ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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.1.4 to 2.1.6 nightmare
Felipe Alvarez Harnecker wrote: > Applied the patch. No luck. Still getting the same behavior. Oops, sorry, missed the SQL method first time round... You'll also need to do the following: > > In the file: lib/python/Shared/DC/ZRDB/DA.py > > Around line 424, replace: > > query=apply(self.template, (p, argdata)) > > with > > query=apply(self.template, (p, argdata), argdata.__data__) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Passing multi-line field into SQL
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article <[EMAIL PROTECTED]>, Tony Mann <[EMAIL PROTECTED]> writes >You enter a line break by pressing the Enter key! > >We are using Gadfly for right now, until our Oracle db server is set up. > >We actually found a solution: > >')" >sql_quote>, > I seem to recall that there is a problem with Gadfly and multiline data. I don't use Gadfly, and don't have this problem. However, I have to enter in the text box to produce the effect of a line break since I only ever work with HTML formatted text. - -- Regards, Graham Chiu gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered by Interbase and Zope -BEGIN PGP SIGNATURE- Version: PGPsdk version 1.7.1 iQA/AwUBOSuRNbTRdIWzaLpMEQL+3ACgjzqk2zI2eLe8u3jSPAll0NyPzvQAoLTP NzXDSlxEk7/QJY6iuh+IpNXB =S1Bt -END PGP SIGNATURE- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!
Hi Michael -- > Would you please expand on the "make XPCOM components" task. I could, but you ask all the right questions, so I can just answer those. > By this are you adding new components, written in Python, that will be > accessible through the XPCOM interface? Yes. > Would these components be > constructed in Python from components interfaces that are accessible > through the XPCOM interface? Yes. > If this isn't the case then is does this > simply mean that Python can be used to assemble chrome using existing > XPCOM components. It is the case, so "no". I read that last sentence as "can you use Python to assemble existing components [written in e.g. C++]". While that is _a part_ of the capability we're talking about, we are also talking about the ability to have Python components act invisibly to the rest of Mozilla as full-fledged XPCOM components (much like existing C++ components currently). This is not unlike what one can do in PythonCOM currently in the Windows world. > Are you doing this by wrapping the the interface to the XPCOM Type > Library or will you be parsing the XPIDL files directly. (Another > interesting approach is the way the ORBit-Python project reads CORBA > IDL files at run time and links directly to an ORBit ORB.) The former. > By this do you mean that in the following XUL the value of "oncommand" > cannot be python code? > >value="Mozilla Help" > oncommand="window.openDialog('chrome://help/content/help.xul', > '_blank', > 'chrome,all,dialog=no')" /> Correct. > or are you talking about not being able to embed Python instead of > javascript as in the following: > > > function doCMD(el) { > v = el.getAttribute("value") > if (v == "New") alert('New clicked') > elsif (v == "Open") alert('Open clicked') > else alert('Close clicked') > } > > ... > > > > > > > That too. Both of those (really the same feature) require considerable changes to the parser and to the DOM model, as documented in e.g. http://www.mozilla.org/scriptable/agnostic.html. Again, that is part of our long-term plan. > Instead of using XUL to write the definition from the > first example or the definition in the second example will > it be possible to write the equivolent of the XUL completely in > Python? That is, will the planned interface make it possible to build > an XPCOM component based application, such as the Mozilla browser, > entirely in Python. In the long term, yes -- but not in the short term. In the short term you'll have to use some JS in XUL files, although it will be able to reference and call and manipulate components written in Python outside of the XUL. > An interface between the Glade IDE and Mozilla has recently been > checked into Sourceforge. The documentation on MozGlade is weak. > The freshmeat announcment > http://freshmeat.net/appindex/2000/05/16/958529719.html hints at the > goal. The project looks like it might intersect with the goals of the > Komono IDE project. I'll look into it, thanks for the pointer. > Will there be a mailing list for the project? We're still working out how to proceed with respect to working with folks outside of the company. I expect much of the discussion will take place on existing Mozilla newsgroups. > What is your best guess > on when the "make XPCOM components" capability will be available for > testing from the Mozilla CVS? Sorry, I'm unable to give a best guess at this point with any meat behind it, especially when it involves integration with the main Mozilla tree, over which we have no control. While it's not a direct answer to your question, we are collecting email addresses of those who want to be notified when Komodo is ready (http://www.activestate.com/Products/Komodo.html). I hope the above is helpful. -- David Ascher PS: Wouldn't it make sense to trim the main Zope mailing list from this thread? I see it as being Mozilla-centric, not Zope-centric. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Reloading products
Seb Bacon wrote: >(n.b. is > there any way of reloading a product without the tedium of stopping and > starting zope?) There is a very-alpha product for doing this floating around on the zope-dev list. check the archives... Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [ZDP] Re: [Zope] The agony of the ZOPE Documentation
Hi ! Chris Withers wrote: > > [EMAIL PROTECTED] wrote: > > I'm sorry, but I have to say, the ZOPE documentation, despite efforts > > to improve it, is absolutely, positively horrible. Not because the > > content isn't there, but because the tools to access it simply suck. > > Gotta agree with this :( Have you seen the logo of the ZDP site ? ;-) > > Additionally, the zdp web site is a real nice idea that is SO poorly > > executed IMO as to make it totally unusable. Thanks for telling me what you think about the ZDP site. The portal is only 24 days old, and we still need to fill in all the subjects and topics. Do think that the basic idea of offering different portals for different communities (Beginners, Developers and so on) is a bad idea ? What do you think about the organisation in Subjects/Topics ? > ZDP is currently undergoing a lot of development and unfortunately I > have to agree that it isn't there yet... We desparately need people helping ! > Unfortunately, no-one is getting paid to do it, and everyone who is > working on it would probably get fired if they spent enough time on it > to REALLY get the job done... The problem is that not all stakeholders are working on this together. The ZDP project has got another server than the main Zope site, and there are only a few spare time developers working on this site. If we could work together with Digital Creations and perhaps on the same server as Zope.org, things would be much easier ! > I reckon there's about 25 man weeks of work to do based on 5 people > spending: > -1 week to build the tools > -1 week to plan the structure of the documentation > -3 weeks to get ALL the Zope documentation linked in one place (which is > what zdp is supposed to be...) > > So, has anyone got the cash? ;-) This is a job that only DC can do right now. The ZDP has "only" got the aim to point to existing stuff. Restructuring the existing docs is not our job. > Once this is done, it will be less work to keep that documentation up to > date. Hopefully, eventually, all documentation would end up on > zdp.zope.org and not just be linked from it... At least we can dream, can't we ? ;-) > > You can't even browse > > the documentation without clicking through a thousand different > > links. > > I agree here too :( What documentation do you mean ? > (I can give you specific examples of how to improve the site > > if you want.) I really want to hear all your ideas ! > Send them to [EMAIL PROTECTED], in fact, better still, JOIN [EMAIL PROTECTED] and > go and make the changes yourself :-) It would be nice to get some help from the whole Zope community. Anyone who would like to give some ideas is more than welcome ! Greetings, Maik Röder -- Open Source is "about being able to work together with people you've never met, on projects that are in a constant state of flux, on a time schedule that would cause a hummingbird's head to spin." Paul Ferris, http://www.linuxplanet.com/linuxplanet/opinions/1593/1/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Reloading products
newbie time: I'm trying to write a product AlbumImage which extends Image to include a thumbnail. I was determined to slog it out without begging for help, but I've come up against a very strange brick wall. I'm getting problems with an import statement at the beginning of my product from OFS.PropertyManager import PropertyManager now then. I originally mis-spelled PropertyManager 'PropertyManageer' and got a traceback telling me it didn't exist. Fine. I changed it to the correct spelling, stopped and started my zope (n.b. is there any way of reloading a product without the tedium of stopping and starting zope?), and it still said 'no module named PropertyManageer'. So I tried changing it to ProoopertyManager, restarted Zope and sure enough the error was 'no module named ProoopertyManager'. BUT...I changed it to PropertyManager again and the error was *still* 'no module named ProoopertyManager'. Any clues, anyone? -seb > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > Lindell Alderman > Sent: 24 May 2000 20:18 > To: Zope Developers; Zope Users > Subject: [Zope] Cannot rename or move my ZClass object > > > I have derived a ZClass from the Folder base class and it works > great, except I cannot rename or move my ZClass. How can I fix this? > > -L > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Importing a 2.1 .zexp file into 2.2
Kevin Dangoor wrote: > Error Type: InvalidObjectReference > Error Value: Attempt to store a wrapped persistent > object Apparently storing a wrapped object is a security hole, I bumped into a post about it in the collector after searching for ZCatalog... So, something, somewhere in your zexp has a wrapped object... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] 2.1.4 to 2.1.6 nightmare
Felipe Alvarez Harnecker wrote: > is that a bug in Zope 2.1.6 ?? Zope 2.1.4 works fine. Yup, the patch is in this article: http://zope.nipltd.com/public/lists/zope-archive.nsf/ByKey/8347052C9F353CA2 cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!
David Ascher writes: > There are two levels of integration of other scripting languages, one easier > than the other. We'll be tackling the ability to make XPCOM components in > Python and Perl first. Would you please expand on the "make XPCOM components" task. By this are you adding new components, written in Python, that will be accessible through the XPCOM interface? Would these components be constructed in Python from components interfaces that are accessible through the XPCOM interface? If this isn't the case then is does this simply mean that Python can be used to assemble chrome using existing XPCOM components. Are you doing this by wrapping the the interface to the XPCOM Type Library or will you be parsing the XPIDL files directly. (Another interesting approach is the way the ORBit-Python project reads CORBA IDL files at run time and links directly to an ORBit ORB.) > This doesn't allow the use of those languages in a > XUL file, however, as that requires architectural changes to the Mozilla > core. We will be working with Netscape to solve that problem as well, but > not in the short term. Nevertheless, I think you'll be pleased to see what > can be accomplished with Python and Perl components... By this do you mean that in the following XUL the value of "oncommand" cannot be python code? or are you talking about not being able to embed Python instead of javascript as in the following: function doCMD(el) { v = el.getAttribute("value") if (v == "New") alert('New clicked') elsif (v == "Open") alert('Open clicked') else alert('Close clicked') } ... Instead of using XUL to write the definition from the first example or the definition in the second example will it be possible to write the equivolent of the XUL completely in Python? That is, will the planned interface make it possible to build an XPCOM component based application, such as the Mozilla browser, entirely in Python. An interface between the Glade IDE and Mozilla has recently been checked into Sourceforge. The documentation on MozGlade is weak. The freshmeat announcment http://freshmeat.net/appindex/2000/05/16/958529719.html hints at the goal. The project looks like it might intersect with the goals of the Komono IDE project. Will there be a mailing list for the project? What is your best guess on when the "make XPCOM components" capability will be available for testing from the Mozilla CVS? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] The agony of the ZOPE Documentation
[EMAIL PROTECTED] wrote: > I'm sorry, but I have to say, the ZOPE documentation, despite efforts > to improve it, is absolutely, positively horrible. Not because the > content isn't there, but because the tools to access it simply suck. Gotta agree with this :( > Additionally, the zdp web site is a real nice idea that is SO poorly > executed IMO as to make it totally unusable. ZDP is currently undergoing a lot of development and unfortunately I have to agree that it isn't there yet... Unfortunately, no-one is getting paid to do it, and everyone who is working on it would probably get fired if they spent enough time on it to REALLY get the job done... I reckon there's about 25 man weeks of work to do based on 5 people spending: -1 week to build the tools -1 week to plan the structure of the documentation -3 weeks to get ALL the Zope documentation linked in one place (which is what zdp is supposed to be...) So, has anyone got the cash? ;-) Once this is done, it will be less work to keep that documentation up to date. Hopefully, eventually, all documentation would end up on zdp.zope.org and not just be linked from it... > You can't even browse > the documentation without clicking through a thousand different > links. I agree here too :( (I can give you specific examples of how to improve the site > if you want.) Send them to [EMAIL PROTECTED], in fact, better still, JOIN [EMAIL PROTECTED] and go and make the changes yourself :-) Good luck, I think you're (or should that be 'we're all') going to need it... Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Cannot rename or move my ZClass object
I have derived a ZClass from the Folder base class and it works great, except I cannot rename or move my ZClass. How can I fix this? -L ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Collector status on password change bug?
Shane Hathaway wrote: > This patch has been applied in CVS, and I believe the latest alpha > version has it as well. Not quite, it's solved in a slightly different way in the CVS. We do the following to get the CVS solution to work with 2.1.4 and 2.1.6: Checkout editUser.dtml 1.10 and User.py 1.102 from the CVS. Then apply the following patch to editUser.dtml: *** editUser.dtml.old Thu Apr 20 10:29:39 2000 --- editUser.dtml Thu Apr 20 10:41:20 2000 *** *** 26,32 New Password ! --- 26,32 New Password ! *** *** 34,40 (Confirm) ! --- 34,40 (Confirm) ! HTH, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] 2.1.4 to 2.1.6 nightmare
Hi Zopistas, after upgrading Zope (in a debian/Linux system) from 2.1.4 to 2.1.6 the acquisition rules seems to be broken. As an example supose we have this tree structure ---|- aviso |- foo |- bar |- X_sql (sql method) X_sql is a sql method with to parameters: objeto, aviso here is the template: INSERT INTO linea_publicacion (publicacion,aviso) VALUES (&dtml-objeto;,&dtml-aviso;) when zope renders this template to execute the sql, it renders INSERT INTO linea_publicacion (publicacion,aviso) VALUES (3,) so it replaces aviso with the folder instance aviso. Apart of discarding the explicit parameter "aviso", the aviso folder is not parent of bar so it shoudn't acquire it. So, who can explain me this?? is that a bug in Zope 2.1.6 ?? Zope 2.1.4 works fine. -- __ Felipe Alvarez Harnecker. QlSoftware. Tel. 09.874.60.17 e-mail: [EMAIL PROTECTED] Potenciado por Ql/Linux http://www.qlsoft.cl/ __ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!
David was going to check to see if the embedded Python could import C extensions. If it could, I know of a little object publishing environment that could run in Mozilla. :^) --Paul > -Original Message- > From: Martijn Pieters [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 24, 2000 2:42 PM > To: David Ascher > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [Zope-Moz] Good news for Zope/Mozilla efforts! > > > On Wed, May 24, 2000 at 10:22:26AM -0700, David Ascher wrote: > > There are two levels of integration of other scripting > languages, one easier > > than the other. We'll be tackling the ability to make > XPCOM components in > > Python and Perl first. This doesn't allow the use of those > languages in a > > XUL file, however, as that requires architectural changes > to the Mozilla > > core. We will be working with Netscape to solve that > problem as well, but > > not in the short term. Nevertheless, I think you'll be > pleased to see what > > can be accomplished with Python and Perl components... > > Stop it, you have me drooling already! I take it Python will > not loose it's > ability to import other Python modules. A decent XML-Parser at last! > > -- > Martijn Pieters > | Software Engineermailto:[EMAIL PROTECTED] > | Digital Creations http://www.digicool.com/ > | Creators of Zope http://www.zope.org/ > | The Open Source Web Application Server > - > > ___ > Zope-Mozilla maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-mozilla > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] The agony of the ZOPE Documentation
I'm sorry, but I have to say, the ZOPE documentation, despite efforts to improve it, is absolutely, positively horrible. Not because the content isn't there, but because the tools to access it simply suck. I can type in searches on both zope.org and zdp.zope.org and though I KNOW the information is there, I can't get the results I want! Constantly, when I am recommending ZOPE to people, the ONE thing I and they complain about is the horrible documentation! Is there some way that I can get a copy of all of the FAQ's, HOW-TOs, Ref manuals, etc in some kind of raw ASCII text format or HTML or something, so that I can build some kind of useful search engine for this stuff? The search engines on www.zope.org and zdp.zope.org just plain suck. Additionally, the zdp web site is a real nice idea that is SO poorly executed IMO as to make it totally unusable. You can't even browse the documentation without clicking through a thousand different links. (I can give you specific examples of how to improve the site if you want.) Please, anyone? Save Zope's documentation! -- Some husbands are living proof that a woman can take a joke. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Collector status on password change bug?
> I see that the "Can't change User Roles without their Password" > bug mentioned in: > > http://classic.zope.org:8080/Collector/1102/view > http://classic.zope.org:8080/Collector/1134/view > http://classic.zope.org:8080/Collector/1138/view > (etc) > > is still in 2.1.6 > > http://classic.zope.org:8080/Collector/1138/view provides a patch. > What is the recommended way to solve this long-standing problem? Kent - the fix for this is in the forthcoming 2.2. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Collector status on password change bug?
Kent Polk wrote: > > I see that the "Can't change User Roles without their Password" > bug mentioned in: > > http://classic.zope.org:8080/Collector/1102/view > http://classic.zope.org:8080/Collector/1134/view > http://classic.zope.org:8080/Collector/1138/view > (etc) > > is still in 2.1.6 > > http://classic.zope.org:8080/Collector/1138/view provides a patch. > What is the recommended way to solve this long-standing problem? This patch has been applied in CVS, and I believe the latest alpha version has it as well. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Problem rendering large table thru Zope - thru filesystem is ok
We have a report we generate in zope that creates a large table with lots of font changes. When the total size of the file approaches 150k zope refuses to render it. We have a method that creates a copy of the report using _.render and saves it to a file. If we try to use LocalFS to access the file it does not render. The Status bar on browser says "found. Waiting for reply" and the progress bar slowly marches accross its box - but nothing displays. If I go to the drive via our network and double click on the .html file created with _.render, it comes up in about 2 seconds. Yet If I try to access it in "view" mode in the LocalFS folder for that drive it does not display. If I click on the file in LocalFS manage mode the raw html code displays in the text box without a problem. Any ideas? Any suggestions? Any incantations? __ Jim Sanford . Database Engineer / \ / Accelerated Technology, Inc. / / 720 Oak Circle Drive East / / \Mobile, AL 36609 / / \ Voice: 334-661-5770 fax: 334-661-5788 / \ E-Mail: [EMAIL PROTECTED] Web: http://www.atinucleus.com Nucleus. All You NEED in an RTOS. Royalty Free __ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-Moz] Good news for Zope/Mozilla efforts!
On Wed, May 24, 2000 at 10:22:26AM -0700, David Ascher wrote: > There are two levels of integration of other scripting languages, one easier > than the other. We'll be tackling the ability to make XPCOM components in > Python and Perl first. This doesn't allow the use of those languages in a > XUL file, however, as that requires architectural changes to the Mozilla > core. We will be working with Netscape to solve that problem as well, but > not in the short term. Nevertheless, I think you'll be pleased to see what > can be accomplished with Python and Perl components... Stop it, you have me drooling already! I take it Python will not loose it's ability to import other Python modules. A decent XML-Parser at last! -- Martijn Pieters | Software Engineermailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | The Open Source Web Application Server - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Passing multi-line field into SQL
You enter a line break by pressing the Enter key! We are using Gadfly for right now, until our Oracle db server is set up. We actually found a solution: ')" sql_quote>, Kind of ugly, but it works. I imagine there are more elegant solutions. Note that I used dtml-var to produce a single quote to avoid nasty nested quote issues. ..tony.. = In article <[EMAIL PROTECTED]>, Tony Mann <[EMAIL PROTECTED]> writes >We have a form with a textarea on it, that can contain line breaks. When we >try to pass it into an SQL statement How do you enter line breaks into a text area? What database adapter are you using? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Collector status on password change bug?
I see that the "Can't change User Roles without their Password" bug mentioned in: http://classic.zope.org:8080/Collector/1102/view http://classic.zope.org:8080/Collector/1134/view http://classic.zope.org:8080/Collector/1138/view (etc) is still in 2.1.6 http://classic.zope.org:8080/Collector/1138/view provides a patch. What is the recommended way to solve this long-standing problem? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] worldpilot and imap
Hi Tom - I was able to get Inframail to work fine without too much difficulty: http://www.infradig.com/infradig/index.shtml Michael Simcich AccessTools -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Smith Sent: Tuesday, May 23, 2000 1:32 PM To: [EMAIL PROTECTED] Subject: [Zope] worldpilot and imap hi, sorry about the HTML postings. quick questioncan anyone recommend a super simple IMAP server to use on NT Workstation with worldpilot? cheers tom ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] HELP: problems with ZServer Medusa!
Check the permissions on the var directory. J > From: Seb Bacon <[EMAIL PROTECTED]> > Date: Wed, 24 May 2000 19:04:00 +0100 > To: [EMAIL PROTECTED] > Subject: RE: [Zope] HELP: problems with ZServer Medusa! > > does /usr/Zope-2.2.0a1-src/var/z2.pid exist? if not, touch z2.pid and try > again. > > seb. > >> Hi All, >> I have installed Zope on a Linux server (Slackware 7.0) apparently >> without problems; but, when I start the server with the command: >> ./start, I have in continuous this message error: >> -- >> INFO(0) ZServer Monitor Server (V.1.6) started on port 8099 >> Raceback (innermost last): >> File "/usr/Zope-2.2.0a1-src/z2.py", line 698, in ? >> pf=open(PID_FILE, 'w') >> IOError: [Errno 13] Permission denied >> '/usr/Zope-2.2.0a1-src/var/z2.pid' >> > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Importing a 2.1 .zexp file into 2.2
I'm trying to import the KM|net News product into my CVS Zope (just updated it a moment ago, with no luck). I get the following error: Error Type: InvalidObjectReference Error Value: Attempt to store a wrapped persistent object Traceback (innermost last): File /home/kid/Zope2/lib/python/ZPublisher/Publish.py, line 224, in publish_module File /home/kid/Zope2/lib/python/ZPublisher/Publish.py, line 189, in publish File /home/kid/Zope2/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: ElementWithAttributes) File /home/kid/Zope2/lib/python/ZPublisher/Publish.py, line 179, in publish File /home/kid/Zope2/lib/python/ZODB/Transaction.py, line 237, in commit File /home/kid/Zope2/lib/python/ZODB/Connection.py, line 332, in commit (Info: (('OFS.Application', 'Application'), '\000\000\000\000\000\000\000\002', '')) InvalidObjectReference: (see above) Any ideas? Is anyone able to import this? Kevin http://www.byproducts.com - Humor and Novelties ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] seq-items and nested dtml-ins
How do you differentiate between the seq-items of nested dtml-ins? I tried the following code: Where: instances is a folder containing the coupon instances Coupon ZClass is the meta type of the zclass SearchCategory is a list from a form resultsList is a list containing instances of Coupon ZClass matching the search criteria Auto is a property of Coupon ZClass When I try to run a search an error page pops up saying "strings aren't allowed as input in the in tag." The property Category of the zclass is the type lines. "Auto' is one of the values in Category. In I am comparing the current element of SearchCategory to one of the values in Category. In I want to append the instance and not SearchCategory list. Peacefully, Aaron ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Medusa vs. Apache
> Hi All, > I wonder if it is more convenient to stay with Apache or to move to > Medusa for a best use of Zope? If you don't need any of the Apache features go with ZServer/Medusa. -Petru ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] HELP: problems with ZServer Medusa!
does /usr/Zope-2.2.0a1-src/var/z2.pid exist? if not, touch z2.pid and try again. seb. > Hi All, > I have installed Zope on a Linux server (Slackware 7.0) apparently > without problems; but, when I start the server with the command: > ./start, I have in continuous this message error: > -- > INFO(0) ZServer Monitor Server (V.1.6) started on port 8099 > Raceback (innermost last): > File "/usr/Zope-2.2.0a1-src/z2.py", line 698, in ? > pf=open(PID_FILE, 'w') > IOError: [Errno 13] Permission denied > '/usr/Zope-2.2.0a1-src/var/z2.pid' > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Medusa vs. Apache
Hi All, I wonder if it is more convenient to stay with Apache or to move to Medusa for a best use of Zope? Thanks. Jilani -- ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power To Serve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Medusa vs. Apache
Hi All, I wonder if it is more convenient to stay with Apache or to move to Medusa a best use of Zope? Thanks. Jilani -- ___ http://space.tin.it/scuola/jkhaldi FreeBSD ~ The Power To Serve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] GUF and userList problems
Greetings, I am having problems with GUF authentication after including a call to a sql method from within the GUF supplied userList method. I have GUF installed correctly, and able to authenticate from a static list of users I created in the userList method. When I attempt to call a sql method from within userList, all authentications fail. Even for the list of static users. My sql method, "SQL_get_users", is very simple: select user_account from user My modified userList Method is as follows: jorge fred mongo I have verified that the sql method returns users by selecting the "User_list" tab from within the acl_users folder. I have tried numerous things, but I cannot get any of the users to authenticate after adding the statement. If I comment out the statement, the users jorge, fred, and mongo can once again authenticate. At first I thought maybe one of the sql method supplied users was conflicting with either jorge, fred, or mongo in some way so I took out the line, essentially calling the sql method but not returning anything from it. Still couldn't authenticate anyone. Has anyone been successful in getting GUF userList to work with a sql method? I have read through hippys how-to and think I have done everything he has suggested. Systems specifics are: Microsoft Windows NT 4.0 server, service pack 5 Zope version 2.1.6 GUF version 1.2.2 Microsoft Access 2000 Any help at this point will be appreciated. I'm really pulling my hair out over this. -=Brad=- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Using Cookie Data
Jim wrote: > > I have a cookie that contains the value of an psql key as its value. I > want to retrieve the value and use it to call the psql query method to > retrieve the data. The code that I am currently using is > > try quotes: > The company record has been retrieved for . > > - Hannu ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] RE: [Zope-Moz] Good news for Zope/Mozilla efforts!
> Ah good! It's good to see David Ascher can now work more in the > open on this. Indeed. I've been chomping at the bit! > Integrating other scripting languages in Mozilla was considered > tricky if not > impossible, but I believe that switching the DOM to using xpidl is helping > here. I have no idea how long this is going to take to do however. There are two levels of integration of other scripting languages, one easier than the other. We'll be tackling the ability to make XPCOM components in Python and Perl first. This doesn't allow the use of those languages in a XUL file, however, as that requires architectural changes to the Mozilla core. We will be working with Netscape to solve that problem as well, but not in the short term. Nevertheless, I think you'll be pleased to see what can be accomplished with Python and Perl components... -- David Ascher Activestate www.activestate.com ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Using Cookie Data
Hi! On Wed, 24 May 2000, Jim wrote: > Correct syntax is , but I guess you need to learn any Session Product. There are two of them - SQLSession and FSSession. Probably, SQLSession is your way to go... Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Using Cookie Data
I have a cookie that contains the value of an psql key as its value. I want to retrieve the value and use it to call the psql query method to retrieve the data. The code that I am currently using is The company record has been retrieved for . where Company_Name is a property containing the company name and is the name of the cookie, and company_name is the first field that should be retrieved from the psql database query. When I run the code I get Error Type: KeyError Error Value: qryGetCustomer(REQUEST.cookies[Company_Name)] Any help out there on helping a Zope newbie to get the data from his psql database with a value retrieved from a cookie? -- Jim Zope is cool! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: [Zope-Moz] Good news for Zope/Mozilla efforts!
On Wed, May 24, 2000 at 10:11:48AM -0400, Dan L. Pierson wrote: > Looks like we really will be seeing Python support in Mozilla one of these > days! Soon? > > http://www.newsalert.com/bin/story?StoryId=CosTtWbKbytaXodG Ah good! It's good to see David Ascher can now work more in the open on this. Integrating other scripting languages in Mozilla was considered tricky if not impossible, but I believe that switching the DOM to using xpidl is helping here. I have no idea how long this is going to take to do however. -- Martijn Pieters | Software Engineermailto:[EMAIL PROTECTED] | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ | The Open Source Web Application Server - ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope with FreeBSD
On Wed, 24 May 2000, Jilani Khaldi wrote: > did somebody try to use Zope with FreeBSD with success? Many people, many times. What is your problem? Common sources of confusions on FreeBSD: slightly different (more strict) locale (you may need to compile Zope with all char* being unsigned char*); parser module or sha module are not installed - just install them yourself. Other problem? Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] still trying to get Catalog to work in my python product
- Original Message - From: "ed colmar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 23, 2000 11:54 AM Subject: [Zope] still trying to get Catalog to work in my python product > After looking over the PTK snapshot, I've tried to duplicate the catlog > that is implemented there. I could not find any search utilities built in, > so I'm assuming this is still done by adding the ZsearchInterface from the > management screen. Is this right, or is there some built-in PTK searching > tool? ZSearchInterface is basically just a quickie tool to generate DTML Methods. You can always make the DTML on your own... it's really not too difficult to do searching of a ZCatalog (there are a couple related howtos on zope.org). Kevin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] How to know the number of parents of an element ???
Hey Chris, Would this work with a tree? So, in other words, how could I count the children of a tree? I basically want to count the numer of children in the tree.. Thanks, J > From: Chris McDonough <[EMAIL PROTECTED]> > Date: Wed, 24 May 2000 12:12:26 -0400 > To: 'Frédéric QUIN' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: RE: [Zope] How to know the number of parents of an element ??? > > Errr... untested.. but should work. > > > ... > > >> -Original Message- >> From: Frédéric QUIN [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, May 24, 2000 12:38 PM >> To: [EMAIL PROTECTED] >> Subject: [Zope] How to know the number of parents of an element ??? >> >> >> Hi all, >> >> >> Is there any function or method to get the number of parents >> of an element ? >> >> >> Thanks for your help, >> Frederic >> >> >> ___ >> Zope maillist - [EMAIL PROTECTED] >> http://lists.zope.org/mailman/listinfo/zope >> ** No cross posts or HTML encoding! ** >> (Related lists - >> http://lists.zope.org/mailman/listinfo/zope-announce >> http://lists.zope.org/mailman/listinfo/zope-dev ) >> > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope with FreeBSD
Hi All, did somebody try to use Zope with FreeBSD with success? Thanks. Jilani -- ___ http://space.tin.it/scuola/jkhaldi FreeBSD <<~~~>> The Power To Serve ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] HELP: problems with ZServer Medusa!
Hi All, I have installed Zope on a Linux server (Slackware 7.0) apparently without problems; but, when I start the server with the command: ./start, I have in continuous this message error: -- INFO(0) ZServer Monitor Server (V.1.6) started on port 8099 Raceback (innermost last): File "/usr/Zope-2.2.0a1-src/z2.py", line 698, in ? pf=open(PID_FILE, 'w') IOError: [Errno 13] Permission denied '/usr/Zope-2.2.0a1-src/var/z2.pid' -- Thanks. Jilani -- ___ http://space.tin.it/scuola/jkhaldi ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] tag?
(dit not found the original post) > On Sun, 29 Aug 1999, Martijn Pieters wrote: > > >permissions at all. At any Zope2 site, I can add /PrincipiaSearchSource to > >the URL and see the source of that DTML Method/Document. No, thats not true. I just checkt it. Regards Tino ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 know the number of parents of an element ???
Try something like: - Original Message - From: "Frédéric QUIN" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 24, 2000 5:37 PM Subject: [Zope] How to know the number of parents of an element ??? > Hi all, > > > Is there any function or method to get the number of parents of an element ? > > > Thanks for your help, > Frederic > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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 know the number of parents of an element ???
Errr... untested.. but should work. ... > -Original Message- > From: Frédéric QUIN [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 24, 2000 12:38 PM > To: [EMAIL PROTECTED] > Subject: [Zope] How to know the number of parents of an element ??? > > > Hi all, > > > Is there any function or method to get the number of parents > of an element ? > > > Thanks for your help, > Frederic > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] How to know the number of parents of an element ???
Hi all, Is there any function or method to get the number of parents of an element ? Thanks for your help, Frederic ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Good news for Zope/Mozilla efforts!
Looks like we really will be seeing Python support in Mozilla one of these days! Soon? http://www.newsalert.com/bin/story?StoryId=CosTtWbKbytaXodG ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Feeling like a newbie.. document id if statement?
> > > > I wonder if someone would be kind enough to translate Rik's code into Enlish > for me. I know that expressions inside "" are Python, but what is the > function of the [] and _? Hm, I'm afraid this is a DTML trick (nothing more). I hope I can explain this right. Please correct me if I go wrong. Normally in DTML, you access variables in the current namespace with , which actually stands for In an expression like the one used by J you actually use an expression, like , in which case you do not get the id variable in the current namespace, but the actual value of the id attribute (property) of the object in the current namespace. The problem here is that the id of index_html is a python method (which is actually returned by ). This will never be equal to 'index_html' as that is a string. The solution is to call the variable in the current object namespace by using it like a dictionary in the python expression . Because it's a method, you could (in this case) also use , in which case a string is returned (so that will once again be useful. However, the _['id'] is preferred, because it will work on different objects and the id of most other objects is a string. For example: do something nice would work, whereas would break if there are objects whose ids are not methods (assuming File is one of them, which I wouldn't know) So the different forms are (actually there are some more, but they do not matter here): will give you an error Now that was probably more English than you'd hoped for hth Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Feeling like a newbie.. document id if statement?
- Original Message - From: Timothy Wilson <[EMAIL PROTECTED]> > On Wed, 24 May 2000, Rik Hoekstra wrote: > .. > > > Ok.. this is really dumb, but for some reason I can't get this to work. > > > > > > > > > > I believe this should be > > > > > > I wonder if someone would be kind enough to translate Rik's code into Enlish > for me. I know that expressions inside "" are Python, but what is the > function of the [] and _? > The special "namespace" variable, "_" It is useful to access the variables with special names, like "sequence-index" For example: will not work "sequence MINUS index==3" :-) You have to use In fact "_['id']" is the some thing with "id" , I presume (or maybe I'm wrong). so, is no difference between && Find more @: http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.5.3.2.3.html Marcel ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zdconfera - where is it?
I've been using Confera but want to get email notification working. In desperation I've downloaded and installed ZDiscussions 2.0 and ZDbase, zDiscussions and ZDConfera 1.0.0. The ZDiscussion is working but no option for email notification (although I like it). BUT no sign of ZDConfera! Instead I have 2 'Confera Topic' objects??? 1. Where is ZDConfera? 2. Apart from Squishdot, is there a simpe Zope discussion board that has email notification? Please help Phil Langton === Phil Langton. Dept. Physiology, School of Medical Sciences, University of Bristol, Bristol BS8 1TD Tel: 44 (117) 928-8923; Fax: 44 (117) 928-8923 http://www.bris.ac.uk/Depts/Physiology/Staff/PDL/web_pdl.htm "But whatis it good for" (Engineer with the Advanced Computing Systems Division of IBM refering to the microchip in 1968) === ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Feeling like a newbie.. document id if statement?
_ is the default namespace which you can treat sort of like a dictionary, so this means you can index into it with the name 'things'. so _['id'] means give me the id of the current namespace. well sort of. - Original Message - From: "Timothy Wilson" <[EMAIL PROTECTED]> To: "Rik Hoekstra" <[EMAIL PROTECTED]> Cc: "J. Atwood" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 24, 2000 3:18 PM Subject: Re: [Zope] Feeling like a newbie.. document id if statement? > On Wed, 24 May 2000, Rik Hoekstra wrote: > > > "J. Atwood" wrote: > > > > > > Ok.. this is really dumb, but for some reason I can't get this to work. > > > > > > > > > > I believe this should be > > > > > > I wonder if someone would be kind enough to translate Rik's code into Enlish > for me. I know that expressions inside "" are Python, but what is the > function of the [] and _? > > -Tim > > -- > Tim Wilson | Visit Sibley online: | Check out: > Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ > W. St. Paul, MN | | http://slashdot.org/ > [EMAIL PROTECTED] || http://linux.com/ > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Feeling like a newbie.. document id if statement?
On Wed, 24 May 2000, Rik Hoekstra wrote: > "J. Atwood" wrote: > > > > Ok.. this is really dumb, but for some reason I can't get this to work. > > > > > > I believe this should be > > I wonder if someone would be kind enough to translate Rik's code into Enlish for me. I know that expressions inside "" are Python, but what is the function of the [] and _? -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ [EMAIL PROTECTED] || http://linux.com/ ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Netscape Image Problems (LoginManager?)
[EMAIL PROTECTED] wrote: > > On Mon, May 22, 2000 at 03:10:59PM -0500, Jon Delheimer wrote: > > > > Shane, > > > > I made the changes you suggested to Image.py. > > > > Here are the results: > > > > Thursday, 11-May-00 16:21:32 GMT > > 1900/05/11 16:21:31 GMT > > -2197697908.0 > > I have stepped through the debugger with the call of > ZPublisher.Zope('/path/to/image', d=1). Upon immediate entry into the > ZPublisher/Test.py module I can set environ['IF_MODIFIED_SINCE'] to > something reasonable such as 'Wednesday, March 15, 2000 19:02:17 GMT' and I > get no error as I step through the code. This exonerates the Zope python code. > > The question then remains who is producing the buggy If-Modified-Since that > puts the date back to 1900. Does someone know how to trap the headers that > are sent to Zope so they can be inspected? One easy way is to visit /Control_Panel/manage_debug which shows you the details about each active connection, including your own. Another possibility is to create a DTML method called "req" in your root folder which simply calls . I solved the 1900 problem by changing DateTime.py so that years 00-69 are now translated to 2000-2069. That's the way it was supposed to work in the first place; I think something fell through the cracks awhile back. Everybody is counting on having 64-bit processors or better by the year 2038, and if we do, performing an int() cast will be a safe thing to do. Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Netscape Image Problems (LoginManager?)
> > Given Itamar's comments, I have changed his suggestion as follows: > > > > > You can try to fix this problem, by removing the "int(...)" > > > in "OFS.Image.py:186" > > > > > > > -mod_since=int(DateTime(header).timeTime()) > > > > +mod_since=long(DateTime(header).timeTime()) > > I've checked this in for 2.2. Thanks for investigating > this guys! > > --Brian Woohoo! :-) Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Feeling like a newbie.. document id if statement?
Thank you Phil and Rick, that did the trick (sorry) and I am back to feeling like a Zopista! J At 2:19 PM +0200 5/24/2000, Rik Hoekstra wrote: >"J. Atwood" wrote: >> >> Ok.. this is really dumb, but for some reason I can't get this to work. >> >> > >I believe this should be > > > >(isn't dtml nice sometimes) > >Rik ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Subclassing from Custom Python Classes
On Tue, 23 May 2000, Pete Kazmier wrote: > Zope scheduler that is bug free, I need to write a small python script > that I can place in a cron job to run every ten minutes to call the > query methods of these objects so they update their cache instances. > Is there a link on how to get a regular Python script access to the > ZODB? Take a look at Client.py in the ZPublisher subdirectory. --RDM ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: case sensitive folder problem
You could try using Apache rewrite rules to convert all URL's to lower case, and then use only lower case names for your folders, documents and methods. As long as the case is consistent, one rewrite rule should cover everything. hth, -- Marcus > -Original Message- > From: Alexander N Gould [mailto:[EMAIL PROTECTED]] > Sent: 24 May 2000 13:43 > To: [EMAIL PROTECTED] > Subject: [Zope] newbie question: case sensitive folder problem > > > How can I make a folder on my site case - insensitive in > regards to access > from URLs. If someone types http://mysite.com/bigfolder/ into their > browser, I want it to take them to the Bigfolder, but right now, it > produces a missing object error. Any hints? Sorry if this is a silly > question - I'm just getting started here. > > I use zope with pcgi on Apache. > -- > Building highways to reduce traffic is like loosening your > belt to reduce > obesity > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope-dev ) > ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Building ZPatterns
Oliver Maunder wrote: > I'm trying to install ZPatterns 0.3.0 on an NT system and I've come across > problems building the dynpersist C extension. Someone posted the compile dynpersist to Zope-PTK or maybe devel yesterday. -- Itamar S.T. [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 )