[Zope] How about a Zope 2.3a1, ZBook 2.3a1, and Python 2.3a1

2000-12-11 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 the book

RE: [Zope] Problem on connect to MySQL

2000-12-11 Thread Eric Walstad
Hello Angie, Are you able to create a "Z MySQL Database Connection" inside Zope? I'm not sure exactly when you are receiving your error message. Is it when you Click the "Change" button while in the "Z MySQL Database Connection?" Your connection string looks like it is missing a user name. It

Re: [Zope] Important Fix for Zope 2.0 through 2.1.6

2000-12-11 Thread Evan Simpson
From: "Hannu Krosing" <[EMAIL PROTECTED]> > Could something similar be happening in PCGIServer too ? > > We are getting some weird and hard-to-reproduce errors when activity > goes up and several file uploads are going on simultaneously? I'm not sure. I've peeked at the code, and the exact same

[Zope] Problem on connect to MySQL

2000-12-11 Thread Angietel
When i type in the Connection String , it will prompt out the error message - "illegal operation" and in my python it will exactly like this:-   Files\WebSite\z2.py" -D--2000-12-12T03:15:10 PROBLEM(100) ZServer Computing default hostname--2000-12-12T03:15:11 INFO(0) ZServer Medusa (V

[Zope] apache and zserver interaction

2000-12-11 Thread [EMAIL PROTECTED]
hi all during peak period/or simulated with ab -n200 -c 100 http://mysite/ i did this: -8<--- telnet mysite 80 Trying mysite... Connected to mysite. Escape character is '^]'. GET / HTTP/1.1 host:mysite ... response -8< what puzzled me is that the response time between ty

[Zope] SiteAccess, SSL + SiteRootBASE

2000-12-11 Thread jeremie
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 SiteRoot object and enter "https://www

Re: [Zope] LoginManager broken?

2000-12-11 Thread Michael Bernstein
"Mayers, Philip J" wrote: > > Thanks, I'll take a look. > > Re: LoginManager - After a fast turnaround (confirming my ample faith in > Open Source software) Magnus Heino pointed me in the right direction - the > dtml methods and SQL objects need to be inside the UserSource folder, *not* > the Lo

[Zope] ANNOUNCE: Zope 2.3.0 alpha 1 Documentation Release

2000-12-11 Thread Michel Pelletier
On the heels of Brian's announcement, we are gurgling with joy to announce a sychronized release of the Zope Book for the Zope 2.3 alpha release. http://www.zope.org/Members/michel/ZB/ This release marks the first time the book and Zope are "in sync" enough for you to be able to fully try out a

[Zope] LocalFS question

2000-12-11 Thread Leichtman, David J
How do you access an individual object in a LocalFS? By that, I mean: If I wanted the last_mod time of any Zope object, I could say . However, if you try to do the same thing with a LocalFS object, i.e. , you get the error NameError: localfs_subobject This leads me to believe that LocalFS subobj

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

2000-12-11 Thread Spicklemire, Jerry
Outstanding! Sometimes I wonder if ther rest of the Open Source world has a glimmer of how FAST Zope is developing. let alone commercial vendors. Can't wait to dig in! Congratulations to all, Jerry S. ___ Zope maillist - [EMAIL PROTECTED] http:

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

2000-12-11 Thread Brian Lloyd
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/ This release contains a number of important new usability features, and also marks the first release where a substantial amount of the work d

[Zope] Signed Zope Book Winners

2000-12-11 Thread Michel Pelletier
Last week we announced a content to win free, signed copies of the book for finding errors in the book releated to calling a Script a Method. We have winners! Thanks folks, there are real bugs my eyes missed, and we've fixed them all. As soon as the book hits our local shelves, we'll get your

Re: [Zope] Freelance Programmers

2000-12-11 Thread Tim Cook
Brendon Grunewald wrote: > > Hi Zopistas, > > Can you point me in the right direction? > I got great response from comp.lang.python after also being disappointed with the other jobs services. HTH, -- Tim Cook, President -- Free Practice Management,Inc. | http://FreePM.com Office: (901) 884-41

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
"Mayers, Philip J" <[EMAIL PROTECTED]> writes: > Thanks, I'll take a look. > > Re: LoginManager - After a fast turnaround (confirming my ample faith in > Open Source software) Magnus Heino pointed me in the right direction - the > dtml methods and SQL objects need to be inside the UserSource fol

Re: [Zope] LoginManager broken?

2000-12-11 Thread Oliver Bleutgen
> Well, not 2.2.4 but 2.2.3, and I had some bugs when ehm replace 2.2.3 with 2.2.2 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/ma

RE: [Zope] LoginManager broken?

2000-12-11 Thread Mayers, Philip J
Thanks, I'll take a look. Re: LoginManager - After a fast turnaround (confirming my ample faith in Open Source software) Magnus Heino pointed me in the right direction - the dtml methods and SQL objects need to be inside the UserSource folder, *not* the LoginManager folder as the Howto implies (o

Re: [Zope] LoginManager broken?

2000-12-11 Thread Oliver Bleutgen
> Does it even *work*? Even a little bit? Because other than repeating the > same process 12 damn times, so far I'm not convinced. Maybe I'll look in > the > source code to see if there's actually anything in the files (other than a > HOWTO.txt, which is empty, which BTW is more annoying than ther

Re: [Zope] LoginManager broken?

2000-12-11 Thread Dan L. Pierson
You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a different approach that works for me in early testing. Note that it needs additional work before being turned loose on a live site. Dan Pierson "Mayers, Philip J" <[EMAIL PROTECTED]> writes: > Does it even *work*? Even a li

RE: [Zope] access log analyzer (analog, webalizer etc.)

2000-12-11 Thread sean . upton
You could use grep/sed, etc, and a some shell scripts (or perl or python scripts). Instead of sed and grep (and regexes, and inconsistent results, and a lot of manual work), what perhaps a lot of folks need is unified, aggregated logging that actually looks into Zope's architecture and uses mod_p

[Zope] LoginManager broken?

2000-12-11 Thread Mayers, Philip J
Does it even *work*? Even a little bit? Because other than repeating the same process 12 damn times, so far I'm not convinced. Maybe I'll look in the source code to see if there's actually anything in the files (other than a HOWTO.txt, which is empty, which BTW is more annoying than there not bein

[Zope] Fw: [Zope] Incrementing a form field

2000-12-11 Thread Andy McKay
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 In your code try explicilty using an int: > -- Andy McKay, Developer. ActiveState. - Original

[Zope] unicode,python20,SQL DB Adapters

2000-12-11 Thread Philipp Auersperg
Python 2.0 has unicode support and once Zope will officially run with it -> has anybody evaluated how several database adapters will be able to read and write unicode varchars ? (of course only if the DB supports unicode :) DB's with my special interest are: Oracle MSS SQL Server and the data

[Zope] Incrementing a form field

2000-12-11 Thread César A. K. Grossmann
Hi! I have a form that is used to insert some records to a database, and one of the fields is a sequence number. I want to increment this number when the form is used, unless is the first time it is loaded. The form (idea copied from the SmartForms HOWTO) have the name "Register", and is somethi

[Zope] Re: API and namespace

2000-12-11 Thread Alexander DePauli
Rehi Sven, thanks a lot for your patience with the dummy - which is me :) Sorry to say that my problem consists even when applying your snippet. Your statement looks fine to me, but ZOPE insists on creating the new document in /OldFolder instead of /OldFolder/

RE: [Zope] Using Analog and Zope Zserver

2000-12-11 Thread sean . upton
A thought for you. We use analog, and I talked with the person here that implements it, and he wasn't sure there was a solution. However, you could try this: Set up analog so that all requests are seen as pages Write a shell script to filter lines from your server log using grep to search using

[Zope] Freelance Programmers

2000-12-11 Thread Brendon Grunewald
Hi Zopistas, I have some work that needs doing and can't make / find the time to do it, hence am looking for some assistance. (The usual Xchange sites typically are weak in Zope and Python skills.) I would ideally like to find a couple of people that want to do this part time on a project by proj

[Zope] Re:API and namespace

2000-12-11 Thread Sven Hohage
Hi Alexander, I think I've made a mistake. I thought you are about ZClasses. My snippet adds two ZClasses (a folder-like and a document). These Classes are self-defined(take a look at the HowTos or the Developer-Guide"http://www.zope.org/Documentation/Guides/ZDG"). For you this is sufficient ->

RE: [Zope] regex vs ts_regex

2000-12-11 Thread Brian Lloyd
> Apropos http://www.zope.org/Documentation/How-To/ThreadSafety > > Am I missing something here? > There seem to be a number of places in the current 2.2.4 source where > the python regex module is used - not ts_regex, thus apparently > violating your advice on thread safety? > > For example,

[Zope] PCGI crash problem with SQL/LIMIT

2000-12-11 Thread Mayers, Philip J
I'm running Zope 2.2.4 and am having a *very* annoying problem (either I'm missing something, or Zope is broken). I've got an SQL table called "users". An SQL query of the form: select * from users limit 10 Works, but: select * from users Fails spectacularly - pcgi_publisher crashes with the

Re: [Zope] Important Fix for Zope 2.0 through 2.1.6

2000-12-11 Thread Hannu Krosing
Evan Simpson wrote: > > Thanks to Jeff Ragsdale, we've finally been able to kill a > longstanding bug that allows POST requests to interfere with > each other. Symptoms include corrupted or aborted File and > Image uploads, and stupid-log messages about > "AttributeError: data" killing threads.

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-11 Thread Jose Soares
Tino Wildenhain wrote: > Hi, > > anybody had time for testing? May be we could have it in the next > zope release. Any comments, remarks? How about an alternatively or > extra "name"-attribute wich defaults to "sequence" ? > > Another issue: what about an alias for called something > like: o

RE: [Zope] z2.py -i

2000-12-11 Thread Brian Lloyd
> Set the interpreter check interval. This integer value > determines how often the interpreter checks for periodic things > such as thread switches and signal handlers. The Zope default > is 120, but you may want to experiment with other values that > may increase performance

[Zope] Re: API and namespace

2000-12-11 Thread Alexander DePauli
Hi Sven, Hi Zopistas! thank you for your quick and swift answer! I wish I could understand that piece of code to its full extent... ...I nowhere find a documentation for the methods "NewFolder_add()" and "Document_add()" in your code - did I miss something or are they just placeholders for the A

[Zope] z2.py -i

2000-12-11 Thread [EMAIL PROTECTED]
hello all can anybody shed some light on the "-i" option in z2.py. according to the help -i n Set the interpreter check interval. This integer value determines how often the interpreter checks for periodic things such as thread switches and signal handlers. The Zope default i

[Zope] API and namespace

2000-12-11 Thread Alexander DePauli
Hi all, so I was in error as I finally judged myself unterstanding the namespace concept... ;) Via a configuration interface, I want to add a folder, add some properties for the new folder, then add and fill a dtml-document within the new folder. Adding the folder works fine, but then I can't ch

Re: [Zope] ZClass with images

2000-12-11 Thread Aleksander Salwa
On Sat, 9 Dec 2000, Diego Rodrigo Neufert wrote: > Anyone know how to put some images in ZClass? I have done things like > putting ZClass with base class OFS:Image but with it I can only assing one > Image do the object... I need to assign two or tree images do the object. Try to subclass OFS

Re: [Zope] ZDiscussions compatible to Zope-2.2.4??

2000-12-11 Thread J. Atwood
Try ZUBB 0.6.0 http://www.zope.org/Members/BwanaZulia/ZUBB I have not tried it on 2.2.4 but it works fine on 2.2.2 J At 11:00 AM +0100 12/11/2000, Kaeidinejad, Shahram wrote: >Hi, > >is ZDiscussions compatible to Zope-2.2.4? >I tried to install ZDiscussions-0.2.0 but i got this error: > >Error

[Zope] Re:API and namespace

2000-12-11 Thread Sven Hohage
Hallo Alexander, this works for me-> Bye Sven ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zop

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-11 Thread Tino Wildenhain
Hi, anybody had time for testing? May be we could have it in the next zope release. Any comments, remarks? How about an alternatively or extra "name"-attribute wich defaults to "sequence" ? Another issue: what about an alias for called something like: or ? Just for the ones that lern zope.

Re: [Zope] Patch to avoid hypenation variables and more

2000-12-11 Thread Tino Wildenhain
Hi again, anybody had time to test this? Chances for next zope release? Any remarks? Alternatively, btw. would be a name attribut, which defaults to "sequence". Regards Tino Tino Wildenhain schrieb: > > Michel Pelletier schrieb: > > > > > > The second problem is if you put one in-tag into an

[Zope] (no subject)

2000-12-11 Thread Cornelis J. de Brabander
I have an educational application in which teachers and students can upload all kinds of documents as files. Since I upgraded from Zope 2.0.1 to 2.1.6 I have a problem with html-documents that are added as files. What happens is that the text in the last HTML-paragraph is cut off somewhere in the

[Zope] append() and spaces

2000-12-11 Thread Sven Hohage
Hallo, I've got a strange problem. I use RESPONSE.redirect and pass values the usual way --> ('car?bought=1&amount=%s')%(Amount) where Amount is a list-variable. I build Amount dynamically with the append-method, and strangely I can't pass this variable(Error: Bad Request) because Python puts sp

[Zope] ZDiscussions compatible to Zope-2.2.4??

2000-12-11 Thread Kaeidinejad, Shahram
Hi, is ZDiscussions compatible to Zope-2.2.4? I tried to install ZDiscussions-0.2.0 but i got this error: Error Type: SystemError Error Value: Failed to import class _ZClass_for_ZDTopic from module Products.ZDBase Traceback (innermost last): File /dgn-devel01/opt/Zope-2.2.4/lib/python/ZPublis

[Zope] updating the catalog - successfully!

2000-12-11 Thread josh on
I was having a lot of problems with keeping a catalog up to date when I manipulated data in an instance of a zclass (catalog aware). I was calling this, from a dtml file in the same folder as the instances, and one folder down from the Catalog: This just was not re-indexing the Catalog succes

Re: [Zope] Squishdot base href

2000-12-11 Thread Chris Withers
Hanno Schulz wrote: > > Hi! > > We got a base href at the first line of every squishdot page! > Where does it come from??? And it kill our siteroot at this site. It's generated by zope. Search mail mailing list archives at http://zope.nipltd.com/public/lists.html and you'll find a few threads

Re: [Zope] Read-only zope (not zope from a readonly Data.fs)

2000-12-11 Thread Chris Withers
Pericles Akritides wrote: > > Hi, > > Is there a way to make zope run read-only(with whatever loss of functionality doing >that implies)? > I don't mean to prevent it from trying to write to disk (demo storage, -r), > I mean to make it impossible to change persistent objects in the running Zope

Re: [Zope] Install problem with fastcgi

2000-12-11 Thread Holger Hoffmann
Hi, [EMAIL PROTECTED] wrote: > > Hello all, > I try to install mod_fastcgi but Apache says : > Cannot load /usr/lib/apache/1.3/mod_fastcgi.so > into server: / usr/lib/apache/1.3/mod_fastcgi.so: > undefined symbol: ap_os_is_path_absolute > /usr/sbin/apachectl start: httpd could not be started >

[Zope] Zope (after) install problems

2000-12-11 Thread Kai Hofmann
I installed Zope 2.2.2 with Python 1.6 (incl. threads) under Solaris 2.6 (Sparc) without problems at first. I changed the z2.py so that Zope runs on port 4081 also I added the -D option to the start script. When I access the Webserver at Port 4081 I got the welcome message :) But when clicking

Re: [Zope] PythonMethod problem

2000-12-11 Thread Philipp Auersperg
PythonScripts will come with Zope 2.3 How did you call the method? perhaps you forgot the 'self' your call should look like this: self.foo(...) phil *** REPLY SEPARATOR *** On 10.12.2000 at 16:22 kosh wrote: >I know I am still using PythonMethods however I have not seen Pyt