Re: [Zope] writing repozo messaging output to a file....

2009-02-05 Thread michael nt milne
Hi Stephan

Thanks for this. I added the output file bit,  output1.txt , didn't know
where to create the file, so I created it in all 3 possible places on our
LIVE server where the task runs

   - D:\Program Files\Enfold Server\Zope\utilities\ZODBTools
   - Data/Backup/Hot-Back-Ups
   - Server/var/Data.fs

Ran the task and nothing was written to any of the files?

michael


On Tue, Feb 3, 2009 at 10:59 PM, Stephan Richter 
srich...@cosmos.phy.tufts.edu wrote:

 On Tuesday 03 February 2009, michael nt milne wrote:
  repozo -BvzQ -r /foo/backup -f /foo/Data.fs

 repozo -BvzQ -r /foo/backup -f /foo/Data.fs  output.txt

 Regards,
 Stephan
 --
 Stephan Richter
 Web Software Design, Development and Training
 Google me. Zope Stephan Richter

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] writing repozo messaging output to a file....

2009-02-03 Thread michael nt milne
Would anyone know how to modify the repozo command to log output messages to
a file?

I realise that the 'v' flat displays messaging, however we're using a tool
(VisualCron) which runs a series of commands and we are unable to view
python output when this tool executes python commands...

repozo -BvzQ -r /foo/backup -f /foo/Data.fs


michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] effectiveRange GET URL search syntax...

2008-09-17 Thread michael nt milne
 Go troll somewhere else...

You're funny guy. Pity you can't simply answer the question instead of
posting useless nonsense...It would be a lot more helpful.

michael


On Tue, Sep 16, 2008 at 11:36 PM, Chris Withers [EMAIL PROTECTED]wrote:

 michael nt milne wrote:

 so i guess zope can't do this then...maybe Drupal or Ruby can


 Go troll somewhere else...

 Chris

 --
 Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] documentation for ZCatalog apart from the Zope Book?

2008-09-17 Thread michael nt milne
Hi Paul

Yes, I found my way to the latest version of the Zope book, thanks. I'll
have a look at the text files. Am attempting a daterange index based search
and it's proving very frustrating. Basically something along the lines of
what's on this Plone site, search content based on a start and an end
datehttp://spain.babeloo.es/

michael


On Wed, Sep 17, 2008 at 2:31 PM, Paul Winkler [EMAIL PROTECTED] wrote:

 On Tue, Sep 16, 2008 at 07:45:45PM +0100, michael nt milne wrote:
  Hi
 
  Is there any in-depth documentation anywhere on the Zope search facility
 the
  ZCatalog, how to build indexes and access these. I find that the Zope
 Book
  online is ok but not quite enough to really get to grips with it.

 I assume you are looking at the last version,
 http://plope.com/Books/2_7Edition/SearchingZCatalog.stx

 Other than that, there's some .txt files in the source that you might
 look at. Not sure how helpful they will be, but it's worth a look.
 Look under lib/python/Products/ZCatalog/ and
 lib/python/Products/PluginIndexes.


 --

 Paul Winkler
 http://www.slinkp.com
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] documentation for ZCatalog apart from the Zope Book?

2008-09-16 Thread michael nt milne
Hi

Is there any in-depth documentation anywhere on the Zope search facility the
ZCatalog, how to build indexes and access these. I find that the Zope Book
online is ok but not quite enough to really get to grips with it.

Thanks

michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] creating a basic Z Search Interface form from the ZMI with Zope defaults creates error...

2008-09-11 Thread michael nt milne
Thanks for the response

I'm using forms generated by Zope through Z Search Method and am not
entering a start argument, simply entering text into a field and
pressing submit...

michael



On Thu, Sep 11, 2008 at 7:30 AM, Israel Saeta Pérez [EMAIL PROTECTED] wrote:
 The line #65 in ZTUtils.Batch,

  start = start + 1,

 suggest that your 'start' argument for Batch is a string, when it
 should be an integer. Check it.


 On Wed, Sep 10, 2008 at 8:24 PM, michael nt milne
 [EMAIL PROTECTED] wrote:
 Hi

 I've just created a simple Z Search Interface form from the root of a
 site. It's created a results page. The form lists all the searchable
 fields, however when I do a simple search of my catalog within the
 'Title' field..or any other field I get this error message...I know
 what the error means but cannot work out why there should be text and
 an integer being posted through when all I have done is search on a
 text field!!

 Thanks

 (Zope 2.10.5-final, python 2.4.3, linux2)

 Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 426, in pt_render
  Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
  Module Products.CacheSetup.patch_utils, line 9, in call_pattern
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
   - __traceback_info__: modules['ZTUtils'].Batch(results,
   size=20,
start=start)
  Module PythonExpr, line 1, in expression
  Module ZTUtils.Zope, line 149, in __init__
  Module ZTUtils.Batch, line 65, in __init__
 TypeError: cannot concatenate 'str' and 'int' objects

 michael
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )




 --
 Israel Saeta Pérez
 http://dukebody.com
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] creating a basic Z Search Interface form from the ZMI with Zope defaults creates error...

2008-09-11 Thread michael nt milne
This is the code from the start of the generated Zope form. I'd expect
it to work since it generated it itself! :-)

 body tal:define=results  here/portal_catalog;
start request/start|python:0;
batch python:modules['ZTUtils'].Batch(results,
  size=20,
  start=start);
previous python:batch.previous;
next python:batch.next

  p
a tal:condition=previous
   tal:attributes=href string:${request/URL0}?start:int=${previous/first}
   href=previous_urlprevious span
tal:replace=previous/length20/span results/a
a tal:condition=next
   tal:attributes=href string:${request/URL0}?start:int=${next/first}
   href=next_urlnext span tal:replace=next/length20/span
results/a
  /p

michael



On Thu, Sep 11, 2008 at 12:37 PM, michael nt milne
[EMAIL PROTECTED] wrote:
 Thanks for the response

 I'm using forms generated by Zope through Z Search Method and am not
 entering a start argument, simply entering text into a field and
 pressing submit...

 michael



 On Thu, Sep 11, 2008 at 7:30 AM, Israel Saeta Pérez [EMAIL PROTECTED] wrote:
 The line #65 in ZTUtils.Batch,

  start = start + 1,

 suggest that your 'start' argument for Batch is a string, when it
 should be an integer. Check it.


 On Wed, Sep 10, 2008 at 8:24 PM, michael nt milne
 [EMAIL PROTECTED] wrote:
 Hi

 I've just created a simple Z Search Interface form from the root of a
 site. It's created a results page. The form lists all the searchable
 fields, however when I do a simple search of my catalog within the
 'Title' field..or any other field I get this error message...I know
 what the error means but cannot work out why there should be text and
 an integer being posted through when all I have done is search on a
 text field!!

 Thanks

 (Zope 2.10.5-final, python 2.4.3, linux2)

 Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 426, in pt_render
  Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
  Module Products.CacheSetup.patch_utils, line 9, in call_pattern
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
   - __traceback_info__: modules['ZTUtils'].Batch(results,
   size=20,
start=start)
  Module PythonExpr, line 1, in expression
  Module ZTUtils.Zope, line 149, in __init__
  Module ZTUtils.Batch, line 65, in __init__
 TypeError: cannot concatenate 'str' and 'int' objects

 michael
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )




 --
 Israel Saeta Pérez
 http://dukebody.com
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] creating a basic Z Search Interface form from the ZMI with Zope defaults creates error...

2008-09-10 Thread michael nt milne
Hi

I've just created a simple Z Search Interface form from the root of a
site. It's created a results page. The form lists all the searchable
fields, however when I do a simple search of my catalog within the
'Title' field..or any other field I get this error message...I know
what the error means but cannot work out why there should be text and
an integer being posted through when all I have done is search on a
text field!!

Thanks

(Zope 2.10.5-final, python 2.4.3, linux2)

Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module Shared.DC.Scripts.Bindings, line 313, in __call__
  Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
  Module Products.PageTemplates.ZopePageTemplate, line 330, in _exec
  Module Products.PageTemplates.ZopePageTemplate, line 426, in pt_render
  Module Products.CacheSetup.patch_cmf, line 74, in PT_pt_render
  Module Products.CacheSetup.patch_utils, line 9, in call_pattern
  Module Products.PageTemplates.PageTemplate, line 89, in pt_render
  Module zope.pagetemplate.pagetemplate, line 117, in pt_render
  Module zope.tal.talinterpreter, line 271, in __call__
  Module zope.tal.talinterpreter, line 346, in interpret
  Module zope.tal.talinterpreter, line 586, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
  Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
   - __traceback_info__: modules['ZTUtils'].Batch(results,
   size=20,
start=start)
  Module PythonExpr, line 1, in expression
  Module ZTUtils.Zope, line 149, in __init__
  Module ZTUtils.Batch, line 65, in __init__
TypeError: cannot concatenate 'str' and 'int' objects

michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] worldcookery.com five tutorial ploneconf05 - AttributeError: DateTime instance has no __call__ method...

2008-04-01 Thread michael nt milne
Hi

Been following this turorial at:

http://worldcookery.com/files/ploneconf05-five/index.html

Using Plone 3.0.6. and Zope 2.10.5 and trying to view
http://localhost:8080/portal/news/atom.xml

leads me to the below error. Plone 3 thing?

  Module zope.tales.tales, line 696, in evaluate
   - URL: index
   - Line 22, Column 3
   - Expression: PythonExpr (obj.modified().HTML4())
   - Names:
  {'container': ATBTreeFolder at /portal/news,
   'context': ATBTreeFolder at /portal/news,
   'default': object object at 0x008BB528,
   'here': ATBTreeFolder at /portal/news,
   'loop': {u'obj':
Products.PageTemplates.Expressions.PathIterator object at
0x082FFB10},
   'nothing': None,
   'options': {'args': (Products.Five.metaclass.SimpleViewClass
from C:\Enfold\Products\FiveFeeds\atom.pt object at 0x082FFD50,)},
   'repeat': Products.PageTemplates.Expressions.SafeMapping
object at 0x0864EE68,
   'request': HTTPRequest, URL=http://localhost:8080/portal/news/atom.xml,
   'root': Application at ,
   'template': ImplicitAcquirerWrapper object at 0x082FFDD0,
   'traverse_subpath': [],
   'user': PropertiedUser 'michael',
   'view': Products.Five.metaclass.SimpleViewClass from
C:\Enfold\Products\FiveFeeds\atom.pt object at 0x082FFD50,
   'views': zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x082FF990}
  Module zope.tales.pythonexpr, line 59, in __call__
   - __traceback_info__: (obj.modified().HTML4())
  Module string, line 0, in ?
AttributeError: DateTime instance has no __call__ method

-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] http://www.benjiyork.com/quick_start/ - tutorial - problems with...

2008-04-01 Thread michael nt milne
Hi

Seems to be a couple of problems with this tutorial:

http://www.benjiyork.com/quick_start/

1. Adding this to your configure.zcml

browser:addMenuItem
  class=.hello.HelloWorld
  title=QS Hello World
  permission=zope.ManageContent
  /

doesn't add anything to the add item drop-down in Zope

2. When following all the steps exactly and going to http://localhost:8080/hello

You get a resource not found.

By the way the include package=hello /...shouldn't that be
include package=hello file=configure.zcml /?

Thanks

-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: pointers on predicting ZODB size based on size of files to be imported?

2007-12-05 Thread michael nt milne
Thanks for the reply. Yes we would be packing and backing up each day,
so changes made to the db wouldn't be that much of an issue. I guess
the best way to do this is to just test using various file types and
record the changes to the ZODB.

On Dec 5, 2007 12:06 PM, Raphael Ritz [EMAIL PROTECTED] wrote:

 michael nt milne wrote:
  Hi
 
  Is there any documentation anywhere or advice on being able to estimate
  the size of a potential Zope ZODB instance based on the size of a
  current site? For example if you were to have a site of say 5 gb
  consisting of HTML pages, graphics, images, pdfs, word docs, excel files
  etc : are there any pointers anywhere on roughly how many gigs of ZODB
  this would take up? Obviously word, excel and other binary formats will
  likely translate to more weight...
 
  Also are there any ZODB growth prediction charts at all?
 

 There is no general answer to this question other than it depends ;-)

 In addition to the raw amount of data that you listed the most
 important additional piece of information you didn't provide
 is how busy people will be changing things.

 As any change or edit to an object causes this object to be written
 to the ZODB again your ZODB can grow (almost) arbitrarily fast until
 you pack it again. As packing removes the history (up to a point) it
 is again a policy decision on your side how much history you want
 or need to keep.

 With regard to the overhead added by having a file live in the ZODB
 versus being on the file system I think you shouldn't even worry.
 For a first estimate this difference shouldn't matter.
 There are exceptions, of course, like when you add Archetypes to
 the picture as AT tends to add a lot of overhead but that's not
 really a ZODB issue.

 Just my 2 cents.

 Raphael


  --
  michael
 
 
  
 
  ___
  Zope maillist  -  Zope@zope.org
  http://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
   http://mail.zope.org/mailman/listinfo/zope-announce
   http://mail.zope.org/mailman/listinfo/zope-dev )

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] pointers on predicting ZODB size based on size of files to be imported?

2007-12-04 Thread michael nt milne
Hi

Is there any documentation anywhere or advice on being able to estimate the
size of a potential Zope ZODB instance based on the size of a current site?
For example if you were to have a site of say 5 gb consisting of HTML pages,
graphics, images, pdfs, word docs, excel files etc : are there any pointers
anywhere on roughly how many gigs of ZODB this would take up? Obviously
word, excel and other binary formats will likely translate to more weight...

Also are there any ZODB growth prediction charts at all?

-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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

2007-11-07 Thread michael nt milne
ok thanks. I guess then if you're using the ZMI could you embed this in your
ZPT? But I guess that is not best practice.

On 11/6/07, Andrew Milton [EMAIL PROTECTED] wrote:

 +---[ michael nt milne ]--
 | thanks. Is there an example or a tutorial at all on this anywhere?


 # queryConnection holds the id of a DA


 connectionObject=getattr(self, queryConnection)
 connection = connectionObject()
 results = connection.query(SQL_GOES_HERE)

 This is from Product code, it should be usable (s/self/context/) in a
 PythonScript, but, I haven't tested it.


 --
 Andrew Milton
 [EMAIL PROTECTED]




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] running Zope/Plone on a Windows Virtual Machine?

2007-11-07 Thread michael nt milne
yes I realise about the single point of failure. Ideally of course we'd have
separate physical servers for this. It's an intranet so security is less of
an issue. There just seem to be advantages from running virtual machines.
I'm not an expert but aren't they easier to manage, rollback and back-up?
Possibly the best idea would be to have a dev and staging as virtual
machines on one server and then the live instance on another.

Interesting that a VM service would only require the RAM that Zope requires
normally. You would naturally think that the VM service would take up quite
a bit of RAM itself?

On 11/7/07, knitti [EMAIL PROTECTED] wrote:

 On 11/7/07, michael nt milne [EMAIL PROTECTED] wrote:
  ok, so you could have two virtual machines say development and also
 staging
  which sat alongside a live production 'non virtual' instance of Zope.
 This
  would all sit on the one physical machine. The dev and staging instances
  would be switched off and on as required. With enough RAM and CPU would
 this
  be a realistic set-up for a service?
 
 Yes. Here are the implications:
 - the hardware is your single point of complete failure
 - the whole machine would share its performance among native and virtual
 instances, so staging and development will have an impact on the
 production
 instance
 - if you production instance gets compromised, its not far for
 intruders to staging/development
 - the other way round (atack on zope instance, then attack on vm to
 reach the host)
 is pobably not very much harder

 why don't you just run 3 zope instances on the host? If its a pure
 zope application,
 then they won't interfere with each other. Although you can't upgrade zope
 idependently then, its in any case better resource-wise.

 --knitti




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] running Zope/Plone on a Windows Virtual Machine?

2007-11-07 Thread michael nt milne
Has anyone tried this or had any experience with this? We're using Enfold
Server and for staging and development purposes instead of using separate
machines we're thinking of setting up a 'virtual machines' on the same
server. There appear to be many
benefits. However knowing that Zope/Plone are RAM instensive this
could be an issue.

Thanks

-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] running Zope/Plone on a Windows Virtual Machine?

2007-11-07 Thread michael nt milne
ok, so you could have two virtual machines say development and also staging
which sat alongside a live production 'non virtual' instance of Zope. This
would all sit on the one physical machine. The dev and staging instances
would be switched off and on as required. With enough RAM and CPU would this
be a realistic set-up for a service?

On 11/7/07, knitti [EMAIL PROTECTED] wrote:

 On 11/7/07, michael nt milne [EMAIL PROTECTED] wrote:
  Has anyone tried this or had any experience with this? We're using
 Enfold
  Server and for staging and development purposes instead of using
 separate
  machines we're thinking of setting up a 'virtual machines' on the same
  server. There appear to be many benefits. However knowing
  that Zope/Plone are RAM instensive this
  could be an issue.

 There is no issue in running Zope in Windows _or_ running Zope inside a
 VM.
 It does need the same amount of RAM as running it not inside a VM. Whether
 that counts as RAM intensive or not depends on what you do with it and
 whether you have a comparison to another application.

 VMs tend to have a bit lower performance per MHz, so if you can live with
 that
 (and have the RAM to feed the VM) go ahead. You can later decide to put it
 on a dedicated machine anyway.

 --knitti




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] is it possible to bypass ZSQL methods and call stored procedures in sqlserver straight from ZPT?

2007-11-06 Thread michael nt milne
Hi

We have some dynamic ZSQL methods all working but are looking to optimise
our code and also access some stored procedures which are already written in
SQL Server.

The question is, can you go straight through to a relational database using
the connector object and call a stored procedure straight from a ZPT? Or
must you use a ZSQL method to access the procedure?

Thanks

-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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

2007-11-06 Thread michael nt milne
thanks. Is there an example or a tutorial at all on this anywhere?


On 11/6/07, Jaroslav Lukesh [EMAIL PROTECTED] wrote:

 Yes

 - Original Message -
 From: michael nt milne
 We have some dynamic ZSQL methods all working but are looking to optimise
 our code and also access some stored procedures which are already written
 in
 SQL Server.

 The question is, can you go straight through to a relational database
 using
 the connector object and call a stored procedure straight from a ZPT? Or
 must you use a ZSQL method to access the procedure?




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
So doing some more routing around on the lists I saw this advice

 FWIW you
 might want to call the query or execute methods directly on the DA
 connection object if they are supported.

Therefore my db connection object is

ado_db_connection. Modifying my code to the below and calling the
query method of the adapter now gives me an 'insufficient priviledges' in my
Plone site...Nearly there I feel. Strange as I am logged in as the
uberuser...

ul
li tal:define=query here/testquery tal:repeat=result python:
context.ado_db_connection().query(id='IT')
span tal:replace=repeat/result/firsnamefirstname goes here/span
/li
/ul


On 11/2/07, michael nt milne [EMAIL PROTECTED] wrote:

 ps for completeness

 here is the testquery ZSQL which works fine when tested in the ZMI and
 manually inputting the id variable.

 select * from tblEmployees where department = (dtml-sqlvar id
 type=string) order by 'location'

 I have 'id' in the argument field

 Thanks

 On 11/2/07, michael nt milne [EMAIL PROTECTED]  wrote:
 
  Hi Josef
 
 
 
  ul
  li tal:define=query here/testquery tal:repeat=result
  python:query(id='IT')
  span tal:replace=repeat/resultfirstname goes here/span
  /li
  /ul
 
  gives the same
 
   AttributeError: Results instance has no __call__ method
 
  As does
 
  span tal:replace=repeat/result/firstnameFirst Name/span
 
  As does
 
  span tal:replace=result/firstnameFirst Name/span
 
  !
 
  Thanks for your help. Not easy this ZPT!, even when you have read the
  documentation :-)
 
  On 11/2/07, Josef Meile [EMAIL PROTECTED]  wrote:
  
   Hi Michael
  
   michael nt milne schrieb:
yeah I have modified to this
   
li tal:define = query here/testquery
 tal:repeat=result python:query(id='IT')
span tal:replace=python:repeat['result'].firstnameFirst
Name/span
  /li
   
but get this as a result. Thanks for the reply.
   
Module Products.PTProfiler.ProfilerPatch, line 32, in
   __patched_call__
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: query(id='IT')
Module Python expression query(id='IT'), line 1, in expression
AttributeError: Results instance has no __call__ method
   I suspect that result isn't a dictionary. Why don't you try to print
   result instead and see its type? Try this:
  
   span tal:replace=repeat/result/span
  
   You could also try the other sintax for your zpt:
   span tal:replace=repeat/result/firstnameFirst Name/span
  
   Regards
   Josef
   ___
   Zope maillist  -  Zope@zope.org
   http://mail.zope.org/mailman/listinfo/zope
   **   No cross posts or HTML encoding!  **
   (Related lists -
   http://mail.zope.org/mailman/listinfo/zope-announce
   http://mail.zope.org/mailman/listinfo/zope-dev )
  
 
 
 
  --
  michael




 --
 michael




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
ok, thanks Duncan

ul
li tal:define=query nocall:here/testquery tal:repeat=result
python:query(id='IT')
span tal:replace=result/lastnamelastname goes here/span

/li
/ul

works! I went down a blind alley with calling the database adapter due to
confusion over the error message produced. Backs up my point about more
friendly and usable error messages.

Much appreciated!

On 11/2/07, Duncan Booth [EMAIL PROTECTED] wrote:

 michael nt milne [EMAIL PROTECTED]
 wrote:

 li tal:define = query here/testquery
   tal:repeat=result python:query(id='IT')
 span tal:replace=python:repeat['result'].firstnameFirst
  Name/spannbsp;
   /li
 
  but get this as a result. Thanks for the reply.
 
  Module Products.PTProfiler.ProfilerPatch, line 32, in __patched_call__
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
  - __traceback_info__: query(id='IT')
  Module Python expression query(id='IT'), line 1, in expression
  AttributeError: Results instance has no __call__ method

 That is because you already called the function.

 The tal:define=query here/testquery is (roughly) equivalent to:
 tal:define=query python:here.testquery(). If you want to use a path
 expression which evaluates to something callable so that you have a
 shorter
 name later when you call it then you explicitly say you don't want to call
 it:

tal:define=query nocall:here/testquery

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
ps for completeness

here is the testquery ZSQL which works fine when tested in the ZMI and
manually inputting the id variable.

select * from tblEmployees where department = (dtml-sqlvar id
type=string) order by 'location'

I have 'id' in the argument field

Thanks

On 11/2/07, michael nt milne [EMAIL PROTECTED] wrote:

 Hi Josef



 ul
 li tal:define=query here/testquery tal:repeat=result
 python:query(id='IT')
 span tal:replace=repeat/resultfirstname goes here/span
 /li
 /ul

 gives the same

  AttributeError: Results instance has no __call__ method

 As does

 span tal:replace=repeat/result/firstnameFirst Name/span

 As does

 span tal:replace=result/firstnameFirst Name/span

 !

 Thanks for your help. Not easy this ZPT!, even when you have read the
 documentation :-)

 On 11/2/07, Josef Meile [EMAIL PROTECTED] wrote:
 
  Hi Michael
 
  michael nt milne schrieb:
   yeah I have modified to this
  
   li tal:define = query here/testquery
tal:repeat=result python:query(id='IT')
   span tal:replace=python:repeat['result'].firstnameFirst
   Name/span
 /li
  
   but get this as a result. Thanks for the reply.
  
   Module Products.PTProfiler.ProfilerPatch, line 32, in __patched_call__
   Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: query(id='IT')
   Module Python expression query(id='IT'), line 1, in expression
   AttributeError: Results instance has no __call__ method
  I suspect that result isn't a dictionary. Why don't you try to print
  result instead and see its type? Try this:
 
  span tal:replace=repeat/result/span
 
  You could also try the other sintax for your zpt:
  span tal:replace=repeat/result/firstnameFirst Name/span
 
  Regards
  Josef
  ___
  Zope maillist  -  Zope@zope.org
  http://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 



 --
 michael




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-02 Thread michael nt milne
Hi Josef



ul
li tal:define=query here/testquery tal:repeat=result
python:query(id='IT')
span tal:replace=repeat/resultfirstname goes here/span
/li
/ul

gives the same

 AttributeError: Results instance has no __call__ method

As does

span tal:replace=repeat/result/firstnameFirst Name/span

As does

span tal:replace=result/firstnameFirst Name/span

!

Thanks for your help. Not easy this ZPT!, even when you have read the
documentation :-)

On 11/2/07, Josef Meile [EMAIL PROTECTED] wrote:

 Hi Michael

 michael nt milne schrieb:
  yeah I have modified to this
 
  li tal:define = query here/testquery
   tal:repeat=result python:query(id='IT')
  span tal:replace=python:repeat['result'].firstnameFirst
  Name/span
/li
 
  but get this as a result. Thanks for the reply.
 
  Module Products.PTProfiler.ProfilerPatch, line 32, in __patched_call__
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
  - __traceback_info__: query(id='IT')
  Module Python expression query(id='IT'), line 1, in expression
  AttributeError: Results instance has no __call__ method
 I suspect that result isn't a dictionary. Why don't you try to print
 result instead and see its type? Try this:

 span tal:replace=repeat/result/span

 You could also try the other sintax for your zpt:
 span tal:replace=repeat/result/firstnameFirst Name/span

 Regards
 Josef
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Defining a dictionary in ZPT?

2007-11-01 Thread michael nt milne
Hi

I've got this piece of code which is returning a keyerror on 'results' as I
haven't set up a dictionary for the variables. I'm not sure what the syntax
is for this within the ZPT. I've read about the 'options' dictionary. Can I
use that?

Thanks

ul
span tal:define=query here/testquery
li tal content=results python: query(id='IT')
span tal:replace=results/firstnameFirst Name/spannbsp;
/li
/span
/ul



-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Defining a dictionary in ZPT?

2007-11-01 Thread michael nt milne
yeah I have modified to this

li tal:define = query here/testquery
 tal:repeat=result python:query(id='IT')
span tal:replace=python:repeat['result'].firstnameFirst
Name/spannbsp;
  /li

but get this as a result. Thanks for the reply.

Module Products.PTProfiler.ProfilerPatch, line 32, in __patched_call__
Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
- __traceback_info__: query(id='IT')
Module Python expression query(id='IT'), line 1, in expression
AttributeError: Results instance has no __call__ method

On 11/1/07, Paul Winkler [EMAIL PROTECTED] wrote:

 On Thu, Nov 01, 2007 at 12:48:04PM +, michael nt milne wrote:
  Hi
 
  I've got this piece of code which is returning a keyerror on 'results'
 as I
  haven't set up a dictionary for the variables.
 (snip)
  span tal:define=query here/testquery
  li tal content=results python: query(id='IT')
  span tal:replace=results/firstnameFirst Name/spannbsp;
  /li

 li tal content doesn't make any sense.

 I suspect you want that to be:

 li tal:define=results ...


 --

 Paul Winkler
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Defining a dictionary in ZPT?

2007-11-01 Thread michael nt milne
1) don't make spaces around = in HTML attributes:
tal:define=query here/testquery

a mistake

2) Why do you use repeat['result'] ? Can you point us to documentation
where did you read it ?
   tal:replace=result/firstname  should work as expected or
   tal:replace=python:result[ 'firstname'] in case of result is
dictionary and you need to use python: for some reason.

http://wiki.zope.org/ZPT/RepeatVariable

requires repeat to be called. I used this as previously using
tal:replace=result/firstname produced a keyerror as I had no dictionaries
set up. The repeat variable sets-up a dictionary automatically...


3) what testquery returns ? I suppose it returns method, because you are
calling this method wit parameter 'id', but I don't think you meant it
in this way.

testquery returns a ZSQL query which works and is tested. The id variable is
totally meant as we are passing through a dynamic variable from a ZPT page
through to the ZSQL query. At the moment to simplify things! (required..)
this variable is fixed to 'IT'.

Thanks for your help


On 11/1/07, Radim Novotny [EMAIL PROTECTED] wrote:

 michael nt milne napsal(a):
  yeah I have modified to this
 
  li tal:define = query here/testquery
   tal:repeat=result python:query(id='IT')
  span tal:replace=python:repeat['result'].firstnameFirst
  Name/spannbsp;
/li
 

 1) don't make spaces around = in HTML attributes:
  tal:define=query here/testquery

 2) Why do you use repeat['result'] ? Can you point us to documentation
 where did you read it ?
 tal:replace=result/firstname  should work as expected or
 tal:replace=python:result['firstname'] in case of result is
 dictionary and you need to use python: for some reason.

 3) what testquery returns ? I suppose it returns method, because you are
 calling this method wit parameter 'id', but I don't think you meant it
 in this way.

 --
 Radim Novotny

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Two ZEO instances running on same server?

2007-09-18 Thread michael nt milne
I've got one ZEO instance of Plone 2.5.0 and one ZEO instance of Plone
2.5.3running on one UNIX server. These were both installed using the
unified
installer for UNIX. I've modified the ZEO ports and also all the ZOPE ports
so that there a no conflicts between the two instances.

When I access the ZMI in both instances I am seeing Plone sites mirrored
between the two instances. Even though the data.fs file for both sit in
different areas opt/Plone-2.5/zeocluster/ opt/Plone-2.5.3/zeocluster.


What I get is site names etc displayed which haven't been created in that
instance and vice versa. When clicking on the site, no actual data is
displayed and also skins aren't correct. It also looks like the /Products
directories are mirrored in ZOPE. However if I go into site set-up in Plone
and add/remove products the correct products are listed for each instance.


-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Two ZEO instances running on same server?

2007-09-18 Thread michael nt milne
Hi

The data.fs directories are both different though. It's only things like
site names and product listings that are being mirrored. Not actual site
content...

On 9/18/07, Martijn Pieters [EMAIL PROTECTED] wrote:

 On 9/18/07, michael nt milne [EMAIL PROTECTED] wrote:
  What I get is site names etc displayed which haven't been created in
 that
  instance and vice versa. When clicking on the site, no actual data is
  displayed and also skins aren't correct. It also looks like the
 /Products
  directories are mirrored in ZOPE. However if I go into site set-up in
 Plone
  and add/remove products the correct products are listed for each
 instance.

 Sounds like you'll need to double-check your ports, you have got some
 wires crossed somewhere.

 You can doublecheck this by looking at the Data.fs sizes and
 modification times in both ZEO server instances, I suspect that you
 have both your Zope clusters write to one Data.fs only.

 --
 Martijn Pieters




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Two ZEO instances running on same server?

2007-09-18 Thread michael nt milne
thanks for the help. Will carry out what you are saying

like you have some ports (or ZODB mount
points) set incorrectly.

ports all not conflicting

will check mountpoints..is this specified in the zope.conf?

On 9/18/07, Jonathan [EMAIL PROTECTED] wrote:


 - Original Message -
 From: michael nt milne [EMAIL PROTECTED]
 Subject: Re: [Zope] Two ZEO instances running on same server?
 
  The data.fs directories are both different though. It's only things like
  site names and product listings that are being mirrored. Not actual site
  content...

 As Michael mentioned, this sounds like you have some ports (or ZODB mount
 points) set incorrectly. To confirm:

 1- examine both Data.fs files and note the sizes and last modification
 times
 2- make a change (that will affect the ZODB) in only one of the Zope
 instances
 3- examine both Data.fs files.  Did the file size/modification time change
 in the expected Data.fs file and not change in the 'other' Data.fs file?


 Jonathan



 
  On 9/18/07, Martijn Pieters [EMAIL PROTECTED] wrote:
 
  On 9/18/07, michael nt milne [EMAIL PROTECTED] wrote:
   What I get is site names etc displayed which haven't been created in
  that
   instance and vice versa. When clicking on the site, no actual data is
   displayed and also skins aren't correct. It also looks like the
  /Products
   directories are mirrored in ZOPE. However if I go into site set-up in
  Plone
   and add/remove products the correct products are listed for each
  instance.
 
  Sounds like you'll need to double-check your ports, you have got some
  wires crossed somewhere.
 
  You can doublecheck this by looking at the Data.fs sizes and
  modification times in both ZEO server instances, I suspect that you
  have both your Zope clusters write to one Data.fs only.
 
  --
  Martijn Pieters
 
 
 
 
  --
  michael
 



 


  ___
  Zope maillist  -  Zope@zope.org
  http://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )
 



 


 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.487 / Virus Database: 269.13.21/1012 - Release Date:
 9/16/2007
 6:32 PM

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] does fsdump dump content objects to the file system?

2007-07-11 Thread michael nt milne

Hi

We have a requirement to export the content objects of a large plone based
intranet site out to a windows filesystem. This would be carried out on a
once a week basis in addition to daily back up of the ZODB. Management need
to know that all their digital assets are available from outside the ZODB
incase of disaster or for any future migration purposes (Hopefully not
required!)

I got a tip off about Tres Seaver's fsdump product and have been trying it
out on Plone 2.5.3 and Zope 2.9.7

Followed all the readmes and instructions. Created a dumper object and
performed a site dump.

I'm only getting .metadata and reference_catalog.catalog, uid_catalog etc
files coming out. The site has published folders and files/images etc.

I've tried creating a /home folder with only images and files underneath
that and a dump only results in .metadata from there.

Had a look at the code and it looks like it is set-up to dump folders and
files/images etc.

Probably missing something. Any comment appreciated.

Thanks

--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] how dump Zope database content into a file system directory tree?

2007-07-11 Thread michael nt milne

Hi Jim

Did you get this working?

On 9/13/05, Jim Washington [EMAIL PROTECTED] wrote:


[EMAIL PROTECTED] wrote:

Possible to dump content in Zope database into a
file system tree?


Yes.

http://www.zope.org/Members/tseaver/FSDump

--Jim Washington
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: does fsdump dump content objects to the file system?

2007-07-11 Thread michael nt milne

Thanks

On 7/11/07, Tres Seaver [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

michael nt milne wrote:
 Hi

 We have a requirement to export the content objects of a large plone
based
 intranet site out to a windows filesystem. This would be carried out on
a
 once a week basis in addition to daily back up of the ZODB. Management
need
 to know that all their digital assets are available from outside the
ZODB
 incase of disaster or for any future migration purposes (Hopefully not
 required!)

 I got a tip off about Tres Seaver's fsdump product and have been trying
it
 out on Plone 2.5.3 and Zope 2.9.7

 Followed all the readmes and instructions. Created a dumper object and
 performed a site dump.

 I'm only getting .metadata and reference_catalog.catalog, uid_catalog
etc
 files coming out. The site has published folders and files/images etc.

 I've tried creating a /home folder with only images and files underneath
 that and a dump only results in .metadata from there.

 Had a look at the code and it looks like it is set-up to dump folders
and
 files/images etc.

 Probably missing something. Any comment appreciated.

FSDump predates Plone, and even CMF:  it doesn't have support for
dumping arbitrary content objects.

Such support is available in GenericSetup (shipped as part of Plone
2.5).  For an example of using the GS framework to extract content
folder, see:

  http://palladion.com/home/tseaver/software/CMFFolderExport


Tres.
- --
===
Tres Seaver  +1 540-429-0999  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGlPQ8+gerLs4ltQ4RAt17AJ9cU//oPLU9z12HtepsHpE5wRi+XwCff+8b
9urEJRh6Qg4P681KQtdFoO8=
=wSQY
-END PGP SIGNATURE-

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] APE - are there plans for a new version for higher Zopes ?

2007-07-10 Thread michael nt milne

Hi

Have been looking into running a script which would export all the file
objects and folder structure of a site out onto an area on the filesystem.
This would be a management requirement as once a week they would like to
take a copy of all the assets separate from the ZODB.

This product looks good but I realise that it only runs with Zope 2.7. Just
wondering if there is a plan at all to upgrade it simply for file system
export?

http://plone.org/products/ape/

Thanks

--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: comments toggling not working for Zope Book etc

2007-06-21 Thread michael nt milne

ok, just wondering what the reason for that was? I used to find them very
useful especially on install etc. If it is a CSS thing they should still be
available via a URL etc..

On 6/20/07, Michael Haubenwallner [EMAIL PROTECTED] wrote:


michael nt milne schrieb:
 Hi

 Just wondering if the comments toggling is working for the Zope book.
Have
 tried in Internet Explorer and Firefox but they seem to be off
permanently.


http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ZopeArchitecture.stx


You are right, display of comments has been disabled in CSS by the end
of December 2006.

Hth,
Michael

--
http://www.zope.org/Members/d2m
http:/planetzope.org

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: comments toggling not working for Zope Book etc

2007-06-21 Thread michael nt milne

thanks

Is there a PDF of that at all?

On 6/21/07, Paul Winkler [EMAIL PROTECTED] wrote:


Because that version of the book is outdated. Try here:
http://www.plope.com/Books/2_7Edition

That newer version (2.7) stalled in development a couple years ago,
but it's already much improved and extended since the 2.6 version.

Many (most?) of the comments from the 2.6 version have been addressed
in the text.

-PW


On Thu, Jun 21, 2007 at 07:49:50PM +0100, michael nt milne wrote:
 ok, just wondering what the reason for that was? I used to find them
very
 useful especially on install etc. If it is a CSS thing they should still
be
 available via a URL etc..

 On 6/20/07, Michael Haubenwallner [EMAIL PROTECTED] wrote:
 
 michael nt milne schrieb:
  Hi
 
  Just wondering if the comments toggling is working for the Zope book.
 Have
  tried in Internet Explorer and Firefox but they seem to be off
 permanently.
 
 
 
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ZopeArchitecture.stx
 
 
 You are right, display of comments has been disabled in CSS by the end
 of December 2006.
 
 Hth,
 Michael
 
 --
 http://www.zope.org/Members/d2m
 http:/planetzope.org
 
 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
 



 --
 michael

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )


--

Paul Winkler
http://www.slinkp.com
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] comments toggling not working for Zope Book etc

2007-06-20 Thread michael nt milne

Hi

Just wondering if the comments toggling is working for the Zope book. Have
tried in Internet Explorer and Firefox but they seem to be off permanently.

http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ZopeArchitecture.stx

--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: ImportError: No module named cPersistence when creating new instance

2007-04-05 Thread michael nt milne

if the make install step had been missed then wouldn't the initial zope
instance be faulty?

On 4/4/07, Laurence Rowe [EMAIL PROTECTED] wrote:


Sounds like you have missed the make install step. You should then be
able to run $SOFTWARE_HOME/bin/mkzopeinstance.py directly to create a
new instance using this version of the software.

Laurence


michael nt milne wrote:
 yes, the main instance runs fine but not the new one which was created
 using mkzopeinstance.py...I checked the archives but they don't help

 On 4/4/07, *Martijn Pieters *
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 On 4/4/07, michael nt milne 
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   I'm getting this when running ./zopectl after creating a new
 instance. This
   was simply using the /utilities/mkzopeinstance.py script from
 within the
   main zope directory and running the system python on it. The
original
   instance works fine but not the new one. Any ideas?

 Did you compile the Zope C extensions? ./configure; make

 --
 Martijn Pieters




 --
 michael


 

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread michael nt milne

Traceback (innermost last):
 Module ZPublisher.Publish, line 115, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 41, in call_object
 Module Products.CMFPlone.factory, line 52, in addPloneSite
 Module Products.GenericSetup.tool, line 251, in runAllImportSteps
  - __traceback_info__: profile-CMFPlone:plone
 Module Products.GenericSetup.tool, line 725, in _doRunImportStep
  - __traceback_info__: plone-final
 Module Products.CMFPlone.setuphandlers, line 212, in importFinalSteps
 Module Products.CMFPlone.setuphandlers, line 109, in setupPortalContent
 Module Products.CMFPlone.utils, line 369, in _createObjectByType
 Module Products.CMFCore.TypesTool, line 357, in _finishConstruction
 Module Products.CMFCore.CMFCatalogAware, line 145, in notifyWorkflowCreated
 Module Products.CMFCore.WorkflowTool, line 354, in notifyCreated
 Module Products.CMFCore.WorkflowTool, line 699, in _reindexWorkflowVariables
 Module Products.Archetypes.CatalogMultiplex, line 66, in reindexObjectSecurity
 Module Products.ZCatalog.CatalogBrains, line 52, in _unrestrictedGetObject
 Module OFS.Traversable, line 187, in unrestrictedTraverse
  - __traceback_info__: ([], 'previous')
 Module Products.Five.traversable, line 115, in __bobo_traverse__
AttributeError: previous



--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread michael nt milne

i have zope 2.9.4 with Five 1.3.6. The instance was created using the bin
directory of the plone 2.5.2 unified installer..

On 4/4/07, Martijn Pieters [EMAIL PROTECTED] wrote:


On 4/4/07, michael nt milne [EMAIL PROTECTED] wrote:
  Module Products.Five.traversable, line 115, in __bobo_traverse__

 AttributeError: previous

Have you tried a more recent Zope 2.9 release?

--
Martijn Pieters





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread michael nt milne

Hi

I'm getting this when running ./zopectl after creating a new instance. This
was simply using the /utilities/mkzopeinstance.py script from within the
main zope directory and running the system python on it. The original
instance works fine but not the new one. Any ideas?


 File /home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/zopectl.py,
line 308, in ?
   main()
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/zopectl.py,
line 274, in main
   options.realize(args)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/zopectl.py,
line 91, in realize
   ZDOptions.realize(self, *args, **kw)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/zdaemon/zdoptions.py,
line 273, in realize
   self.load_schema()
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/zdaemon/zdoptions.py,
line 321, in load_schema
   self.schema = ZConfig.loadSchema(self.schemafile)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/loader.py,
line 31, in loadSchema
   return SchemaLoader().loadURL(url)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/loader.py,
line 65, in loadURL
   return self.loadResource(r)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/loader.py,
line 159, in loadResource
   schema = ZConfig.schema.parseResource(resource, self)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py,
line 27, in parseResource
   xml.sax.parse(resource.file, parser)
 File /usr/local/lib/python2.3/xml/sax/__init__.py, line 33, in parse
   parser.parse(source)
 File /usr/local/lib/python2.3/xml/sax/expatreader.py, line 107, in parse
   xmlreader.IncrementalParser.parse(self, source)
 File /usr/local/lib/python2.3/xml/sax/xmlreader.py, line 123, in parse
   self.feed(buffer)
 File /usr/local/lib/python2.3/xml/sax/expatreader.py, line 207, in feed
   self._parser.Parse(data, isFinal)
 File /usr/local/lib/python2.3/xml/sax/expatreader.py, line 300, in
start_element
   self._cont_handler.startElement(name, AttributesImpl(attrs))
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py,
line 99, in startElement
   getattr(self, start_ + name)(attrs)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py,
line 475, in start_schema
   keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py,
line 201, in get_sect_typeinfo
   datatype = self.get_datatype(attrs, datatype, null, base)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/schema.py,
line 194, in get_datatype
   return self._registry.get(dtname)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/datatypes.py,
line 398, in get
   t = self.search(name)
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZConfig/datatypes.py,
line 423, in search
   package = __import__(n, g, g, component)
 File 
/home/zopesinstance/Zope-2.9.3-src/lib/python/Zope2/Startup/datatypes.py,
line 20, in ?
   from ZODB.config import ZODBDatabase
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/ZODB/__init__.py,
line 21, in ?
   from persistent import TimeStamp
 File /home/zopesinstance/Zope-2.9.3-src/lib/python/persistent/__init__.py,
line 19, in ?
   from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
ImportError: No module named cPersistence
--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] getting this trying to add a plone site to zope 2.9.4...

2007-04-04 Thread michael nt milne

Well my original sites run fine in the instance created by the unified
installer. I'd like to use the Zope that is running that and not install a
new one. Why would the mkzopeinstance.py utility which is bundled with the
Plone 2.5 unified installer not create a zope instance which would run a
Plone 2.5 site?

Thanks

On 4/4/07, Martijn Pieters [EMAIL PROTECTED] wrote:


On 4/4/07, michael nt milne [EMAIL PROTECTED] wrote:
 i have zope 2.9.4 with Five 1.3.6. The instance was created using the
bin
 directory of the plone 2.5.2 unified installer..

I saw you were using Zope 2.9.4; what I meant is that you should try
Zope 2.9.7 (3! bugfix releases newer), which includes a newer version
of Five as well.

We run plenty of Plone 2.5 sites on Zope 2.9 without any problems.

--
Martijn Pieters





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ImportError: No module named cPersistence when creating new instance

2007-04-04 Thread michael nt milne

yes, the main instance runs fine but not the new one which was created using
mkzopeinstance.py...I checked the archives but they don't help

On 4/4/07, Martijn Pieters [EMAIL PROTECTED] wrote:


On 4/4/07, michael nt milne [EMAIL PROTECTED] wrote:
 I'm getting this when running ./zopectl after creating a new instance.
This
 was simply using the /utilities/mkzopeinstance.py script from within the
 main zope directory and running the system python on it. The original
 instance works fine but not the new one. Any ideas?

Did you compile the Zope C extensions? ./configure; make

--
Martijn Pieters





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] IOError: [Errno 11] Resource temporarily unavailable for ./zopectl adduser...?

2007-04-03 Thread michael nt milne
   xmlreader.IncrementalParser.parse(self, source)
 File 
/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/xmlreader.py,
line 123, in parse
   self.feed(buffer)
 File 
/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py,
line 216, in feed
   self._parser.Parse(data, isFinal)
 File 
/opt/Plone-2.5/Python-2.4.3/lib/python2.4/site-packages/_xmlplus/sax/expatreader.py,
line 364, in end_element_ns
   self._cont_handler.endElementNS(pair, None)
 File /opt/Plone-2.5/lib/python/zope/configuration/xmlconfig.py, line
326, in endElementNS
   self.context.end()
 File /opt/Plone-2.5/lib/python/zope/configuration/config.py, line 544,
in end
   self.stack.pop().finish()
 File /opt/Plone-2.5/lib/python/zope/configuration/config.py, line 689,
in finish
   args = toargs(context, *self.argdata)
 File /opt/Plone-2.5/lib/python/zope/configuration/config.py, line 1381,
in toargs
   args[str(name)] = field.fromUnicode(s)
 File /opt/Plone-2.5/lib/python/zope/configuration/fields.py, line 231,
in fromUnicode
   raise InvalidToken(%s in %s % (v, u))
ZopeXMLConfigurationError: File
/opt/Plone-2.5/dvplone/Products/Five/skel/site.zcml,
line 7.2-7.37
   ZopeXMLConfigurationError: File
/opt/Plone-2.5/dvplone/Products/Five/configure.zcml,
line 12.2-12.32
   ZopeXMLConfigurationError: File
/opt/Plone-2.5/dvplone/Products/Five/formlib/configure.zcml,
line 15.2-18.8
   ConfigurationError: ('Invalid value for', 'factory', ImportError:
Couldn't import zope.formlib.errors, No module named errors in
.errors.InvalidErrorView)
2007-04-03 22:17:16 WARNING PlacelessTranslationService Message Catalog has
errors
/opt/Plone-2.5/dvplone/Products/PloneTranslations/i18n/plone-my.po
/opt/Plone-2.5/dvplone/Products/kupu/plone/__init__.py:32:
DeprecationWarning: The product_name parameter of ToolInit is deprecated and
will be ignored in CMF 2.0: kupu
 icon=kupu_icon.gif,
/opt/Plone-2.5/dvplone/Products/qPloneDropDownMenu/__init__.py:15:
DeprecationWarning: The product_name parameter of ToolInit is deprecated and
will be ignored in CMF 2.0: qPloneDropDownMenu
 icon='tool.gif'



On 4/3/07, Alexis Roda [EMAIL PROTECTED] wrote:


En/na michael nt milne ha escrit:

 Traceback (most recent call last):
   File string, line 1, in ?
   File /opt/Plone-2.5/lib/python/Zope2/__init__.py, line 51, in app
...
   File /opt/Plone-2.5/lib/python/ZODB/lock_file.py, line 42, in
lock_file
 fcntl.flock(file.fileno(), _flags)
 IOError: [Errno 11] Resource temporarily unavailable

zope is running, try stopping it first.



HTH
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: [Plone-Users] creating a new user in zope not using ./zopectl ?

2007-04-03 Thread michael nt milne

I'm not sure I understand the question.  This script will generate a file

called access -- just place this file in the file directory root of the
instance you need to access, make sure it has the correct ownership
settings, and restart the instance.

Hi - Well I have a Zeo instance with a single zope instance within it which
is controlled by the scripts in /bin in the Zeo instance. When I ran the
zpasswd.py from within the zope instance it didn't affect the login for the
zope instance.

On 4/3/07, Ricardo Newbery [EMAIL PROTECTED] wrote:


 At 10:02 PM +0100 4/3/07, michael nt milne wrote:


On 4/3/07,* Ricardo Newbery* [EMAIL PROTECTED] wrote:

At 12:45 AM +0100 4/3/07, michael nt milne wrote:
Hi

I need to create an new user or an emergency user in a Zope instance
outside of using ./zopectl adduser. I'm getting a 'resource not
available' message for that. Is there another way of creating an
emergency user in unix?


I haven't tried the zopectl method myself but I believe this is
supposed to create a real user with the Manager role -- this is not
an emergency user as the term is typically used.

If you mean instead to create an emergency user, use the zpasswd.py
utility from the Zope installation.

  python zpasswd.py access

Read SECURITY.txt in your Zope installation for details.

Ric


thanks but how would you do change a pass for a zope instance within the
main instance using zpaasswd? it seems to control only the main instance



I'm not sure I understand the question.  This script will generate a file
called access -- just place this file in the file directory root of the
instance you need to access, make sure it has the correct ownership
settings, and restart the instance.

Incidentally, I believe you can also just create this file manually.  The
assumption is that if you have access to the file system, you naturally also
have permission to access the Zope instance.

Ric





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] accessing the user search using mxODBC adapter

2007-03-14 Thread michael nt milne

Hi

No, no error tracebacks at all. Simply that the search for a user returns no
results. However the user can login fine.


On 3/14/07, Maciej Wisniowski [EMAIL PROTECTED] wrote:



 We're having issues getting a user listing back from a SQL server
 database using the default Plone user search. We have the mxODBC
 adapter all working for login but not for the user search. Does anyone
 have experience of issues here? Is it an issue with the user folder or
 is a ZSQL required?
For me, mxODBC can't be a problem here.
Do you have error tracebacks?

This issue can be better answered on Plone-users
list I think.

--
Maciej Wisniowski





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] accessing the user search using mxODBC adapter

2007-03-14 Thread michael nt milne

Yes, sorry using PlonePAS and mxODBC etc. I will post on the Plone list.

Thanks


On 3/14/07, Maciej Wisniowski [EMAIL PROTECTED] wrote:



 No, no error tracebacks at all. Simply that the search for a user
 returns no results. However the user can login fine.
AFAIR in PAS there are plugins that are responsible for listing users
but I have no idea how this works in PlonePAS and if this plugin is used
by
'default users search form'. So far you didn't even
tell us if you use PlonePAS and if so what kind of authentication plugin.

I still think this is a Plone related problem/question :)

--
Maciej Wisniowski





--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] accessing the user search using mxODBC adapter

2007-03-13 Thread michael nt milne

Hi

We're having issues getting a user listing back from a SQL server database
using the default Plone user search. We have the mxODBC adapter all working
for login but not for the user search. Does anyone have experience of issues
here? Is it an issue with the user folder or is a ZSQL required?

Thanks

--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Running ./zopectl gives NameError: name 'set' is not defined

2007-02-23 Thread michael nt milne

Hi

On trying to make a new zopeinstance from a Plone 2.5 instance created using
the unified installer I am getting the following error when I attempt to run
./zopectl and start the instance.

Traceback (most recent call last):
 File /opt/Plone-2.5/lib/python/Zope2/Startup/run.py, line 56, in ?
   run()
 File /opt/Plone-2.5/lib/python/Zope2/Startup/run.py, line 19, in run
   opts = _setconfig()
 File /opt/Plone-2.5/lib/python/Zope2/Startup/run.py, line 48, in
_setconfig
   opts.realize(doc=Sorry, no option docs yet.)
 File /opt/Plone-2.5/lib/python/zdaemon/zdoptions.py, line 273, in
realize
   self.load_schema()
 File /opt/Plone-2.5/lib/python/zdaemon/zdoptions.py, line 321, in
load_schema
   self.schema = ZConfig.loadSchema(self.schemafile)
 File /opt/Plone-2.5/lib/python/ZConfig/loader.py, line 31, in loadSchema
   return SchemaLoader().loadURL(url)
 File /opt/Plone-2.5/lib/python/ZConfig/loader.py, line 65, in loadURL
   return self.loadResource(r)
 File /opt/Plone-2.5/lib/python/ZConfig/loader.py, line 159, in
loadResource
   schema = ZConfig.schema.parseResource(resource, self)
 File /opt/Plone-2.5/lib/python/ZConfig/schema.py, line 27, in
parseResource
   xml.sax.parse(resource.file, parser)
 File /usr/local/lib/python2.3/xml/sax/__init__.py, line 33, in parse
   parser.parse(source)
 File /usr/local/lib/python2.3/xml/sax/expatreader.py, line 107, in parse
   xmlreader.IncrementalParser.parse(self, source)
 File /usr/local/lib/python2.3/xml/sax/xmlreader.py, line 123, in parse
   self.feed(buffer)
 File /usr/local/lib/python2.3/xml/sax/expatreader.py, line 207, in feed
   self._parser.Parse(data, isFinal)
 File /usr/local/lib/python2.3/xml/sax/expatreader.py, line 300, in
start_element
   self._cont_handler.startElement(name, AttributesImpl(attrs))
 File /opt/Plone-2.5/lib/python/ZConfig/schema.py, line 99, in
startElement
   getattr(self, start_ + name)(attrs)
 File /opt/Plone-2.5/lib/python/ZConfig/schema.py, line 475, in
start_schema
   keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
 File /opt/Plone-2.5/lib/python/ZConfig/schema.py, line 201, in
get_sect_typeinfo
   datatype = self.get_datatype(attrs, datatype, null, base)
 File /opt/Plone-2.5/lib/python/ZConfig/schema.py, line 194, in
get_datatype
   return self._registry.get(dtname)
 File /opt/Plone-2.5/lib/python/ZConfig/datatypes.py, line 398, in get
   t = self.search(name)
 File /opt/Plone-2.5/lib/python/ZConfig/datatypes.py, line 423, in search
   package = __import__(n, g, g, component)
 File /opt/Plone-2.5/lib/python/Zope2/Startup/datatypes.py, line 21, in ?
   import OFS.Uninstalled
 File /opt/Plone-2.5/lib/python/OFS/Uninstalled.py, line 20, in ?
   import SimpleItem, Globals, Acquisition
 File /opt/Plone-2.5/lib/python/OFS/SimpleItem.py, line 26, in ?
   import AccessControl.Role, AccessControl.Owned, App.Common
 File /opt/Plone-2.5/lib/python/AccessControl/__init__.py, line 17, in ?
   from Implementation import setImplementation
 File /opt/Plone-2.5/lib/python/AccessControl/Implementation.py, line 98,
in ?
   setImplementation(C)
 File /opt/Plone-2.5/lib/python/AccessControl/Implementation.py, line 51,
in setImplementation
   from AccessControl import ImplC as impl
 File /opt/Plone-2.5/lib/python/AccessControl/ImplC.py, line 18, in ?
   from cAccessControl import rolesForPermissionOn, \
 File /opt/Plone-2.5/lib/python/AccessControl/SimpleObjectPolicies.py,
line 82, in ?
   from DocumentTemplate.DT_Util import TemplateDict
 File /opt/Plone-2.5/lib/python/DocumentTemplate/__init__.py, line 21, in
?
   from DocumentTemplate import String, File, HTML, HTMLDefault, HTMLFile
 File /opt/Plone-2.5/lib/python/DocumentTemplate/DocumentTemplate.py,
line 112, in ?
   from DT_String import String, File
 File /opt/Plone-2.5/lib/python/DocumentTemplate/DT_String.py, line 19,
in ?
   from DT_Util import ParseError, InstanceDict, TemplateDict,
render_blocks, str
 File /opt/Plone-2.5/lib/python/DocumentTemplate/DT_Util.py, line 67, in
?
   from ZPublisher.TaintedString import TaintedString
 File /opt/Plone-2.5/lib/python/ZPublisher/__init__.py, line 24, in ?
   from Publish import publish_module, Retry
 File /opt/Plone-2.5/lib/python/ZPublisher/Publish.py, line 20, in ?
   from Request import Request
 File /opt/Plone-2.5/lib/python/ZPublisher/Request.py, line 13, in ?
   import HTTPRequest
 File /opt/Plone-2.5/lib/python/ZPublisher/HTTPRequest.py, line 18, in ?
   from BaseRequest import BaseRequest
 File /opt/Plone-2.5/lib/python/ZPublisher/BaseRequest.py, line 583, in ?
   itypes[set] = 0
NameError: name 'set' is not defined


Thanks


--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Alternative

2006-11-15 Thread michael nt milne
Philip Kilner [EMAIL PROTECTED] wrote:
Michael,michael nt milne wrote: Is there a reason that the Plone list gets 3 times the level of postings that the Zope list gets? Yes. because it is a more mature and constructive support environment which actually helps promote the product.
Bollocks.:-):-) ok I exaggerated the claim slightly for effect but only *slightly*. Of course there are many variables in the reasons why the Plone list gets more postings but one thing is true - it does have more 'class', is populated by more rounded people and is massively more supportive.
On 11/14/06, Philip Kilner [EMAIL PROTECTED] wrote:
Michael,michael nt milne wrote: Is there a reason that the Plone list gets 3 times the level of postings that the Zope list gets? Yes. because it is a more mature and constructive support environment which actually helps promote the product.
Bollocks.:-)--Regards,PhilKSay what you mean. Bear witness. Iterate. -John M. Ford-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Alternative

2006-11-14 Thread michael nt milne
For the record: my original response was not aimed at you personallyChris, it was just that your mail triggered the whole thing. I apologize
for making you the target (and for feeding some trolls :).
You make some very valid, correct points but then also make a very incorrect assumption as well. I don't believe the original poster is a troll and neither am I or anyone else who has agreed that this list needs to have some more class and enlightenment. I've been saying that for quite a while and if that gets me labelled a troll for some reason then it proves the need for an attitude change. I think you're flattering yourselves to be honest, if you believe you have so many 'trolls' posting to your list. 
On 11/14/06, Dario Lopez-Kästen [EMAIL PROTECTED] wrote:
For the record: my original response was not aimed at you personallyChris, it was just that your mail triggered the whole thing. I apologizefor making you the target (and for feeding some trolls :).Chris Withers said the following on 11/13/2006 04:38 PM:
 Well, he's treating us like dirt, Dario. Rather than spending time helping to document Zope, he's gone off and built a wiki slating it. Thanks, but no thanks...hm... ok, point taken. However: he is not treating us like dirt. Not all
zope-users have the historical baggage where zope gets treated like asecond class citizen in the Python community, usually with some grossmisconception about what zope does as a basis for that.If he publishes a wiki with some misconceptions, so what? Will it have
more impact than all the other sites that don't grok zope and thereforedismisses it? No, probably not.But us going on like you obviously don't get it, do you? In fact, youdont seem to get anything about the web, even. Go away! is not the way
either: instead of getting an enlightened zope user, we get yet anotherzope sucks-person with a bunch of misconceptions about zope out in thewild.I am not defending his misconceptions (if there are any - i haven't
spent much time reading his wiki, really) and I generally agree thatspending time thinking about a fork is futile. I somehow can understandhis position, though, having rewritten some of our systems based on what
they should do, instead of trying to understand the original spaghetticode (but my code is nowhere near the complexity of Zope, on the otherhand).Nevertheless, I think we as a community could show some class and style.
Everybody needs to be treated with some degree of respect, and it's notlike he's going to write a zope fork, in real life; and so what if hedid, if it was better, then we could probably learn something, if it
isn't better, nothing will have changed for us. This certainly isn't the case. People who expect their work to get doen for them for free will get a hard time. I'd suggest that people who come with particularly unconstructive approaches to how zope may be improved
 will also come in for a similarly hard time...Yes, in general, but in our case, I get the feeling that *anyone* thatdoes not agree with the zope-philosophy, or questions the way zopeworks, gets a smack in the head. This is just the latest example.
I am not trying to tell people how to behave, though, even if it maysound like it - I am just trying to point out some things about ourattitude that we should be aware of as a community./dario
 ---Dario Lopez-Kästen, IT Systems  Services Chalmers University of Tech.Lyrics applied to programming  application design:emancipate yourself from mental slavery - redemption song, b. marley
___Zope maillist-Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce 
http://mail.zope.org/mailman/listinfo/zope-dev )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Alternative

2006-11-13 Thread michael nt milne
You should post only if you have something to say. You did not and youcan't comment on the content of the wiki.Of course I had something to say. What nonsense. And sure I had a look at the Wiki as well and am entitled to comment. Just because I don't have the high level of authority that many people on this list have with regard to Zope it doesn't mean I can't comment. 
By the way there's lots of people who are bored of the attitude of certain developers towards answering queries on lists. And if those developers then decide not to post then maybe it is a good thing for the list and the developer?
On 11/13/06, Andreas Jung [EMAIL PROTECTED] wrote:
 +---[ michael nt milne ]--Quite right. It's an ignorant attitude and one that itself deserves thelabel that it is prescribing. It's been prevalent for a long time on this
list. The whole attitude here is one of sneering and schoolboy namecalling.You should post only if you have something to say. You did not and youcan't comment on the content of the wiki.
Is there a reason that the Plone list gets 3 times the level of postingsthat the Zope list gets?Because people use Plone and not Zope. Many Plone users identify Plone withZope and don't recognize that Plone is a tiny CMS layer on top of Zope and
several other big software components.Yes. because it is a more mature and constructivesupport environment which actually helps promote the product.Speak with some Plone core developers. Some of them are also bored by
ongoing laziness of a minority of ppl to use existing resources or toresolve very easy issues on their own. That's why a bunch of Zope and Plonedevelopers are no longer available for giving help on -users lists.
-aj___Zope maillist-Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce 
http://mail.zope.org/mailman/listinfo/zope-dev )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Alternative

2006-11-13 Thread michael nt milne
Great. Thanks. On 11/13/06, Andreas Jung [EMAIL PROTECTED] wrote:
--On 13. November 2006 17:16:14 + michael nt milne[EMAIL PROTECTED] wrote: You posted again without significant content.
 And please: don't start a new thread for every reply. Learn to use your mail application properly. So did you. I thought you had filtered me out anyway? Please put the rule back in place...:-)
 I'm using Gmail and simply replying to the topic and the Zope list. If a separate thread is being started it's nothing to do with me.Sometimes we need some entertainment. You're back on the blacklist :-)
-aj-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: newbie -- creating a Product

2006-11-07 Thread michael nt milne
Max M wrote:Btw. I don't see any reason to use words like 'drivel' and 'bullshit'.It is rude and counterproductive. And I don't recall that I have beenrude on this list in general or to you specifically.
Of course it is rude and counterproductive. It seems to be a feature on this list being rude and immature. Not from everyone of course, just from the minority. If certain 'personality types' get irritated when reading and replying to a community support list, they shouldn't be here. You've just got to ignore it and put it down to a 'lack of class' as another list member put it.
On 11/7/06, Jonathan [EMAIL PROTECTED] wrote:
- Original Message -From: Tres Seaver [EMAIL PROTECTED]To: zope@zope.orgSent: Monday, November 06, 2006 7:00 PM
Subject: [Zope] Re: newbie -- creating a Product -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max M wrote: Jonathan skrev: Well the problem is that Zope 2 was never easy for beginners either.
 And by now it is starting to get phased out for Zope 3. This is the first I have heard about Zope 2 being phased out... Well .. get used to it then ;-)
 Z2 will keep on being maintained until it is replaced by Z3. The goal of the zope developers is not about keeping Z2 and Z3 running for as long as possible. Only for as long as necessary.
 Z2 is still being maintained, and will be for a long time. But the development is all moving in the direction of Z3. Read the changelog of the latest Z2 releases. They are practially only
 about bugfixes and Z3 integration. Core Zope 2 development has practically grinded to a halt. New developments are taking place in Zope 3. How is that not an outphasing?
 I would actually bet on Jim's door #3 (Zope2 reabsorbing Zope3) as a more likely outcome.Five years later, the number of production installations of Zope3 compared to Zope2 is statistically insignificant;
 the use of Zope3 technology within Zope2, however, is growing by leaps and bounds.+1I think this is a very realistic/feasible option.The installed base ofZope 2 applications is too large for Zope 2 to disappear, and porting Zope 2
applications to Zope 3 is not practical. I am hoping that Door #3 is thewinning door!___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: [Plone-Users] Editing Tabs Pull-downs...Second Reque

2006-11-03 Thread michael nt milne
Ultimately the permissions and security should be built into the product and not applied to the object in Zope. However it's not too hard as a last resort.On 11/3/06, 
Javier Subervi [EMAIL PROTECTED] wrote:
Painful, but it would work. I'm looking for something a little more elegant. That, to me, is like using a butcher's knife where a scalpel is more appropriate. It's also harder to reconstruct for the inevitable rebuild.
Javier- Original Message From: michael nt milne 
[EMAIL PROTECTED]To: Javier Subervi [EMAIL PROTECTED]Cc: 
[EMAIL PROTECTED]Sent: Friday, November 3, 2006 8:30:57 AMSubject: Re: [Plone-Users] Editing Tabs  Pull-downs...Second RequesYou could try going into the ZMI and using the 'security' tab on the product to restrict who can view and edit the
 type.On 11/3/06, Javier Subervi 
[EMAIL PROTECTED] wrote:

Hi;A couple of weeks ago, I asked for help on this, but the problem still remains. I have added some products to my Plone and they have generated tabs and/or elements a user can add from the drop-down in their folder. I want to edit that behavior, but I don't know where to go to do that. I've tried the following:
Unchecking visible in portal_controlpanel doesn't help.Unchecking implicitly addable? in portal_types doesn't help.Two weeks ago, Sean Fulmer suggested the following: Add a condition or a permission to the associated 'portal_tabs' action
 in the ZMI 'portal_actions' area.I only found one of many there. Am I to add my own? Is there a how-to on how to do this? This is no trivial chore! Where else might the controls for this be
 hiding?Here's the one I found. It has the following:Condition: python:portal.portal_membership.checkPermission(Manage portal,here)Permission: ViewYet anyone, not just the manager, can view this and even add one. Should I change the following as so and then make sure the permissions are properly set for the same?
Permission: Add KZBannerAd ToolsConfused and frustrated. Would appreciate help.TIA,Javier
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Plone-Users mailing list

[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/plone-users
-- michael

-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-12 Thread michael nt milne
I think that volunteer to care was the crucial phrase with focus on the word 'care'. Now perhaps I read it the wrong way and I apologise if I did but Andreas has been very anti-Windows in the past. Perhaps the word 'ignorant' is slighty harsh. I still feel there is a lot of anti-Windows feeling and whilst I don't prefer the platform I feel it should be well supported. Perhaps Enfold could help with Zope Windows builds as they have done with Plone Windows builds which are fantastic? I have occasionally attempted to install separate Zope instances on Windows and have achieved that but obviously installers are the ultimate for exposure.
On 10/12/06, Chris Withers [EMAIL PROTECTED] wrote:
Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11 Oct 2006, at 17:14, michael nt milne wrote:  The windows builds will be available as soon as someone volunteer to care
 about the Windows platform.  ignorant thinking. Most businesses use Windows and Zope will suffer unless it is embraced. Who do you think you are insulting people who actually invest a lot of
 their spare time in the software and in the community? You being an annoying troll is helping no one, and it certainly won't get Windows builds done.Haha, just add him to your email blacklist, saves a lot of trouble ;-)
For the record, the releases are not available because no-one is capablerather than motivated to produce them.Having built a couple, Windows releases are a royal PITA even ifeverything goes smoothly...
Now Michael, unless you're prepared to build these releases yourself, Iless than politely suggest you STFU...ChrisPS: For the non-trolls on this list, I believe Sidnei da Silva isthinking about taking up this painful task... send him beer/love/money
and he might be further persuaded...PPS: We all might also like to thank Tim Peters for doing such a goodjob of building Windows releases in the past that no-one noticed thedelay between the source and binary release...
--Simplistix - Content Management, Zope  Python Consulting- http://www.simplistix.co.uk___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev
 )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-12 Thread michael nt milne
I thought you had blacklisted me out. I wish you had! :-)Since your contributions to the Zope and Plone world are just dumb
I will bring back the word ignorant since that comment plainly is. And if you think I am a troll then the same word applies. I would suggest you look at yourself and think before you post. Over on the Plone list there have been several bust ups due to your attitude and many people have commented to my privately on your approace. I've been posting on Plone, receiving help, posting bugs and also helping others for over a year now. All totally constructive. People have also commented to me that my posts have been helpful and they have been. So I would take a look at yourself and think before you post.
On 10/12/06, Andreas Jung [EMAIL PROTECTED] wrote:
--On 12. Oktober 2006 09:07:04 +0100 Chris Withers [EMAIL PROTECTED]wrote: Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1 On 11 Oct 2006, at 17:14, michael nt milne wrote:  The windows builds will be available as soon as someone volunteer to
 care about the Windows platform.  ignorant thinking. Most businesses use Windows and Zope will suffer unless it is embraced.
 Who do you think you are insulting people who actually invest a lot of their spare time in the software and in the community? You being an annoying troll is helping no one, and it certainly won't get Windows
 builds done. Haha, just add him to your email blacklist, saves a lot of trouble ;-) For the record, the releases are not available because no-one is capable rather than motivated to produce them.
 Having built a couple, Windows releases are a royal PITA even if everything goes smoothly... Now Michael, unless you're prepared to build these releases yourself, I less than politely suggest you STFU...
@Chris: what is STFU?@Michael: You're a numpty and a troll.If you don't know what 'numpty' means, see http://www.urbandictionary.com/define.php?term=numpty
My posting did not contain a single line that I would not care about theWindows releases. In fact I have been after people like Christian Theune,Chris Withers and Tim Peters to provideWindows builds after releasing the source code distributions. In addition I
asked some days ago on the zope-dev list about Windows maintainer problem.Since your contributions to the Zope and Plone world are just dumb andtroll-compatible postings, please just shut up. You're not in the position
to tell me that I would be ignorant on Windows. I am usuallyignorant onWindows issues in general (for a variety of reasons) *but* I am trying todelegate the issue to other ppl. That's a big difference.
Andreas___Zope maillist-Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce 
http://mail.zope.org/mailman/listinfo/zope-dev )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-12 Thread michael nt milne
same to you pal :-) since you started it. Water off a duck's back mate. On 10/12/06, michael nt milne [EMAIL PROTECTED]
 wrote:I thought you had blacklisted me out. I wish you had! :-)
Since your contributions to the Zope and Plone world are just dumb
I will bring back the word ignorant since that comment plainly is. And if you think I am a troll then the same word applies. I would suggest you look at yourself and think before you post. Over on the Plone list there have been several bust ups due to your attitude and many people have commented to my privately on your approace. I've been posting on Plone, receiving help, posting bugs and also helping others for over a year now. All totally constructive. People have also commented to me that my posts have been helpful and they have been. So I would take a look at yourself and think before you post.
On 10/12/06, Andreas Jung 
[EMAIL PROTECTED] wrote:

--On 12. Oktober 2006 09:07:04 +0100 Chris Withers [EMAIL PROTECTED]wrote:
 Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1 On 11 Oct 2006, at 17:14, michael nt milne wrote:  The windows builds will be available as soon as someone volunteer to
 care about the Windows platform.  ignorant thinking. Most businesses use Windows and Zope will suffer unless it is embraced.
 Who do you think you are insulting people who actually invest a lot of their spare time in the software and in the community? You being an annoying troll is helping no one, and it certainly won't get Windows
 builds done. Haha, just add him to your email blacklist, saves a lot of trouble ;-) For the record, the releases are not available because no-one is capable rather than motivated to produce them.
 Having built a couple, Windows releases are a royal PITA even if everything goes smoothly... Now Michael, unless you're prepared to build these releases yourself, I less than politely suggest you STFU...
@Chris: what is STFU?@Michael: You're a numpty and a troll.If you don't know what 'numpty' means, see 
http://www.urbandictionary.com/define.php?term=numpty
My posting did not contain a single line that I would not care about theWindows releases. In fact I have been after people like Christian Theune,Chris Withers and Tim Peters to provideWindows builds after releasing the source code distributions. In addition I
asked some days ago on the zope-dev list about Windows maintainer problem.Since your contributions to the Zope and Plone world are just dumb andtroll-compatible postings, please just shut up. You're not in the position
to tell me that I would be ignorant on Windows. I am usuallyignorant onWindows issues in general (for a variety of reasons) *but* I am trying todelegate the issue to other ppl. That's a big difference.

Andreas___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 
http://mail.zope.org/mailman/listinfo/zope-dev )-- michael

-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-12 Thread michael nt milne
your blacklist rule broken down has it? put it back please or I will have to.On 10/12/06, michael nt milne 
[EMAIL PROTECTED] wrote:same to you pal :-) since you started it. Water off a duck's back mate. 
On 10/12/06, michael nt milne 
[EMAIL PROTECTED]
 wrote:I thought you had blacklisted me out. I wish you had! :-)
Since your contributions to the Zope and Plone world are just dumb
I will bring back the word ignorant since that comment plainly is. And if you think I am a troll then the same word applies. I would suggest you look at yourself and think before you post. Over on the Plone list there have been several bust ups due to your attitude and many people have commented to my privately on your approace. I've been posting on Plone, receiving help, posting bugs and also helping others for over a year now. All totally constructive. People have also commented to me that my posts have been helpful and they have been. So I would take a look at yourself and think before you post.
On 10/12/06, Andreas Jung 

[EMAIL PROTECTED] wrote:

--On 12. Oktober 2006 09:07:04 +0100 Chris Withers [EMAIL PROTECTED]wrote:

 Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1 On 11 Oct 2006, at 17:14, michael nt milne wrote:  The windows builds will be available as soon as someone volunteer to
 care about the Windows platform.  ignorant thinking. Most businesses use Windows and Zope will suffer unless it is embraced.
 Who do you think you are insulting people who actually invest a lot of their spare time in the software and in the community? You being an annoying troll is helping no one, and it certainly won't get Windows
 builds done. Haha, just add him to your email blacklist, saves a lot of trouble ;-) For the record, the releases are not available because no-one is capable rather than motivated to produce them.
 Having built a couple, Windows releases are a royal PITA even if everything goes smoothly... Now Michael, unless you're prepared to build these releases yourself, I less than politely suggest you STFU...
@Chris: what is STFU?@Michael: You're a numpty and a troll.If you don't know what 'numpty' means, see 

http://www.urbandictionary.com/define.php?term=numpty
My posting did not contain a single line that I would not care about theWindows releases. In fact I have been after people like Christian Theune,Chris Withers and Tim Peters to provideWindows builds after releasing the source code distributions. In addition I
asked some days ago on the zope-dev list about Windows maintainer problem.Since your contributions to the Zope and Plone world are just dumb andtroll-compatible postings, please just shut up. You're not in the position
to tell me that I would be ignorant on Windows. I am usuallyignorant onWindows issues in general (for a variety of reasons) *but* I am trying todelegate the issue to other ppl. That's a big difference.


Andreas___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 
http://mail.zope.org/mailman/listinfo/zope-dev )-- michael

-- michael

-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-12 Thread michael nt milne
why don't YOU volunteer to do it? It seems that you are making money usingZope/Plone which is fine - but this would be a way to actually give somethingback to the community.I would be happy to do this. Yes I am making money using Plone and Zope but I could easily make money using a number of other platforms. I could also adandon working on implementing CMS and make good money in other areas. I am not restricted to working with it or on CMS. I find it interesting and I also think Plone is one of the best platforms I have seen with an excellent community and real vibrancy. Also in using the platform in a current installation I am creating good publicity for Plone and therefore Zope nationwide. This can only further the cause.
When I get some extra time I would be happy to volunteer but I can't do both at the moment. My Plone sites take precedence.On 10/12/06, michael nt milne
 [EMAIL PROTECTED] wrote:
your blacklist rule broken down has it? put it back please or I will have to.On 10/12/06, michael nt milne
 
[EMAIL PROTECTED] wrote:same to you pal :-) since you started it. Water off a duck's back mate. 
On 10/12/06, michael nt milne 

[EMAIL PROTECTED]
 wrote:I thought you had blacklisted me out. I wish you had! :-)
Since your contributions to the Zope and Plone world are just dumb
I will bring back the word ignorant since that comment plainly is. And if you think I am a troll then the same word applies. I would suggest you look at yourself and think before you post. Over on the Plone list there have been several bust ups due to your attitude and many people have commented to my privately on your approace. I've been posting on Plone, receiving help, posting bugs and also helping others for over a year now. All totally constructive. People have also commented to me that my posts have been helpful and they have been. So I would take a look at yourself and think before you post.
On 10/12/06, Andreas Jung 


[EMAIL PROTECTED] wrote:

--On 12. Oktober 2006 09:07:04 +0100 Chris Withers [EMAIL PROTECTED]wrote:


 Jens Vagelpohl wrote: -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1 On 11 Oct 2006, at 17:14, michael nt milne wrote:  The windows builds will be available as soon as someone volunteer to
 care about the Windows platform.  ignorant thinking. Most businesses use Windows and Zope will suffer unless it is embraced.
 Who do you think you are insulting people who actually invest a lot of their spare time in the software and in the community? You being an annoying troll is helping no one, and it certainly won't get Windows
 builds done. Haha, just add him to your email blacklist, saves a lot of trouble ;-) For the record, the releases are not available because no-one is capable rather than motivated to produce them.
 Having built a couple, Windows releases are a royal PITA even if everything goes smoothly... Now Michael, unless you're prepared to build these releases yourself, I less than politely suggest you STFU...
@Chris: what is STFU?@Michael: You're a numpty and a troll.If you don't know what 'numpty' means, see 


http://www.urbandictionary.com/define.php?term=numpty
My posting did not contain a single line that I would not care about theWindows releases. In fact I have been after people like Christian Theune,Chris Withers and Tim Peters to provideWindows builds after releasing the source code distributions. In addition I
asked some days ago on the zope-dev list about Windows maintainer problem.Since your contributions to the Zope and Plone world are just dumb andtroll-compatible postings, please just shut up. You're not in the position
to tell me that I would be ignorant on Windows. I am usuallyignorant onWindows issues in general (for a variety of reasons) *but* I am trying todelegate the issue to other ppl. That's a big difference.



Andreas___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 
http://mail.zope.org/mailman/listinfo/zope-dev )-- michael

-- michael

-- michael

-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-12 Thread michael nt milne
yes I get your general 'drift'. I am putting in my own time as much as I can just now promoting Plone and therefore Zope. And this will increase over time. To be honest I am more committed to Plone and the user base there. This thread was an example of a in-built bias against Windows which I have come up against time and time again but mainly on this list. We all know that Zope runs best on Unix but for the small to medium organisation running a server in house Windows is the platform of choice.
 Otoh, I don'tthink any of the developers will be sad If YOU stop using zope. Or evennotice.Obviously but that doesn't bother me a bit.
On 10/12/06, knitti [EMAIL PROTECTED] wrote:
On 10/12/06, michael nt milne [EMAIL PROTECTED] wrote: my privately on your approace. I've been posting on Plone, receiving help, posting bugs and also helping others for over a year now. All totally
 constructive. People have also commented to me that my posts have been helpful and they have been.well, unless my glasses distort my brain, none of your postings in thisthread have been. basically, as almost always with something one
receives without needing to pay for, we can be glad (and should begrateful)that there are people using THEIR OWN TIME for somethingwhat benefits us, too. and they can do with their own time what theywant, and you can too, with yours.
so stop whining, especially if you can't contribute with your own time orby funding one of the developers to do WHAT YOU WANT. Otoh, I don'tthink any of the developers will be sad If YOU stop using zope. Or even
notice.--knitti-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-12 Thread michael nt milne
No I get your point. I just feel that anti-windows feeling has to be flagged up. If not it gets endemnic and hopefully occasional pointers will feed in organically. Ultimately in OSS though people will do what they want and that is also part of the value. Finally I don't think I am 'whining' on this.
CheersOn 10/12/06, knitti 
[EMAIL PROTECTED] wrote:On 10/12/06, michael nt milne 
[EMAIL PROTECTED] wrote: This thread was an example of a in-built bias against Windows which I have come up against time and time again but mainly on this list. We all know that Zope runs best on Unix but for the small to medium organisation running
 a server in house Windows is the platform of choice.I use Zope on WIndows for development sometimes too. But if none ofthe devolpers has Windows as a priority I have to live with that, because*I know* that whining doesn't do shit to increase motivation of a developer
to invest time into an issue, if he or she has enough interesting things to doalready.--knitti-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope 2 for Windows

2006-10-11 Thread michael nt milne
The windows builds will be available as soon as someone volunteer to careabout the Windows platform.ignorant thinking. Most businesses use Windows and Zope will suffer unless it is embraced.
On 10/11/06, Andreas Jung [EMAIL PROTECTED] wrote:
--On 11. Oktober 2006 11:18:42 -0700 yary [EMAIL PROTECTED] wrote: For the last week or two, only Zope 3 has been available to windows users for download from 
http://www.zope.org/Products - can the powers that be publish the win32 installers for 2.9.5/2.10.0?The windows builds will be available as soon as someone volunteer to care
about the Windows platform.-aj___Zope maillist-Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ZopeScheduler issue

2006-09-30 Thread michael nt milne
HiI've set up ZopeScheduler and TimerService to run a basic pack the ZODB script based on a time period. It won't run for some reason. TimerService starts up fine and listend.I get this in the log but no info on a script being run. I have the correct path and time info in ZopeScheduler. Zope 
2.8.7 Windows.Thanks2006-09-30T13:20:09 INFO ZopeScheduler Process timer tick at Sat Sep 30 13:20:09 2006--2006-09-30T13:30:09 INFO ZopeScheduler Process timer tick at Sat Sep 30 13:30:09 2006
--2006-09-30T13:40:09 INFO ZopeScheduler Process timer tick at Sat Sep 30 13:40:09 2006-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread michael nt milne
HiDoes anyone know an alternative way to get copy of ZopeScheduler? The legco site seems to be down just now.http://dev.legco.biz/products/ZopeScheduler
Cheers-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread michael nt milne
thanks. Tried that-nothing doing there. Thing is I'm after a download so a download request won't work as it will be requesting from the site that's down etc..On 9/29/06, 
Jean Rodrigo Ferri [EMAIL PROTECTED] wrote:
michael nt milne escreveu: HiHi Michael, Does anyone know an alternative way to get copy of ZopeScheduler? The legco site seems to be down just now. 
http://dev.legco.biz/products/ZopeSchedulerYou can try to get it from the Internet Archive:http://web.archive.org/web/*/http://dev.legco.biz/products/ZopeScheduler
Regards,--Jean Ferri___O Yahoo! está de cara nova. Venha conferir!http://br.yahoo.com
-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Alternative way of getting ZopeScheduler? Legco down...

2006-09-29 Thread michael nt milne
Thanks alot. Much appreciated.On 9/29/06, Jean Rodrigo Ferri [EMAIL PROTECTED] wrote:
michael nt milne escreveu: thanks. Tried that-nothing doing there. Thing is I'm after a download so a
 download request won't work as it will be requesting from the site that's down etc..I've saved a copy of this product[1]! ;-)[1] 
http://www.tchezope.org/Members/jean/arquivos/ZopeScheduler-0.1.tar.gzRegards,--Jean Ferri___Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas !
http://br.answers.yahoo.com/___Zope maillist-Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] issue with a ZODB database conflict error

2006-09-27 Thread michael nt milne
Thanks for the reply Maciej. What happens is that Zope egg timers for an eternity - around 3-4 minutes then doesn't actually return a success page. However if I then refresh the site I see that a PloneExFile has been added. No good for training :-) I will try out the deadlock debugger. I have a couple of other sites running on the instance using the same ZODB and they are able to add PloneExFiles ok.
On 9/27/06, Maciej Wisniowski [EMAIL PROTECTED] wrote:
 I'm getting this error on trying to add a new file to a Plone site.In fact this message is just INFO not ERROR and usually itmay be safely ignored. Search archives for conflict errors (therewas a lot about this).
 2006-09-26T19:25:52 INFO ZODB.Conflict database conflict error (oid 0x7b41, class Products.CMFPlone.Portal .PloneSite) at /VirtualHostBase/site/VirtualHostRoot/createObject (1 conflicts, of which 0 were unresolved, since startup at Tue Sep 26
 15:15:40 2006) Any ideas? What happens is that on adding the file Zope just egg timers for ages and this appears in the logs. In the end a new file is added but that's only after many many minutes etc
Don't know why it takes so long but you may installDeadlockDebugger and try to track downwhat happens with your Zope during adding this file.--Maciej Wisniowski
-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] issue with a ZODB database conflict error

2006-09-26 Thread michael nt milne
I'm getting this error on trying to add a new file to a Plone site.
Plone 2.1.3 Zope 2.8.7. The object I was trying to add was a
PloneExFile.2006-09-26T19:25:52 INFO ZODB.Conflict database conflict error (oid 0x7b41, class 
Products.CMFPlone.Portal.PloneSite) at /VirtualHostBase/site/VirtualHostRoot/createObject (1 conflicts, of which 0 were unresolved, since startup at Tue Sep 26 15:15:40 2006)Any ideas? What happens is that on adding the file Zope just egg timers for ages and this appears in the logs. In the end a new file is added but that's only after many many minutes etc

-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Configuration for VerboseSecurity

2006-08-29 Thread michael nt milne

Hi

I need some clarification on switching on VerboseSecurity and am
following the instructions on this page

http://hathawaymix.org/Software/VerboseSecurity

This states this


To enable verbose security in Zope 2.8.1+, just set the following
options in zope.conf:

security-policy-implementation python
verbose-security on



However on Zope 2.8.7, adding these two lines produces a start up
error in Zope. The flag 'verbose-security' doesn't
exist in zope.conf in the first place.

Any ideas appreciated.


--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Configuration for VerboseSecurity

2006-08-29 Thread michael nt milne

thanks but

adding these two lines:

security-policy-implementation python
verbose-security on

produces this error

\Program Files\Plone 2.1.3\Data\etc\zope.conf
Error: value did not match regular expression: 'ver
##






$ cd ~/projects/Zope-CVS/Zope-2.8-branch
$ bin/mkzopeinstance.py -u /tmp/milne -u admin:123
$ cd /tmp/milne
$ vi etc/zope.conf # edit out comments, enable verbose-security
$ bin/zopectl fg
...
2006-08-29 16:39:52 INFO Zope Ready to handle requests
^C


I'm attaching the working zope.conf file.


Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE9KbV+gerLs4ltQ4RAoAjAKDC+TNjsdTkJgGrQRkUirJJXb6eBQCcDmT/
3UKFE1ZdYbPS8SfKmIP8ujE=
=hXvw
-END PGP SIGNATURE-


%define INSTANCE /tmp/milne
%define ZOPE /home/tseaver/projects/Zope-CVS/Zope-2.8-branch

instancehome $INSTANCE
#debug-mode on
security-policy-implementation python
verbose-security on

eventlog
  level info
  logfile
path $INSTANCE/log/event.log
level info
  /logfile
/eventlog

logger access
  level WARN
  logfile
path $INSTANCE/log/Z2.log
format %(message)s
  /logfile
/logger

http-server
  # valid keys are address and force-connection-close
  address 8080
  # force-connection-close on
/http-server

zodb_db main
# Main FileStorage database
filestorage
  path $INSTANCE/var/Data.fs
/filestorage
mount-point /
/zodb_db

zodb_db temporary
# Temporary storage database (for sessions)
temporarystorage
  name temporary storage for sessioning
/temporarystorage
mount-point /temp_folder
container-class Products.TemporaryFolder.TemporaryContainer
/zodb_db






--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: VerboseSecurity not working

2006-08-26 Thread michael nt milne
ok I've followed the instructions there and added these two lines to zope.conf# Example:#security-policy-implementation python
verbose-security on# Directive: skip-authentication-checkingby the way the only reference to verbose security in the conf file was the text
 Description:# The default Zope security machinery is implemented in C.# Change this to python to use the Python version of the# Zope security machinery. This impacts performance but
# is useful for debugging purposes and required by Products such as# VerboseSecurity, which need to monkey-patch the security# machinery.and then restarted Zopehowever I now get a start up error
:\Program Files\Plone 2.1.3\Data\etc\zope.confError: value did not match regular _expression_: 'ver##'
On 8/26/06, Andreas Jung [EMAIL PROTECTED] wrote:
--On 25. August 2006 17:50:06 -0400 Tres Seaver [EMAIL PROTECTED]wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 michael nt milne wrote:
 Hi I couldn't install VerboseSecurity on Zope 2.8.7 and Plone 2.1.3 You don't need it.The functionality is folded into Zope 2.8.x...which is clearly documented on the VS homepage :-)
http://hathawaymix.org/Software/VerboseSecurity-aj___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] VerboseSecurity not working

2006-08-25 Thread michael nt milne
HiI couldn't install VerboseSecurity on Zope 2.8.7 and Plone 2.1.3URL: file:ResourceRegistries/skins/ResourceRegistries/renderAllTheScripts.pt
Line 10, Column 16
_expression_: not:'script/getInline'
Names:{'container': PloneSite at /test, 'context': PloneSite at /test, 'default': Products.PageTemplates.TALES.Default instance at 0x0110BAF8, 'here': PloneSite at /test,
 'loop': Products.PageTemplates.TALES.SafeMapping object at 0x04F2CB98, 'modules': Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x010F6D28, 'nothing': None, 'options': {'args': (),
 'state': Products.CMFFormController.ControllerState.ControllerState object at 0x04F2F150}, 'repeat': Products.PageTemplates.TALES.SafeMapping object at 0x04F2CB98, 'request': HTTPRequest, URL=
"">http://localhost:8080/test/login_form, 'root': Application at , 'template': FSControllerPageTemplate at /test/login_form,
 'traverse_subpath': [], 'user': trip}  Module Products.PageTemplates.Expressions, line 246, in __call__  Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:ResourceRegistries/skins/ResourceRegistries/renderAllTheScripts.pt
Line 10, Column 16
_expression_: standard:'script/getInline'
Names:{'container': PloneSite at /test, 'context': PloneSite at /test, 'default': Products.PageTemplates.TALES.Default instance at 0x0110BAF8, 'here': PloneSite at /test,
 'loop': Products.PageTemplates.TALES.SafeMapping object at 0x04F2CB98, 'modules': Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x010F6D28, 'nothing': None, 'options': {'args': (),
 'state': Products.CMFFormController.ControllerState.ControllerState object at 0x04F2F150}, 'repeat': Products.PageTemplates.TALES.SafeMapping object at 0x04F2CB98, 'request': HTTPRequest, URL=
"">http://localhost:8080/test/login_form, 'root': Application at , 'template': FSControllerPageTemplate at /test/login_form,
 'traverse_subpath': [], 'user': trip}  Module Products.PageTemplates.Expressions, line 185, in __call__  Module Products.PageTemplates.Expressions, line 173, in _eval  Module 
Products.PageTemplates.Expressions
, line 127, in _eval
__traceback_info__: script  Module Products.PageTemplates.Expressions, line 313, in restrictedTraverse
__traceback_info__: {'path': ['getInline'], 'TraversalRequestNameStack': []}   Module Products.VerboseSecurity.VerboseSecurityPolicy, line 151, in validate
On 8/16/06, Sylvain Thénault [EMAIL PROTECTED] wrote:
On Thursday 27 July à 20:10, Dieter Maurer wrote: Peter Bengtsson wrote at 2006-7-27 10:51 +0100: Why am I getting this on my zope 2.8.5??  2006-07-27 10:34:07 ERROR Zope.SiteErrorLog
 http://localhost:8080/test/Real/MoreStatistics/index_html Traceback (most recent call last):  File /usr/HOME/peterbe/zope/zope285/lib/python/ZPublisher/Publish.py, line
 104, in publish  object=request.traverse(path, validated_hook=validated_hook)  File /usr/HOME/peterbe/zope/zope285/lib/python/ZPublisher/BaseRequest.py,
 line 461, in traverse  response.unauthorized()  File /usr/HOME/peterbe/zope/zope285/lib/python/ZPublisher/HTTPResponse.py, line 685, in unauthorized
  raise Unauthorized, m Unauthorized: strongYou are not authorized to access this resource./strongp Username and password are not correct.
 This Unauthorized is not generated by Zope security mechanism but by the ZPublisher. Apparently, VerboseSecurity does not hook in the ZPublisher.VerboseSecurity is included in zope 
2.8.x and it seems like having the zope 2.7 VerboseSecurityproduct into a zope 2.8 instance break the security machinery.--Sylvain Thénault LOGILAB, Paris (France)Formations Python, Zope, Plone, Debian:
http://www.logilab.fr/formationsDéveloppement logiciel sur mesure: http://www.logilab.fr/servicesPython et calcul scientifique: 
http://www.logilab.fr/science___Zope maillist-Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZJetDA product and Microsoft Access

2006-07-27 Thread michael nt milne
Thanks a lot. Yes I know it's crazy but some organisations built up a database over the years and want to stay with that technology. The best way would be to migrate but I can understand why it doesn't happen.
On 7/27/06, Philip Kilner [EMAIL PROTECTED] wrote:
Hi Michael,michael nt milne wrote: I know it's totally crazy to want to hook Access up with Zope using sql queries but I'd just like to know if it's been done or is possible.
Crazy on so many levels.../but/, although I can't tell you anythingabout the DA you are asking about, I can very strongly recommend theeGenix mxODBC DA - using that product, it is possible, and does work.
--Regards,PhilKHuman language continually changes, innit.- Stephen Juan-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ZJetDA product and Microsoft Access

2006-07-26 Thread michael nt milne
HiI've had a look at this product and installed it on Zope 2.8.7. It installed fine but when I look in the 'add' menu I'm not seeing an 'add ZJetDA database connection' which you get for other installed database adapters. Possibly I'm wrong in expecting this? I know it's totally crazy to want to hook Access up with Zope using sql queries but I'd just like to know if it's been done or is possible.
Thanks-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ZJetDA product and Microsoft Access

2006-07-26 Thread michael nt milne
HiThanks a lot for this. I'll try that out. Cheers.On 7/26/06, Jesper Steen Steffensen [EMAIL PROTECTED]
 wrote:
HiI've had a look at this product and installed it on Zope 
2.8.7. It installed fine but when I look in the 'add' menu I'm not seeing an 'add ZJetDA database connection' which you get for other installed database adapters. Possibly I'm wrong in expecting this? I know it's totally crazy to want to hook Access up with Zope using sql queries but I'd just like to know if it's been done or is possible.
Thanksmichael

I've tried the ZJet adapter as well without luck. Go with the ZODB DA instead.It works perfectly.To connect to an MS Access DB on a windows machine you'll need to set the DB up as a system data source on the machine. This is done in the Start menu - Administration - ODBC datasources.
Add a system data source in there, and browse to your mdb file. Give the data source a name of your own choice, and when you go back into the zope manager and add the DB connection you need to write this data source name (DSN) in the connection string. After that your ZSQL methods will work perfectly.
Worked for me. I was forced to use an MS Access DB as well due to some very strict network policies about approved software for the network.

___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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] ExternalMethod for exporting un-pickled Office files to the filesystem etc

2006-06-22 Thread michael nt milne
HiJust wondering if anyone has written or attempted to write a script which would read through a site built using Zope and write all attached/uploaded files (Word, PDF, Excel) etc to a filesystem location in an un-pickled format. Therefore the files would be usable by their native application and be accessible outside of Zope. The business logic behind this is to be able to create, say once a day at night, a copy of all digital business assets for extra back-up and recovery purposes in case of disaster. Also this would be good for migration purposes if required.
If not, how long would it take to create such a script? I could probably source a sponsor for it. I realise that it's best to do this at the application level and at the moment this would be through Plone.
I've demoed all the Plone external storage products and also checked out DirectoryStorage but all these store pickled files etc.
Thanks-- michael

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] ExternalMethod for exporting un-pickled Office files to the filesystem etc

2006-06-22 Thread michael nt milne
Cheers, thanks a lot for that. I'll give it a go. I still may be interested in sponsoring a version with the improvements you mention etc and possibly more. Would that code be compatible for Unix and also for Windows NTFS?
ThanksOn 6/22/06, Tino Wildenhain [EMAIL PROTECTED] wrote:
michael nt milne schrieb: Hi Just wondering if anyone has written or attempted to write a script which would read through a site built using Zope and write all attached/uploaded files (Word, PDF, Excel) etc to a filesystem location
 in an un-pickled format. Therefore the files would be usable by their native application and be accessible outside of Zope. The business logic behind this is to be able to create, say once a day at night, a copy of
 all digital business assets for extra back-up and recovery purposes in case of disaster. Also this would be good for migration purposes if required. If not, how long would it take to create such a script? I could probably
 source a sponsor for it. I realise that it's best to do this at the application level and at the moment this would be through Plone. I've demoed all the Plone external storage products and also checked out
 DirectoryStorage but all these store pickled files etc.--- snip --import osimport systry: targetdir=sys.argv[1]except IndexError: print usage: zopectl run %s target dirrectory % 
sys.argv[0]def filedump(resulttuple,basedir): pathname,fileobject=resulttuple print dumping %s (%d Bytes) % (fileobject.getId(),fileobject.size) o=open(os.path.join(basedir,pathname.replace
('/','_')+fileobject.getId()),wb) o.write(str(fileobject.data))for res in app.ZopeFind(app,obj_metatypes=['File']) filedump(res,targetdir)- snip ---
and run this over ZEO via zopectl run thescript.py somewhere/to/targetdirThere are possibly many improvements (creating subdirectories, fixing extensionsand so on)RegardsTino Wildenhain
-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: ExternalMethod for exporting un-pickled Office files tothe filesyste

2006-06-22 Thread michael nt milne

Of course-I hadn't thought of that. A small WebDav or Ftp script could
be written to do that in a batch. I guess possibly not ultimately the
most elegant as it would involve the server connecting to itself using
a remote connection to transfer files internally? Still worth a try.
Would be nice to set up an option to do this from within the interface
with config settings. I'll spec something out with a view to creating
a product.

On 6/22/06, Martin Aspeli [EMAIL PROTECTED] wrote:



Tino Wildenhain wrote:

 Krishna Shukla schrieb:
 How we can read the plone file File from zodb in one file object.
 Regards
 Krishna

 should work similar - but check the API docs. The meta-type
 is probably a bit different so you need to extend it in the
 Zopefind() call. Also for ultra performance, Zope file objects
 usually dont wear an opaque string with data but linked PData
 elements which could be read block by block instead of the
 simple str() in my implemention.


Look at whatever ATFile specifies; I suspect it's something like getFile().

There's an obvious solution we're missing here by the way: use WebDAV or FTP
:)

Martin
--
View this message in context:
http://www.nabble.com/RE%3A-ExternalMethod-for-exporting-un-pickled-Office-files-tothe-filesystem-etc-t1829611.html#a4992271
Sent from the Zope - General forum at Nabble.com.

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




--
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-19 Thread michael nt milne
Ok, good to know that.So if I get this right I add in _vh_manage to the VirtualHostRoot in Zope which will cause /manage/ to be appended onto the all the URLs within Zope. The correct pages will still be served and the Apache re-write rule will be satisfied...
On 4/18/06, Alexis Roda [EMAIL PROTECTED] wrote:
michael nt milne escribió: ok, thanks. Does anyone know how to re-write everything going through /manage/ ?Part of the answer is here (from the Virtual Host Monster's About tab):
Inside-out hostingAnother use for virtual hosting is to make Zope appear to be part of asite controlled by another server. For example, Zope might only servethe contents of 
http://www.mycause.org/dynamic_stuff. To accomplishthis, you want to add dynamic_stuff to the start of all Zope-generatedURLs.If you insert VirtualHostRoot, followed by one or more path elements
that start with '_vh_', then these elements will be ignored duringtraversal and then added (without the '_vh_') to the start of generatedURLs. For instance, a request for /a/VirtualHostRoot/_vh_z/ will
traverse a and then generate URLs that start with /z.In our example, you would have the main server send requests forhttp://www.mycause.org/dynamic_stuff/anything
 to Zope, rewritten as/VirtualHostRoot/_vh_dynamic_stuff/anything.HTH-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-18 Thread michael nt milne
ok, thanks. Does anyone know how to re-write everything going through /manage/ ? I realise this isn't an apache list but I've received some great help here.
On 4/18/06, Chris Withers [EMAIL PROTECTED] wrote:
michael nt milne wrote: *However* these panes all fill with 404s, page not found which seems strange considering I am able to get the login and front page ok..Not at all, you only rewrite ^/manage(.*), nothing else will get rewritten.
This is an Apache configuration issue, your best bet is to ask on#apache on irc.freenode.net...Chris--Simplistix - Content Management, Zope  Python Consulting- 
http://www.simplistix.co.uk-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-17 Thread michael nt milne
Thanks alot. I didn't realise you could do this within the RewriteRule directive. Cheers.On 4/16/06, Carlos Daniel Ruvalcaba Valenzuela 
[EMAIL PROTECTED] wrote:Hello, why don't you write a Rule inside the VirtualDomain instead of
having it's own location, something like this will do:I think that what you want is tu use Mod Proxy to pass request fromApache+SSL yo your Zope.Anyways, I think it would be better to not use Location just to redirect
from mod_rewrite as it can be done without it.VirtualHost xx.x.xxx.xxxServerName www.domain.netRewriteEngine OnRewriteRule ^/manage(.*)
http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot$1 [L,P]/VirtualHostCarlos Daniel RuvalcabaOn Fri, 2006-04-14 at 16:52 +0100, michael nt milne wrote:
 Hi I've got various virtual hosts running but am having a few issues getting the administration site on www.domain.com:8080/manage to go
 through Apache. I want to route this all through SSL. What I can get is the admin for the *individual site* but not all the sites listed under a Zope instance. I'm trying to use location/location to put a request for
 www.domain.com/manage through to www.domain.com:8080/manage in Zope and then back out through port 443. I haven't set up the SSL
 certificates yet. Here's what I've got so far which isn't working quite as planned. Anyone achieved this at all? Thanks NameVirtualHost xx.x.xxx.xxx:80 VirtualHost 
xx.x.xxx.xxx:80 ServerName www.domain.net location /manage RewriteEngine On RewriteRule ^/(.*) 
http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot/$1 [L,P] /location /VirtualHost -- michael ___
 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-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-17 Thread michael nt milne
ok - I've got further on with this which is great but not the final bit...

Using the belowas a test before re-writing to a secure port I get the zope pop-up password prompt which then gives me the three-panes of the admin screen.

*However* these panes all fill with 404s, page not found which seems strange considering I am able to get the login and front page ok..


NameVirtualHost xxx.xxx.x.x:80VirtualHost xxx.xxx.x.x:80ServerName dev.domain.comRewriteEngine OnRewriteRule ^/manage(.*) 
http://xxx.xxx.x.x:8090/manage/VirtualHostBase/http/dev.domain.com:80/VirtualHostRoot/$1 [L,P]/VirtualHost
On 4/17/06, michael nt milne [EMAIL PROTECTED] wrote:

Thanks alot. I didn't realise you could do this within the RewriteRule directive. Cheers.

On 4/16/06, Carlos Daniel Ruvalcaba Valenzuela 
 [EMAIL PROTECTED] wrote: 
Hello, why don't you write a Rule inside the VirtualDomain instead of having it's own location, something like this will do:
I think that what you want is tu use Mod Proxy to pass request fromApache+SSL yo your Zope.Anyways, I think it would be better to not use Location just to redirect from mod_rewrite as it can be done without it.
VirtualHost xx.x.xxx.xxxServerName www.domain.netRewriteEngine OnRewriteRule ^/manage(.*)
http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot$1
 [L,P]/VirtualHostCarlos Daniel RuvalcabaOn Fri, 2006-04-14 at 16:52 +0100, michael nt milne wrote:  Hi I've got various virtual hosts running but am having a few issues
 getting the administration site on www.domain.com:8080/manage to go through Apache. I want to route this all through SSL. What I can get
 is the admin for the *individual site* but not all the sites listed under a Zope instance. I'm trying to use location/location to put a request for  
www.domain.com/manage through to www.domain.com:8080/manage in Zope and then back out through port 443. I haven't set up the SSL 
 certificates yet. Here's what I've got so far which isn't working quite as planned. Anyone achieved this at all? Thanks NameVirtualHost xx.x.xxx.xxx:80 VirtualHost 
xx.x.xxx.xxx:80 ServerName www.domain.net location /manage RewriteEngine On
 RewriteRule ^/(.*) http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot/$1
 [L,P] /location /VirtualHost -- michael ___  Zope maillist-
Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!** 
 (Related lists -http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

-- 
michael -- michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-14 Thread michael nt milne
HiI've got various virtual hosts running but am having a few issues getting the administration site on 
www.domain.com:8080/manage to go through Apache. I want to route this all through SSL. What I can get is the admin for the *individual site* but not all the sites listed under a Zope instance.
I'm trying to use location/location to put a request for 
www.domain.com/manage through to www.domain.com:8080/manage in Zope and then back out through port 443. I haven't set up the SSL certificates yet.
Here's what I've got so far which isn't working quite as planned. Anyone achieved this at all?
ThanksNameVirtualHost xx.x.xxx.xxx:80
VirtualHost xx.x.xxx.xxx:80ServerName www.domain.net
location /manageRewriteEngine On
RewriteRule ^/(.*) http://www.domain.co.uk:8080/manage/VirtualHostBase/https/www.domain.net:443/VirtualHostRoot/$1
 [L,P]/location/VirtualHost
-- michael

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope Managed Server

2006-03-13 Thread michael nt milne
Servelocity at http://www.servelocity.net/are also very good. You can rent your own dedicated server and install what you want on it. Excellent support and service.
On 3/12/06, Allen Schmidt [EMAIL PROTECTED] wrote:
+1 for Zettai. Have had great success with them.If you need a place to stick a server then I highly recommend bayMountain. Amazing service and support. A great team of open source and Zope experts there.Allen
David wrote: J Cameron Cooper wrote: Dan Gaibel wrote: Hello Folks, I'm interested in finding a company that will do monthly managed zope
 hosting. We're looking for a dedicated machine. I know that Zope Corp does this and it is quite expensive. I wonder if anyone has had any experiences with such a service.
 Any advice is highly appreciated, and I apologize if this list is an inappropriate venue to pose such a question. There are a number of these companies around. iMeme and Zettai come to
 mind. I'm sure there are more nowadays. --jcc Dan, I use Zettai.Can't complain at all. Even though I use virtual host plan (I share a server with about 8(?) others) the performance is better
 than I feared might be the case. The best of all worlds is to at least co-host your server.But thats more over-head for the developer.Zettai support is excellent. (although they do get cranky if you lean too much on them).
 I just checked out the iMeme site - and they may be pretty good ( jcc wouldn't recommend them otherwise) but their presentation is gawd-awful and not confidence inspiring. David
 ___ Zope maillist-Zope@zope.org 
http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )-- 
michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Zope/Plone logon security strategy etc

2006-03-01 Thread michael nt milne
ok, thanks. I didn't notice the documentation on your site.

On 2/28/06, Dieter Maurer [EMAIL PROTECTED] wrote:
 michael nt milne wrote at 2006-2-28 15:51 +:
 I'm probably missing something really obvious but am wondering how you
 actually implement your product on a live plone site. I've got it
 installed.
 Do you just customise the login form that comes with the product and use
 that on the site?

 I fear you do not understand the essence of HTTP authentication:

   For any kind of HTTP authentication (whether basic or
   digest), it is the browser which gathers the login
   information. Therefore, you do not have a login form (you
   can customize on the server). Instead, the browser uses
   its login dialog (which you might customize, if you
   are using e.g. Mozilla or Firefox, but is usually out of the
   server's reach).

 As written in the documentation on my website,
 DigestAuth currently only contains a DigestAuthCrumbler
 which works similar to the CookieCrumbler.
 More precisely:

   It takes digest auth information, verifies it and
   (if successful) presents it like basic auth information
   to the remaining parts of Zope.

   The CookieCrumbler works very similar: it takes the
   information from a cookie and presents it like
   basic auth information to the remaining parts of Zope.

   The DigestAuthCrumbler is a bit less transparent.
   It *MUST* know the user's password in order to verify
   the validity of the presented auth information (more precisely,
   a special hash would be sufficient, but usual user folders
   do not support such hashes). Therefore, it can only be
   used together with UserFolders providing access to the
   clear text password.



 --
 Dieter



--
Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] SSL Digest Auth

2006-02-16 Thread michael nt milne
No, I read that for digest authentication to work the authentication data can't be encrypted. Therefore it seems perfect for implementing more security on non-SSL sites or sites that don't need SSL but need more security on logon. 

On 2/16/06, Chris Withers [EMAIL PROTECTED] wrote:
Hi All,Something from another thread which I forgot to ask about...Can you really not use digest auth with an ssl connection?
cheers,Chris--Simplistix - Content Management, Zope  Python Consulting - http://www.simplistix.co.uk___
Zope maillist-Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**
(Related lists -http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- Michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-16 Thread michael nt milne
sorry Chris but ifI was 'retarded' as you indeed claim I wouldn't have been able to achieve so much with Plone and Zope over the last 6 months. I've gone from zero knowledge of the plaftorms to installing Zope, and Plone on a Unix box from source (not easy and required a alot of perseverance), setting up development, production and staging instances, setting up VirtualHosting and a number of live production sites on the platform. Also I've done all that on a windows box using Apache which is also running IIS (not easy to work with). I've then installed SSL with virtual hosts. I'm still learning obviously, but am happy with progress to date and I've taken lots of advice.I've made mistakes sure but who doesn't. I've also been very vocal in my praise of the platform and how powerful it is to many people in my sphere. If you feel you would be better of without people who fit my profile then you're cutting your own throat. And anyway 'retarded' is not so much 'statement of fact' as use of 'emotive language'.


Anyway I thought you weren't replying to any more of my posts? You lie. I'm a troll remember.

 MSIE versions. You can work around these problems by forcing Apache not to use HTTP/1.1, keep-alive connections or send the SSL close notify messages to MSIE clients. This can be done by using the
 following directive in your SSL-aware virtual host sectionSo, have you actually followed this advice? What difference has it made?*sigh*

No I haven't as yet. Too busy elsewhere.I will try the access rule on Plone first and then go for the IE rules in Apache. I'll get there in the end. As I say there's another guy on the Plone list who can't post images over SSL with IE so I'm speaking to him as well.


Michael
On 2/15/06, Chris Withers [EMAIL PROTECTED] wrote:
michael nt milne wrote: Chris, back to throwing personal insults eh.It's not so much an insult as a statement of fact. Retarded means
slower, and given how slow you seem to be to get the stuff we'rediscussing, I think the shoe fits. Not necessarily meant as an insult,but if you want to take it as such, so be it...
 refrain from 'gratuitous insults'. That's just going to turn people away and harm the cause of Zope.Some people this community could do without. I have no doubt that you'dargue that I am one of those people. I, of course, feel the same about
you ;-) I hope you're making sure the secure bit is set on those cookies ;-) I take it this is a joke.Okay, so you don't want to bother reading specs eithers. Great. Go read
up on the cookie spec, find out what the secure bit of a cookie does... Plone uses cookie authentication by default.And Plohn is hideously insecure by default, what's your point? You can't log in with out that.
Sure you can, chuck ?disable_cookie_auth__=1 on the end of a url that'snot anonymously accessible... There are security risks there but good user education with a strong password policy, no use of 'save
 password' facilities and SSL is a start at least.Good luck, you're gonna need it... Considering you can't even quote a response correctly, I somehow doubt that.. Oh come on.
What? You're mail client put  in front of your previous post, whichis faulty for the majority of mail clients used by people on this list.Fix it. Fine, don't take our advice, but don't expect help either.
 What because I don't take all your advice? That's a bit elitist and also not good for growing the user base of Zope.You don't take anyone's advice on this list without bitching and whining
about it... And to finish on my problem with IE over SSL, I'll be implementing the help found here. It's recognised that there are problems and bugs in IE over SSL:Your problem will undoubtedly be that access_rule put in by the Plohn
installer. Remove it, and I'll bet your problems go away. But hey, whatdo I know? MSIE versions. You can work around these problems by forcing Apache not to use HTTP/1.1, keep-alive connections or send the SSL close
 notify messages to MSIE clients. This can be done by using the following directive in your SSL-aware virtual host sectionSo, have you actually followed this advice? What difference has it made?
*sigh*Chris--Simplistix - Content Management, Zope  Python Consulting - http://www.simplistix.co.uk
-- Michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-16 Thread michael nt milne
yeah, take his advice Chris :-)
On 2/16/06, Floyd May [EMAIL PROTECTED] wrote:
It's been said a million times in a million different ways, so let'stick that counter one more time and make it a million and one:
DON'T FEED THE TROLLS.http://img18.photobucket.com/albums/v55/krazykit/2004-03-22_104550_troll.gif--Floyd May
Senior Systems AnalystCTLN - CareerTech Learning Network[EMAIL PROTECTED]___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev )-- 
Michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Re: major problems placing authentication on an extranet site-security flaw?

2006-02-15 Thread michael nt milne
Chris, back to throwing personal insults eh. I'll refrain from going
down that line as it's tedious and un-professional. You've obviously
not listened to the advice of your fellow peers on that front.
Everyone can take on a little advice and I've remarked previously that
I was wrong in my initial approach with this post which has now blown
out of all proportion and is to be honest a bit of a joke.

Security is hard and I'm getting my head round it. I'm also newish to
Zope and Plone and feel I've progressed pretty well in about 6 months
considering I do a full-time job too. It is a steep learning curve and
the more people that persevere with it the better.

Whilst I find the Zope and Plone lists generally fantastic. They're
the best user based lists I have experienced. However they're not
helped by the attitude displayed by you, Chris and your inability to
refrain from 'gratuitous insults'. That's just going to turn people
away and harm the cause of Zope.

To answer some of your points:


I hope you're making sure the secure bit is set on those cookies ;-)

I take it this is a joke. Plone uses cookie authentication by default.
You can't log in with out that. There are security risks there but
good user education with a strong password policy, no use of 'save
password' facilities and SSL is a start at least.

Considering you can't even quote a response correctly, I somehow doubt
that..

Oh come on.

Fine, don't take our advice, but don't expect help either.

What because I don't take all your advice? That's a bit elitist and
also not good for growing the user base of Zope.


Sheesh, sorry, but I've come to the conclusion you're just trolling and
so won't be wasting my time with any more of your posts...

Well you're wrong on that one as well. You're probably just not suited
to helping out newer users. I wouldn't suggest customer service as a
second career..:-)

And to finish on my problem with IE over SSL, I'll be implementing the
help found here. It's recognised that there are problems and bugs in
IE over SSL:

http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html

The first reason is that the SSL implementation in some MSIE versions
has some subtle bugs related to the HTTP keep-alive facility and the
SSL close notify alerts on socket connection close. Additionally the
interaction between SSL and HTTP/1.1 features are problematic in some
MSIE versions. You can work around these problems by forcing Apache
not to use HTTP/1.1, keep-alive connections or send the SSL close
notify messages to MSIE clients. This can be done by using the
following directive in your SSL-aware virtual host section

 SetEnvIf User-Agent .*MSIE.* \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0

Further, some MSIE versions have problems with particular ciphers.
Unfortunately, it is not possible to implement a MSIE-specific
workaround for this, because the ciphers are needed as early as the
SSL handshake phase. So a MSIE-specific SetEnvIf won't solve these
problems. Instead, you will have to make more drastic adjustments to
the global parameters. Before you decide to do this, make sure your
clients really have problems. If not, do not make these changes - they
will affect all your clients, MSIE or otherwise.





On 2/14/06, Chris Withers [EMAIL PROTECTED] wrote:
 Alexander Limi wrote:
  On Tue, 14 Feb 2006 04:59:07 -0800, Dario Lopez-Kästen
  [EMAIL PROTECTED] wrote:
 
  *HOWEVER*, IIRC, plone, especially on windows (if installed with the
  windows installer) uses a trick, which is not documented at all, as
  far as I know, uses a Site Access rule.
 
  http://plone.org/documentation/faq/multiple-sites-installers
 
  What part is not documented at all? :)

 *sigh*

 If it uses an Access Rule, it's likely still a dirty trick that will
 confuse retards like Michael, I'd suggest removing it...

 Chris

 --
 Simplistix - Content Management, Zope  Python Consulting
 - http://www.simplistix.co.uk

 ___
 Zope maillist  -  Zope@zope.org
 http://mail.zope.org/mailman/listinfo/zope
 **   No cross posts or HTML encoding!  **
 (Related lists -
  http://mail.zope.org/mailman/listinfo/zope-announce
  http://mail.zope.org/mailman/listinfo/zope-dev )



--
Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope/Plone logon security strategy etc

2006-02-15 Thread michael nt milne
Hi DieterI've installed DigestAuth. Just wondering if there are any set-up instructions at all?ThanksMichaelOn 1/26/06, Dieter Maurer
 [EMAIL PROTECTED] wrote:michael nt milne wrote at 2006-1-25 18:55 +:
Yeah I know the security aspects are good once you are in, howeverwhen you login it's possible for someone to grab your logon name andpass as it goes over the internet, as there's no encryption at all.
Then obviously login themselves and compromise your sites.You might be interested in my DigestAuth product.It provides HTTP DigestAuthentication for Zope.Of course, HTTP authentication gives you less freedom than
other forms of authentication (as the browser does the login).These other forms can be made safer by the use of https.--Dieter-- Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Zope/Plone logon security strategy etc

2006-02-15 Thread michael nt milne
PSI won't be using this with SSL obviously. Good to use it to secure login areas where the other content doesn't require SSL.On 2/15/06, michael nt milne
 [EMAIL PROTECTED] wrote:
Hi DieterI've installed DigestAuth. Just wondering if there are any set-up instructions at all?ThanksMichaelOn 1/26/06, 
Dieter Maurer
 [EMAIL PROTECTED] wrote:
michael nt milne wrote at 2006-1-25 18:55 +:
Yeah I know the security aspects are good once you are in, howeverwhen you login it's possible for someone to grab your logon name andpass as it goes over the internet, as there's no encryption at all.
Then obviously login themselves and compromise your sites.You might be interested in my DigestAuth product.It provides HTTP DigestAuthentication for Zope.Of course, HTTP authentication gives you less freedom than
other forms of authentication (as the browser does the login).These other forms can be made safer by the use of https.--Dieter
-- Michael

-- Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread michael nt milne
 Yes, I do realise that it's hard. Regarding the cookie comment that was the reason I wanted to use Apache location based login.Huh? I'm sure some people would love to know how those two things relate
in your head...

I wanted to use an Apache served login box before the Zope/Plone site is served but I've decided against that now as authentication should be closely linked to the application. Also Apache location based authentication isn't cookie based. Now going with Zope/Plone auth over SSL alone with cookies set to expire.
 I do realise that leaving a logon cookie is insecure and that comment was perhaps misguided. I started to think about usability etc.If you're lucky, you might get a system that's both insecure _and_
unusable ;-)

My aim is security with a good level of usability and I'll achieve that :-) I'm going to block 8080 at the router/firewall level as Zope obviously needs to keep serving through 8080 to Apache.

using iptables in the box is probably a better idea...

thanks for the advice but I'll probably go with router level As for the issue with IE6 and editing pages over SSL it all works fine in Firefox 1.5, so it's a browser issue which I just can't quite
 fathom just now.I doubt it, my guess would still be that you're doing something wrongsomewhere...

Sorry but I don't agree on this one. I haven't altered any of the Plone 'edit page' functionality. It's out of the box. Works fine without SSL but on SSL trying to edit a page causes 'can't find server'. Firefox though works perfectly viewing and editing so it's a browser issue. I know of other people who have issues with IE and posting images over SSL. Must be something to do with POST security over IE. I'm going to take it up with them but don't expect too much of a response. I'm now about to try with Opera.

On 2/14/06, Igor Stroh [EMAIL PROTECTED] wrote:
michael nt milne wrote: Yes, I do realise that it's hard. Regarding the cookie comment that was the reason I wanted to use Apache location based login. I do
 realise that leaving a logon cookie is insecure and that comment was perhaps misguided. I started to think about usability etc. I'm going to block 8080 at the router/firewall level as Zope obviously
 needs to keep serving through 8080 to Apache.No need to do that, just configure your zope (etc/zope.conf) tolisten only on your loopback interface:http-serveraddress 
127.0.0.1:8080/http-serverAn btw, Zope doesn't *need* to serve on 8080...HTH,Igor___Zope maillist-
Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev )-- 
Michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-14 Thread michael nt milne
I am sure you know this, but since we have learned very little (or atleast I have - maybe I am not paying attention well enough :-):

Have you modified that rule to take advantage of the SSL -server?Perhaps the SiteAccess rule is triggering adn trying to redirect you toan address/port where there is no service listeing?

No I haven't modified anything apart from upgrading Apache, installing and configuring SSL, doing VirtualHost rules and then locking down Plone using the 'private site' documentation.

Why would Firefox 1.5.1work perfectly and be able to edit pages and upload images? As I've said I know of more issues with IE and posting attachments througha private contact on this list. Doesn'ts seem like a coincidence to me. At least you've learned that :-)



On 2/14/06, Dario Lopez-Kästen [EMAIL PROTECTED] wrote:
Alexander Limi said the following on 2006-02-14 14:05: On Tue, 14 Feb 2006 04:59:07 -0800, Dario Lopez-Kästen
 [EMAIL PROTECTED] wrote: *HOWEVER*, IIRC, plone, especially on windows (if installed with the
 windows installer) uses a trick, which is not documented at all, as faras I know, uses a Site Access rule. 
http://plone.org/documentation/faq/multiple-sites-installers What part is not documented at all? :)ähh... woopsy-daisy! my mistake. Sorry! 8^)/dario - crawls back under a rock... ;)
 ---Dario Lopez-Kästen, IT Systems  Services Chalmers University of Tech.Lyrics applied to programming  application design:
emancipate yourself from mental slavery - redemption song, b. marley___Zope maillist-Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists -http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )-- Michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: TextIndexNG2 problems

2006-02-14 Thread michael nt milne
No idea...I won't spend any time on windows issues at this point.Life-is-too-short-to-waste-it-with-windows-issues,

Well of course Windows isn't the ideal platform and sucks on many levels but the fact that many, many, businesses have their own Windowssmall business serverboxes in house and can install and base their small to medium traffic sites on then, means that in reality, anti-Windows snobbishness doesn't really get you anywhere on a business level. Even though it has a logical core.

On 2/14/06, Tres Seaver [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: SHA1Owen K wrote: Andreas, Barry, and all,
 I have the same TextIndexNG2 install error as Barry (see Error text below). My setup: MS VisualC++ 7 . Zope 2.7.8-final, python 2.3.5, win32 Also installed are 
TextIndexNGExtensions-2.02.win32-py2.3.exe and python-Levenshtein-0.10.win32-py2.3.exe. My windows registry points to the python installation that I have under Plone 2.1.2, and that is the only python on my Windows XP Pro machine.
 Barry, any luck?Python 2.3.x was built with VC++ version 6; Python 2.4.x with version 7.If you can't lay your hands on that version, then perhaps Mingw would do:
http://sebsauvage.net/python/mingw.htmlTres.- --===Tres Seaver+1 202-558-7113
[EMAIL PROTECTED]Palladion Software Excellence by Designhttp://palladion.com-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.1 (GNU/Linux)Comment: Using GnuPG with Thunderbird - 
http://enigmail.mozdev.orgiD8DBQFD8dRS+gerLs4ltQ4RAumKAKCPszCd+VeCWjxQQPIIPFJLUXS8TgCeJ/fCakN89KE6basU2l+47UBcpt8==42eM-END PGP SIGNATURE-___
Zope maillist-Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**
(Related lists -http://mail.zope.org/mailman/listinfo/zope-announcehttp://mail.zope.org/mailman/listinfo/zope-dev
 )-- Michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-12 Thread michael nt milne
ThanksIt's worth bearing in mind that those credentials are passed over thewire with every page, so you need your sessions to /stay/ in SSL modeonce authenticated.Yes, I've got the whole site going over SSL and the :8080 port re-directing to SSL.
However on my main server where I have other sites I was thinking about implementing SSL for the login areas to make them fully secure. From what you are saying though you'd basically need to make a whole site go over SSL and just implementing that on the login areas isn't worth it?
I still have an issue with IE6 over SSL where trying to create new pages or edit content, produces a server not found and the padlock dissapears. I have TLS 1.0 and SSL 2.3, 3.0 selected in advanced. IE 6.02. Firefox 
1.5 (predictably..) works fine but I don't want to have to get all my users to install it even though I'd like to :-)On 2/11/06, Philip Kilner 
[EMAIL PROTECTED] wrote:Hi Michael,michael nt milne wrote:
 I've implemented what's outlined in the make private site documentation and it works fine on Plone 2.1.1. No content is available apart from the site-map page (doesn't list content) and the contact form
 but I can figure that out separately.Since neither of those counts as content as such, I think that that is legitimate and as you say, you can work around those if it matters to
you (In cases where I've wanted to work around such things, I've simplycalled a script that redirects with an error message if the theappropriate conditions aren't met. Yes I think I like the HTML login page way to authenticate. It feels
 more usable. And I don't think I'll use an Apache login box at all. Most users will find it hard remembering one password and with cookie authentication over SSL you can go straight into the site. Brilliant.
Agreed. Apache does a great job of managing the SSL, securing the dataover public wires, but that's a 100% generic task whereas theauthentication is tightly bound to your application.It's worth bearing in mind that those credentials are passed over the
wire with every page, so you need your sessions to /stay/ in SSL modeonce authenticated. I'm revisting some of the points made in this thread though about security. It does seem that Zope and Plone as you say, are at odds on this.
Because Zope is an application server, it has to expose it's mechanism -Plone has an easier job because it has a specific task to do (e.g.manage content), and so can take an approach which is much simpler to
fly. In Plone, always do things the Plone way - working at the Zopelevel may potentially subvert Plone's mechanisms for achieving things.--Regards,PhilKEmail: 
[EMAIL PROTECTED]PGP Public key: http://www.xfr.co.ukVoicemail  Facsimile: 07092 070518You'll find that one part's sweet and one part's tart:say where the sweetness and the sourness start.
- Tony Harrison-- Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-12 Thread michael nt milne
Yes, I do realise that it's hard. Regarding the cookie comment that
was the reason I wanted to use Apache location based login. I do
realise that leaving a logon cookie is insecure and that comment was
perhaps misguided. I started to think about usability etc.

I'm going to block 8080 at the router/firewall level as Zope obviously
needs to keep serving through 8080 to Apache.

As for the issue with IE6 and editing pages over SSL it all works fine
in Firefox 1.5, so it's a browser issue which I just can't quite
fathom just now. Annoying as all the users are on IE. Unless I use
that as an excuse for them all to get a better browser..

Thanks for the comments

Michael



On 2/12/06, Chris Withers [EMAIL PROTECTED] wrote:
 michael nt milne wrote:
  Yes, I've got the whole site going over SSL and the :8080 port re-directing
  to SSL.

 Anything not over SSL should be blocked, not redirected, given your
 earlier paranoia...

  However on my main server where I have other sites I was thinking about
  implementing SSL for the login areas to make them fully secure. From what
  you are saying though you'd basically need to make a whole site go over SSL
  and just implementing that on the login areas isn't worth it?

 Correct. Also, don't turn SSL into a panacea. Security is hard. Very
 hard. I'm not sure you understand that yet...

  I still have an issue with IE6 over SSL where trying to create new pages or
  edit content, produces a server not found and the padlock dissapears.

 Look at where the form action points to, I suspect you haven't correctly
 configured your virtual hosting stuff in Apache and/or Zope.

 cheers,

 Chris

 --
 Simplistix - Content Management, Zope  Python Consulting
 - http://www.simplistix.co.uk




--
Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-11 Thread michael nt milne
Hi Phil

I've implementedwhat's outlined in the make private site documentationand it works fine on Plone 2.1.1.No content is available apart from the site-map page (doesn't list content) and the contact form but I can figure that out separately.


Yes I think I like the HTML login page way to authenticate. It feels more usable. And I don't think I'll use an Apache login box at all. Most users will find it hard remembering one password and with cookie authentication over SSL you can go straight into the site. Brilliant.


I'm revisting some of the points made in this thread though about security. It does seem that Zope and Plone as you say, are at odds on this.

Thanks alot for your help and words of advice. I still seem to have an issue where editing a page in IE over SSL produces a 'can't find server' but it's a browser issue as this works fine on the latest Firefox.


Michael
On 2/11/06, Philip Kilner [EMAIL PROTECTED] wrote:
Hi Michael,michael nt milne wrote: Yes I found that as well but picked it up from the Google cache.
 Strange that it is available there as it's password protected. Possibly it was public before?Yes, it was public before.Have you tried this, and does it solve your problems?
JCC is spot on when he points to workflow as being the basis of securityin Plone - it's also worth saying that the Zope system and the Plonesystem are pretty much at odds with one another. You are more likely to
make mistakes at the Zope level than to do what you intend.(If you try the howto, don't overlook that last step - hitting theupdate security settings button. Managed to overlook this myself
recently (despite it being the umpteenth time I've followed this howto),and spent hours thinking that something more exotic was going on!)Let us know how you get on...--Regards,
PhilKEmail: [EMAIL PROTECTED]PGP Public key: http://www.xfr.co.ukVoicemail  Facsimile: 07092 070518You'll find that one part's sweet and one part's tart:
say where the sweetness and the sourness start.- Tony Harrison-- Michael 
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-10 Thread michael nt milne
Well I said it was over and out but I have to respond to this latest post. I appreciate the help here and will be trying out some of the suggestions. Basically though, Zope permissions and security could be made a lot more usable. It's far too technically focused and this is the opinion of a few others as well. The whole ZMI interface could be put through a usability re-design to be honest and that's not even to comtemplate the security areas.
I have a few clients, who I have built sites for using Plone and on showing them the ZMI they have re-coiled in absolute horror. Now obviously Plone is trying to bring more and more features within its own interface, which is good as it's more usable. However many things still remain. Most of my clients are able to use the Plone editing tools and interfaces but can't at all get their heads round the ZMI. I would guess that changing interfaces doesn't help but there you go.
Glad you feel entertained Norbert. I have been as well and at the same time have made quite a bit of progress. Cheers.On 2/9/06, Norbert Marrale
 [EMAIL PROTECTED] wrote:Chris Withers wrote:
 michael nt milne wrote: Over and out on this one from me You promise? ;-) ChrisI think Tino made the key suggestion earlier on: log out of the ZMI,close your browser, restart it, clear the cache, clear any saved
passwords, try to view the page in question and - if your settings arecorrect - get prompted to log by whichever authentication mechanism youchose to implement. If you cancel out and are able to view the page, you
made a configuration mistake somewhere. Find it, fix it - and try again.This has become one of the more hilarious threads I've read in a longtime. I suggest submitting Michael's name to alt.usenet.kooks for
consideration as KotM.Norbert___Zope maillist-Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )-- Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-10 Thread michael nt milne
You liar! I couldn't resist :-) You seem so entertained. Bit of sport and all that.I've spoken to many people on various lists and can confirm the feeling about usability on the ZMI etc. You call them 'halfwits'. That puts you on rather high ground and this attitude is obviously part of the problem.
How come Plone's interface is so useable and a delight to work with? How was that financed?  who I have built sites for using Plone and on showing them the ZMI they have re-coiled in absolute horror.
Sure it wasn't just your cack-handed coding? ;-) I haven't coded anything in the ZMI ! They shouldn't be going to the ZMI if you've done your job properly with
the Plohn interface..Wrong. There are many things you still have to do through the ZMI. Like changing the banner graphic on the site if you want to. Basic things like that. Guessing? Yay, just what you need from someone you're paying to develop
something... Just a figure of speech in trying to be diplomatic. I shouldn't have bothered to be honest. And as for the clients comment I'm not even going to go there. I have many highly satisfied clients. I hope you do as well but I doubt it with such an un-professional manner.
Please don't post again or I will have to reply :-) haOn 2/10/06, Chris Withers [EMAIL PROTECTED]
 wrote:michael nt milne wrote: Well I said it was over and out but I have to respond to this latest post.
You liar! Basically though, Zope permissions and security could be made a lot more
 usable.Cool, we look forward to your documented proposal to dev.zope.orgincluding implemented code on a branch with unit tests that satisfiesall of Zope's potential users while maintaining complete security in all
scenarios and providing a ui so perfect that even muppets could use itand not shoot themselves in the foot. It's far too technically focused and this is the opinion of a few others as well.
A few other halfwits maybe... The whole ZMI interface could be put through a usability re-design to be honestAh great, does that mean you're offering to finance this? and that's not even to comtemplate the security
 areas.I'm not sure you're qualified or capable of contemplating such areas ;-) I have a few clients,I pitty them, I really do... who I have built sites for using Plone and on showing
 them the ZMI they have re-coiled in absolute horror.Sure it wasn't just your cack-handed coding? ;-) Now obviously Plone is trying to bring more and more features within its own interface, which is
 good as it's more usable.Obiviously, it's why we all _love_ Plohn so _damn_ much *grinz* However many things still remain.Sadly, including you... Most of my clients are able to use the Plone editing tools and interfaces but can't at
 all get their heads round the ZMI.They shouldn't be going to the ZMI if you've done your job properly withthe Plohn interface... I would guess that changing interfaces doesn't help but there you go.
Guessing? Yay, just what you need from someone you're paying to developsomething... Glad you feel entertained Norbert. I have been as well and at the same time have made quite a bit of progress. Cheers.
Please god, leaves us alone...Chris--Simplistix - Content Management, Zope  Python Consulting- http://www.simplistix.co.uk
-- Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-10 Thread michael nt milne
I agree. I didn't start it and I find it un-professional. I came here with a genuine issue, have received some help which I thank people for and have made some legitimate points. I find the Zope and Plone lists are generally very good and an not interested in slanging matches.
ThanksMichaelOn 2/10/06, Paul Winkler 

[EMAIL PROTECTED] wrote:Can we all stop with the public name-calling and personal insults?
It's embarassing.--Paul Winklerhttp://www.slinkp.com___
Zope maillist-Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev
 )-- 
Michael

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: major problems placing authentication on an extranet site-security flaw?

2006-02-10 Thread michael nt milne
I take the point that I approached this issue from the wrong standpoint and apologise for that. This was perhaps born out of a little frustration. I was never rude though. Also I feel that Plone has usabillity which sits above it's prettyness. It is a well designed interface graphically but also has very strong non graphical usability elements.
On 2/10/06, Lennart Regebro [EMAIL PROTECTED] wrote:
On 2/10/06, michael nt milne [EMAIL PROTECTED] wrote: I've spoken to many people on various lists and can confirm the feeling about usability on the ZMI etc. You call them 'halfwits'. That puts you on
 rather high ground and this attitude is obviously part of the problem.1. By complaining about something that a lot of people do not find anyproblem with, YOU put yourself on a rather high ground compared to the
people here who both created and use it.Suggestion: Don't complain about the software that you want help with,because it makes the people who wrote it pissed off. Quite simple,really.2. I have myself held courses in how to use a CMS (EasyPublisher)
where you did most everything through the ZMI for people with bothervery little computer experience and a lot, and it was never a bigusebility problem. That the ZMI has big useability problems is simplynot true. You also claim that there are lot of people complainng that
the ZMI has useability problems. Well, we are on all thosemailing-lists, unless you have found some secret mailing lists forpeople who don't like Zope, so we know that there is in fact NOT a lotof complaints about this.
When you claim that there are loads of people who say so, when thereobviously isn't undermines your credbility and inclines people to nottake you seriously.Suggestion: Don't make up facts and statements that is not true, don't
invent people that doesn't exist. Don't say that X is generallyaccepted as a fact when it isn't. If you do that, people will call youa liar, and you don't want that.(Oh, and if you want an explanation about why a few people don't find
the ZMI useable, it's because it's not pretty, don't have flashgraphics and such. People often confuse prettyness withuseability. ZMI is basic and well, ugly. It is however quite
consistent and useable.)And the same goes for Zopes access control. It is in no waycomplicated or hard to understand. By starting early in the discussionwith complaining about it, you just make people pissed off and get the
discussion running away in the wrong direction.Don't do that. How come Plone's interface is so useable and a delight to work with? How was that financed?Because it's pretty? :-)--
Lennart Regebro, Nuxeo http://www.nuxeo.com/CPS Content Management http://www.cps-project.org/
-- Michael
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


  1   2   >