[Zope-dev] Mailinglists on Launchpad

2008-02-18 Thread Christian Theune

Hi,

Launchpad started the beta tests for their mailing list offers. A while 
ago we discussed this option for future hosting of the mailing lists.


The current implementation has the restriction that the mailing lists 
can not be hosted using custom domains (@zope.org).


I was contacted by Barry as I'm a beta tester who is somewhat 
representing the Zope developers for the LP team to find out whether 
we're interested in starting to test their service.


Any opinions?

Christian

PS: Here's a link to the current documentation of the service: 
https://help.launchpad.net/ListHelp


--
gocept gmbh  co. kg - forsterstrasse 29 - 06112 halle (saale) - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
___
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: z3c.zalchemy : ComponentLookupError: (InterfaceClass z3c.zalchemy.interfaces.IAlchemyEgineUtility, 'DemoEngine-1')

2008-02-18 Thread KLEIN Stéphane
Le Sat, 16 Feb 2008 18:33:52 +, KLEIN Stephane a écrit :

 Hi,
 
 I've tested z3c.zalchemy package and I've this error :
 
 
 ComponentLookupError: (InterfaceClass
 z3c.zalchemy.interfaces.IAlchemyEngineUtility, 'DemoEngine-1') 
 

I've found one fix :

comment this line in demo/demo_1/message.py :

#z3c.zalchemy.createTable('message', 'DemoEngine-1')

add this lines in demo/demo_1/configure.zcml

  alchemy:createTable
  table=message
  engine=DemoEngine-1
  /

Explication : z3c.zalchemy.createTable('message', 'DemoEngine-1') can't 
work because utility registered in zcml is really registered at end of 
configuration parsing. Thereof 
z3c.zalchemy.interfaces.IAlchemyEngineUtility can't be caught.

Regards,
Stephane

___
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] z3c.zalchemy : ComponentLookupError: (InterfaceClass z3c.zalchemy.interfaces.IAlchemyEgineUtility, 'DemoEngine-1')

2008-02-18 Thread KLEIN Stéphane
Hi,

I've tested z3c.zalchemy package and I've this error :


ComponentLookupError: (InterfaceClass
z3c.zalchemy.interfaces.IAlchemyEngineUtility, 'DemoEngine-1')



This is the different step I've did :

1. I've installed a fresh python environment with virtuelenv 
2. I've installed zopeproject package (in this new python environment) 
3. I've created new zope project with bin/zopeprojet zalchemytest 
4. zope3 had installed with success
5. I've added z3c.zalchemy in install_requires in setup.py 
6. I've restarted buildout
7. z3c.zalchemy version 0.2.1 had downloaded and installed 
8. In src/zalchemytest/configure.zcml I've added this lines :

  include package=z3c.zalchemy /
  include package=z3c.zalchemy file=meta.zcml /
  
  include package=z3c.zalchemy.demo.demo_1 /

9. When I've started bin/zalchemytest-debug I've this error :


 [snip]

  File /home/harobed/Experimentations/zalchemy/buildout-eggs/
zope.component-3.4.0-py2.4.egg/zope/component/_api.py, line 207, in
getUtility
raise ComponentLookupError(interface, name)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File /home/
harobed/Experimentations/zalchemy/zalchemytest/site.zcml, line 4.2-4.36
ZopeXMLConfigurationError: File /home/harobed/Experimentations/
zalchemy/zalchemytest/src/zalchemytest/configure.zcml, line 30.0-30.46
ZopeXMLConfigurationError: File /home/harobed/Experimentations/
zalchemy/buildout-eggs/z3c.zalchemy-0.2.1-py2.4.egg/z3c/zalchemy/demo/
demo_1/configure.zcml, line 16.2-19.8
ComponentLookupError: (InterfaceClass
z3c.zalchemy.interfaces.IAlchemyEngineUtility, 'DemoEngine-1') 

My investigation :

* DemoEngine-1 AlchemyEngineUtility is well declared in demo/demo_1/
configure.zcml
* If I comment this lines :


  !--
  alchemy:connectClass
  class=.message.HelloWorldMessage
  engine=DemoEngine-1
  /
  --


bin/zalchemytest-debug start with success. And I can get DemoEngine-1
AlchemyEngineUtility with success in debug console.

* If I uncomment previous lines, I understand it's line below which throw
exception :

In demo/demo_1/message.py:

z3c.zalchemy.createTable('message', 'DemoEngine-1')

I've added debugger set_trace before this line and I've tryed to fetch
DemoEngine-1 AlchemyEngineUtility with no success. I don't understand why
it !

Thanks for your help,
Regards,
Stephane

___
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] Removing ThreadedAsync from ZODB

2008-02-18 Thread Jim Fulton
ZODB no-longer really uses or needs ThreadedAsync since ZEO added a  
private asyncore loop for client communication.


Therefore, I'm removing ThreadedAsync from ZODB.

I'm going to change zope.server to not use ThreadedAsync, which will  
allow me to remove the dependency of zope.server on ZODB.


Does anyone think this will affect them?

Jim

--
Jim Fulton
Zope Corporation


___
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: 6 OK

2008-02-18 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sun Feb 17 12:00:00 2008 UTC to Mon Feb 18 12:00:00 2008 UTC.
There were 6 messages: 6 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sun Feb 17 21:02:15 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-February/009131.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sun Feb 17 21:03:45 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-February/009132.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Feb 17 21:05:15 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-February/009133.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Feb 17 21:06:45 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-February/009134.html

Subject: OK : Zope-2.11 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Feb 17 21:08:16 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-February/009135.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sun Feb 17 21:09:46 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-February/009136.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 )


[Zope-dev] Re: Mailinglists on Launchpad

2008-02-18 Thread Christian Zagrodnick

On 2008-02-18 11:20:05 +0100, Christian Theune [EMAIL PROTECTED] said:

Launchpad started the beta tests for their mailing list offers. A while 
ago we discussed this option for future hosting of the mailing lists.


The current implementation has the restriction that the mailing lists 
can not be hosted using custom domains (@zope.org).


IMHO when migrating mailing lists the addresses should not change.


--
Christian Zagrodnick

gocept gmbh  co. kg  ·  forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891



___
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: Removing ThreadedAsync from ZODB

2008-02-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Fulton wrote:

 ZODB no-longer really uses or needs ThreadedAsync since ZEO added a  
 private asyncore loop for client communication.
 
 Therefore, I'm removing ThreadedAsync from ZODB.
 
 I'm going to change zope.server to not use ThreadedAsync, which will  
 allow me to remove the dependency of zope.server on ZODB.

There may be some other remaining dependencies::

 [/home/tseaver/projects/Zope-CVS/Zope3-trunk]
 $ find src/ -name *.py | xargs grep -l ThreadedAsync
 src/ZEO/tests/zeoserver.py
 src/ZEO/runzeo.py
 src/ZEO/zrpc/connection.py
 src/ZEO/zrpc/server.py
 src/zope/app/server/servercontrol.py
 src/zope/app/server/main.py
 src/zope/app/twisted/main.py
 src/ZODB/scripts/zodbload.py
 src/ThreadedAsync/LoopCallback.py

 Does anyone think this will affect them?

As long as we release ThreadedAsync as its own egg, the hypothetical
dependent applications should be able to use it without problems.


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

iD8DBQFHubXg+gerLs4ltQ4RAoYtAJ9ZvkIJg+YdsIH+1Mn7khtxia26QQCgpAiw
ttIe/kjOoU3vcsOJzJYAa3Q=
=Rfxa
-END 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 )


[Zope-dev] Re: SVN: zope.server/trunk/ Removed the dependency on ZODB3 (and zope.thread).

2008-02-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Fulton wrote:
 Log message for revision 84016:
   Removed the dependency on ZODB3 (and zope.thread).

snip

 Modified: zope.server/trunk/setup.py
 ===
 --- zope.server/trunk/setup.py2008-02-18 10:24:10 UTC (rev 84015)
 +++ zope.server/trunk/setup.py2008-02-18 11:25:48 UTC (rev 84016)
 @@ -56,7 +56,8 @@
  'zope.publisher',
  'zope.security',
  'zope.deprecation',
 - 'ZODB3'],
 + 'ZODB3',
 +],
  include_package_data = True,
  zip_safe = False,
  entry_points = 
 

Looks like the dependency is still there. ;)


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

iD8DBQFHucPH+gerLs4ltQ4RAnKMAKDEiRswtYJjs3HxlxVH1LqMDjq93QCeNvFO
ffYTb7/1Citiebs2KJhaR28=
=7ZqZ
-END 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 )


[Zope-dev] z3c.zalchemy.datamanger.getSession can't catch named AlchemyEngineUtility. It's a feature or a mistake ? one forget ?

2008-02-18 Thread KLEIN Stephane
Hi,

I've a question about z3c.zalchemy : 

alchemy:engine directive make for register a new AlchemyEngineUtility. 
It's possible to set a name to utility.

However, z3c.zalchemy.datamanager.getSession can't catch named 
AlchemyEngineUtility ! It's a feature or a mistake ? one forget ?

Thereof z3c.zalchemy.demo.demo1 can't work !

Regards,
Stephane

___
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] Sessions, ConflictError and emails

2008-02-18 Thread morten
Hi,

I have a site which is based on Zope and Plone, where users can
shop around (shopping cart is stored in SESSION objects) and
a separate part of the site (backend, Plone) where newsletters
and such can be sent out.

I have a problem however with duplicate emails being sent out
to the subscribers, and this is most likely due to conflict
errors being raised..

The event.log file says:

2008-02-18T21:05:23 INFO ZPublisher.Conflict ConflictError at
/VirtualHostBase/http/www.site:80/VirtualHostRoot/levanger/plone/site_newsletter/nyhetsbrev-130208/testSendToMe:
database conflict error (oid 0x92aa, class BTrees._OOBTree.OOBTree, serial
this txn started with 0x0373d8eef99cf5bb 2008-02-18 21:02:58.503076, serial
currently committed 0x0373d8f1624479aa 2008-02-18 21:05:23.031441) (58
conflicts (0 unresolved) since startup at Thu Jan 24 17:34:08 2008)

Now, those errors aren't a big deal in themselves, but it
is a problem when the system sends out duplicate mail messages
to lots of visitors.

I've seen some blurbs about deferring sending emails until
the transaction has been completed, and I just discovered
zope.sendmail which is said to defer sending emails until
the transaction has succeeded.

Is zope.sendmail a good choice?  Will it work with Zope
2.9.8?

Thanks,

Morten

___
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] Sessions, ConflictError and emails

2008-02-18 Thread Lennart Regebro
On Mon, Feb 18, 2008 at 10:23 PM,  [EMAIL PROTECTED] wrote:
 Will it work with Zope 2.9.8?

Yup. Nuxeo used it for it's webmail app, so it works at least. Don't
know if we used the deferred email sending, though.


-- 
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
___
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] Sessions, ConflictError and emails

2008-02-18 Thread Marius Gedminas
On Mon, Feb 18, 2008 at 11:12:27PM +0100, Lennart Regebro wrote:
 On Mon, Feb 18, 2008 at 10:23 PM,  [EMAIL PROTECTED] wrote:
  Will it work with Zope 2.9.8?
 
 Yup. Nuxeo used it for it's webmail app, so it works at least. Don't
 know if we used the deferred email sending, though.

It would be quite hard to use zope.sendmail without the deferred email
bit.  It was designed from the very start to defer email sending to
successful transaction commits (but due to a bug didn't actually do so
for a couple of years -- oops).

Marius Gedminas
-- 
An algorithm must be seen to be believed.
-- D.E. Knuth


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 )