Re: [Zope] ODBC database adapter for zope2.8.1 on windows
Andreas Jung wrote: google for mxodbc --On 10. Oktober 2005 16:37:45 +0530 Sreekanth S Rameshaiah <[EMAIL PROTECTED]> wrote: Dear Friends, Is there any good ODBC database adapter for zope2.8.1 on windows? Thanks and Regards, - sree Is there any free ODBC DA? (Not necessary rock-solid-good, rather free.) I didn't find any open source based while searching for one last week. Regards, Johan -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] DirectoryStorage on Windows and MacOSX HFS+
Is there anyone who have tried DirectoryStorage on Windows NTFS or MacOSX HFS+? I'm going to try both, got a compiled readdir.dll module if anybody's intressed in tring it on Windows. (I'm not sure if it's necessary in the Windows release, the documentation isn't clear about that.) Regards, Johan -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72Email: [EMAIL PROTECTED] SE-113 37 STOCKHOLM ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZWiki --> MS Word
> Searched zope.org, the z mailing list and google.com (the only search > engines I use these days) > I'm looking for some tool to convert ZWiki text to MS Word. > Reason being that my boss wants it in MS Word, and I do all my typing as > ZWiki's. > > Any solution is welcomed! > Since ZWiki's are CaPs neurotic, some sections are called for example: > "OrganiSations" or "PaGe". > Also the text has these references. > > Bare in mind, that it doesn't have to be a native Zope or python thing, but > I post it here in hope. Hi Peter, It shouldn't be to hard to convert structured text to RTF. RTF is basically just text with nested commandos similar to HTML (bad style HTML anyway). I have a C example lying around here somewhere. Aha: http://www.logictran.com/RTF11406.htm You could also consider combining the ZIE-editor in ZWiki making WikiWeb more WYSIWYG. ZIE (being a MS-spawned beast) are very capable in cutting and pasting from and to MS applications as Word and Excel. You would be stuck with Internet Explorer 4 or higher. Regards, Johan Carlsson ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] is it possible to import from Excel
> When on a windows platform, I prefer to define an ODBC datasource on the > excel spreadsheet, write ZSQL method that selects the fields to be > imported, write a DTML method that iterates on returned records and call > another ZSQL method that writes into Gadfly. > > You may need to handle None/Missing values to prevent from ending up in > gadfly as 'None' etc. > If your not want to be tied to ODBC and Excel on the deployment platform, you can always try saving the content of the Excel sheet in a text format, if that is possible for your kind of data? The text file could then be parsed by at external method or even imported to the TinyTable product. On lage amounts of data this could be quite time consuming. So it would probably be more efficient to write a seperate import program. There might even be one for Gadfly. In that way you don't have to use a "unreliable" HTTP connection when importing data. That's my 25 öre (which is approximatly 5 cents) Regards, Johan Carlsson "How about Office 2000? Can it export data as XML? And in that case, can it describe more things than just values in a text export?" ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Avoiding acquisition aka testing for contained objects
> If I want to know whether a certain object is contained in > the current folder I do this: > > > yes it's here > > not here > > > Id like to know whether this is the best/most efficient way to do it. > Things like hasattr() are subject to aquisition i.e. they would find > an index_html method along the acquisition path; something I do not > want. I also cannot bracket everything in a because > chopping my namespace is not what I want either. > Stefan, hasattr(self.aq_base, 'index_html') should probably work. aq_base returns the unwrapped base object. There is other aq_wrapper methods as well: aq_parent (returns the parent wrapper) and aq_self. I don't really know (of the top of my brain) the differens between aq_base and aq_self. There is however a wiki some where in the Interface section on Zope.org that tells you more, no link pops in to my mind at the moment so you just have to search for it. I think hasattr() is a better way to look upp attributes but that's just my 5 cents. Regards, Johan Carlsson ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] INSTANCE_HOME breaks cross products import
Hi, I'm using then the INSTANCE_HOME to have separate Zope instances use a base zope installation and a shared products directory with symlink's to the instance product folder. As described in the "How-To: Make your life easier with INSTANCE_HOME" by 4am. Now the LoginManager can't import anything from the ZPattern module. 2000-10-17T21:59:14 ERROR(200) Zope Couldn't import Products.LoginManager Traceback (innermost last): File /bigshare/zopeservers/Zope-2.2.2-base/lib/python/OFS/Application.py, line 397, in import_products (Object: string) File /bigshare/zopeservers/unitedrings/Products/LoginManager/__init__.py, line 1, in ? File /bigshare/zopeservers/unitedrings/Products/LoginManager/LoginManager.py, line 9, in ? ImportError: cannot import name SheetProviderContainer Now this works fine if I start Zope from the base Zope installation. So what goes wrong and why? Does I do anything wrong or should/could this be fixed in the product? If so I guess it would be practical to document som product author guidelines. Regards, Johan Carlsson ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] IEMethod and Owner permissions
Hi Peter, It seemed that there was a old method in the __ac_permissions__ of the IEMethod. Remove the "genmove" in __ac_permissions__ and I'll think you'll be fine. Regards, Johan Carlsson - Original Message - From: Peter Bengtsson To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, September 28, 2000 3:56 PM Subject: [Zope] IEMethod and Owner permissions Hello I'm using the IEMethod product installed on Zope 2.1.6 In a folder object's security tab, I have set Owner to be allowed to change IEMethod, but an ACL User in that folder (being Owner) can't. When logged in as this Owner user, I can't change (File) my changes in the IEMethod. Any similar security setting for DTML Documents or DTML Methods works with this logic. Ideas? Solutions? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: ZWikiZC version 0.7.3 alpha
The ZWikiZC version 0.7.3 alpha completely rely on ZCatalog for looking up WikiPages from WikiNames. No references are stored in the ZWikiZG page letting cut&paste, delete and other management actions ignore updating links. I bellew this is a more scalable solution than in the version 0.7.2 alpha. Bottle neck might be if a page contains alote of WikiNames. I also cleaned it up a bit (remove some hacky stuff from the old ZWiki). Also added are keywords, wiki_meta_types and author_ids. http://www.zope.org/Members/johanc/ZWikiZG/wiki Cheers, Johan Carlsson ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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: ZWikiZC - A ZCatalog enabled ZWiki
ZWikiZC is a ZCatalog based clone of the original ZWiki by Simon Michael http://www.zope.org/Members/johanc/ZWikiZC/wiki/FrontPage http://www.zope.org/Members/johanc/ZWikiZC/wiki/ZWikiZC I need help with testing. There might be a alote of bugs in this first release so I wish to get feedback so I can fix them. Send your BugReports to me Johan Carlsson [EMAIL PROTECTED] Regards, Johan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zzLocale 0-0-3a released on Zope Japan
I have another feature that would be nice for the zzLocale framework. Support for localized images. As far as I know the Zope Management Interface doesn't use any images containing strings, but I know that I might use images that needs to be localized in my products. Maybe that's a requirement you can take in consideration? Are there any zzLocale Wiki for frameworks discussions? Regards, Johan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zzLocale 0-0-3a released on Zope Japan
> "Johan Carlsson" <[EMAIL PROTECTED]> wrote: > > > Are there any plans on expanding the framework to include > > python embedded strings. > > Yes there is, and that's what the development of zzLocale is now > centered on. We are still in an early design stage, so I cannot give you > much information or any expected release date, but the next version of > zzLocale will definitively include some python-embedded strings > localization features. > That's absolutly brilliant! What are the performance impact of the zzLocale? Do more installed translations effect performance in any way. //Johan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zzLocale 0-0-3a released on Zope Japan
Yves-Eric, Brilliant product! Are there any plans on expanding the framework to include python embedded strings. I know it's would be hard to identify all strings in Zope itself, but providing a framework would encurage python product developers that care about i18n and give them a perferd method. Best Regards, Johan Carlsson > > > > Hi Zopistas, > > > > > > This is the second alpha release of zzLocale, a Zope locale support > > Product. > > > > zzLocale provides a framework for Zope interface internationalization > > (Zope and Products management screens). The localization is done on a > > per request basis, which allows developers from different countries to > > work on the same Zope while each of them having an interface in his > > native language. > > > > With zzLocale, Product developers can easily provide localized > > interfaces for their Products. All that is needed is to put the > > localized interface DTML templates in a "locales/[lang]" subdirectory of > > the Product, and zzLocale does the rest. > > > > This version of zzLocale is pretty useable, and usually falls back > > nicely when something goes wrong. However, it is still alpha, and we > > would not recommend using it on a production server. > > > > This release includes a complete (I mean, as complete as current > > zzLocale features permit) French interface, and a partial Japanese one. > > Tranlators are welcome to provide other languages. Please send us your > > translated templates so that we can include them in the next release. > > > > > > For more information and download: > > http://www.zope.ne.jp/users/yemartin/zzLocale > > > > > > > > Regards, > > > > > > -- > > Yves-Eric Martin > > Digital Garage Inc. > > [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 maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] zzLocale 0-0-3a released on Zope Japan
STIL IN SWEDISH, SORRY Hej Peter och alla andra svensk språkiga, Jag så inte ditt meddelande för än nu, men jag är intresserad. Kan vi inte forstätta diskutionerna på min svensk språkiga mailinglista (skapad mycket för just denna typ av sammarbete). För att gå med klickar du dig till: http://www.torped.se/mailman/listinfo.cgi/zope Postar gör man på: [EMAIL PROTECTED] Johan Carlsson Torped AB > > IN SWEDISH - ABOUT SWEDISH > > > > Finns det ett intresse av fler an mig att jobba med detta? > > Om, det gor det, hur manga blir vi, och hur ska vi lagga upp arbetet? > > > > Smidigast vore ju att ge deltagare access till .dtml filer, med version'ing, > > pa en och samma server. > > Syftet ar nog mest att skriva om sidor som klienter kan tenkas anvanda. > > > > Intresserad? > > > > - Original Message - > > From: Yves-Eric Martin <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, July 21, 2000 10:53 AM > > Subject: [Zope] zzLocale 0-0-3a released on Zope Japan > > > > > > > Hi Zopistas, > > > > > > > > > This is the second alpha release of zzLocale, a Zope locale support > > > Product. > > > > > > zzLocale provides a framework for Zope interface internationalization > > > (Zope and Products management screens). The localization is done on a > > > per request basis, which allows developers from different countries to > > > work on the same Zope while each of them having an interface in his > > > native language. > > > > > > With zzLocale, Product developers can easily provide localized > > > interfaces for their Products. All that is needed is to put the > > > localized interface DTML templates in a "locales/[lang]" subdirectory of > > > the Product, and zzLocale does the rest. > > > > > > This version of zzLocale is pretty useable, and usually falls back > > > nicely when something goes wrong. However, it is still alpha, and we > > > would not recommend using it on a production server. > > > > > > This release includes a complete (I mean, as complete as current > > > zzLocale features permit) French interface, and a partial Japanese one. > > > Tranlators are welcome to provide other languages. Please send us your > > > translated templates so that we can include them in the next release. > > > > > > > > > For more information and download: > > > http://www.zope.ne.jp/users/yemartin/zzLocale > > > > > > > > > > > > Regards, > > > > > > > > > -- > > > Yves-Eric Martin > > > Digital Garage Inc. > > > [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 maillist - [EMAIL PROTECTED] > > http://lists.zope.org/mailman/listinfo/zope > > ** 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 list > [EMAIL PROTECTED] > http://www.torped.se/mailman/listinfo.cgi/zope ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] The funny _.None,_ feature in DTML kind of question
Hi, This feature really bugs me so I thought I write a Tips (or HOWTO). But I need some help. (Also I believe it's documented somewhere, but I cant figure out where...) When calling the a DTML-method the second time in a row the namespace just disapears. Using _.None and _ as begining arguments make it all work again. The questions are: -Why does DTML act like this, is there a logical explanition? -Where is this documented? (I know I say it somewhere) -What would be the best way to name and categorise this "feature". Best Regards, Johan Carlsson If you understand my brief problem description, here's a scenario: In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3 /folder1/meth1: #changes the namespace # works just fine /folder1/meth2: #doesn't work /folder1/folder2/meth3: # or something useful like hello foobar Solution: In /folder1 there is three DTML-methods: meth1, meth2 In /folder1/folder2 there is a fourth DTML-method: meth3 /folder1/meth1: #changes the namespace # works just fine /folder1/meth2: #works like a working thing /folder1/folder2/meth3: #or something useful like hello foobar (oh, it the same...) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** 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] Good HTML editor to use with Zope?
You can use Dreamweaver 3 and write extensions that handles DTML. For a headstart, check out: http://www.zope.org/Members/johanc/Dreamweaver3/zope_dw3_ext/ <http://www.zope.org/Members/johanc/Dreamweaver3/zope_dw3_ext/> Best regards, Johan Carlsson > I have some non-technical colleagues who want to learn how to create their > own web pages. Naturally I'd like to host them under Zope! > > They are using Windows 98. Are there any wysiwyg editors out there that > would manage not to mangle an embedded tag? > > Thanks! > > Andrew > > > > ___ > Zope maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope > ** 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 )