Re: [Zope] re ad-only-database

2009-03-17 Thread Jean Jordaan
Hi Tres Tres Seaver wrote: > > Can you please file a bug suggesting changing the '.in' file? > Certainly: https://bugs.launchpad.net/zope2/+bug/344098 -- View this message in context: http://www.nabble.com/read-only-database-tp3438824p22553862.html Sent from the Zope - General mailing li

Re: [Zope] re ad-only-database

2009-03-16 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jean Jordaan wrote: > Hi there > > The only place I find a clue about 'read-only' is in > .../zope2/lib/python/ZODB/component.xml after grepping (after reading > Dieter's message) .. and in the same Zope instance > .../zope2/skel/etc/zope.conf.in stil

Re: [Zope] re ad-only-database

2009-03-16 Thread Jean Jordaan
Hi Dieter > It describes a configuration option for your "storage" subsections > of the "zodb_db" sections in your Zope configuration file. Yes, that's what I understood -- thank you! What I meant was that few people seem to use this functionality, as the outdated howtos stand uncorrected, and t

Re: [Zope] re ad-only-database

2009-03-13 Thread Dieter Maurer
Jean Jordaan wrote at 2009-3-12 04:11 -0700: >The only place I find a clue about 'read-only' is in >.../zope2/lib/python/ZODB/component.xml after grepping (after reading >Dieter's message) That's what you should use for your "read-only" databases. It describes a configuration option for your "sto

Re: [Zope] re ad-only-database

2009-03-12 Thread Jean Jordaan
Hi there The only place I find a clue about 'read-only' is in .../zope2/lib/python/ZODB/component.xml after grepping (after reading Dieter's message) .. and in the same Zope instance .../zope2/skel/etc/zope.conf.in still pushes the 'read-only-database' "relic". Doesn't look like many people use

[Zope] Re: Page Template help

2008-08-10 Thread Philipp von Weitershausen
Garito wrote: Could someone point me where the page template code decide if an expression is a path expression or a string or python one, please? I'm studying the zope page template classes and I would like to understand where this decision is taken Products.PageTemplates.Expressions.createZ

[Zope] Re: [Plone-Users] Python Security Vulnerabilities

2008-08-08 Thread Andreas Jung
--On 8. August 2008 10:09:56 -0500 Stacy Ladnier <[EMAIL PROTECTED]> wrote: I first apologize for cross posting, but this is a critical issue for my organization. We have several applications built with Plone, ranging from v 2.0.5 to v 2.5.3 and Zope, ranging from 2.7.3 to 2.9.7. With the A

[Zope] Re: Python Security Vulnerabilities

2008-08-08 Thread Alexander Limi
On Fri, 08 Aug 2008 08:09:56 -0700, Stacy Ladnier <[EMAIL PROTECTED]> wrote: I first apologize for cross posting, but this is a critical issue for my organization. We have several applications built with Plone, ranging from v 2.0.5 to v 2.5.3 and Zope, ranging from 2.7.3 to 2.9.7. With th

Re: [Zope] Re: Problems with buildout and zope.interface

2008-07-30 Thread Paul Winkler
On Fri, Jul 25, 2008 at 02:53:55PM +0200, Christian Scholz wrote: >>> So my main question is probably: Is there a way to automate the >>> process of installing and running virtualenv similar to what >>> bootstrap.py does for buildout so that people do not need to care >>> about the virtualenv part?

Re: [Zope] Re: Unrestricted threads

2008-07-25 Thread Chris Withers
Tres Seaver wrote: Note that you can write scripts designed to use the ZODB, but be run from a crontab. E.g.: $ cat Products/foo/scripts/send_report.py mailnost = app.site.MailHost catalog = app.site.portal_catalog() $ crontab -l 55 0 * * * /home/tseaver/instance/bin/zopectl

Re: [Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Chris Withers
Christian Scholz wrote: Ok, except that this does not run under windows and it still needs to have easy_install installed. But if there is no existing script, maybe I write one then. I have my custom bootstrap for using the development version of setuptools now already anway. Ignas may have a

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Daniel Nouri wrote: Christian Scholz: Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his develo

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Baiju M wrote: Christian Scholz wrote: Daniel Nouri wrote: > > The solution to this one is quite simple: Use virtualenv with > --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up hi

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Daniel Nouri
Christian Scholz: > Daniel Nouri wrote: > >> >> The solution to this one is quite simple: Use virtualenv with >> --no-site-packages and then use bin/python to run bootstrap.py > > Ok, thanks. How do I deploy such a thing? I guess virtualenv then has > to run by the one setting up his development s

Re: [Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Baiju M
Christian Scholz wrote: Daniel Nouri wrote: > > The solution to this one is quite simple: Use virtualenv with > --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his development sa

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Christian Scholz
Daniel Nouri wrote: The solution to this one is quite simple: Use virtualenv with --no-site-packages and then use bin/python to run bootstrap.py Ok, thanks. How do I deploy such a thing? I guess virtualenv then has to run by the one setting up his development sandbox? What files can/need to

[Zope] Re: Problems with buildout and zope.interface

2008-07-25 Thread Daniel Nouri
Christian Scholz writes: > I am trying right now to convince people to use buildout and ZCA for > the Open Grid Protocol project but it turns out that it's not working > as expected. So maybe somebody on here can help me :-) > > The setup is Mac OSX 10.5.4 with Python 2.5.1 installed and apparentl

[Zope] Re: Unrestricted threads

2008-07-23 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Bréhault wrote: > yes indeed you can easily extract the mechanism to create a specific > security manager and create a request to call the method you want > using this security manager > > the problem with ZEO is not related to this aspect so it

[Zope] Re: Page template issues

2008-07-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > --On 14. Juli 2008 12:02:32 -0500 Jeff Peterson <[EMAIL PROTECTED]> > wrote: > >> Greetings, >> >> I recently upgraded from Zope 2.8.7 to 2.11.0. After working out some >> issues, everything worked OK for a couple weeks. Th

Re: [Zope] Re: Deployment Best Practices?

2008-07-13 Thread Jeff McNeil
I think I'll add a new directive to register my application specific plugins. That way, I can rely on my own entry points and whatnot. That gives me a nice way to not have to rerun buildout (rather, not have to rely on the operations department to rerun buildout). I'm planning on running through

[Zope] Re: Deployment Best Practices?

2008-07-13 Thread Philipp von Weitershausen
Paul Winkler wrote: On Sun, Jul 13, 2008 at 01:20:53PM -0400, Philipp von Weitershausen wrote: Jeff McNeil wrote: I'd love to be able to just drop an egg on the file system and tell Zope "Here, go load that one now" via configuration alone. You could also write your own ZCML directive (+ a hand

Re: [Zope] Re: Deployment Best Practices?

2008-07-13 Thread Paul Winkler
On Sun, Jul 13, 2008 at 01:20:53PM -0400, Philipp von Weitershausen wrote: > Jeff McNeil wrote: >> I'd love to be able to just drop an egg on the file system and tell >> Zope "Here, go load that one now" via configuration alone. > > You could also write your own ZCML directive (+ a handler) that do

[Zope] Re: Deployment Best Practices?

2008-07-13 Thread Philipp von Weitershausen
Jeff McNeil wrote: That's not all that obvious to someone new to the Zope system. Most of the documentation I've found is geared towards the 2.x branch. As Zope 3 and Zope 2 are different animals, I wouldn't think that the deployment steps and recommendations would be all that similar. With b

[Zope] Re: I wonder why class constructor is never in apidoc ?

2008-07-07 Thread Philipp von Weitershausen
KLEIN Stéphane wrote: I wonder why class constructor is never in apidoc ? Because nobody has bothered to implement this feature. Patches are welcome :) Are there something in OOP concept I haven't understand ? I don't know what you mean with this.

[Zope] Re: Annoying when objectValues() doesn't work

2008-07-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: > from cStringIO import StringIO > > def workflowscripts2methods(self): > out = StringIO() > > print >>out, "Star converting workflow scripts into External Methods" > > pw = self.portal_workflow > for workflow

[Zope] Re: CMF security error in DCWorkflow that doesn't make sense

2008-07-02 Thread Peter Bengtsson
Some progress. I managed to get it work by de-selecting the "Manager" role on the Proxy roles. Makes absolutely no sense. Later today I had another similar problem/error and nothing I changed on the Proxy roles mattered. I ended up replacing the Python Scipt with an External Method and that worke

Re: [Zope] Re: Cache

2008-06-25 Thread Paul Winkler
On Wed, Jun 25, 2008 at 07:12:53PM +0100, Miles wrote: > Kereoz wrote: >> On Wed, Jun 25, 2008 at 1:13 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: >>> As you can see from the HTML code: something like >>> >>> app.Control_Panel.Database..manage_minimize() >>> >>> should work. >> I was thinking about

[Zope] Re: Cache

2008-06-25 Thread Miles
Kereoz wrote: On Wed, Jun 25, 2008 at 1:13 PM, Andreas Jung <[EMAIL PROTECTED]> wrote: As you can see from the HTML code: something like app.Control_Panel.Database..manage_minimize() should work. I was thinking about the zope command line tools such as zopectl or so. But in fact yes, seems

[Zope] Re: help debugging a "can't pickle" error deep within a catalog reindex

2008-06-24 Thread Rob Miller
Rob Miller wrote: hi, i'm trying to perform a ZCatalog.refreshCatalog() on a catalog with over 29,000 indexed objects. it churns for a good long time, and eventually fails with a long set of tracebacks, of which i've included a sample at the end of this message. i think i understand the gi

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(

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

2008-06-24 Thread Daniel Nouri
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(brain.getPath()) Daniel

[Zope] Re: m2crypt in Zope 10

2008-06-22 Thread Josef Meile
I am wondering, if there are some howto patching the zope 10 We're in the year 3030? We are just at Zope 3.X :-) You are in year 3030 ;-). I'm still stucked in the past with zope 2.8.x :-( Anyway, my suggestion for the original poster is to use apache for ssl. I used m2crypto in the past and i

[Zope] Re: record count in catalog

2008-06-20 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter Maurer wrote: > Tres Seaver wrote at 2008-6-15 16:18 -0400: >> ... >>> The Catalog tab in my catalog says this: >>> >>> The catalog "mycatalog" contains 30,345 record(s) in the path "/". >>> >>> But when I sort and return a list of cataloged obj

Re: [Zope] Re: record count in catalog

2008-06-20 Thread Chris Withers
Dieter Maurer wrote: Tres Seaver wrote at 2008-6-15 16:18 -0400: ... The Catalog tab in my catalog says this: The catalog "mycatalog" contains 30,345 record(s) in the path "/". But when I sort and return a list of cataloged objects I only have 19,881. Here is the script call to retrieve the

Re: [Zope] Re: record count in catalog

2008-06-19 Thread Andreas Jung
--On 19. Juni 2008 20:35:29 +0200 Dieter Maurer <[EMAIL PROTECTED]> wrote: Tres Seaver wrote at 2008-6-15 16:18 -0400: ... The Catalog tab in my catalog says this: The catalog "mycatalog" contains 30,345 record(s) in the path "/". But when I sort and return a list of cataloged objects I on

Re: [Zope] Re: record count in catalog

2008-06-19 Thread Dieter Maurer
Tres Seaver wrote at 2008-6-15 16:18 -0400: > ... >> The Catalog tab in my catalog says this: >> >> The catalog "mycatalog" contains 30,345 record(s) in the path "/". >> >> But when I sort and return a list of cataloged objects I only have 19,881. >> >> Here is the script call to retrieve the re

[Zope] Re: help debugging a "can't pickle" error deep within a catalog reindex

2008-06-18 Thread Ross Patterson
Rob Miller <[EMAIL PROTECTED]> writes: > Ross Patterson wrote: >> Rob Miller <[EMAIL PROTECTED]> writes: >> >>> hi, >>> >>> i'm trying to perform a ZCatalog.refreshCatalog() on a catalog with >>> over 29,000 indexed objects. it churns for a good long time, and >>> eventually fails with a long set

[Zope] Re: help debugging a "can't pickle" error deep within a catalog reindex

2008-06-18 Thread Rob Miller
Ross Patterson wrote: Rob Miller <[EMAIL PROTECTED]> writes: hi, i'm trying to perform a ZCatalog.refreshCatalog() on a catalog with over 29,000 indexed objects. it churns for a good long time, and eventually fails with a long set of tracebacks, of which i've included a sample at the end of t

[Zope] Re: I would like to join your LinkedIn Zope group

2008-06-18 Thread Chris Calloway
On 6/18/2008 11:23 AM, Andreas Jung wrote: --On 18. Juni 2008 11:14:29 -0400 Tres Seaver <[EMAIL PROTECTED]> Andreas Jung wrote: We don't maintain something like that. I don't know who the real group admin is, but there is a "Zope Community" group on LinkedIn. Chris' mail comes as a result o

[Zope] Re: I would like to join your LinkedIn Zope group

2008-06-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: > > --On 18. Juni 2008 10:37:28 -0400 Chris Calloway <[EMAIL PROTECTED]> wrote: > >> I would like to join your LinkedIn Zope group. I am a facilitator of the >> Triangle Zope and Python Users Group. >> > > We don't maintain somet

[Zope] Re: help debugging a "can't pickle" error deep within a catalog reindex

2008-06-17 Thread Ross Patterson
Rob Miller <[EMAIL PROTECTED]> writes: > hi, > > i'm trying to perform a ZCatalog.refreshCatalog() on a catalog with > over 29,000 indexed objects. it churns for a good long time, and > eventually fails with a long set of tracebacks, of which i've included > a sample at the end of this message. >

[Zope] Re: record count in catalog

2008-06-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Darryl Caldwell wrote: > Hi all, > > The Catalog tab in my catalog says this: > > The catalog "mycatalog" contains 30,345 record(s) in the path "/". > > But when I sort and return a list of cataloged objects I only have 19,881. > > Here is the scri

[Zope] Re: [Zope-dev] Re: [Zope3-Users] is it possible to copy object b/w two zodb Database

2008-06-14 Thread Dieter Maurer
Jim Fulton wrote at 2008-6-11 15:18 -0400: > >On Jun 11, 2008, at 10:36 AM, rahul bhaskar wrote: > >> Hi, >> I am facing some problem with merging two zodb file. >> is it possible to open two zodb Database at a time and copy object >> from one to another. > > >Yes, using the export/import mechanism

[Zope] Re: Python instance growing while ZTC

2008-06-12 Thread Philipp von Weitershausen
Marco Bizzarri wrote: Hi all. Apologies in advance if my question has a somewhat obvious answer. I'm working on a Zope application, developed as a python product. I've ZTC in place for this application. While I run all the ZTC, I can see python process size growing. Can I use this as an indica

[Zope] Re: [Zope3-Users] is it possible to copy object b/w two zodb Database

2008-06-11 Thread Jim Fulton
On Jun 11, 2008, at 10:36 AM, rahul bhaskar wrote: Hi, I am facing some problem with merging two zodb file. is it possible to open two zodb Database at a time and copy object from one to another. Yes, using the export/import mechanism. Jim -- Jim Fulton Zope Corporation _

[Zope] Re: [Zope3-Users] is it possible to copy object b/w two zodb Database

2008-06-11 Thread Eric Bréhault
Hello, I do not know if you can open 2 ZODB but you can exchange objects between 2 instances: a method on instance A would export an object as zexp and stream it over http and a method on instance B would call this method on instance A, and would import the resulting zexp but there is maybe a sm

[Zope] Re: zopectlsock missing

2008-06-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: > This happens from time to time and I've never really understood how it > ends up like this. > There's no zopeinstance/var/zopectlsock socket which means that > zopectl stop|restart|start just spits out "daemon manager not runni

[Zope] Re: [Zope3-Users] NOTICE: zope.org server move

2008-06-11 Thread Reinoud van Leeuwen
On Wed, Jun 11, 2008 at 02:05:51PM +0300, Marius Gedminas wrote: > On Wed, Jun 11, 2008 at 01:22:18AM -0500, Jens Vagelpohl wrote: > > The zope.org-related servers and services maintained by Zope Corporation > > will be moving to a new home late Thursday night Eastern Standard Time. > > > How lon

[Zope] Re: acl_users folder > 25000

2008-06-06 Thread Max M
Kees de Brabander skrev: A client of mine wants a site that is only accessible for members. However, there are more than 25000 members. Are there any reasons that would make it unwise to populate an ordinary acl_users folder with such a number of user accounts? Have you tried to just generate

Re: [Zope] re: help required in [result.data_record_id_]

2008-06-04 Thread Dieter Maurer
suhail shaik wrote at 2008-6-2 12:25 +0100: > I am a novice in zope. i have to debug a program where i get the key value >error, traversal error. > >a lil info from the error log. > >"Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__ > - __traceback_info__: >here.getStoryNumber(her

[Zope] Re: acl_users folder > 25000

2008-06-04 Thread Riccardo Lemmi
Kees de Brabander wrote: > A client of mine wants a site that is only accessible for members. However, > there are more than 25000 members. Are there any reasons that would make it > unwise to populate an ordinary acl_users folder with such a number of user > accounts? we have a Plone site with 3

Re: [Zope] Re: PageTemplates len() of unsized object

2008-06-02 Thread Philipp von Weitershausen
On 2 Jun 2008, at 20:44 , Dieter Maurer wrote: Philipp von Weitershausen wrote at 2008-5-28 21:52 +0200: Dieter Maurer wrote: 2008-05-24T09:31:32 ERROR Zope.SiteErrorLog http://myurl/error_log/manage_main Traceback (innermost last): Module ZPublisher.Publish, line 119, in publish Module ZPubl

Re: [Zope] Re: PageTemplates len() of unsized object

2008-06-02 Thread Dieter Maurer
Philipp von Weitershausen wrote at 2008-5-28 21:52 +0200: >Dieter Maurer wrote: >>> 2008-05-24T09:31:32 ERROR Zope.SiteErrorLog >>> http://myurl/error_log/manage_main >>> Traceback (innermost last): >>> Module ZPublisher.Publish, line 119, in publish >>> Module ZPublisher.mapply, line 88, in m

[Zope] re: help required in [result.data_record_id_]

2008-06-02 Thread suhail shaik
Hi, I am a novice in zope. i have to debug a program where i get the key value error, traversal error. a lil info from the error log. "Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__ - __traceback_info__: here.getStoryNumber(here.catalog.data.getobject(result.data_record_id_

Re: [Zope] Re: zope-memory-readings

2008-05-30 Thread Paul Winkler
On Fri, May 30, 2008 at 3:56 PM, Tres Seaver <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Peter Bengtsson wrote: >> Check it out >> http://code.google.com/p/zope-memory-readings/ >> >> Perhaps useful > > Looks really cool. Thanks for releasing it! Yeah. It also

[Zope] Re: zope-memory-readings

2008-05-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: > Check it out > http://code.google.com/p/zope-memory-readings/ > > Perhaps useful Looks really cool. Thanks for releasing it! Tres. - -- === Tres Seaver

Re: [Zope] Re: Displaying Graphs using TAL

2008-05-30 Thread Tino Wildenhain
Hi, Encolpe Degoute wrote: ... If your site is only for FireFox or evolved browser you can use inline not only Firefox. also Opera supports this for years :-) It is not totally ideal because of the overhead due to the base64-encoding. For graphs (as the op wants to show) I think in the long

Re: [Zope] Re: Displaying Graphs using TAL

2008-05-30 Thread Andreas Jung
--On 30. Mai 2008 10:20:28 +0200 Encolpe Degoute <[EMAIL PROTECTED]> wrote: Andreas Jung a écrit : --On 30. Mai 2008 12:38:21 +0530 Andyy <[EMAIL PROTECTED]> wrote: i am preparing graphs(MatPlotLib) related files using external methods., when i test them on zope they display very well t

[Zope] Re: Displaying Graphs using TAL

2008-05-30 Thread Encolpe Degoute
Andreas Jung a écrit : > > > --On 30. Mai 2008 12:38:21 +0530 Andyy > <[EMAIL PROTECTED]> wrote: > >> i am preparing graphs(MatPlotLib) related files using external methods., >> when i test them on zope they display very well there. >> >> But when i call these external methods using tal as: >> >

[Zope] Re: PageTemplates len() of unsized object

2008-05-28 Thread Philipp von Weitershausen
Dieter Maurer wrote: Giampiero Benvenuti wrote at 2008-5-24 11:47 +0200: ... after the upgrade from zope2.9.7 to 2.10.6 i get this error in the event log: 2008-05-24T09:31:32 ERROR Zope.SiteErrorLog http://myurl/error_log/manage_main Traceback (innermost last): Module ZPublisher.Publish, l

[Zope] Re: dtml-tree documentation

2008-05-25 Thread Philipp von Weitershausen
Andreas Jung wrote: Is there a complete documentation of the dtml-tree tag anywhere? The dtml reference of the Zope book has the following for some options: "This attribute is for advanced usage only" Where can I find out about this 'advanced usage'? Using DTML and related DTML tags is like dri

Re: [Zope] Re: Confused about permissions

2008-05-16 Thread Dieter Maurer
Brenda Bell wrote at 2008-5-13 13:27 +: >In article <[EMAIL PROTECTED]>, > Brenda Bell <[EMAIL PROTECTED]> > wrote: > >> What I can't seem to do is get the permissions right such that a user in >> the Editor role can add new External Files. >> >> I've checked every box on the Security tab fo

[Zope] Re: one zope instance per cpu

2008-05-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sours, Kevin wrote: > > >> Four: the idea is to split up the processes so that their threads > make best >> use of the available CPUs. Python's global interpreter lock makes > using more >> than one CPU within a single process problematic. > >

[Zope] Re: Confused about permissions

2008-05-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brenda Bell wrote: > In article <[EMAIL PROTECTED]>, > Brenda Bell <[EMAIL PROTECTED]> > wrote: > >> What I can't seem to do is get the permissions right such that a user in >> the Editor role can add new External Files. >> >> I've checked every b

RE: [Zope] Re: one zope instance per cpu

2008-05-14 Thread Sours, Kevin
> Four: the idea is to split up the processes so that their threads make best > use of the available CPUs. Python's global interpreter lock makes using more > than one CPU within a single process problematic. In the multiprocess setup, is it better to run a single thread per process or mult

[Zope] Re: one zope instance per cpu

2008-05-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pat McNamee wrote: >> Generally, the rule-of-thumb for scaling Zope on a multi-CPU box is to >> run an appserver instance per CPU, each talking to a shared storage... > > I came across the preceeding post while googling for info about the > one zope p

Re: [Zope] Re: Strange property behaviour - why? (zope 2.10/Five)

2008-05-13 Thread Piotr Chamera
Suresh V. pisze: Piotr Chamera wrote: def list_items2(self): """ test """ return self.items try to remove acquisition wrapper before you access items? But this function returns no value, it fails to find "items" attribute in self and tries to find it through acquisition :(

[Zope] Re: Confused about permissions

2008-05-13 Thread Brenda Bell
In article <[EMAIL PROTECTED]>, Brenda Bell <[EMAIL PROTECTED]> wrote: > What I can't seem to do is get the permissions right such that a user in > the Editor role can add new External Files. > > I've checked every box on the Security tab for the Editor role. Users > in the Editor role can

[Zope] Re: Strange property behaviour - why? (zope 2.10/Five)

2008-05-13 Thread Suresh V.
Piotr Chamera wrote: def list_items2(self): """ test """ return self.items try to remove acquisition wrapper before you access items? Suresh ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Re: disappearing external methods

2008-05-07 Thread Garry Saddington
On Wednesday 07 May 2008 18:13, Josef Meile wrote: > Garry Saddington schrieb: > >> Have you tried deleting the .pyc files associated with the external > >> methods and then restarting zope? > > > > There are no .pyc files in any of our installations. > > Have you used the Zope that comes with Cent

[Zope] Re: disappearing external methods

2008-05-07 Thread Josef Meile
Garry Saddington schrieb: Have you tried deleting the .pyc files associated with the external methods and then restarting zope? There are no .pyc files in any of our installations. Have you used the Zope that comes with Centos or from Zope.org? Tried, as somebody say, to open the external method

[Zope] Re: Zope threads and the GIL

2008-05-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manuel Vazquez Acosta wrote: > Dieter Maurer wrote: >> Manuel Vazquez Acosta wrote at 2008-5-4 11:12 -0400: >>> ... >>> That would mean that the only place where real multitasking occurs is >>> when fetching objects from ZEO and other I/O bounded tasks

[Zope] Re: But I have python2.4-dev installed

2008-05-01 Thread Peter Bengtsson
Turns out that I was missing libc6-dev (I had libc6) 2008/4/28 Tres Seaver <[EMAIL PROTECTED]>: > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > Peter Bengtsson wrote: > > Searching the mailing list it seems that the uniform advice is to > > install python2.4-dev but I already have

[Zope] Re: Check for currently loged in users

2008-04-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 robert rottermann wrote: > 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 m

[Zope] Re: But I have python2.4-dev installed

2008-04-28 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: > Searching the mailing list it seems that the uniform advice is to > install python2.4-dev but I already have that installed. I also > installed the metapackage > python-all-dev just to be safe. I'll paste the whole error of wha

[Zope] Re: manage_tabs.dtml (was manage_users.dtml)

2008-04-25 Thread Tom Von Lahndorff
It was using manage_tabs.dtml in /Products/ExternalEditor. Wow, that was driving me nuts. On Fri, Apr 25, 2008 at 4:08 PM, Tom Von Lahndorff <[EMAIL PROTECTED]> wrote: > Sorry!! I meant /python/App/dtml/manage_tabs.dtml > > -- Forwarded message -- > From: Tom Von Lahndorff <[EMA

Re: [Zope] Re: Extensive Javascript GUI and security

2008-04-24 Thread Tim Nash
It is just a how to. And judging by the lack of discussion it has generated I guess it is old news. Oh well, I am figuring out the security problems anyway. I'm thinking of switching to zope 3 just to get more feedback on my posts! Well that and the Flint project looks interesting. :) On Thu, A

Re: [Zope] Re: Extensive Javascript GUI and security

2008-04-24 Thread Garito
But did you pretend to make something useful or a demo is enough? Why don't make the demo changing the ZMI GUI or something more useful? (ZMI is old enough and needs a renew version, don't you think so?) Thanks! 2008/4/23, Tim Nash <[EMAIL PROTECTED]>: > > Sorry, I am not a great writer. Let me l

Re: [Zope] Re: Extensive Javascript GUI and security

2008-04-23 Thread Tim Nash
Sorry, I am not a great writer. Let me list the points: -The code demonstrates how to build a full GUI in javascript. - It uses the extjs library. - Building a GUI like this reduces the load on zope which makes zope scalable. - You can also distribute your GUI code to be closer to your customers.

Re: [Zope] Re: Extensive Javascript GUI and security

2008-04-23 Thread Garito
Sorry, Tim, but I don't catch what you pretend with this demo Can you explain more about this test? Thanks! 2008/4/23, Tim Nash <[EMAIL PROTECTED]>: > > I updated the 'HowTo' to now include a TTW version of the same > product. This could be a useful way to compare TTW code with product > based c

[Zope] Re: Extensive Javascript GUI and security

2008-04-22 Thread Tim Nash
I updated the 'HowTo' to now include a TTW version of the same product. This could be a useful way to compare TTW code with product based code for anyone interested. That is if the security issues are resolved. http://wiki.zope.org/zope2/HowToCreateJavascriptGUI The TTW zexp also doesn't require

Re: [Zope] Re: anyone heard of Zamasing?

2008-04-21 Thread Garito
The tecnique showed by Tim is the same I use at Zope Smart Manager but I prefer prototype and scriptaculous. At this time the most active community is, perhaps, RoR and they use the same libraries And when I use a Zope manage page like the constructor of a product I use ModalBox to show it as a di

[Zope] Re: anyone heard of Zamasing?

2008-04-21 Thread Simon Michael
Tim Nash wrote: find a way to upload the zexp to the wiki but I don't see how to do You're absolutely right, I forgot we restricted this to authenticated users when junk uploads became a problem. I did the upload and changed the link. Contact me for a wiki.zope.org login so you can do more u

Re: [Zope] Re: anyone heard of Zamasing?

2008-04-19 Thread Tim Nash
I created an entry and added a link to the zexp on my site. I tried to find a way to upload the zexp to the wiki but I don't see how to do it. I tried mozilla and safari 3 on mac. It may be one of those deals where the icon only shows up on Internet explorer. Here is the link: http://wiki.zope.or

[Zope] Re: anyone heard of Zamasing?

2008-04-19 Thread Simon Michael
Tim Nash wrote: I created a zexp that demonstrates the use of extjs and zope but I don't know where to put it for anyone that might be interested. Can the wiki.zope.org/zope2 site accept .zexp uploads? Hi Tim - yes it can, see the edit form. However there is a size limit, it's either 1Mb or

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
Miguel Beltran R. wrote: Yes please and thakns to every body Here you go : #!/bin/python import base64 import urllib2 base64string = base64.encodestring('%s:%s' % ("username", "password")) url = "http://10.28.1.239/bitacoras/alta/estado2.html"; req = urllib2.Request(url) req.add_header("Au

Re: [Zope] Re: anyone heard of Zamasing?

2008-04-18 Thread Tim Nash
Simon, I created a zexp that demonstrates the use of extjs and zope but I don't know where to put it for anyone that might be interested. Can the wiki.zope.org/zope2 site accept .zexp uploads? This zexp doesn't require the installation of extjs to see how it works because it uses the extjs cac

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Miguel Beltran R.
Yes please and thakns to every body 2008/4/18, Martijn Jacobs <[EMAIL PROTECTED]>: > > I have a very old python script which does want you want, I can send it to > you if you like. > > > Martijn > > Using web browser work fine. > > Using wireshark I see what my python program not send WWW-Authe

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
I have a very old python script which does want you want, I can send it to you if you like. Martijn Using web browser work fine. Using wireshark I see what my python program not send WWW-Authentification. Now I going to python list. But if someone know how can tell me please 2008/4/18, Mart

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Miguel Beltran R.
Using web browser work fine. Using wireshark I see what my python program not send WWW-Authentification. Now I going to python list. But if someone know how can tell me please 2008/4/18, Martijn Jacobs <[EMAIL PROTECTED]>: > Miguel Beltran R. wrote: > > > #Martijn > > Yes, have role manager > >

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
Miguel Beltran R. wrote: #Martijn Yes, have role manager What if you login with the user with your webbrowser instead of your python program? -- Martijn Jacobs Four Digits, Internet Solutions a: Willemsplein 15-1 6811 KB Arnhem NL kvk: 09162137 | btw: 8161.22.234.B01 e-mail: [EMAI

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Miguel Beltran R.
#Martijn Yes, have role manager #Josef After change options and restart Z2.log: 10.28.1.18 - admin [18/Apr/2008:17:01:08 +0200] "GET /Control_Panel/manage_main HTTP/1.1" 200 8023 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; es-AR; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14" 10.28.1.18 - Anon

Re: [Zope] Re: authentication with python program

2008-04-18 Thread Martijn Jacobs
Hi Miguel, Is the dtml page accessable by the role "myuser" has? Did you set the "Use Database Methods" permission for that role? Hi Miguel First, you could drop the Unauthorized Exception from the error_log object in the root folder of the zope management interface. Then activate the ve

[Zope] Re: authentication with python program

2008-04-18 Thread Josef Meile
Hi Miguel First, you could drop the Unauthorized Exception from the error_log object in the root folder of the zope management interface. Then activate the verbose-security option in your zope.conf file. To do this, you need to put/replace this lines: security-policy-implementation python verbos

[Zope] Re: anyone heard of Zamasing?

2008-04-17 Thread Simon Michael
Tim Nash wrote: up-to-date documentation than anything else. Products are the way to go. It is very much like wriitng 'Scripts Python'. I am going to put a simple 'boring' product on the zope.org site (if they let me) which Hi Tim.. put it also on http://wiki.zope.org/zope2 if you wish. That is

[Zope] Re: [Zope3-Users] Authentication without cookies

2008-04-14 Thread Jonathan
- Original Message - From: "Hermann Himmelbauer" <[EMAIL PROTECTED]> To: "Peter Bengtsson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, April 14, 2008 1:34 PM Subject: Re: [Zope3-Users] Authentication without cookies Am Montag, 14. April 2008 18:55 schrieb Peter Bengtsso

Re: [Zope] Re: Conditional dtml-boundary in dtml-sendmail

2008-04-14 Thread Chris Withers
Josef Meile wrote: Well, I guess I will do an external method on my own server and then try to convince the people owning the machine where the page is hosted to include it. You could do a lot worse that using MailTemplates: http://www.simplistix.co.uk/software/zope/mailtemplates It's a stab

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

2008-04-14 Thread Yuri
> I would like to have an easy way to develop without having to be subject > to dependencies from other envinroment, minimize the effort to mantain > it and focus on doing things :) > Maybe not exactly what you are asking for but I recommend you play with buildout a bit - I'm sure you'l

[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 > challenge (at lea

[Zope] Re: Critical System Hosed, Plan B - upgrade zope, convert db

2008-04-12 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wes Modes wrote: > Okay, I accept that Zope is a mysterious god that requires sacrifice. > And I wasn't able to solve the mysteries of how to get it up and running > again with my old data after an unintentional "upgrade." > > However... I can upg

  1   2   3   4   5   6   7   8   9   10   >