Re: [Zope] Zope2 - pro/contra

2015-03-16 Thread robert rottermann
I just had to port an Intranet to modern hardware/Linux that has been created in 1996 using plain zope and has been "programmatically" untouched since 2001. The Intranet is rather complex and provides a kind of ERP on very technical data. The application consist of some 1000 little dtml scripts

Re: [Zope] SQL and Python Products

2013-01-16 Thread robert rottermann
Hi Luiz, use sqlalchemy together with z3c.saconfig. Powerfull, flexible, easy to use .. And in martin aspelis book is a chapter how to use them .. robert On 01/16/2013 07:34 PM, Luiz Pasqual wrote: Hi, We are trying to migrate a very old application on Zope 2.9, first we thought to migrate

Re: [Zope] path of a fileupload instance

2012-11-14 Thread robert rottermann
to my knowledge, for security reason no modern browser submits the path anymore. If you need the path, you have to create your own file uploader or use a tool like uploadify (http://www.uploadify.com) I *think* javascript gets you access to the full path. robert On 11/14/2012 08:35 AM, Kees de

Re: [Zope] CMF -?-> Zope

2011-06-23 Thread robert rottermann
On 23.06.2011 16:14, Eric d'Halibut wrote: > On 6/23/11, robert rottermann wrote: > >> as root (or using virtualenv) >> easy_install-2.6 -U ZopeSkel >> then as user zope (or what ever) >> paster create -t plone4_buildout NAMEOFNEWBUILDOUT > This last

Re: [Zope] CMF -?-> Zope

2011-06-23 Thread robert rottermann
as root (or using virtualenv) easy_install-2.6 -U ZopeSkel then as user zope (or what ever) paster create -t plone4_buildout NAMEOFNEWBUILDOUT cd NAMEOFNEWBUILDOUT python2.6 bootstrap bin/buildout and your new site is ready to start with bin/instance fg point your browser at localhost:8080/manage

Re: [Zope] Migrating a legacy Zope2 app to use buildout.

2011-06-17 Thread robert rottermann
On 17.06.2011 23:57, Jason J. W. Williams wrote: > Hello, > > Currently, we have a Portal that was built starting in 2004 before > buildout was available, so our development method has been to export > and import from the Zope2 WebUI for deployment. That's been a real > pain and since we've automat

Re: [Zope] WebDAV lock in Zope 2.11.4

2010-12-02 Thread robert rottermann
Am 02.12.2010 18:53, schrieb Brian Sullivan: > Somehow in testing use of ExternalEditor product I have set the WebDAV > lock on a file. The problem is that the lock doesn't seem to appear in > the list of locks from the Control Panel, nor does it clear on a > restart. I am at loss -- how do I proce

Re: [Zope] Date utility for Zope (V2)

2010-11-09 Thread robert rottermann
Am 10.11.2010 02:00, schrieb Brian Sullivan: > I guess I having a mental block then. To use it from what I know I > would have create a Zope 2 product from it somehow or create callable > scripts in the ZMI from the provided code. Neither seems reasonable. > > Is there other way to use the code tha

Re: [Zope] commit problems psycopg

2010-08-23 Thread robert rottermann
fyou probably need to commit the data ?? robert Am 23.08.2010 18:24, schrieb Richard Harley: >We have had a problem with postgresql 8.3 on a Windows server 2008. I >wonder whether there has been any other experiences like this. We have >connected to Potsgres from Zope via a Psycopg adap

Re: [Zope] Storing DTML in SQL

2010-08-19 Thread robert rottermann
> > By far the majority of new deployments use zope 2 though... > > of course. zope 2 does use 5 which is a zope2/3 bridge. plone is VERY zope3/five based .. ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cros

Re: [Zope] Storing DTML in SQL

2010-08-19 Thread robert rottermann
Am 18.08.2010 18:56, schrieb Andrew Milton: > +---[ robert rottermann ]-- > | I think storing dtml in a db is wrong by design. > | I do lots of dynamic websites that are generated from external data. > | i had no need for a single line of dtml yet ... > >

Re: [Zope] Storing DTML in SQL

2010-08-18 Thread robert rottermann
I think storing dtml in a db is wrong by design. I do lots of dynamic websites that are generated from external data. i had no need for a single line of dtml yet ... robert Am 18.08.2010 18:38, schrieb Andrew Milton: > +---[ Garry Saddington ]-- > | Andrew Milton wrote: >

Re: [Zope] string formatting

2010-08-15 Thread robert rottermann
Am 14.08.2010 22:23, schrieb Jaroslav Lukesh: > DTML is your friend, not evil. > > JL. > > when I was a kid I used to spend my holidays with my grandfather. he was an old farmer and used to work with horse and carriage. it was great and I loved the horses.. _

Re: [Zope] long running methods

2010-05-20 Thread robert rottermann
Am 20.05.2010 21:01, schrieb Maik Derstappen, Derstappen IT: > Am 20.05.2010 20:04, schrieb robert rottermann: >> Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT: >> >>> Am 20.05.2010 16:05, schrieb Jürgen Herrmann: >>> >>>> On Th

Re: [Zope] long running methods

2010-05-20 Thread robert rottermann
Am 20.05.2010 19:34, schrieb Maik Derstappen, Derstappen IT: > Am 20.05.2010 16:05, schrieb Jürgen Herrmann: >> On Thu, 20 May 2010 15:59:58 +0200, Patrick Gerken >> wrote: >> >>> On Thu, May 20, 2010 at 14:18, Jürgen Herrmann >>> wrote: >>> >>> hi there! as our zope2 zodb grows we

Re: [Zope] ZopeProfiler uninstall

2009-12-01 Thread robert rottermann
Gaute Amundsen schrieb: > We have ZopeProfiler 1.72 installed on a site (Zope 2.7.5-1.fc3) that > don't need it anymore. > I've removed the folder and deleted the product, but I cant' find a way > to remove it form the controlpanel. > I notice it's been asked once before, but I cant find any replie

Re: [Zope] Zope3 on Ubuntu 64

2009-10-18 Thread robert rottermann
Brian Myers schrieb: > I've installed Zope3 on a 64 bit Ubuntu platform and all seems well. > > I've run mkzopeinstance and the instance directory is there and looks > ok. > > However, when I try to start the instance, it says [fail] for the > zserver instance and there are no entries in the

Re: [Zope] [Zope-Annce] ZClasses resurrected

2009-10-04 Thread robert rottermann
this is great, I never used ZClasses. But I really cherish that somebody did speak up and keeps on giving suport to parts of the zope ecosystem the rest of the community stopped to maintain. robert > Dieter Maurer wrote: >> The Zope developers have ripped out the ZClasses functionality from >> the

Re: [Zope] how get a relative root from

2009-08-20 Thread robert rottermann
if you look in the request, there is PATH_INFO from which you can deduct the path you are using. robert Miguel Beltran R. schrieb: > Hi list > > how can do a script what return the relative parent from it self? > > I use virtual_hosting and because a configuration I need access to my > site like

Re: [Zope] problem with commits in SQLAlchemyDA

2009-08-17 Thread robert rottermann
Maric Michaud schrieb: > robert rottermann a écrit : > > I do not see any reference to mark_changed > > you have to call it before any transaction.commit() to tell the zope > transaction > > machinery that it has to commit you changes also. > > robert > >

Re: [Zope] problem with commits in SQLAlchemyDA

2009-08-17 Thread robert rottermann
I do not see any reference to mark_changed you have to call it before any transaction.commit() to tell the zope transaction machinery that it has to commit you changes also. robert Maric Michaud schrieb: > Hi all, > > I wanted to use SQALchemyDA with a standalone Zope 2.11 (we only depends > on

Re: [Zope] Getting Auto Increment value

2009-06-11 Thread robert rottermann
to my knowledge SELECT LAST_INSERT_ID(); is per connection. so if you do the call in the same request in which you did the the creation of the record, you should be fine robert Merav Ben-David schrieb: > > > > > I am working with zope & mysql. > > I have a table with SERIAL column type, I cre

Re: [Zope] problem accessing object as anonymous

2009-04-22 Thread robert rottermann
robert rottermann schrieb: > Hi there, > I try to find out, why in an intranet accessing an object from a link sendt > by > email is not possible. > situation: > a user from a plone intranet sends a link to a dokument within the intranet > to a > colleague. > if t

Re: [Zope] problem accessing object as anonymous

2009-04-22 Thread robert rottermann
oh, I am using plone 2.5x here with Zope 2.9.8-final, python 2.4.6, linux2 robert robert rottermann schrieb: > Hi there, > I try to find out, why in an intranet accessing an object from a link sendt > by > email is not possible. > situation: > a user from a plone intranet

[Zope] problem accessing object as anonymous

2009-04-22 Thread robert rottermann
Hi there, I try to find out, why in an intranet accessing an object from a link sendt by email is not possible. situation: a user from a plone intranet sends a link to a dokument within the intranet to a colleague. if that colleague clicks on the link while *not logged* into the intranet she is pr

Re: [Zope] [Zope-dev] Zope 4.0, maybe not such a bad idea...

2009-04-13 Thread robert rottermann
Hi there, this is an email I wanted to write for several times in the past. I find it very sad, that grown up people that are extremely knowledgeable and the source of lots of incredibly helpful advice *nobody* else seems to be able or willing to give, contributers of a wealth of tools the whole z

Re: [Zope] Mod_Rewrite port 8080

2009-04-06 Thread robert rottermann
Bobby schrieb: > Hi, > > I want to use mod_rewrite on Apache to redirect http://internal:80/internal > to http://internal:8080/internal so that when the user request > http://internal:80/internal, the Zope folder foo will be served up. I still > want http://internal:80/ to stay intact so that t

Re: [Zope] znolk wizard

2009-04-04 Thread robert rottermann
Chris Withers schrieb: > Carsten Senger wrote: >> Times are fast moving. Interesting to see such interests in something >> ancient to start an excavation ;-) >> >> Znolk 0.1.9 is hidden on zope.org. >> >> http://www.zope.org/Members/zwork/Znolk_SQL_Wizard/default >> >> I think 0.2 was developed at

Re: [Zope] znolk wizard

2009-04-02 Thread robert rottermann
take collective.mercury this generates intterfaces from every table. with such an interface yaou need only a couple of lines to build an edit form for every table. somethings like: class DeclarationKLView(formbase.PageForm): form_fields = form.Fields(ItblDeclaration_klTable) ignoreContext

Re: [Zope] How to add existing folder in Zope

2009-03-28 Thread robert rottermann
thedag...@gmail.com schrieb: > make that: LocalFS hasn't been updated since 2006. it still works fine, there is only a line you have to change in its code where it pulls in security from cmf to some other cmf module. when starting up cmf tells you what is wrong. so its really easy to fix. robert >

Re: [Zope] sorting ids in python

2008-12-11 Thread robert rottermann
Garry Saddington schrieb: > On Tuesday 09 December 2008 03:15, Andreas Jung wrote: >> On 08.12.2008 21:11 Uhr, robert rottermann wrote: >>> Garry Saddington schrieb: >>>> Can anyone help me sort the following by id in a python script? >>>> >>>&g

Re: [Zope] sorting ids in python

2008-12-08 Thread robert rottermann
Andreas Jung schrieb: > On 08.12.2008 21:11 Uhr, robert rottermann wrote: >> Garry Saddington schrieb: >>> Can anyone help me sort the following by id in a python script? >>> >>> for object in context.objectValues(['Folder', 'DTML >

Re: [Zope] sorting ids in python

2008-12-08 Thread robert rottermann
Garry Saddington schrieb: > Can anyone help me sort the following by id in a python script? > > for object in context.objectValues(['Folder', 'DTML > Document','ZipFolder','File','Image']): objs=context.objectValues(['Folder', 'DTMLDocument','ZipFolder','File','Image']) objs.sort() for o in objs

Re: [Zope] generic setup&workflow: how to add to binding??

2008-12-08 Thread robert rottermann
thanks Jean-Michel, Jean-Michel FRANCOIS schrieb: > > > > > > > > > > > > this unfortunately *replaces* the entries in the binding. I would like to add to the existing ones. I can do that by running an old fasion install script but would prefere to do it "rigth". than

[Zope] generic setup&workflow: how to add to binding??

2008-12-07 Thread robert rottermann
Hi there, I created a workflow product. now I would like this workflow *added* to the bindings of the actual workflow settings when the product is installed. so I have something like: File (Default) chanched to File (Default) MyWorklow I this possible? If yes how? thanks robert

Re: [Zope] Multiple zope instances using the same storage

2008-12-06 Thread robert rottermann
Mark Gibson schrieb: > I have an unusual setup. I have 4 distinct Zope instances (4 seperate > Data.fs'). Each Data.fs is identical - Data is kept in a RDBMS. I have > a product I need to install that stores data in the ZODB. This data is > stored in one folder. > > Now, I *think* I can sim

Re: [Zope] How manage error with zsql

2008-12-06 Thread robert rottermann
hi, I think you should write in a python script: try: result = context.insert_data.zsql msg = 'data inserted' except ZeroDivisionError: msg = 'ZeroDivisionError occured' return msg and in your tal you write: > >tal:content="context/MyPythonscript"> > > > allways try to put lo

Re: [Zope] Zope error getting Plone running on HP UX

2008-09-12 Thread robert rottermann
I have not been near HP UX for more than 10 years.. but why dont you install zope plone from scratch? this is very easy and done in less than an hour. you then should have much more controll on what is happening when running zope/plone. start with installing: - easy_install - ZopeSkell and the c

Re: [Zope] zexp import fails from linux to windows due to image file paths

2008-07-16 Thread robert rottermann
Richard Ettema schrieb: Hi, I have an old zope based site that was hosted on a linux machine that was exported to a zexp. i am trying to import it onto a windows machine to fix up and upgrade the site. the windows machine is setup wth the identical products etc. The problem is the image file

Re: [Zope] Re: how to unindex an non existing (deleted)object

2008-06-24 Thread robert rottermann
Daniel Nouri schrieb: robert rottermann writes: Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? brain.aq_parent._catalog.uncatalogObject

Re: [Zope] how to unindex an non existing (deleted)object

2008-06-24 Thread robert rottermann
Martijn Jacobs schrieb: robert rottermann wrote: Hi there, Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? thanks robert If you want to call

[Zope] how to unindex an non existing (deleted)object

2008-06-24 Thread robert rottermann
Hi there, Sometimes a catalog query returns brains that point to non existing objects. how can I remove such brains from the index programmatically without using the portal_catalag/advanced/update tab? thanks robert ___ Zope maillist - Zope@zope.

[Zope] not possible to download anything

2008-06-13 Thread robert rottermann
Hi there, after the dislocation of the zope servers zope.org is reachable again from where I am (switzerland) however it is not possible to download anything. robert ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

Re: [Zope] statistics and click analysis for a plone site

2008-06-02 Thread robert rottermann
Tom Von Lahndorff schrieb: Highly recommend Google Analytics: http://www.google.com/analytics/ I've used it myself to track usage for a zope intranet which is only accessible on an internal network. On Mon, Jun 2, 2008 at 6:52 AM, robert rottermann <[EMAIL PROTECTED]> wrote: than

Re: [Zope] statistics and click analysis for a plone site

2008-06-02 Thread robert rottermann
Andreas Jung schrieb: --On 2. Juni 2008 07:22:06 -0400 Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: Highly recommend Google Analytics: http://www.google.com/analytics/ I've used it myself to track usage for a zope intranet which is only accessible on an internal network. Do you really wan

[Zope] statistics and click analysis for a plone site

2008-06-02 Thread robert rottermann
Hi there, for a Client using a plone2 intranet (with no access from the outside world) I installed awstat to track the usage of the intranet. now I wonder how meningfull such statisics are. The intranet usage is roughly as follows: - user logs into the intranet authenticating against a Ldap/MS

Re: [Zope] buildout for plone2.5: paster creates bad zcml

2008-05-28 Thread robert rottermann
for the record: I found a way to fix this by using a newer five versin. I added: urls = http://codespeak.net/z3/five/release/Five-1.4.4.tgz in the buildout.cfg. it would be much nicer, to have the buildout recipes fixed robert robert rottermann schrieb: Hi there, I try to use paster for a

[Zope] buildout for plone2.5: paster creates bad zcml

2008-05-28 Thread robert rottermann
Hi there, I try to use paster for a plone 2.5 site. this is what I have done: paster create -t plone2.5_buildout plone2 executed bootstrap and buildout then in src: paster create -t plone2.5_theme x.y which I added to the buildout.cfg like so: [buildout] ... eggs = elementtree x.y develo

Re: [Zope] Check for currently loged in users

2008-04-29 Thread robert rottermann
vaibhav pol schrieb: Dear all, here i am using zop-2.8.1 and am trying to get the how many users currently loged in zope. Let me know if zope having any supported function or module to do the same . to my knowledge there is no such tool. the logged in user is not a state kept by the serve

Re: [Zope] zopedown

2008-04-26 Thread robert rottermann
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 robert Ben schrieb: A Zope server stop

Re: [Zope] zeo configuration HOWTO

2008-04-22 Thread robert rottermann
David Bear schrieb: I'm trying to find more documentation about all the configuration parameters for a zeo.conf I *believe* on plope.org there was an introduction to it with some more parameters explained. Namely, I have a zope with multiple zodb's and mount points. I am trying to learn how

[Zope] Re: [Plone-developers] the grand reunion

2008-04-13 Thread robert rottermann
Rudá Porto Filgueiras schrieb: On Fri, Apr 11, 2008 at 1:23 PM, Florian Friesdorf <[EMAIL PROTECTED]> wrote: Hi Robert, On Fri, Apr 11, 2008 at 04:04:43PM +0200, robert rottermann wrote: > hi yuri, > > when setting up a zope/zeo task and everything was still a bit of a

[Zope] Re: [Plone-developers] the grand reunion

2008-04-11 Thread robert rottermann
hi yuri, when setting up a zope/zeo task and everything was still a bit of a challenge (at least to me) we tended to have everything in one big instance that served some 20 low traffic sites. since then setting up a site with all the tools it needs has become a trivially easy and quick to exec

Re: [Zope] zip files corrupted with IE when opened, fine when downloaded

2008-03-19 Thread robert rottermann
Chris Withers schrieb: > robert rottermann wrote: >> Hi there, >> when users using IE want to open a zip file from the intranet by using >> the "open" option from the download dialog they get winzip complaining >> that the file is corrupted. >> if they

Re: [Zope] Re: zip files corrupted with IE when opened, fine when downloaded

2008-03-19 Thread robert rottermann
Maurits van Rees schrieb: > robert rottermann, on 2008-03-17: >> Hi there, >> we have a problem with an intranet that runs using plone 2.5.3 >> >> when users using IE want to open a zip file from the intranet by using >> the "open" option from the

Re: [Zope] zip files corrupted with IE when opened, fine when downloaded

2008-03-17 Thread robert rottermann
thanks Jim I'll try that robert Jim Washington schrieb: > Jim Washington wrote: >> robert rottermann wrote: >>> Hi there, >>> we have a problem with an intranet that runs using plone 2.5.3 >>> >>> when users using IE want to open a zip file fro

[Zope] zip files corrupted with IE when opened, fine when downloaded

2008-03-17 Thread robert rottermann
Hi there, we have a problem with an intranet that runs using plone 2.5.3 when users using IE want to open a zip file from the intranet by using the "open" option from the download dialog they get winzip complaining that the file is corrupted. if they select "save" from the same dialog they can ope

Re: [Zope] Re: Zope Zeo Performance

2008-03-14 Thread robert rottermann
FuBuJo schrieb: > I apologize that my description was so confusing. > I appreciate the feedback and so would like to clarify. > > The diagram is how the traffic flows. So we have: > Step 1 - a Load Balancer that passes traffic to Apache > > Step 2 - Apache which uses mod_proxy to obfuscate the U

Re: [Zope] zope starts in foreground but not normaly

2008-03-11 Thread robert rottermann
Chris Withers schrieb: > robert rottermann wrote: >> [EMAIL PROTECTED]:~> instances/kanneweb3/bin/zopectl status >> daemon manager running; daemon process not running >> [EMAIL PROTECTED]:~> >> >> I see no entries in the logs, so I have no idea where to lo

[Zope] zope starts in foreground but not normaly

2008-03-11 Thread robert rottermann
Hi there, after a software upgrade (system and zope/plone) we have a strange problem. we have an old site that runs under plone 2.1 Zope-2.8.9-final python 2.3.5 when I start it in the foreground with bin/zopectl fg everything works fine. if I however start it with bin/zopectl start bin/zopectl

Re: [Zope] Happy Valentine's Day from Zwiki HQ

2008-02-15 Thread robert rottermann
Simon Michael schrieb: > Hello Zopistas.. a happy Valentine's day to all! > as martin said (or hinted) before me, a new wiki solution needs to be seamlessly integratable into plone. I like zwiki very much and still use it often. but rarely in new projects. the userinterface is to different from p

Re: [Zope] Accessing Zope REQUEST data from a Python module

2007-12-06 Thread robert rottermann
hi ken, very often you can replace context with self. so instead of context.REQUEST you use self.REQUEST. robert Ken Winter schrieb: > I'm customizing a product. To do what I'm trying to do, I need to be able > to access REQUEST data from within a Python module (not a script; a .py file > containi

Re: [Zope] is it possible to bypass ZSQL methods and callstoredprocedures in sqlserver straight from ZPT?

2007-11-07 Thread robert rottermann
> You could also write a Product or External Method to access your > databases directly, using something like: http://pymssql.sourceforge.net/ > you should not do that, you would get into lots of problems with zope's transaction machinery. always go trough a zope connection. robert begin:vcard

Re: [Zope] Monkey patch tutorial

2007-11-04 Thread robert rottermann
Garito schrieb: > Hi! > I would like to know if there are some monkey patch tutorial or how-to > anyone knows where? > > Thanks! > > -- > Mis Cosas > http://blogs.sistes.net/Garito > > > >

[Zope] ZopeProfiler:does its installation have a performance impact?

2007-09-21 Thread robert rottermann
Hi there, does the installation of ZopeProfiler have a noticable performance impact when it is disabled? thanks robert begin:vcard fn:Robert Rottermann n: Rottermann;Robert email;internet:[EMAIL PROTECTED] tel;work:++41 31 333 10 20 tel;fax:++41 31 333 10 23 tel;home:++41 31 333 36 03 x-mozilla-h

[Zope] VERY unusual zope traceback

2007-09-06 Thread robert rottermann
After my computer was iddling during the nigth I got the following traceback. look at the rather genereous number of expected parameters. how can somethings like this happen? Memory corruption? restarting zope fixed it. robert Site Error An error was encountered while publishing this resource.

Re: [Zope] SOAPMethod

2007-09-03 Thread robert rottermann
Andreas Jung schrieb: > > > --On 3. September 2007 16:10:56 +0200 robert rottermann > <[EMAIL PROTECTED]> wrote: >> > > > Likely you need tal:content="python: context.requestStudentData(...)" > > -aj andreas is perfectly right .. rr begin

Re: [Zope] SOAPMethod

2007-09-03 Thread robert rottermann
Mark Baldry schrieb: > I need to get some information from a database and display it on our website. > It's a very simple query just passing one number to get the record. The only > way i am allowed to query this database is via SOAP. > > I have installed the SOAPMethod and have got it working b

Re: [Zope] How do I eval a variable within the acquisition path?

2007-08-21 Thread robert rottermann
Tim Nash schrieb: > I apologize for the question (the zope area of my brain must need > coffee) but I can't find the answer in the zope book or in any of the > scripts posted to the zope cookbook. > > I want to use a variable in a acquisition path. > > So for example, from the zope book on script

Re: [Zope] asynchronous MailHost

2007-08-19 Thread robert rottermann
Andreas Jung schrieb: > > > --On 19. August 2007 11:37:30 -0600 Sean Fulmer <[EMAIL PROTECTED]> wrote: > >> I just read about the latest changes to MailHost: >> >> http://blog.zopyx.com/blog_ajung/archive/2007/08/19/zopes-mailhost-overha >> uled >> >> I'm currently using MaildropHost to do async

[Zope] how to install zope eggs

2007-07-09 Thread robert rottermann
hi there, I would like to install an egg that depends on zope eggs installed (i18ndude) this of course can easily be done with easy_install. however afterwards non of my zope installations (and I have a number of them on the system) are working anymore because python is picking up some parts of the

Re: [Zope] Problem with using versions.

2007-04-10 Thread robert rottermann
catherine, what do you mean by version? what zope and additional products are you using? robert Catherine E. Reinehr wrote: > Hi, > > I've been working in a version for over a week and finally finished my > changes today. I saved them and quit the version, but the affected folder > still has a l

Re: [Zope] How can I reset zope time???

2007-03-22 Thread robert rottermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jens Vagelpohl schrieb: > > On 23 Mar 2007, at 07:41, Flemming Bjerke wrote: But, now, not only have all my changes the date 12/12-2007 in the undo history, every object I have changed gets this date as well! Apparently, zope won't acce

Re: [Zope] What is the best way to debug a Zope 2.62 application.

2007-03-19 Thread robert rottermann
Mark, Jonathan (Integic) wrote: > I have a properly running instance of Zope 2.62 but no zopectl file. > > What is the best way to debug this version of Zope? Should I install zopectl? > > > > __

Re: [Zope] form-script-zsql

2007-03-07 Thread robert rottermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 result = context.db_conn_id.db.query('YOUR QUERY HERE') robert javi lopez schrieb: > I´m doing a form with username and email, these values go script > python and with a zsql method inside script, it stored in DB > I have a zpt with a form > I have a

Re: [Zope] How to call a script by it's name stored in a variable.

2007-02-20 Thread robert rottermann
rieh25 wrote: > How can I do something like this? > > var = '/Projects/test_py' > > return call_by_name(var) > > > Thanks. fun = context.restrictedTraverse(var) return fun() then there is path and getattr you should look at. robert begin:vcard fn:robert ro

Re: [Zope] Urgent Help Required......

2007-01-15 Thread robert rottermann
Jonathan wrote: > > - Original Message - From: "robert rottermann" <[EMAIL PROTECTED]> > To: "Jonathan" <[EMAIL PROTECTED]> > Cc: "robert rottermann" <[EMAIL PROTECTED]>; "Reena Karthikeyan" > <[EMAIL PROTECTED]&g

Re: [Zope] Urgent Help Required......

2007-01-14 Thread robert rottermann
Jonathan wrote: > > - Original Message - From: "robert rottermann" <[EMAIL PROTECTED]> > To: "Reena Karthikeyan" <[EMAIL PROTECTED]> > Cc: > Sent: Sunday, January 14, 2007 12:48 AM > Subject: Re: [Zope] Urgent Help Required.. > >

Re: [Zope] Path Level in Catalog

2007-01-14 Thread robert rottermann
try just rebuilding the catalog in prtal_catalog/advanced ->rebuild robert KJZZ Webmaster wrote: > I recently had to rebuild our catalog using the manage_catalogFind form in > the ZMI. In this case, I simply selected the object types that I wanted > recataloged, then clicked the "find and catalog"

Re: [Zope] Urgent Help Required......

2007-01-13 Thread robert rottermann
there is very good dolumentation to be found under: http://www.plope.com/Books/2_7Edition (disregard anything about dtml and zclasses, this are dying concepts) google on how to install new zope products. I found: http://highspeedrails.com/Support/Howto/InstallProducts robert Reena Karthikeyan wro

[Zope] ZSQL Methods and transaction control

2007-01-10 Thread robert rottermann
Hi there, I am implementing a tool to handle userdata that is stored in a MySQL db. The underlaying logic of the stored procedures used to maintain the db content dictate that I have to control the transactions myself. I understand that there is a way to handle transaction controll in the ZMySQL m

Re: [Zope] acl_users

2007-01-03 Thread robert rottermann
readlines returns also the terminating \n. you have to strip it hth rr Sean Duffy wrote: > Hi, > > I'm trying to do a batch add of users to the standard acl_users folder. > > Note quite a total success or total failure just yet. > > First I made a text file (usr_pwd.txt) in the form of password spa

[Zope] Re: acl_users: can not access source_groups

2006-11-30 Thread robert rottermann
aforementioned error happens. robert robert rottermann schrieb: > when I clihttp://plone.org/development/info/participationck on source_groups > in acl_users of a plone site I get athe following trace back. > when I comment out the offending assert everything seems to work fine. > the check

Re: [Zope] Permission Denied...New Build

2006-11-29 Thread robert rottermann
this lock was maybe created by root. (when zope started from /etc/init.d) if so you have to delete it as root. and of course your "efective user" defined (in /usr/local/zope/2012/etc/zope.conf) must be set to somebody that has write permission in /usr/local/zope/2012/var robert Nancy Donnelly

[Zope] acl_users: can not access source_groups

2006-11-29 Thread robert rottermann
when I click on source_groups in acl_users of a plone site I get athe following trace back. when I comment out the offending assert everything seems to work fine. the check the comment to the assert says: # should be one and only one mapping to 'k' i therefore assume, that some of the userrs or g

Re: [Zope] Nuked Installations! Problem w/ Rebuild!

2006-11-29 Thread robert rottermann
you probably have to reinstall (rebuild) zope. i *assume* that your zope is not using the python it was built with. robert Nancy Donnelly schrieb: > 102 > Hi; > I just went to copy my main HD on my server to my new 1/2 teraflop HD > and it wiped out the zopecltsockets and the var directories! Luc

Re: [Zope] New HD, Moving ZODB

2006-11-22 Thread robert rottermann
Andreas Jung wrote: > > > --On 22. November 2006 08:19:23 -0800 Nancy Donnelly > <[EMAIL PROTECTED]> wrote: > >> Hi; >> I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I >> need to move at least one instance of ZODB to the new HD (I can easily >> move them both if necessary)

Re: [Zope] New HD, Moving ZODB

2006-11-22 Thread robert rottermann
Nancy Donnelly schrieb: > Hi; > I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I > need to move at least one instance of ZODB to the new HD (I can easily > move them both if necessary). Is there a how-to on how to do this, or, > if not, how do I do it? > TIA, > Nancy > > > --

Re: [Zope] Password expiration

2006-11-14 Thread robert rottermann
zope by it self can not do such an expiration. there is a product for plone cmfmeber (now in transition to become obsolete and replaced by membrane) that treats a user like some portal content that can be controlled by a workflow, expiration date and so on. I do not know whet the state of membran

Re: [Zope] Zope Alternative

2006-11-14 Thread robert rottermann
> > Nevertheless, I think we as a community could show some class and style. +100 the entertaining value of rude mails wear off quickly.. robert begin:vcard fn:robert rottermann n:rottermann;robert email;internet:[EMAIL PROTECTED] tel;work:031 333 10 20 tel;fax:031 333 10 23 tel;home:031 333

Re: [Zope] zope gets killed on startup

2006-10-01 Thread robert rottermann
Einar, start zope with debug mode on. you can do this by going to the bin directory of your instance (this is something like /var/zopeinstnce/bin) and start zope with zopectrl fg you should then get more feedback HTH robert Einar Næss Jensen wrote: > My zope will not start, after running fine f

[Zope] Accessing MsSQL from Zope blocks

2006-08-31 Thread robert rottermann
Hi there, this is not really an Zope Questions, I just hope somebody of you cold give me a hint. I already asked egenix (as we are using mxODBC) they could not think of a good reason. (but said to try a comercial odbc bridge). thanks for any pointers. robert using mxOdbc our database application

Re: [Zope] FTP and Firewall

2006-07-31 Thread robert rottermann
Dan Gaibel wrote: > Hi, > > I'm using Zope 2.8.6 with Python 2.3.5 and have found that when I FTP > into zope, I am unable to list the contents of the directory I am in. It > seems that logging in is no problem. Could this be a problem with my > firewall? Has anyone seen this before? We are using

[Zope] problems with non ascii char from an xml export

2006-07-21 Thread robert rottermann
hi there, I try to read data from an xml export back into zope. however I have problems with non ascii chars. in the xml pickle I have a string like so: "dann \xfcberhaupt den zu \xfcbernehmenden" this sems to be an latin1 encoded string. whatever I try I do not get it converted such, that it i

Re: [Zope] Zope 2.7 installation on SuSE 10.0 - unable to find startup script

2006-07-10 Thread robert rottermann
TR wrote: This is rather bizarre, but I'm unable to determine what script to run to start my Zope instance. I installed 2.7.7-3, which comes with the distro, and ran mkzopeinstance.py, which terminated without errors after asking for the instance home and site admin id/password. Isn't there s

Re: [Zope] Zope 2.9.3/2.9.1 On Suse 10.1 box version

2006-07-09 Thread robert rottermann
you did NOT create the zope instance as user ofer! did you? there is nothing to do as user root except creating a user account. as you do it in your own account (i assume) then ther is nothing to be done for root. robert Ofer Weisglass wrote: Thank you robert first in the last line you wrote th

Re: [Zope] Zope 2.9.3/2.9.1 On Suse 10.1 box version

2006-07-09 Thread robert rottermann
exactly! I sugest the following: - remove what you have done so far - go to yast, create a user zope - switch to this user - install zope like this: wget http://www.zope.org/Products/Zope/2.9.3/Zope-2.9.3.tgz tar xvfz Zope-2.9.3.tgz mv Zope-2.9.3 Zope-2.9.3-src cd Zope-2.9.3-src ./c

Re: [Zope] Zope 2.9.3/2.9.1 On Suse 10.1 box version

2006-07-08 Thread robert rottermann
what david says is correct. furthermore you must (as the error suggests) add the user as which the zope process should run as to the zope config. open the /yourInstance/etc/zope.conf in an editor and look for "effective-user". this you set to the name of the user as which you start zope. if y

Re: [Zope] transaction.begin() ??

2006-06-16 Thread robert rottermann
Andreas Jung wrote: --On 16. Juni 2006 10:03:23 +0200 robert rottermann <[EMAIL PROTECTED]> wrote: in a unittest I use transaction.begin() as follows: import transaction transaction.get().begin() I then get the following error: AttributeError: 'Transaction' object has no

[Zope] transaction.begin() ??

2006-06-16 Thread robert rottermann
in a unittest I use transaction.begin() as follows: import transaction transaction.get().begin() I then get the following error: AttributeError: 'Transaction' object has no attribute 'begin' when I look at the code I am unsure whether transaction should have a begin method. If it does not ex

  1   2   >