[Zope] eclipseplugin for python

2006-05-11 Thread shivayogi kumbar
I downloaded eclipse plugin for python by directly downloading zip file and extracting under eclipse folder; because it could not update via PROXY. It was suggested to update plugins from eclipse IDE only. I am unable to use that plugin(Python) in eclipse. Is it a problem of proxy or any other? I want to know how to configure eclipse to adapt to python.

Let me know latest version of eclipse and python plugin.
Thanks.
___
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] Zope to ldif

2006-05-11 Thread Jamie Bullock

Does anyone have a script or any advice for exporting Zope users and groups to 
an LDIF file?

Thanks

Jamie
___
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] Can't import ExtZSQLFactory

2006-05-11 Thread Andrew Hedges

Here's my traceback:

2006-05-11 16:08:46 ERROR Zope Couldn't install MVP
Traceback (most recent call last):
  File "/usr/local/zope/lib/python/OFS/Application.py", line 762, in  
install_product

global_dict, global_dict, silly)
  File "/usr/local/zopedev/Products/MVP/__init__.py", line 18, in ?
import MVP
  File "/usr/local/zopedev/Products/MVP/MVP.py", line 23, in ?
import ExtZSQLFactory
ImportError: No module named ExtZSQLFactory

And yet, there ExtZSQL sits, with proper permissions, in the Products  
directory of my Zope instance.  Any ideas?


-Andrew
-
[EMAIL PROTECTED] / http://clearwired.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] versioning application

2006-05-11 Thread David Bear
I am wondering if anyone is using zope as versioning repository. We
have a group of researchers that need some kind of version control
system. The need to control versions of data sets, and office documents.

I was wondering if anyone had implemented some a version control system
in zope, cmf, or plone -- and was using webDAV to access the files. -- David BearWhat's the difference between private knowledge and public knowledge?
___
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: Can't import ExtZSQLFactory

2006-05-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Hedges wrote:
> Here's my traceback:
> 
> 2006-05-11 16:08:46 ERROR Zope Couldn't install MVP
> Traceback (most recent call last):
>   File "/usr/local/zope/lib/python/OFS/Application.py", line 762, in 
> install_product
> global_dict, global_dict, silly)
>   File "/usr/local/zopedev/Products/MVP/__init__.py", line 18, in ?
> import MVP
>   File "/usr/local/zopedev/Products/MVP/MVP.py", line 23, in ?
> import ExtZSQLFactory
> ImportError: No module named ExtZSQLFactory
> 
> And yet, there ExtZSQL sits, with proper permissions, in the Products 
> directory of my Zope instance.  Any ideas?

You need to get help from the author of the 'MVP' product (about which I
know nothing).  The import there is expecting either to find a module
'ExtZSQLFactory' directly on the PYTHONPATH or else in the product itself.


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

iD8DBQFEY88e+gerLs4ltQ4RAkiKAJ9FUwpz84OkiWyvVloUB0jC0NV9zQCfa4SX
b2/KG9xd9D9jx88HiTvTMtw=
=LK2A
-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 )


[Zope] Re: Zope to ldif

2006-05-11 Thread Sam Stainsby
On Thu, 11 May 2006 20:35:53 +, Jamie Bullock wrote:
 
> Does anyone have a script or any advice for exporting Zope users and groups 
> to an LDIF file?

I have built such a script for a client, though the 'users' and 'groups'
that the script works on are workflowable content objects in Plone
(similar to the approach used CMFMember). It is then fairly easy to find
users and groups in the portal catalog and map then to appropriate LDAP
attributes. Writing LDIF to update an existing LDAP repository (rather
than just rebuilding it completely) took me quite a while to get right.
The script is about 700 LOC (including blank lines & comments) - it is not
trivial, unless you are just going to rebuild your LDAP each time.

If not using Plone, CMFMemmber, etc. then imagine you could extract users
and groups directly out of Zope and use member properties etc to find the
LDAP attributes that you need.

Let me know if you want me to ask my client to open source a version of
the script. They are generally agreeable with that sort of thing. At some
stage we may open source the whole project.

PS: The aim of my client's project is to have a central staff directory
with all staff usernames and passwords, and group/role based authorization
info controlled though a single Plone Web interface. For example, I have
set up to be qmailGroup objects in LDAP so that mailing lists can be
controlled through the web UI when using mail servers that understand the
qmail schema. I am also using PAM LDAP to control access to apache 2 and
subversion, and using LDAP to control authentication and authorization on
other remote Zope servers.


___
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: Can't import ExtZSQLFactory

2006-05-11 Thread Andrew Hedges
Thanks, Tres, for replying.  In fact, I am the author of the MVP  
product (prolly shoulda mentioned that...).  It seems Zope's not  
finding my Products path for purposes of importing modules.  It is,  
however, finding it for purposes of registering products.  This is my  
first product, so I'm still getting the lay of the land.  Should I be  
able to import modules from my Products directory?  Does the fact I  
can't mean my install is configured incorrectly?  I tried declaring  
an explicit path to my Products directory.  Here's (what I think are)  
the relevant bits from my zope.conf:


%define INSTANCE /usr/local/zopedev
%define ZOPE /usr/local/zopedev
products /usr/local/zopedev/Products

TIA for any help,
-Andrew

On May 11, 2006, at  5/11/2006 5:56 PMMDT, Tres Seaver wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Hedges wrote:

Here's my traceback:

2006-05-11 16:08:46 ERROR Zope Couldn't install MVP
Traceback (most recent call last):
  File "/usr/local/zope/lib/python/OFS/Application.py", line 762, in
install_product
global_dict, global_dict, silly)
  File "/usr/local/zopedev/Products/MVP/__init__.py", line 18, in ?
import MVP
  File "/usr/local/zopedev/Products/MVP/MVP.py", line 23, in ?
import ExtZSQLFactory
ImportError: No module named ExtZSQLFactory

And yet, there ExtZSQL sits, with proper permissions, in the Products
directory of my Zope instance.  Any ideas?


You need to get help from the author of the 'MVP' product (about  
which I

know nothing).  The import there is expecting either to find a module
'ExtZSQLFactory' directly on the PYTHONPATH or else in the product  
itself.


___
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: Can't import ExtZSQLFactory

2006-05-11 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Hedges wrote:
> Thanks, Tres, for replying.  In fact, I am the author of the MVP 
> product (prolly shoulda mentioned that...).  It seems Zope's not 
> finding my Products path for purposes of importing modules.  It is, 
> however, finding it for purposes of registering products.  This is my 
> first product, so I'm still getting the lay of the land.  Should I be 
> able to import modules from my Products directory?  Does the fact I 
> can't mean my install is configured incorrectly?  I tried declaring  an
> explicit path to my Products directory.  Here's (what I think are)  the
> relevant bits from my zope.conf:
> 
> %define INSTANCE /usr/local/zopedev
> %define ZOPE /usr/local/zopedev
> products /usr/local/zopedev/Products

You need to import the module as 'Products.ExtSQLFactory':  the
'Products' package is itself on your PYTHONPATH (or stitched into it via
some majyk), but the sub-packages of it are not.


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

iD8DBQFEY+z8+gerLs4ltQ4RAgl/AJ9sMAXBondo9DNi9MhZsnDKPVM0EgCgjsT2
lsvxTWI4sQq83Myqb6r4jsU=
=w3wg
-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 )


Re: [Zope] Re: Can't import ExtZSQLFactory

2006-05-11 Thread Paul Winkler
On Thu, May 11, 2006 at 06:38:25PM -0600, Andrew Hedges wrote:
> Thanks, Tres, for replying.  In fact, I am the author of the MVP  
> product (prolly shoulda mentioned that...).  It seems Zope's not  
> finding my Products path for purposes of importing modules.  It is,  
> however, finding it for purposes of registering products. 

Normally in zope 2, product Foo would import stuff from product Bar
like so:

from Product.Bar import blah


-- 

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 )


Re: [Zope] versioning application

2006-05-11 Thread Chris Withers

David Bear wrote:

I am wondering if anyone is using zope as versioning repository. We have a
group of researchers that need some kind of version control system. The 
need

to control versions of data sets, and office documents.


Why not just use a version control system like Subversion? ;-)

The hole is round, the peg is square...

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 )