Re: [Zope] Problem on connect to MySQL

2000-12-12 Thread Petter Enholm
Hi, The connection string is written like this; database@host user password hence you should give the following connection string: customerDb localhost pass52696 You do not need to specify the host name when running Zope and SQL-server on the same machine. Also note that you should not use

[Zope] MacOS X mySQL zope

2000-12-12 Thread tom smith
It's great that zope runs on MacOSX Public Beta, but the only thing keeping me using my PC (well VirtualPC actually) at the moment is the lack of a Database Database adapter on MacOSX for Zope. I can compile mySQL but not the mySQL adapter. Has anyone done this? Anyone have binaries (I'm a

RE: [Zope] Relocating installed zope -- was LoginManager broken?

2000-12-12 Thread Oliver Bleutgen
Btw. can anybody tell me if and how it's possible to relocate an installed Zope? Hmm... perhaps I am not understanding what exactly you mean, but a thought might be to use tar (on a UNIX system at least) to preserve your setup. Assuming you are using ZServer, Try shutting down Zope with

Re: [Zope] LoginManager broken?

2000-12-12 Thread Phil Harris
Phil, Something that bit me when using the howto you referenced. When creating the methods, as soon as the authenticate method is created the LoginManager starts using it, but since the other methods don't yet exist it starts generating errors with the result that you are locked out of the

[Zope] HTML formatting from a text field

2000-12-12 Thread Ausum
I'm needing a tool that could let a normal user to update a web page, HTML-formatted from a text field within a Zope's form, just like the Compose page at Hotmail, when selecting "Rich Text Format". Does anyone know how to do it? I've tried to find out the technology behind that page, but guess

Re: [Zope] Relocating installed zope -- was LoginManager broken?

2000-12-12 Thread Phil Harris
Oliver, I haven't been following this thread, but here's how I do it. It's quite simple. 1.Copy the folder with Zope in. 2.edit z2.py to change all references to the old folder to the new folder. 3.edit the start script in the same way. That should be it. hth Phil - Original

[Zope] namespace-problem

2000-12-12 Thread Alexander DePauli
Hi everybody, what I want to do is fairly simple, but I've got a namespace problem: - via a form I want to add a new folder, add some properties to the new folder, then add a DTML document within the new folder. - whatever I try, the properties as well as the new document are added to the

[Zope] Help documents broken

2000-12-12 Thread Olaf Zanger
Hi there, i have quite some products imported, they also work properly, but the help document is broken. which Product do i need to install to make them run? thanks in before olaf -- soli-con Engineering Zanger Dipl.-Ing. (FH) Olaf Zanger Nusch Lorrainestrasse 23 3013 Bern / Switzerland

Re: [Zope] Relocating installed zope -- was LoginManager broken?

2000-12-12 Thread Oliver Bleutgen
Oliver, I haven't been following this thread, but here's how I do it. It's quite simple. 1.Copy the folder with Zope in. 2.edit z2.py to change all references to the old folder to the new folder. 3.edit the start script in the same way. That should be it. Thanks Phil, but

Re: [Zope] Problem on connect to MySQL

2000-12-12 Thread Petter Enholm
Correction - Too early in the morning, sorry for the inconvenience In mySQL i set up the user password like this:- INSERT INTO user VALUES('localhost','password',PASSWORD=Password('pass52696'),'Y','Y','Y',Y', 'Y','Y','Y','Y','Y','Y','Y','Y','Y','Y'); and my Database name is CustomerDb

[Zope] ODBC Connection

2000-12-12 Thread Emmon Simbo
Hi I have a few customers who are using Zope and have shown an interest inusing the OpenLink ODBC Drivers. Unfortunately, I am not familiar with Zope and wondered if there was a How-To that I can use to show me how to use Zope with ODBC. I have downloaded the ZmxODBCDA module but when I

Re: [Zope] Incrementing a form field

2000-12-12 Thread César A. K. Grossmann
Andy McKay wrote: You could use FSCounter to do your counting: http://www.zope.org/Members/andym/wiki/FSCounter. There is a How-To on using unique_ids: http://www.zope.org/Members/andym/FSCounter/unique_ids Thanks, but I think that FSCounter cannot be used this time. The problem is, I

Re: [Zope] ANNOUNCE: Zope 2.3.0 alpha 1 released...

2000-12-12 Thread Chris Withers
Brian Lloyd wrote: Hello all, As promised, Zope 2.3.0 alpha 1 is now available. You can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0a1/ Cool :-) Any chance of a binary release for us lame users who want to try it out on our WinNT Workstations? ;-) cheers,

Re: [Zope] Search and replace interface

2000-12-12 Thread Chris Withers
"Stefan H. Holek" wrote: May I humbly point you to the ReplaceSupport product I had cataloged today... http://www.zope.org/Members/shh/ReplaceSupport/ Looks good :-) How about doing a proposal/project on dev.zope.org to see whether it could become an 'official' part of the Zope core?

Re: [Zope] namespace-problem

2000-12-12 Thread Ivan Cornell
One (ugly!) way of doing it: dtml-with "manage_addFolder ('Test1')" dtml-let test1Object="_.getitem(Test1')" dtml-with "test1Object.manage_addFolder ('Test2')" /dtml-with /dtml-let /dtml-with This creates Test2 in Test1. Ivan Here some experiments (don't look at the syntax):

RE: [Zope] ODBC Connection

2000-12-12 Thread Paolo Quaglia
Try to use the ZODBCDA http://www.zope.org/Products/DA/ZODBCDA It works very well! Paolo Quaglia -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Emmon SimboSent: Tuesday, December 12, 2000 11:26 AMTo: [EMAIL PROTECTED]Subject: [Zope]

RE: [Zope] LoginManager broken?

2000-12-12 Thread Mayers, Philip J
Ye gods... Ok, steps I had to take to get LoginManager working 1) Create a folder, call it "test" 2) In that folder, add a LoginManager with a GenericUserSource, with *just* "Basic Auth Login" selected. Leave the rest as defaults. 3) In the newly-created ACL-users folder, you'll find

Re: [Zope] ODBC Connection

2000-12-12 Thread Philipp Auersperg
the ZmxODBC DA uses the Zope-independent product mxODBC, that provides a generic Python DB API compliant ODBC interface to Python. ZmxODBC installs mxODBC into lib/python/Shared/mx. The problem is that this path is not in the default PythonPath. Solution: move the mx directory from

Re: [Zope] namespace-problem

2000-12-12 Thread Maik Röder
Hi ! Alexander DePauli wrote: Hi everybody, what I want to do is fairly simple, but I've got a namespace problem: - via a form I want to add a new folder, add some properties to the new folder, then add a DTML document within the new folder. - whatever I try, the properties as well as

[Zope] Last day of Month

2000-12-12 Thread Paolo Quaglia
Hi everibody Is there some tricky way to know the last day of the month of a DateTime object? for ex: if my DateTime object is 12/12/2000 is there a method or a function that return the last day of the month?(in this example 31) Thanks a lot Paolo QuagliaInformation Technology

RE: [Zope] ODBC Connection

2000-12-12 Thread Emmon Simbo
Thanks Philipp. That solved the problem. Is there actually a How-To on what to do as when I go to add a new Datasource, I get the error Error Type: NameError Error Value: SQLDataSources Thanks again for you answer Emmon -Original Message- From: Philipp Auersperg [mailto:[EMAIL

RE: [Zope] ODBC Connection

2000-12-12 Thread Emmon Simbo
Hi Paolo I already have that. The problem was that it wasn't in the lib/python path. Moving it there fixed the problem. Now I get an error Error Type: NameErrorError Value: SQLDataSources whenI try to add a new datasource. Emmon -Original Message-From: [EMAIL PROTECTED]

RE: [Zope] ODBC Connection

2000-12-12 Thread Paolo Quaglia
Hi Emmon I don't well understandthe exact moment the error occurs: If you correctly havetheZODBCDA entry in the product list, you should have a new entry in the available objects list. Now you have to create a new datasource with the win32 ODBC manager (in control panel). thengo to a

Re: [Zope] LoginManager broken?

2000-12-12 Thread Dan L. Pierson
"Phil Harris" [EMAIL PROTECTED] writes: Phil, Something that bit me when using the howto you referenced. When creating the methods, as soon as the authenticate method is created the LoginManager starts using it, but since the other methods don't yet exist it starts generating errors

RE: [Zope] Last day of Month

2000-12-12 Thread Eric Walstad
Hi Paolo, I have a Python Metho... er Python Script that I use that tells me the days in each month. You pass in a Zope DateTime object as a parameter and it returns the days in that month: Parameters: ZopeDateTime Code: -8-- Start Snip --8- if ZopeDateTime.isLeapYear():

[Zope] HTTPServer.py patch

2000-12-12 Thread Oleg Broytmann
Hi! With the recent patch I have problems connecting directly to ZServer (port 8080) - Zope reported error 500 and restarted itself. Connecting through Apache+mod_pcgi2 works. I reverted the patch (restored HTTPServer.py from backup) and can connect to ZServer again. Something wrong

Re: [Zope] Does Zope 2.3 Alpha run on Python 2.0?

2000-12-12 Thread Andy McKay
Unfortunately that's not in the plan for 2.3, DC are planning it soon, just no official word. Apparently there arent any real showstoppers if you want to give it a try... -- Andy McKay, Developer. ActiveState. - Original Message - From: "Brad Clements" [EMAIL PROTECTED] To: [EMAIL

RE: [Zope] ODBC Connection

2000-12-12 Thread Emmon Simbo
Hi Thx for the quick reply. I already have several Datasources in my ODBC control Panel, is there something that I need to do to ensure that it picks up a Datasource from this list. All I have done install both Zope and the ZODBCDA module,go to the management screen and tried adding a new

[Zope] Re: boolean help

2000-12-12 Thread Robin . Lamb
On Sun, 10 December 2000, Martijn Pieters wrote: I am new at programming and have been unable to code a boolean button into my Zope Portal registgration form that can recall the previous selection such that it can be de-selected. Basically, I want to enable a user on my site to

Re: [Zope] LocalFS question

2000-12-12 Thread Andy McKay
They are real objects, just in a different sense. The easiest way to figure it out is too look at the dtml that comes in the LocalFS source. For example to get a listing of LocalFS folder instead of: objectIds() try fileItems() -- Andy McKay, Developer. ActiveState. - Original Message

[Zope] Does Zope 2.3 Alpha run on Python 2.0?

2000-12-12 Thread jimbo
Just a thought. About a month ago this would have sounded far fetched, but now that Guido is in the house, when might we expect the Zope Python version to change from 1.5.2 to 2.x? Imho for the book the Python version for Zope should at least be 2.xa1 It seems to me that by the time

Re: [Zope] LocalFS question

2000-12-12 Thread Aleksander Salwa
On Mon, 11 Dec 2000, Leichtman, David J wrote: How do you access an individual object in a LocalFS? By that, I mean: [...] dtml-var "localfs_object.localfs_subobject.bobobase_modification_time", you get the error NameError: localfs_subobject dtml-var

Re: [Zope] append() and spaces

2000-12-12 Thread Dieter Maurer
Sven Hohage writes: ('car?bought=1amount=%s')%(Amount) yields spaces between the values -[1, 3, 4] You may use: ('car?bought=1amount=%s')%(_.string.join(Amount,'')) Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Zope (after) install problems

2000-12-12 Thread Dieter Maurer
Kai Hofmann writes: I installed Zope 2.2.2 with Python 1.6 (incl. threads) under Solaris 2.6 (Sparc) without problems at first. When I access the Webserver at Port 4081 I got the welcome message :) But when clicking on "QuickStart" or "management screen" I got only errors:

Re: [Zope] LocalFS question

2000-12-12 Thread Dieter Maurer
Leichtman, David J writes: However, if you try to do the same thing with a LocalFS object, i.e. dtml-var "localfs_object.localfs_subobject.bobobase_modification_time", you get the error NameError: localfs_subobject This leads me to believe that LocalFS subobjects are not really objects.

[Zope] Re: [Zope-dev] Gadfly and Zope 2.2.4

2000-12-12 Thread Dieter Maurer
Josh Zeidner writes: I tried to add a Gadfly Database connection to my Zope installation without changing any of the parameters and got an error message saying: "The parameter, connection, was omitted from the request." . What, if anything, am I doing wrong? You did not "Select a

Re: [Zope] New version of book uploaded

2000-12-12 Thread The Doctor What
Is there a way to DL the whole book for offline reading? It doesn't wget or curl very well (due to zope playing aquisition games)... An example is one page links to an image: http://www.zope.org/Members/michel/ZB/SimpleExamples.html/Figures/5-7.png Works in zopenot on Linux's ext2

Re: [Zope] LocalFS question

2000-12-12 Thread Jonothan Farr
At least the "Local File System" object does not expose its children via "getattr" (which is required for the usual "." operator to work) but only via "[...]". This probably is a bug. No this is by design, as explained in the how-to. Most operating systems allow period (.) characters in

Re: [Zope] SiteAccess, SSL + SiteRootBASE

2000-12-12 Thread emf
[EMAIL PROTECTED] wrote: Hi everyone, I am using Apache+Zserver+SSL (see How-to from TJ. Mannos), and it works fine. The thing is that I have to set manually a SiteRoot Object in a ssl Folder to make all this work and I would like to do it dynamically! So, when I create my

[Zope] ZWiki hierarchy seems to be broken

2000-12-12 Thread Timothy Grant
Hi, I just put up a ZWiki for some internal development projects we are running. Everything went beautifully smoothly. I created it using the hierarchy2 property. However, I seem to have done something somewhere that is preventing the hierarchy headers from showing up on many of the pages. It

Re: [Zope] HTML formatting from a text field

2000-12-12 Thread Ausum
Yes I did, but I guess it doesn't work for what I have in mind, wich is a sort of simple html editor within a text field. As I said before, the only place I've seen something like that is at Hotmail. Has anyone tried to parse HTML code to Zope, from a WYSIWYG-style java applet text field?

Re: [Zope] PIL problem

2000-12-12 Thread Jason Byron
--- Luc Tonin [EMAIL PROTECTED] wrote: well i m still trying to insert some text in a gif image using PIL but what should i do??? using da PSDraw class?? does anybody have an id ?? thx by advance I recently got that working for me by doing a few tricky things: created a directory in

Re: [Zope] SiteAccess, SSL + SiteRootBASE

2000-12-12 Thread jeremie
I am sorry, it can seem stupid, but what do you mean by "access" rule? Thanx, jeremie -Original Message- From: emf [EMAIL PROTECTED] Sent: 12/12/00 04:38 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] SiteAccess, SSL + SiteRootBASE [EMAIL PROTECTED] wrote: Hi

[Zope-dev] zIRCon is now IRCGate

2000-12-12 Thread Carlos Neves
Since Ty Sarna pointed out that there is another thingy out there labeled as Zircon, I have changed the products name to the original project ID, IRCGate. Yes, I know, I should have checked. (oops, I did it again ;) ) Thank you, Ty Sarna, and my apologies to anyone who already got zIRCon. --

Re: [Zope-dev] Pending bugs in collector - how do I send this patch?

2000-12-12 Thread Martijn Pieters
On Mon, Dec 11, 2000 at 03:16:51PM -0500, Brad Clements wrote: I have found a bug in ZSQL methods that is describe by this collector item: http://classic.zope.org:8080/Collector/718/view This item was posted over a year ago! The bug is still in the program, so I'm guessing that DC

[Zope-dev] Converters.py field2date() and :ignore_empty

2000-12-12 Thread Brad Clements
If I have ignore_empty set in a variable name of type date, field2date() fails if the returned value is truly empty. I think field2date() should return None rather than trying to call DateTime with an empty string. I keep making this patch to each Zope release, but would like to talk about a

[Zope-dev] ZPatterns: persistant objects hold DataSkin-Items - KeyError: _v_dm_

2000-12-12 Thread Ulrich Eck
hi out there, i use zpatterns/specialists for a Network-Documentation Tool. I'm writing a Product which controls the relations between specialists and manages multible actions (edit/new/delete) for ZPatterns DataSkinObjects (DSO). I have a Product-Instance of ZTWM (ZTransactionWorkflowManager)

[Zope-dev] Python 2 (Zope Unicode) support for 2.2.4

2000-12-12 Thread Steve Alexander
Hi Folks, I've modified Toby Dickenson's patch to let Zope work with Python 2 so that it patches against Zope 2.2.4. http://www.zope.org/Members/stevea/unicode_for_224.patch.gz Toby's page about using unicode and Python 2 with Zope is here: http://www.zope.org/Members/htrd/wstring --

[Zope-dev] [ZPatterns] DataSkin object ownership

2000-12-12 Thread BS
Do DataSkins have ownership? I want to give multiple users the ability to add objects to a rack and only allow the 'owner' to view/edit the object. When a user adds a DataSkin to a rack does he get ownership of the object? I can't seem to get the ownership information for these objects. Is there

Re: [Zope-dev] [ZPatterns] DataSkin object ownership

2000-12-12 Thread Phillip J. Eby
At 08:04 PM 12/12/00 -0500, BS wrote: Do DataSkins have ownership? I want to give multiple users the ability to add objects to a rack and only allow the 'owner' to view/edit the object. When a user adds a DataSkin to a rack does he get ownership of the object? I can't seem to get the ownership