[Zope-dev] Zope Tests: 5 OK

2008-09-05 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Thu Sep  4 11:00:00 2008 UTC to Fri Sep  5 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 Sep  4 20:53:02 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010115.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Tests
Date: Thu Sep  4 20:54:32 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010116.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Tests
Date: Thu Sep  4 20:56:04 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010117.html

Subject: OK : Zope-2.11 Python-2.4.4 : Linux
From: Zope Tests
Date: Thu Sep  4 20:57:34 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010118.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Tests
Date: Thu Sep  4 20:59:05 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-September/010119.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: [Zope-dev] Call for translating z3c.form

2008-09-05 Thread Christophe Combelles
Dan Korostelev a écrit :
 Hello, fellow users and developers of zope components!
 
 I just added support for i18n in z3c.form, so it can be now translated
 to many languages. If you want to contribute to z3c.form
 internationalization, checkout the z3c.form.pot file from the
 z3c.form's trunk and translate it to your language, then send back to
 me or commit to the repo, if you are a committer.
 
 Thanks!

the french translation is commited!

thanks for the i18n support!

Christophe
___
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] Dependencies and future of zope 3

2008-09-05 Thread Dieter Maurer
David Pratt wrote at 2008-9-3 20:32 -0300:
Can we also discuss the potential
of only including testing setup for dev eggs and removing testing as
part of a release when the eggs are packaged to pypi or other
repository for consumption.

-1.

This would really only save disk space



-- 
Dieter
___
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] Issues with instance migration and TextIndexNG2-TextIndexNG3

2008-09-05 Thread Jonas Meurer
Hello,

I just needed to migrate a zope2.10 instance from one host to another.
The zope version on the original host was 2.10.5, on the new destination
host it's 2.10.6. Most disk products are the same, only TextIndexNG2 on
the original host changed to TextIndexNG3 on the new destination host.

I simply copied the Data.fs and all Extensions to the new host after
preparing the new instance. So far everything seems to work out of the
box, except that I get an error for TextIndexNG3 in the events.log and
the product TextIndextNG3 is not listed in the Products management in
the ZMI.

Other instances, which are created from the scratch on this new host
don't get ther error, thus I fear that it's not connected to the Product
but to some conflict in the old Data.fs.

The error from events.log is the following:

2008-09-05T13:35:10 ERROR Application Could not import Products.TextIndexNG3
Traceback (most recent call last):
  File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 709, in 
import_product
product=__import__(pname, global_dict, global_dict, silly)
  File /var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py, 
line 25, in ?
import TextIndexNG3
  File 
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py, line 
24, in ?
from textindexng.index import Index
ImportError: No module named textindexng.index
--
2008-09-05T13:35:12 ERROR Application Couldn't install TextIndexNG3
Traceback (most recent call last):
  File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 758, in 
install_product
global_dict, global_dict, silly)
  File /var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py, 
line 25, in ?
import TextIndexNG3
  File 
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py, line 
24, in ?
from textindexng.index import Index
ImportError: No module named textindexng.index
--
2008-09-05T13:35:12 INFO Zope Ready to handle requests

As I'm relatively new to Zope I've simply no idea where to start
debugging. Do you have any suggestions what the problem could be?

greetings,
 jonas


signature.asc
Description: Digital 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] Issues with instance migration and TextIndexNG2-TextIndexNG3

2008-09-05 Thread Andreas Jung



--On 5. September 2008 13:48:21 +0200 Jonas Meurer [EMAIL PROTECTED] 
wrote:




The error from events.log is the following:

2008-09-05T13:35:10 ERROR Application Could not import
Products.TextIndexNG3 Traceback (most recent call last):
  File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 709, in
import_product product=__import__(pname, global_dict, global_dict,
silly)
  File
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py,
line 25, in ? import TextIndexNG3
  File
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py,
line 24, in ? from textindexng.index import Index
ImportError: No module named textindexng.index
--
2008-09-05T13:35:12 ERROR Application Couldn't install TextIndexNG3
Traceback (most recent call last):
  File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 758, in
install_product global_dict, global_dict, silly)
  File
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py,
line 25, in ? import TextIndexNG3
  File
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py,
line 24, in ? from textindexng.index import Index
ImportError: No module named textindexng.index
--



Start Zope using zopectl fg and trible check if all your TXNG3 
dependencies are installed.


-aj

pgprjjuQ5ywde.pgp
Description: 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] Issues with instance migration and TextIndexNG2-TextIndexNG3

2008-09-05 Thread Jonas Meurer
On 05/09/2008 Andreas Jung wrote:
 --On 5. September 2008 13:48:21 +0200 Jonas Meurer 
 [EMAIL PROTECTED] wrote:
 --
 2008-09-05T13:35:12 ERROR Application Couldn't install TextIndexNG3
 Traceback (most recent call last):
   File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 758, in
 install_product global_dict, global_dict, silly)
   File
 /var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py,
 line 25, in ? import TextIndexNG3
   File
 /var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py,
 line 24, in ? from textindexng.index import Index
 ImportError: No module named textindexng.index
 --

 Start Zope using zopectl fg and trible check if all your TXNG3  
 dependencies are installed.

Hello,

First thanks for your fast response. I tried starting the instance with
zopectl fg, and got a similar Traceback with more verbose information.
See the exact output below.

But I have have to admit that I was wrong in my first mail with the
assertion that the TextIndexNG3 ImportError was unique for the migrated
instance in question. I discovered in the meantime that every zope2.10
instance on the new server - either new created or migrated from an old
server - has this error at startup time in event.log.

I use debian/lenny and the debian packages zope-textindexng3 and
zope-textindexng3-lib on the new server, thus I believe that all
dependencies are installed. But indeed it seems like the bug is in the
installation of the TextIndexNG3 product, not in the instances.

Yet I still don't know where to start debugging. Thanks for you help
anyway.

Here's the output of 'dzhandle zopectl donau fg':

# dzhandle zopectl donau fg
/var/lib/zope2.10/instance/donau/bin/runzope -X debug-mode=on
2008-09-05 15:20:42 INFO ZServer HTTP server started at Fri Sep  5 15:20:42 2008
Hostname: localhost
Port: 9580
2008-09-05 15:20:42 INFO Zope Set effective user to z-donau
2008-09-05 15:20:43 INFO ReplaceSupport Applied patch version 1.0.3.
2008-09-05 15:20:43 ERROR Application Could not import Products.TextIndexNG3
Traceback (most recent call last):
  File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 709, in 
import_product
product=__import__(pname, global_dict, global_dict, silly)
  File /var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py, 
line 25, in ?
import TextIndexNG3
  File 
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py, line 
24, in ?
from textindexng.index import Index
ImportError: No module named textindexng.index
Traceback (most recent call last):
  File /usr/lib/zope2.10/lib/python/Zope2/Startup/run.py, line 56, in ?
run()
  File /usr/lib/zope2.10/lib/python/Zope2/Startup/run.py, line 21, in run
starter.prepare()
  File /usr/lib/zope2.10/lib/python/Zope2/Startup/__init__.py, line 102, in 
prepare
self.startZope()
  File /usr/lib/zope2.10/lib/python/Zope2/Startup/__init__.py, line 278, in 
startZope
Zope2.startup()
  File /usr/lib/zope2.10/lib/python/Zope2/__init__.py, line 47, in startup
_startup()
  File /usr/lib/zope2.10/lib/python/Zope2/App/startup.py, line 45, in startup
OFS.Application.import_products()
  File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 686, in 
import_products
import_product(product_dir, product_name, raise_exc=debug_mode)
  File /usr/lib/zope2.10/lib/python/OFS/Application.py, line 709, in 
import_product
product=__import__(pname, global_dict, global_dict, silly)
  File /var/lib/zope2.10/instance/donau/Products/TextIndexNG3/__init__.py, 
line 25, in ?
import TextIndexNG3
  File 
/var/lib/zope2.10/instance/donau/Products/TextIndexNG3/TextIndexNG3.py, line 
24, in ?
from textindexng.index import Index
ImportError: No module named textindexng.index

greetings,
 jonas


signature.asc
Description: Digital 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] Issues with instance migration and TextIndexNG2-TextIndexNG3

2008-09-05 Thread Andreas Jung



--On 5. September 2008 15:48:28 +0200 Jonas Meurer [EMAIL PROTECTED] 
wrote:




I use debian/lenny and the debian packages zope-textindexng3 and
zope-textindexng3-lib on the new server, thus I believe that all
dependencies are installed. But indeed it seems like the bug is in the
installation of the TextIndexNG3 product, not in the instances.


Debian packages? No ideatry my original source code pages and install 
it the documented way. Don't try to argue about the advantages of Debian

packages...they are often broken when it comes to Zope related issues.

-aj

pgpV4nrm3Y5v9.pgp
Description: 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] TAL conditional expression

2008-09-05 Thread David Bear
I would like to test the value of a field entered on a form in a zpt, but
I'm don't know the syntax

basically I would like to do something like this

div tal:condition=request/form/fieldA=1 do this
p metal:use-macro=here/atemplate/macros/may /
/div

but this doesn't seem to want to work.

Also, I would like to be able to use the same request object in both my
template and the macro, but my macro doesn's seem to have access to the same
request object.

-- 
David Bear
College of Public Programs at ASU
602-464-0424
___
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] TAL conditional expression

2008-09-05 Thread Paul Winkler
On Fri, Sep 05, 2008 at 01:05:23PM -0700, David Bear wrote:
 Also, I would like to be able to use the same request object in both my
 template and the macro, but my macro doesn's seem to have access to the same
 request object.

It is the same request.

-- 

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 )