[Zope] Getting Auto Increment value

2009-06-11 Thread Merav Ben-David
I am working with zope & mysql. I have a table with SERIAL column type, I create "z-sql method" for insert operation, how can I get the value for the auto increment column? I know that in mysql I can call last_insert_id(),  how do I call it, should I create another "z sql method" and if I do

Re: [Zope] zopedown

2008-04-27 Thread Ben
robert wrote: > I remeber a similar situation some times ago with a customer. > them one of the apache logs grew to a size of 2gig wich was the maximum > size apache can handle. > it just stoped to process any request. > deleting the log file was enough to have everything working Thanks - it may b

[Zope] zopedown

2008-04-25 Thread Ben
A Zope server stopped responding to requests, with page requests just timing out, but fortunately (I thought) I had the debugger URL ready. However, when I loaded that I was amazed to see it load instantly, showing the usual 4 threads. I restarted Zope, and now the debugger shows only: Threa

Re: [Zope] problem authenticating, even with emergency user

2008-01-30 Thread Ben Bartrum
> -Original Message- > From: [EMAIL PROTECTED] > Sent: Wed, 30 Jan 2008 19:29:05 +0100 > > This is too late. > > The dynamic loader looks at "LD_LIBRARY_PATH" on startup > and then caches the value. Later modification have no effect > on the current process. > > You need to set "LD_LIBRA

Re: [Zope] problem authenticating, even with emergency user

2008-01-29 Thread Ben Bartrum
> -Original Message- > From: [EMAIL PROTECTED] > This looks like a broken "UserFolder" instance (one that cannot > be loaded). > As a consequence, its "validate" method cannot be found and > "old_validation" (usually no longer used in modern Zope versions) > is tried. > > Check your logfi

Re: [Zope] problem authenticating, even with emergency user

2008-01-25 Thread Ben Bartrum
> -Original Message- > From: [EMAIL PROTECTED] > Sent: Thu, 17 Jan 2008 15:00:40 +0100 > To: zope@zope.org > Subject: Re: [Zope] problem authenticating, even with emergency user > > > On Jan 17, 2008, at 14:39 , Ben Bartrum wrote: > >> Hello >> &

[Zope] problem authenticating, even with emergency user

2008-01-17 Thread Ben Bartrum
Hello A Zope site which is running fine, is refusing all authentication with the error below. I have tried the emergency user and restarted Zope, but the emergency user gets the same error: Site Error An error was encountered while publishing this resource. AttributeError Sorry, a site err

[Zope] Bus error

2007-11-26 Thread Ben Bartrum
I'm recreating a Zope site from a SunOS server on FreeBSD. Zope starts but as soon as anything is accessed (including the ZMI), it bombs out with just: LOG('ZODB', WARNING, 'Could not import class %s ' Bus error I rsynced the ZOPE_HOME from the SunOS server. Could it be that there are thin

Re: [Zope] server slowed down to a crawl

2007-11-22 Thread Ben Bartrum
> Have you found out why it is slowing? > Has your traffic increased -> limit your traffic temporarily > Perhaps its the Hardware? If you mean with 'old' P3/P4, perhaps > the CPU cooler is dead and the CPU is in reduced performance mode? > Perhaps some IO controller (disks?) is failing. > > Or yo

[Zope] server slowed down to a crawl

2007-11-19 Thread Ben Bartrum
I have a fairly old Zope server that has slowed down to the point where loading the ZMI doesn't complete and some pages load in > 25 secs while other pages don't load at all. There has been recent cosmetic changes, but they worked for a day or so before the slowdown. There is nothing new or un

Re: [Zope] folder like shortcut / symlink / pointer / urlredirect

2007-10-31 Thread Ben Bartrum
Andreas Jung wrote: > Why does it has to be a folder? You can simple add a PythonScript that > performs an URL redirection if called. You just have to added the script > and adjust your loop to find folders *and* PythonScript. Thanks - I ended up putting only http://www.example.com')"> in the ind

[Zope] folder like shortcut / symlink / pointer / urlredirect

2007-10-31 Thread Ben Bartrum
Hello The DTML code below populates a large menu with folders and their descriptions, however one of the items in the menu should now point to a URL on a different server. I can change the code - for example make it ordinary HTML, or add the new URL above or below, but I want to know if it is

Re: [Zope] HOw to create a Zope Instance ?

2007-10-04 Thread Ben Bartrum
Getting seriously OT but this got me interested in what kind of company this is, and whether it has anything to do with Zope's Zeo, so I used their search box to search the word Zeo. The result is interesting. > -Original Message- > From: [EMAIL PROTECTED] > Sent: Thu, 04 Oct 2007 09:1

Re: [Zope] Re: mysqluserfolder access blown - work lost?

2007-09-28 Thread Ben Bartrum
> -Original Message- > From: [EMAIL PROTECTED] > Sent: Fri, 28 Sep 2007 09:07:43 -0400 > Hmm, at this point I would be trying one of two things: > > - You might try undoing the transactions where you added / configureed >the user folder. > Embarrassingly, I haven't tried this bef

Re: [Zope] mysqluserfolder access blown - work lost?

2007-09-28 Thread Ben Bartrum
er access blown - work lost? > > +---[ Ben Bartrum ]-- > | Hello > | > | I have added mysqlUserFolder to a folder that contained a lot of work I > have done. > > The data should all still be there, but, in accessible due to > permissions. >

[Zope] mysqluserfolder access blown - work lost?

2007-09-28 Thread Ben Bartrum
Hello I have added mysqlUserFolder to a folder that contained a lot of work I have done. I may not have entered the database connection parameters correctly (it was late). The upshot is that I can now not access anything in that folder. Removing the mysqlUserFolder product doesn't help. Zope

[Zope] Re: Re: MemoryError exception when importing a zexp file

2007-06-04 Thread Ben Lobo
ne site that you want to set up the new file storage for (make a backup first) 6) Make sure that the new mount point has the same name as the original Plone site in zope.conf Then when you create the new ZODB mount point, it will appear in the root of the ZMI as a Plone site j

[Zope] Re: Re: MemoryError exception when importing a zexp file

2007-05-31 Thread Ben Lobo
he entire Data.fs file to the new strage location, restarting zope and then deleting the bits that I don't want instead of exporting then importing. I tried this but it didn't work unfortunately. The new mount point just appeared in the zmi root with a broken icon and gave me an &

[Zope] Re: MemoryError exception when importing a zexp file

2007-05-30 Thread Ben Lobo
Thanks for the tip. I tried increasing the swap file to 10GB but still got the same memory error. I'm now considering exporting the Plone site (cos that's what it is) one piece at a time and reimporting it into a clean Plone site. Any thoughts on whether or not this is a good idea? C

[Zope] MemoryError exception when importing a zexp file

2007-05-28 Thread Ben Lobo
hStringIO, line 51, in new_publish c.. Module ZPublisher.Publish, line 108, in publish d.. Module Zope.App.startup, line 226, in abort e.. Module ZODB.Transaction, line 149, in abort f.. Module ZODB.Connection, line 474, in abort_sub MemoryError -- Thanks Ben -- Ben Lobo Application Dev

Re: [Zope] Problems starting Zope 2.9.6 (ZEO starts fine)

2007-03-07 Thread Ben
On 3/8/07, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: This is your problem. Zope 2.9 requires Python 2.4, and specifically does not want Python 2.5. Whoops! Sorry about that. Thankyou, Ben ___ Zope maillist - Zope@zope.org http://mail.zo

[Zope] Problems starting Zope 2.9.6 (ZEO starts fine)

2007-03-07 Thread Ben
I have setup Zope with ZEO on CentOS4.4, with the intention of running a Plone site. I previously used the same configuration to get Zope 2.9.3 with ZEO running on CentOS 3.7 * CentOS is setup without SELinux. * Python 2.5 is installed in /opt/python * Zeo starts fine, using /opt/zope/zeo/bin/

[Zope] Re: Problems starting ZEO with zeoctl

2006-09-06 Thread Ben
nging 'zeo.conf' to put that file in your 'var' directory, where you *must* be able to create files (otherwise you wouldn't be able to use 'runzeo'). This fixed it. Thankyou, Ben ___ Zope maillist - Zope@zope.org http://mail.

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
, I just want to know what risks I am accepting by having the convenience of running the ZEO server as a daemon. Thank you for your help with troubleshooting these problems, it is much appreciated. Ben ___ Zope maillist - Zope@zope.org http://mail.

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
eyond my level of understanding. Thanks, Ben ___ 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] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
but I can run 'runzeo' as user 'zope' without any hassles. I'm not sure what permissions are involved, but it occurred to me that Red Hat's user private group system might be what's messing things up for me (and why it works for users of other distros), but I

[Zope] Problems starting ZEO with zeoctl

2006-09-01 Thread Ben
tc. but it logs to the console and I want to run in daemon mode. I am using: Plone 2.5 Zope 2.9.4 Python 2.4.3 CentOS 3.7 TIA, Ben ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] Zope job

2005-04-27 Thread Ben Mason
Sorry for the off-topic question... Does anyone know the best place to look for Zope / Plone jobs in London? Any help would be appreciated. Thanks Ben ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

RE: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-01 Thread Ben Mason
And another +1 > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Dennis Allison > Sent: 01 April 2005 15:44 > To: Jim Fulton > Cc: zope@zope.org > Subject: Re: [Zope] Does anyone care whether we deprecate ZClasses? > > > +1 for deprecation. > >

[Zope] Var Problem

2000-12-25 Thread Ben Ocean
Hi; Real basic newbie question here. I've got this dtml: They're both images in the *Images* file (I'm using PTK). Now, *header* shows up just fine. *bar* gets a KeyError. If I change the name of *header* it chokes, too. What gives? TIA, BenO P.S. All the CSS is written in the standard_html_he

[Zope] Never Mind!

2000-12-23 Thread Ben Ocean
Sorry for troubling y'all... finally got my install of Zope, Python, et al working! Have an egg nog on me! BenO ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

[Zope] Closer But No Cigar

2000-12-23 Thread Ben Ocean
Hi; Well, I've finally got python-1.5.2 installed and running and Zope re-installed from the source code to the point where it gives me the good 'ol *Done!* line, but when I type ./start & it chokes. Here's the print-out: thor:/apache/vhosts/Zope-2.2.4-src# ./start & [1] 4983 thor:/apache/vhosts/

[Zope] More Problems Compiling from Source Code

2000-12-23 Thread Ben Ocean
Hi, I'm trying to recompile Zope from the source because of a module I want to include to better enable MySQL. I'm running into a problem when I try to execute this: python wo_pcgi.py It executes a bunch then chokes here: gcc -fpic -g -O2 -Wall -Wstrict-prototypes -I/usr/local/include/python2.0

[Zope] Building from Source

2000-12-22 Thread Ben Ocean
Hi; One of the add-on programs I want to include (ZMySQLdb) requires I rebuild Zope from the src-tgz distro. I've tried to do this but get this error: gzip: stdin: invalid compressed data--crc error tar: Child returned status 1 tar: Error exit delayed from previous errors Now, I *was* supposed t

[Zope] SiteAccess Help!

2000-12-22 Thread Ben Ocean
Hi; I've installed SiteAccess but can't find instructions on how to configure it! The sparse README file says nothing, there's a link to instructions on the Zope/Members site, but the link redirects to a page with no instructions! Can someone please point me, I must be blind! Thanks, BenO __

[Zope] Editing the z2.py File

2000-12-21 Thread Ben Ocean
Hi; I have my own server with virtual hosts. I'm going to build a large Web site on this server with Zope as the base platform. I intend to build more on the Zope platform, but already have several sites built without it. My question is, how do I edit the z2.py file in such a way that I can call u

[Zope] Getting to Doc Root

2000-12-21 Thread Ben Ocean
Hi; So I put together my site with Zope. I can't very well advertise to people to go to http://MySite.com:8080/ So how do I get Zope to configure to http://MySite.com/ Sorry for stupid question. Reading book 2nd time and I don't see it in there. TIA, BenO

[Zope] Simple Yes or No (I think...)

2000-11-23 Thread Ben Ocean
Hi; Can Zope be used to create a *MyYahoo* style GUI? TIA, BenO ___ 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

[Zope] Support for PHP?

2000-11-21 Thread Ben Ocean
Hi; I'm reading *the book* and it appears that Zope supports Perl and Python but *not* PHP :(( Well, I'm learning Python and I have a limited but working knowledge of PHP: I really *don't* want to have to learn Perl because, although there's lots of stuff out there written in Perl, PHP (IMHO)

[Zope] Problem Solved!

2000-11-19 Thread Ben Ocean
Thanks, everyone! Works fine now :) Especially thanks for showing me *the book* :)) BenO At 02:04 PM 11/19/2000 -0800, you wrote: >Ben Ocean wrote: > > > > At 11:14 AM 11/19/2000 -0500, you wrote: > > >Are you sure you need the source version? The binary is easier to ins

Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean
At 09:50 PM 11/19/2000 +, you wrote: >from INSTALL.txt: > > > > ./start I apparently didn't mention in my last email that I *tried* ./start and it hung my computer. It got this far: [webmaster@thor Zope-2.2.2-linux2-x86]$ ./start -- 2000-11-19T23:11:01 PROBLEM(100) ZServer Comput

RE: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean
At 11:14 AM 11/19/2000 -0500, you wrote: >Are you sure you need the source version? The binary is easier to install. Well, that *was* easier (now that I figured out which is which). First of all, apologies to all you hard-core techies for whom this is so easy, *but*... I got as far as *./install

Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Ben Ocean
At 12:19 PM 11/19/2000 +, you wrote: >* Ben Ocean <[EMAIL PROTECTED]> [001119 06:38]: > > Hi; > > Okay, I've untarred the distro. The instructions said to type in *python > > w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which > >

[Zope] Still More Problems On the Install...

2000-11-18 Thread Ben Ocean
Hi; Okay, I've untarred the distro. The instructions said to type in *python w_pcgi.py*. Did so and lots of stuff printed to screen, the last of which was *SystemError 512*. Should I worry about that? Then I thought I was supposed to type in *./start* but it didn't recognize that command. I'm

Re: [Zope] Stupid Installation Question Remains Unanswered

2000-11-18 Thread Ben Ocean
/18/2000 +, you wrote: >* Ben Ocean <[EMAIL PROTECTED]> [001118 09:51]: > > Hi; > > Okay, hope I did this right... Installed Zope in a directory at doc root > > (called zope) and untarred it. Now I have a directory called > Zope-2.2.2-src > > with a bunch of st

[Zope] Stupid Installation Question

2000-11-18 Thread Ben Ocean
Hi; Okay, hope I did this right... Installed Zope in a directory at doc root (called zope) and untarred it. Now I have a directory called Zope-2.2.2-src with a bunch of stuff in it. What do I do from here? How do I see it working? TIA, BenO ___ Zope

Re: [Zope] Installation Troubles

2000-11-15 Thread Ben Ocean
ioned files are nowhere to be found. I ftp'd it to my server and gunzipped and untarred but no ./install file. What am I doing wrong? TIA, BenO At 05:24 PM 11/15/2000 +0300, you wrote: >On Wed, 15 Nov 2000, Ben Ocean wrote: > > I d/l'd the latest distro. Looked inside

[Zope] Installation Troubles

2000-11-15 Thread Ben Ocean
Hi; I d/l'd the latest distro. Looked inside and couldn't find any installation instructions. Went to the Web site and found some instructions here: http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO They didn't work for me. I have crazy ownership problems all over the plac

[Zope] Please Tell Me...

2000-11-11 Thread Ben Ocean
Hi; I'm new. I can see Zope will help me on larger projects, but what if I want to allow the owner of a small Web site (under 200 pages) that I develop the ability to edit text and photos? Is this the right application, or is Zope overkill? If so, any recommendations on a content manager? TIA,

[Zope] [alpha] Allaire Homesite integration with Zope

2000-11-02 Thread Ben Schochet
, comments, and suggestions. Thanks. -Ben Schochet. http://www.zope.org/Members/bens/homesite_editor_for_zope ___ Visit http://www.visto.com/info, your free web-based communications center. Visto.com. Life on the Dot

Re: [Zope] wherefore art thou NotMail?

2000-08-27 Thread Ben Leslie
Hi tav! On Sun, 27 Aug 2000, tav wrote: > i was going to make use of the Bank Holiday weekend by trying out some zope > products that i havent had time to play with... and NotMail was high on my > list. > > i managed to install the IMAP server that it needed and went to get the > tarball, and i

Re: [Zope] cr/lf causing spaces

2000-07-08 Thread Ben Leslie
> On Sun, 9 Jul 2000, Ben Leslie wrote: > > > > One of my "favorite" issues with win/DOS has always been its use of CR+LF > > > combinations. Why? Because all browsers interpret the thing as a SPACE. > > > > AFAIK this is an HTML thing,

Re: [Zope] cr/lf causing spaces

2000-07-08 Thread Ben Leslie
> > Hello Folks, > > > One of my "favorite" issues with win/DOS has always been its use of CR+LF > combinations. Why? Because all browsers interpret the thing as a SPACE. AFAIK this is an HTML thing, not a win/DOS thing. The HTML spec treats any whitespace as a space. > Would it be possible

Re: [Zope] Is Zope slow?

2000-07-06 Thread Ben Leslie
> > -maybe we could discuss network services/hoster_performance? > > This is more of a problem for most people. One evening whilst bored we > calculated that Zope could happily serve enough people to fill up our > pipe... so the bottle neck is our connection. > > Mind you we'd had a beer or two

Re: [Zope] Howto engineer a scientific paper system

2000-06-29 Thread Ben Leslie
> XML stuff in zope. Which leads me to the later suggestion, I have > tried out DocBook product, rendering is very slow on my computer. > And again it is too big of a new concept for me now. Yeah, I find rendering slow on my workstation too. (And mine is reasonably fast - 450mhz). DocBook does se

Re: [Zope] OT: MS Outlook sucks

2000-06-28 Thread Ben Leslie
On Wed, 28 Jun 2000, Wilkinson Charlie E wrote: > ...but you already knew that didn't you? > > First, an apology for previously sending MIME/html crap to > the list, even after being told about it and after I thought > I had it turned off, and another apology for this OT message > while I'm at i

Re: [Zope] Howto engineer a scientific paper system

2000-06-28 Thread Ben Leslie
On Wed, 28 Jun 2000, [EMAIL PROTECTED] wrote: > How to engineer a scientific paper system > > Are there products out for this, should we produce one? > -- > > In short, I would like to have Zope assist me in producing a > scientific paper. > > So how can I produce pointers from within the

Re: [Zope] How to retrieve content of a document?

2000-06-27 Thread Ben Leslie
On Tue, 27 Jun 2000, Luke Tymowski wrote: > Hello, > > Yet another question. I've gone through the DTML Reference Guide but > couldn't find the answer. > > How do I display the content of a DTML Document through a query? > > For example: > > > > > > > > Displays the document'

Re: [Zope] how to get email delivery errors

2000-06-27 Thread Ben Leslie
On Tue, 27 Jun 2000, Dan Rusch wrote: > Our site allows supervisors to email orders back to sales reps. We have > this working very well. The problem is if the supervisor types in an > non-existant email address we aren't getting Mail System Error - > Returned Mail messages like you would from ot

Re: [Zope] programatically generating images

2000-06-17 Thread Ben Leslie
> > I remember that I saw once a product, which could do this. > I think it used the PIL-library from python. I can´t find it on Zope.org. > Any hints ? > I'm not sure if there is any special products, however it is quite easy to create an external python method, which uses the PIL-library to g

Re: [Zope] PROPOSAL: Online chat with Jim and Paul

2000-05-29 Thread Ben Leslie
Hi Steve! On Sun, 28 May 2000, Steve Alexander wrote: > Paul Everitt wrote: > > > > I propose an IRC chat on Wednesday with Jim Fulton and me. > > Try and pick a time that's not *too* late at night for us Europeans. Or for us Australian's ;) (Although that might get a tad difficult ;) B