[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 be

[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:

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_LIBRARY_PATH

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 logfile for

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 A Zope site which is running fine, is refusing all

[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

[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

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 your

[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] 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 dtml-call

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

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 before. I

[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.

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

2007-09-28 Thread Ben Bartrum
- 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. Try logging in as the emergency user, and adding a regular

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

2007-06-04 Thread Ben Lobo
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 just as before so there's not even any need to to re-create the catalogue. Cheers Ben

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

2007-05-31 Thread Ben Lobo
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 'unsubscriptable object type error when I tried to access it. Any further tips would be gratefully welcomed. Cheers Ben

[Zope] MemoryError exception when importing a zexp file

2007-05-29 Thread Ben Lobo
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 Developer Adaptive

[Zope-DB] Re: Unable to fix a POSKeyError

2007-05-21 Thread Ben Lobo
Dieter Maurer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Ben Lobo wrote at 2007-5-18 17:33 +0100: ... I'm getting a POSKeyError when I try to access a particular file in a Plone site within the ZMI (see error report at http://hobointernet.com/POSKeyError.htm). You replace

[Zope-DB] Unable to fix a POSKeyError

2007-05-18 Thread Ben Lobo
and reindexing (in Plone), packing the whole database and using fsrecover.py but none of these things has solved the problem and I can't access or delete the offending file. Can anyone offer any advice on how to fix this? I'm running Zope 2.7 on Windows 2000. The Plone version is 2.0.5. Thanks -- Ben

Re: [Zope-PAS] PlonePAS using SQL get AttributeError

2007-04-18 Thread Ben Mason
I agree, I think the way PlonePAS replaces the root acl_users is very bad. I hope this gets addressed. Surely there is no need for it to do that. Ben On 19/4/07 02:01, James J Myers [EMAIL PROTECTED] wrote: I found the SQLPASPlugin on the Plone site or the collective - not sure which. I

[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

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.zope.org

[Zope] Re: Problems starting ZEO with zeoctl

2006-09-06 Thread Ben
, 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.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

[Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
: 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! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
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 don't know enough about Zope or ZEO to check if this is the case. Ben

Re: [Zope] Problems starting ZEO with zeoctl

2006-09-02 Thread Ben
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.zope.org/mailman/listinfo

RE: [Zope-PAS] Authentication caching

2006-08-18 Thread Ben Mason
That's great news and I don't have any objections. Any more work on PAS gets a big thumbs up in my eyes! Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan H. Holek Sent: 18 August 2006 13:40 To: zope-pas@zope.org Subject: [Zope-PAS

[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. On Fri, 1

[Zope-dev] Investigating a reference leak...

2005-01-28 Thread Ben Last (ZopeDev)
Ben Ben Last Technical Director SleepyDog ___ 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

RE: [Zope-dev] Investigating a reference leak... (2)

2005-01-28 Thread Ben Last (ZopeDev)
. sorry! Ben ___ 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] tcp port not 8080

2004-01-20 Thread ben strawbridge
for references that it can be done. I also googled some terms to no avail. Any help will be appreciated. thanks! Ben Strawbridge - Senior Interface Engineer - Cenozoa Corporation 1(646) 536-3066 3 East 28th St., 9th Floor New York, NY 10014 http

[Zope-dev] Mp3 lere..

2002-09-07 Thread HaLLoK Ben
3mp3.net haber listesinden: Yerli ve yabanci albümler tamamen yenilendi. Artik istediginiz mp3 leri zip olarakta sitemizden indirebilirsiniz. Dosya indirme hizi yaklasik 2.5 kat artti. Boylece kisa zamanda tam albümlere sahip olacaksiniz. Istekleriniz dogrultusunda Top25 yenilendi.

[Zope-dev] ZCatalog - find all empty items

2001-11-12 Thread ben
Can anyone tell me how to find all items that have an empty KeywordIndex? I've trying something like this: dtml-in expr=catagoryManager.Catalog(parents=_.None) Thanks. ___ Zope-Dev maillist - [EMAIL PROTECTED]

[Zope] Var Problem

2000-12-25 Thread Ben Ocean
Hi; Real basic newbie question here. I've got this dtml: span class="header"dtml-var header/span span class="bar"dtml-var bar/span 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.

[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] 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

[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

[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] 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

[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

[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 -

[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)

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 was *SystemError 512*. Should I worry about

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

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: snip ./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

[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 install. Well

[Zope-dev] ZPatterns Project Help!

2000-11-18 Thread Ben Schochet
. Is this correct? * How do I use the option in storage "Object are loaded by accessing attribute ___"? Thanks for any help! -Ben BEGIN:VCARD VERSION:2.1 N:Schochet;Ben FN:Ben Schochet ORG:KillerSite.com TITLE:Director, Interactive Development NOTE;ENCODING=QUOTED-PRINTABLE:KillerSite.co

[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] Stupid Installation Question Remains Unanswered

2000-11-18 Thread Ben Ocean
, 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 stuff in it. What do I do from here? How do I see it working

[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

[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

Re: [Zope] Installation Troubles

2000-11-15 Thread Ben Ocean
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 and couldn't find any installation instructions

[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 !-- PGP Key ID 0x7871A6E7 -- ___ Visit http://www.visto.com/info, your free web-based communications center

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 it has

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 for

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 so

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 seem

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 text to

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 it.

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 other

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 ;) Benno