[Zope-dev] i18nmessageid has a broken link

2008-05-09 Thread Sebastian Wehrmann

Hi,

the zope.i18nmessageid package has a broken link on 
http://download.zope.org/zope3.4/zope.i18nmessageid/ . The 
'zope.i18nmessageid-3.4.3-py2.4-linux-i686.egg' does not exist any more 
on pypi.


Could someone please fix it?

Thanks,
--
Sebastian Wehrmann

gocept gmbh  co. kg · forsterstrasse 29 · 06112 halle/saale · germany
www.gocept.com · work. +49 345 122988912 · fax. +49 345 12298891



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


Re: [Zope-dev] i18nmessageid has a broken link

2008-05-09 Thread Tim Terlegård

On May 9, 2008, at 9:37 AM, Sebastian Wehrmann wrote:

the zope.i18nmessageid package has a broken link on http://download.zope.org/zope3.4/zope.i18nmessageid/ 
 . The 'zope.i18nmessageid-3.4.3-py2.4-linux-i686.egg' does not  
exist any more on pypi.


Could someone please fix it?


This egg was deliberately removed. I don't know the whole story
about pypi and zope so I wouldn't dare to remove the egg myself,
but it was removed.

If I easy_install zope.i18nmessageid on my Mac I will get that linux
specific egg. That egg won't work on my computer. So I asked those
who know more about this and they say that only windows eggs are
allowed to be binary, the rest should be source eggs. That makes
sense to me.

It looks like you work for gocept? Christian Theune was also saying
that this egg shouldn't be on pypi, so you could talk to your  
colleague  :)


Why do you need this linux specific egg anyway?

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

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


Re: [Zope-dev] i18nmessageid has a broken link

2008-05-09 Thread Sebastian Wehrmann

hey Tim,

Tim Terlegård schrieb:

On May 9, 2008, at 9:37 AM, Sebastian Wehrmann wrote:



Why do you need this linux specific egg anyway?


I don't need this egg, my buildout is always requesting it instead of 
the source package.


I only wanted to ask if someone could please remove the broken link from 
the download.zope page so that everyone (including me) who indexed his 
buildout.cfg with the zope3.4 index will get the source package of 
zope.i18nmessageid instead of the egg (which does not exist anymore).


Thanks,
--
Sebastian Wehrmann

gocept gmbh  co. kg · forsterstrasse 29 · 06112 halle/saale · germany
www.gocept.com · work. +49 345 122988912 · fax. +49 345 12298891



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


Re: AW: [Zope-dev] Re: AW: Re: AW: Re: New i18n locale extraction concept

2008-05-09 Thread Jacob Holm

Hi,

Roger Ineichen wrote:
Note, if you run the i18nextract script, all module must be there like in a running application. You can't only use the files which will 
contain locales. Also modules which this packages import from must be there.
  

That should not be necessary I think.  At least I am not used to it.
When I use i18ndude for making pot/po files for a Plone 
product/package and I have from Products.CMFPlone import something
in a file, then this import does not really take place.  I 
expect in the case of python files it simply looks for lines like:


  _(uMy message to the world.)



Probably it works in some ues case but for sure not in all.
Let's give a sample. If you define a interface like

foo = zope.schema.Choice(
title=_('Title'),
vocabulary=foo.bar.myVocabularyFromPackageFoo
)


Then the foo.bar package must be available. 
  
That sounds suspiciously like you are trying to import the 
modules/packages that you want to extract from. I think that is neither 
necessary nor desirable. The extraction should work on the source code 
only. For zcml extraction, that might be an issue because knowing which 
strings to extract requires processing the meta directives included from 
the file. For python source code and page templates there is no such 
problem.


Hope this helps,

Jacob


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

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


[Zope-dev] Re: i18nmessageid has a broken link

2008-05-09 Thread Maurits van Rees
Sebastian Wehrmann, on 2008-05-09:
 Tim Terlegard schrieb:
 On May 9, 2008, at 9:37 AM, Sebastian Wehrmann wrote:

 Why do you need this linux specific egg anyway?

 I don't need this egg, my buildout is always requesting it instead of
 the source package.

For the record, my understanding is that this would never have worked
on Mac, only on Linux.  Not sure about Windows.

 I only wanted to ask if someone could please remove the broken link from
 the download.zope page so that everyone (including me) who indexed his
 buildout.cfg with the zope3.4 index will get the source package of
 zope.i18nmessageid instead of the egg (which does not exist anymore).

So this page needs to be changed so it only points to the tarball:

http://download.zope.org/zope3.4/zope.i18nmessageid/

Is someone able to do that?


Without having tried pure Zope 3, only Grok --- I have been working on
grokproject during the Grokkerdam sprint --- the following in
buildout.cfg should work just as well:

find-links = http://download.zope.org/distribution/
extends = http://download.zope.org/zope3.4/versions.cfg
versions = versions

The find-links is needed because it has some package versions that
were never released on the cheese shop.  The versions.cfg defines
which versions are actually used.

-- 
Maurits van Rees | http://maurits.vanrees.org/
Work | http://zestsoftware.nl/
This is your day, don't let them take it away. [Barlow Girl]

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


[Zope-dev] Re: zope.sqlalchemy

2008-05-09 Thread Laurence Rowe

You need an svn checkout of SQLAlchemy until 0.4.6 is released.

Laurence

Andreas Jung wrote:



--On 6. Mai 2008 06:01:14 +0200 Andreas Jung [EMAIL PROTECTED] wrote:




--On 6. Mai 2008 02:26:58 +0100 Laurence Rowe [EMAIL PROTECTED] wrote:


Following discussions with Kapil, Christian and Martin I've developed
zope.sqlalchemy. The aim is to provide a common base for transaction
integration. It does not attempt to define any particular way to handle
database configuration as there is not yet consensus on the best way to
handle it.




Looks great (on the paper :-)). Trying to integrate it with
z3c.sqlalchemy over the weekend. Thanks Laurence.


I got a big stuck with the zope.sa integration in z3c.sa. Two tests of 
my testsuite fail (likely related to a session.save() operation):


Error in test testXXMapperGetMapper 
(z3c.sqlalchemy.tests.testSQLAlchemy.WrapperTests)

Traceback (most recent call last):
 File /opt/python-2.4.4/lib/python2.4/unittest.py, line 260, in run
   testMethod()
 File 
/Users/ajung/sandboxes/z3c.sqlalchemy/lib/python/z3c/sqlalchemy/tests/testSQLAlchemy.py, 
line 168, in testXXMapperGetMapper

   user = session.query(User).filter_by(firstname='foo')[0]
 File 
/opt/python-2.4.4/lib/python2.4/site-packages/SQLAlchemy-0.4.5-py2.4.egg/sqlalchemy/orm/query.py, 
line 834, in __getitem__

   return list(self[item:item+1])[0]
 File 
/opt/python-2.4.4/lib/python2.4/site-packages/SQLAlchemy-0.4.5-py2.4.egg/sqlalchemy/orm/query.py, 
line 925, in __iter__

   self.session._autoflush()
 File 
/opt/python-2.4.4/lib/python2.4/site-packages/SQLAlchemy-0.4.5-py2.4.egg/sqlalchemy/orm/session.py, 
line 747, in _autoflush

   self.flush()
 File 
/opt/python-2.4.4/lib/python2.4/site-packages/SQLAlchemy-0.4.5-py2.4.egg/sqlalchemy/orm/session.py, 
line 757, in flush

   self.uow.flush(self, objects)
 File 
/opt/python-2.4.4/lib/python2.4/site-packages/SQLAlchemy-0.4.5-py2.4.egg/sqlalchemy/orm/unitofwork.py, 
line 236, in flush

   session.extension.after_flush(session, flush_context)
 File 
/opt/python-2.4.4/lib/python2.4/site-packages/zope.sqlalchemy-0.1dev_r86482-py2.4.egg/zope/sqlalchemy/datamanager.py, 
line 187, in after_flush

   invalidate(session)
 File 
/opt/python-2.4.4/lib/python2.4/site-packages/zope.sqlalchemy-0.1dev_r86482-py2.4.egg/zope/sqlalchemy/datamanager.py, 
line 170, in invalidate

   assert _SESSION_STATE[id(session)] is not STATUS_READONLY
KeyError: 32500656

The integration code follows your documentation;

http://svn.zope.org/z3c.sqlalchemy/branches/zope.sqlalchemy-integration/src/z3c/sqlalchemy/base.py?rev=86543view=auto 



And the tests are here:

http://svn.zope.org/z3c.sqlalchemy/branches/zope.sqlalchemy-integration/src/z3c/sqlalchemy/tests/testSQLAlchemy.py?rev=86552view=markup 



Any idea?

Andreas




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

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


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

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


Re: [Zope-dev] OrderedMultiSelectWidget in Zope2: context weirdness?

2008-05-09 Thread Marius Gedminas
On Thu, May 08, 2008 at 01:39:41PM -0400, Josh Johnson (jjmojojjmojo) wrote:
 I'm looking at the code for OrderedMultiSelectWidget, in  
 zope.app.form.browser.itemswidgets (line 535). 

 This code doesn't make sense to me:

 if hasattr(self.context.context, self.context.__name__):
 available_values = self.context.get(self.context.context)

self is a widget.
self.context is a field.
self.context.context is whatever the field was bound to.

This code works fine in an *edit* form, where all fields are bound to the
object you're editing.  It won't work in any other kind of form where
you may want to specify the initial values yourself (with
setUpDataWidgets or widget.setRenderedValue).  It's possible that the
hasattr check was intended to make the other kinds of forms appear to
work, until you stumbled upon an unfortunate name clash.

I don't know how to fix it, though.

 else:
available_values = []

 From what I can tell, this code is grabbing anything on the current  
 content/view that's named the same as the name of the vocabulary  
 provider. This bit me earlier with this error:
..
  Module zope.app.form.browser.itemswidgets, line 547, in choices
 TypeError: iterable argument required

 I had a named utility that was mapped to a function called 'activities'  
 which provides IVocabularyFactory. I had a browser form page that had a  
 field in it that used that named utility. The form class had a method on  
 it called 'activities'.  Through some pdb digging, I was able to figure  
 out that it was grabbing the view method and not the function. It makes  
 sense looking at the code, but why would it work that way? Am I looking  
 at this wrong, or is this a bug?

 My setup :
 Plone 3.0.6 (according to Plone control pannel.. it's supposed to be 3.1.1)
 CMF 2.1.1
 Zope (Zope 2.10.5-final, python 2.4.3, linux2)
 Python 2.4.3 (#2, Mar 7 2008, 01:58:20) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
 PIL 1.1.5
 Five 1.5.6

 I can put together some example code to reproduce the issue, if necessary.

I think a reproducible testcase attached to a bug in
http://bugs.launcpad.net/zope3 could help a bit.

Marius Gedminas
-- 
Never be afraid to tell the world who you are.
-- Anonymous


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


[Zope-dev] Zope Tests: 5 OK

2008-05-09 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Thu May  8 11:00:00 2008 UTC to Fri May  9 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Thu May  8 20:54:19 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009520.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Tests
Date: Thu May  8 20:55:50 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009521.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Tests
Date: Thu May  8 20:57:20 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009522.html

Subject: OK : Zope-2.11 Python-2.4.4 : Linux
From: Zope Tests
Date: Thu May  8 20:58:50 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009523.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Tests
Date: Thu May  8 21:00:20 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-May/009524.html

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


Re: AW: [Zope-dev] Re: AW: Re: AW: Re: New i18n locale extraction concept

2008-05-09 Thread Stephan Richter
On Thursday 08 May 2008, Roger Ineichen wrote:
  That should not be necessary I think.  At least I am not used to it.
  When I use i18ndude for making pot/po files for a Plone
  product/package and I have from Products.CMFPlone import something
  in a file, then this import does not really take place.  I
  expect in the case of python files it simply looks for lines like:
 
    _(uMy message to the world.)

 Probably it works in some ues case but for sure not in all.
 Let's give a sample. If you define a interface like

 foo = zope.schema.Choice(
     title=_('Title'),
     vocabulary=foo.bar.myVocabularyFromPackageFoo
     )

You do not need a running environment for the Python message extractions; you 
need it for ZCML (I think). Python is extracted using the parser module and 
looking for _ function calls with a string in it.

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. Zope Stephan Richter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


AW: AW: [Zope-dev] Re: AW: Re: AW: Re: New i18n locale extraction concept

2008-05-09 Thread Roger Ineichen
Hi Stephan

 Betreff: Re: AW: [Zope-dev] Re: AW: Re: AW: Re: New i18n 
 locale extraction concept

[...]

  Probably it works in some ues case but for sure not in all.
  Let's give a sample. If you define a interface like
 
  foo = zope.schema.Choice(
      title=_('Title'),
      vocabulary=foo.bar.myVocabularyFromPackageFoo
      )
 
 You do not need a running environment for the Python message 
 extractions; you need it for ZCML (I think). Python is 
 extracted using the parser module and looking for _ function 
 calls with a string in it.

Yes, I probably explaind it wrong.
The above sample fails because it stops the extraction if it 
loads the zcml. The module foo.bar must be available if the 
schema/field is used in a class or other ZCML directives.
I guess other extraction concept will work with missing imports.

Anyway, Since zcml is a default part of zope locale extraction
it make no sense to me to not using a working setup for 
locale extraction. Grok? Does Grok not use zcml extraction?
If not, we could probably change the z3c.recipe and disable
the default zcml extractor.

btw, with a working setup I don't talk about a running server. 
But at least all dependent packages should be there. And since 
we have a buildout concept, I think it's the simplest way to 
setup such dependencies and provide a working set.

Regards
Roger Ineichen

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

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


Re: [Zope-dev] Re: zope.sqlalchemy

2008-05-09 Thread Andreas Jung



--On 9. Mai 2008 11:20:31 +0100 Laurence Rowe [EMAIL PROTECTED] wrote:


You need an svn checkout of SQLAlchemy until 0.4.6 is released.

Laurence


Great, that worked and made all tests pass.

Andreas

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


Re: [Zope] Making Zope stop storing old object versions

2008-05-09 Thread Sascha Welter
(Thu, May 08, 2008 at 08:08:28AM +0800) Sinang, Danny
wrote/schrieb/egrapse:
 We've got lots of Catalog reads and writes and our Data.fs is growing
 at an immense rate.

Sometimes you have to look at your product code and figure out what it's
exactly doing. For example many times not very optimal products will
change all the instance when only a small attribute changes, resulting
in a zodb write that is much larger then really needed.

I documented an example of a hunt for a case like that in
Quasi-Normal in Numbers: http://betabug.ch/blogs/ch-athens/708

Regards,

Sascha

___
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] Question about adapters

2008-05-09 Thread Martijn Jacobs


Hello guys.

A question about adapters : I've written two adapters wich implement my 
own interface IMyAdapter. The first adapter adapts 
CMFCore.interfaces._content.IFolderish objects and the other one 
CMFCore.interfaces._content.IContentish objects.


One of the base classes of the IFolderish objects also implement the 
IContentish interface, so when I adapt folderish objects with 
IMyAdapter(object), the adapter registered for the IContentish objects 
always wins. (and if it's a folderish object I want the adapter for 
IFolderish to jump in).


In other words : How can I influence the order of adapter lookup?

I'm feeling there should be a simple solution for this (applying a 
marker interface to folderish objects?), so I hope someone can point me 
in the right direction.



Kind regards,



Martijn.

--
Martijn Jacobs
Four Digits, Internet Solutions

a: Willemsplein 15-1 6811 KB Arnhem NL 
kvk: 09162137 | btw: 8161.22.234.B01

e-mail: [EMAIL PROTECTED] | web: http://www.fourdigits.nl
tel: +31 (0)26 44 22 700 | fax: +31 (0)84 22 06 117 


___
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] Making Zope stop storing old object versions

2008-05-09 Thread Tino Wildenhain

Hi,

Jonathan wrote:

Sinang, Danny wrote:
Hello,

...

You can also try some of the other storages like relstorage (where it
depends on the RDBMS how it handles writes)


Alternatively, you could just replace your Catalog with an external db 
such as MySQL (using zmysql database connections).


well if MySQL is the right tool and does not introduce other problems.
It should be pointed out that along the powerful open source DBs there
is for example also postgresql which is extreamly good at handling 
concurrent loads.


Cheers
Tino


smime.p7s
Description: S/MIME Cryptographic 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] Weird SQL Relay conversion error in Zope

2008-05-09 Thread Mike Driscoll
Hi,

I am working on a web app that interfaces with Microsoft SQL Server from Ubuntu 
through SQL Relay. I will be getting data from multiple databases. The issue 
seems to be that either Zope or SQL Relay cannot handle the Decimal type if the 
value is a null. If I do a query like this:

SELECT * from myDatabase

I get the following:

error

Site Error

An error was encountered while publishing this resource.

InvalidOperation
Sorry, a site error occurred.

Traceback (innermost last):

* Module ZPublisher.Publish, line 194, in publish_module_standard
* Module Products.PlacelessTranslationService.PatchStringIO, line 34, in 
new_publish
* Module ZPublisher.Publish, line 146, in publish
* Module Zope2.App.startup, line 222, in zpublisher_exception_hook
* Module ZPublisher.Publish, line 115, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 41, in call_object
* Module Shared.DC.ZRDB.Connection, line 115, in manage_test
* Module Products.ZSQLRelayDA.db, line 86, in query
* Module decimal, line 571, in __new__
* Module decimal, line 2267, in _raise_error

InvalidOperation: (Also, the following error occurred while attempting to 
render the standard error message, please see the event log for full details: 
'@@plone')

/error

If I change it to SELECT empid, reg from myDatabase it will work as long as 
reg is not a NULL. I can get it to work if I use isnull functions on all my 
decimal type fields, but I would like to avoid that. Is this a known issue with 
a workaround?

I am using Zope 2.9.4-final on Ubuntu with SQL Relay 0.39.4. 

Mike Driscoll
Applications Specialist
MCIS - Technology Center
___
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] first attempt to use RELSTORAGE

2008-05-09 Thread David Bear
I installed relstorage using the instructions for easy_setup, i.e.
'easy_install RelStorage'. I realized as I read through more of the
instructions that this likely put the relstorage modules in my python home
rather than in my zope software home. I don't know if this would have caused
the error I am seeing.

However, after reading more through the instructions, and watching
easy_install do its magic, I reached a point where I make a new zope
instance, then when in to that instance home and modified the zope.conf  to
use relstorage instead of filestorage, I was ready to start my new instance.
I was disappointed to have a traceback just running zopectl. I ran
$INSTANCE_HOME/bin/zopectl

and got the following traceback:

Traceback (most recent call last):
 File /servers/webenv1/lib/python/Zope2/Startup/zopectl.py, line 329, in ?
   main()
 File /servers/webenv1/lib/python/Zope2/Startup/zopectl.py, line 287, in
main
   options.realize(args)
 File /servers/webenv1/lib/python/Zope2/Startup/zopectl.py, line 95, in
realize
   ZDOptions.realize(self, *args, **kw)
 File
/servers/webenv1/lib/python2.4/site-packages/zdaemon-2.0.2-py2.4.egg/zdaemon/zdoptions.py,
line 279, in realize
   self.load_schema()
 File
/servers/webenv1/lib/python2.4/site-packages/zdaemon-2.0.2-py2.4.egg/zdaemon/zdoptions.py,
line 327, in load_schema
   self.schema = ZConfig.loadSchema(self.schemafile)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/loader.py,
line 32, in loadSchema
   return SchemaLoader().loadURL(url)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/loader.py,
line 66, in loadURL
   return self.loadResource(r)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/loader.py,
line 187, in loadResource
   schema = ZConfig.schema.parseResource(resource, self)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/schema.py,
line 27, in parseResource
   xml.sax.parse(resource.file, parser)
 File /servers/webenv1//lib/python2.4/xml/sax/__init__.py, line 33, in
parse
   parser.parse(source)
 File /servers/webenv1//lib/python2.4/xml/sax/expatreader.py, line 107, in
parse
   xmlreader.IncrementalParser.parse(self, source)
 File /servers/webenv1//lib/python2.4/xml/sax/xmlreader.py, line 123, in
parse
   self.feed(buffer)
 File /servers/webenv1//lib/python2.4/xml/sax/expatreader.py, line 207, in
feed
   self._parser.Parse(data, isFinal)
 File /servers/webenv1//lib/python2.4/xml/sax/expatreader.py, line 300, in
start_element
   self._cont_handler.startElement(name, AttributesImpl(attrs))
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/schema.py,
line 99, in startElement
   getattr(self, start_ + name)(attrs)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/schema.py,
line 475, in start_schema
   keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/schema.py,
line 201, in get_sect_typeinfo
   datatype = self.get_datatype(attrs, datatype, null, base)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/schema.py,
line 194, in get_datatype
   return self._registry.get(dtname)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/datatypes.py,
line 398, in get
   t = self.search(name)
 File
/servers/webenv1/lib/python2.4/site-packages/ZConfig-2.5.1-py2.4.egg/ZConfig/datatypes.py,
line 423, in search
   package = __import__(n, g, g, component)
 File /servers/webenv1/lib/python/Zope2/Startup/datatypes.py, line 21, in
?
   import OFS.Uninstalled
 File /servers/webenv1/lib/python/OFS/Uninstalled.py, line 20, in ?
   import SimpleItem, Globals, Acquisition
 File /servers/webenv1/lib/python/OFS/SimpleItem.py, line 26, in ?
   import AccessControl.Role, AccessControl.Owned, App.Common
 File /servers/webenv1/lib/python/AccessControl/__init__.py, line 17, in ?
   from Implementation import setImplementation
 File /servers/webenv1/lib/python/AccessControl/Implementation.py, line
98, in ?
   setImplementation(C)
 File /servers/webenv1/lib/python/AccessControl/Implementation.py, line
51, in setImplementation
   from AccessControl import ImplC as impl
 File /servers/webenv1/lib/python/AccessControl/ImplC.py, line 18, in ?
   from cAccessControl import rolesForPermissionOn, \
 File /servers/webenv1/lib/python/AccessControl/SimpleObjectPolicies.py,
line 82, in ?
   from DocumentTemplate.DT_Util import TemplateDict
 File /servers/webenv1/lib/python/DocumentTemplate/__init__.py, line 21,
in ?
   from DocumentTemplate import String, File, HTML, HTMLDefault, HTMLFile
 File /servers/webenv1/lib/python/DocumentTemplate/DocumentTemplate.py,
line 112, in ?
   from DT_String import String, File
 File /servers/webenv1/lib/python/DocumentTemplate/DT_String.py, line 19,
in ?
   from DT_Util import ParseError, InstanceDict, 

[Zope] Job opening: Malaria Atlas Project, Oxford University

2008-05-09 Thread Anand Patil
DEPARTMENT OF ZOOLOGY

Web developer
Grade 7: Salary range:£26,666 - £32,796
Three year post

A web developer is required to join the Malaria Atlas Project (MAP,
http://www.map.ox.ac.uk). The job will be to lead in the improvement of the
on-line presence and thus public engagement activities of MAP. Specific
responsibilities will be to implement an online database of epidemiological
information for MAP members and ultimately the wider malaria public health
community. The successful candidate will also be required to develop the
website functionality to display MAP products through Google Maps and Google
Earth. It will be necessary to demonstrate a portfolio of skills and
existing project experience in these areas.

Further particulars can be downloaded from
http://www.zoo.ox.ac.uk/jobs/current vacancies or are available from
the Personnel Office, Department of
Zoology, Tinbergen Building, South Parks Road, Oxford OX1 3PS. E-mail;
[EMAIL PROTECTED] Applications, including curriculum vitae, giving
contact details of three referees should be sent to the above address,
quoting reference AT08016. The closing date for applications is 06 June
2008.
___
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] first attempt to use RELSTORAGE

2008-05-09 Thread Martijn Pieters
On Fri, May 9, 2008 at 6:05 PM, David Bear [EMAIL PROTECTED] wrote:
 I installed relstorage using the instructions for easy_setup, i.e.
 'easy_install RelStorage'. I realized as I read through more of the
 instructions that this likely put the relstorage modules in my python home
 rather than in my zope software home. I don't know if this would have caused
 the error I am seeing.

Probably. RelStorage declares a dependency on ZODB, and likely an
incompatible version has been installed in your python's site-packages
directory.

Remove  the RelStorage, ZODB and any zope-related eggs from your
python site-packages directory to remove.

Better to not use easy_install for your Zope2 install, as Zope2
doesn't (yet) declare that it already *has* ZODB included. Just
install RelStorage in your instance home lib/python directory. Note
that RelStorage requires you to patch your Zope installation!

-- 
Martijn Pieters
___
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 )