[Zope-dev] Playing with DateTime
Hello I am playing around with the DateTime module in order to adapt it to other formats than the American one. However, I would like not to start a work that someone is already doing or that is already done. I have found a little patch that solves temporarily the problem, but I would like to do something more definitive. However, I need to be careful due to the large use that is done internally by Zope. To whom can I get in touch regarding this issue? Best regards Stefano Vedovelli ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Playing with DateTime
Ola Juan I think that, while on one side is very comfortable to recycle others code, there should have been a very good reason for DC to develop that class. I had the impression that the class is heavily used in the internals of Zope, and probably the integration of an external module would mean a major redesign issue. Always in my opinion, in the long run automaintained code can be easier to leverage and adapt. In the end, if the original developer does not support the code anymore or change it in a way that is not possible to upgrade, DC will have major problems. The idea of developing an internal class is, for me, a good point. However, I think that DC did not approached the international subject simply because, as far as I understood, Zope was build on the American market. While they should be terribly proud of the magnificent product thay have done, in future they will be facing more and more the problem of other countries using it. This is why I am looking to fix the DateTime class starting from their code. This problem will occur also for the formatting of values, for instance. As far as I have seen, when you ask Zope to return a number formatted as currency, you get it in dollars, with the "." and "," used where central europeans put them the other way around. I do not know if DC or somebody else is already approaching this issue, and I admit that I have looked around but I haven't found anything about this, but I am pretty sure that the european developers like me and you which are trying to find a RAD for the internet, will find Zope as one of the best products, and the spread of it will sooner or later raise more and more problems on this side. I was asking this on the ml because I am considering proposing a project on this, but I wanted to be sure that this was not already been done somewhere else Best regards Stefano Vedovelli Hello, IMHO the long term solution would be to use the mxDateTime [1] module instead of the DateTime module that currently uses Zope. best regards, jdavid [1] http://www.lemburg.com/files/python/mxDateTime.html > > Hello > > I am playing around with the DateTime module in order to adapt it to other formats >than the American one. However, I would like not to start a work that someone is >already doing or that is already done. I have found a little patch that solves >temporarily the problem, but I would like to do something more definitive. > > However, I need to be careful due to the large use that is done internally by Zope. >To whom can I get in touch regarding this issue? > > Best regards > Stefano Vedovelli > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Ri:Zope-Dev digest, Vol 1 #990 - 15 msgs
Hello Juan well, the idea behind me was to do something that anybody can use actually.if I crack the DateTime module for a quick and dirty, then nobody will benefit from it, and I will have to take care of it in future releases. I was however thinking on two possible solutions: - creating a DateTime class preserving the actual interface while wrapping around mxDateTime - pathing the actual one. I will study mxDateTime and think about it. Somebody would like to help me, by the way? Regards Stefano > Message: 15 > Subject: Re: [Zope-dev] Playing with DateTime > To: [EMAIL PROTECTED] > Date: Fri, 16 Mar 2001 10:43:57 +0100 (MET) > From: [EMAIL PROTECTED] (Juan David Ibáñez Palomar) > > > > Hello Stefano, > > I used mxDateTime about two years ago, when I worked with Bobo, the > move to Zope brought lots of advantages, the only thing I missed was > mxDateTime. > > The discussion about DateTime comes to the mailing lists between time > to time, you can look what has already been said about it in the > archives, for example: > > http://lists.zope.org/pipermail/zope/2000-May/108798.html > http://lists.zope.org/pipermail/zope/2000-September/118269.html > > Yes, switching to mxDateTime would require a lot of work in Zope and > also would break lots of products and web sites, while patching DateTime > is a more quick(&dirty) solution. > > IMHO there're no good arguments against reusing a so good piece of code, > in the long term at least; mxDateTime is the standard in the python > community, only zopers use something else; and it's free software: if > the original developer does not support it anymore others can do it. > > But I understant that if you only want to fix something it's more > quick to patch DateTime. > > > best regards, > jdavid > > > > --__--__-- > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > > (To receive general Zope announcements, see: > http://lists.zope.org/mailman/listinfo/zope-announce > > For non-developer, user-level issues, > [EMAIL PROTECTED], http://lists.zope.org/mailman/listinfo/zope ) > > End of Zope-Dev Digest > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] 2.4 b1 binary doesn't run on win2k
hello to all i posted this on zope this morning and it appears that i'm not the only one with this problem, so i thought - give it a try at zope-dev: zope 2.4b1 doesnt start in manual mode from the cmd prompt - it exits without any output its no problem with ports or other zopes, because in such a case it would at least give me a line feedback i tried with the included python.exe and with the one in my path (activepython 2.1 build 210 from active state) i have installed various 2.3x versions parallel but this shouldnt make a problem because till now there has never been a problem in manual mode i don't want to deinstall my other versions because i want to have a 2.31 version on my production machine any suggestions ?? thanks in advance - bernd ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] 2.4 b1 binary doesn't run on win2k
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> wrote: > hello to all > > i posted this on zope this morning and it appears that i'm not the > only one with this problem, so i thought - give it a try at zope-dev: > > zope 2.4b1 doesnt start in manual mode from the cmd prompt - it exits > without any output > its no problem with ports or other zopes, because in such a case it > would at least give me a line feedback > > i tried with the included python.exe and with the one in my path > (activepython 2.1 build 210 from active state) > > > i have installed various 2.3x versions parallel but this shouldnt make > a problem because till now there has never been a problem in manual mode > > i don't want to deinstall my other versions because i want to have a > 2.31 version on my production machine > > > any suggestions ?? > > thanks in advance - bernd > > _______ > Zope-Dev maillist - [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) its me again [;-)] zope runs on port 80 by default, seems that i missed this somewhere so i set it to 8080 with the -w8080 flag but now i get the following traceback: D:\zope240b1>python z2.py -X -D -w8080 Traceback (most recent call last): File "z2.py", line 540, in ? import ZServer File "D:\ZOPE24~1\ZServer\__init__.py", line 87, in ? from medusa.test import max_sockets File "D:\ZOPE24~1\ZServer\medusa\test\max_sockets.py", line 2, in import socket File "D:\ZOPE24~1\bin\lib\socket.py", line 47, in ? __all__.extend(os._get_exports_list(_socket)) AttributeError: 'os' module has no attribute '_get_exports_list' ?
[Zope-dev] no reload of image in management interface of python product
hello all i have a python product with an image as a property now i display the image in the management screen, but when i change the image via the management interface the browser does no refresh of the image is set the mod time like this: self.doc_icon.lmt=time.time() self.doc_icon.lmh=rfc1123_date(self.doc_icon.lmt) doc_icon is a ImageFile so the date changes but the browser doesn't update this do i have to add something in the http header of the management page or so please help -- bernd ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] no reload of image in management interface of python product
Dieter Maurer wrote: >[EMAIL PROTECTED] writes: > > i have a python product with an image as a property > > now i display the image in the management screen, but when i change the > > image via the management interface the browser does no refresh of the image > > > > is set the mod time like this: > > > > self.doc_icon.lmt=time.time() > > self.doc_icon.lmh=rfc1123_date(self.doc_icon.lmt) > > > > doc_icon is a ImageFile > > > > so the date changes but the browser doesn't update this >The browser has the image happily in its cache. >You need a "SHIFT" + " > > >Dieter > >___ >Zope-Dev maillist - [EMAIL PROTECTED] >http://lists.zope.org/mailman/listinfo/zope-dev >** No cross posts or HTML encoding! ** >(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > thanks - but isn't there another method - so that the user doesn't have to reload the page manualy everytime ? - bernd ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Javascript variables Form element values and zope
Hallo All, I have this little form and I would like to know how to persuade dtml or python to access the javascript variables in the set_p function and the element values in the form "LOG". I'll be thankful for any assistance. function set_p(a,b) { // // call a zsql script mylookup which returns a single value // document.p.value=<dtml-call expr="mylookup(a,b)"> // //alternatively //document.p.value=<dtml-call expr="mylookup(document.LOG.m.value,document.LOG.n.value)"> // } Gavin ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Email marketing
Email Marketing ! We offer you e-mail addresses databases for advertisement mailing; we sell databases also carry out mailing and hosting for the advertising projects. Products World Email Lists . Their validity and originality are verified. Details please go to our website Country or area total emails and price America 175 Million Email Address Europe 156 Million Email Address Asia 168 Million Email Address China(PRC) 80 Million Email Address HongKong 3.25 Million Email Address TaiWan 2.25 Million Email Address Japan 27 Million Email Address Australia 6 Million Email Address Canda 10 Million Email Address Russia 38 Million Email Address England 12 Million Email Address German 20 Million Email Address France 38 Million Email Address India 12 Million Email Address other Country or Area - Category Name total emails Apparel, Fashion, Textiles and Leather 4,654,565 Automobile & Transportation 6,547,845 Business Services 6,366,344 Chemicals 3,445,565 Computer & Telecommunications 654,655 Construction & Real Estate 3,443,544 Consumer Electronics 1,333,443 Energy, Minerals & Metals 6,765,683 Environment 656,533 Food & Agriculture 1,235,354 Gems & Jewellery 565,438 Health & Beauty 804,654 Home Supplies 323,232 Industrial Supplies 415,668 Office Supplies 1,559,892 Packaging & Paper 5,675,648 Printing & Publishing 6,563,445 Security & Protection 5,653,494 Sports & Entertainment 3,488,455 Toys, Gifts and Handicrafts 2,135,654 - ・All of Country email lists + email sender express +add url express + etrae express+Ebook - Send Your Ad to Millions 5 million bulk email 50 million bulk email 100 million bulk email 200 million bulk email Imagine emailing 500,000 recipients and 1 out of every 1000 orders your product, that's 500 new orders! * We go all-out to make sure our customers are completely satisfied * If any emails fail to make delivery, we replace them free of charge * 100% Spam free, rest assured you will not be accused of spamming * Almost all of our emails are sent to valid email addresses * No software required, we do all the mailing from our own server * Don't be fooled in signing up with similar sites offering services that cannot compare to ours * Get the most bang for your buck with bulk email advantage! - Details go to website Thank you! the silver star internet information company copyright・2004-2005 all reserved ---- remove please email: [EMAIL PROTECTED] _______ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] MTBrazil & News #1
Leia mais... Por Paul Pirrotta, Senior Vice-President Webster Bank Por VanDyck Silveira Economista Importar para Exportar: Dilema ou parte da solução? Vivemos um momento crítico, porém esperançoso, na história econômica brasileira contemporânea. Pela primeira vez um chefe de estado brasileiro declara abertamente uma política de desenvolvimento que tem como seu pilar central a inserção do país no comércio global. (...) Todavia, para exportar, o empresário também necessita de acesso desimpedido à matéria-prima e bens de capital que muitas vezes têm que ser importados, pois pode não haver similares nacionais, ou estes, se existentes, podem ser de qualidade incompatível com a produção de bens competitivos voltados ao consumidor global. Leia mais... Tiragem: 8.793 Para receber esta Newsletter http://www.mttrust.com/Newsletter Para cancelar http://www.mttrust.com/Newsletter MTTrust Corporation ©2001 - Contato: 11 3141-0875 Para receber ou cancelar esta Newsletter Cancelar ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Question about RTFExport
Hello, I'm using the RTFExport product. It woks well, but I have a question. I'm exporting the fields of my archetype, and the result file shows every field. This result file hasn't any format. I would like to create a RTF file with the same format that I see in the Edit mode or the View mode (in Plone). Is it possible? Thanks. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] OT: zc.buildout / ploneout
Hi, I have inherited an existing buildout architecture developed in-house which is becoming difficult to support and maintain. There are about 25 setup tasks in total. I am considering moving it to using zc.buildout. Two questions: - is there a central repository of recipes anywhere? for example, one of our current build tasks is a squid installation, which, i think would be of common interest if converted to a recipe. so far I've only come across zope3-based recipes, the zope2 installer, and ploneout. - are there any developers with zc.buildout experience that would be interested in contracting to do this work? I don't have the resources to get it done quickly enough here. If so, please get in touch off- list at [EMAIL PROTECTED] Thanks for your time, Max ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] OT: zc.buildout / ploneout
Hi, I have inherited an existing buildout architecture developed in-house which is becoming difficult to support and maintain. There are about 25 setup tasks in total. I am considering moving it to using zc.buildout. Two questions: - is there a central repository of recipes anywhere? for example, one of our current build tasks is a squid installation, which, i think would be of common interest if converted to a recipe. so far I've only come across zope3-based recipes, the zope2 installer, and ploneout. - are there any developers with zc.buildout experience that would be interested in contracting to do this work? I don't have the resources to get it done quickly enough here. If so, please get in touch off- list at [EMAIL PROTECTED] Thanks for your time, Max ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Error removing NT Service
Hi I have an application built with Zope which can install, control and remove NT services. The actual code is in an external python script. The services can be installed and controlled but if you try and remove the service it get marked as 'disabled' and can not be reinstalled or remove manually (without using the registry). However if Zope is restarted the service is then removed. Does anyone have any ideas about resolving this problem ?? thanks in advance Dean Houghton ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )