[Zope-dev] Zope Tests: 5 OK

2007-07-03 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Mon Jul  2 12:00:00 2007 UTC to Tue Jul  3 12:00:00 2007 UTC.
There were 5 messages: 5 from Zope Unit Tests.


Tests passed OK
---

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Jul  2 20:56:43 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-July/007974.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Mon Jul  2 20:58:15 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-July/007975.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Jul  2 20:59:51 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-July/007976.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Jul  2 21:01:24 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-July/007977.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Mon Jul  2 21:02:57 EDT 2007
URL: http://mail.zope.org/pipermail/zope-tests/2007-July/007978.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] Zope 2.10.4, 2.9.8 tagged - please test!!!

2007-07-03 Thread Andreas Jung

Hi,

I just prepared the upcoming Zope releases. They are tagged as

http://svn.zope.org/Zope/tags/2.10.4
http://svn.zope.org/Zope/tags/2.9.8

Tar-balls for testing are available from

ftp://ftp.zopyx.com/zope

Please test the releases  - especially against the current
Plone releases.

I'll make the official release by the end of the week.

Andreas

--
ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK

E-Publishing, Python, Zope  Plone development, Consulting


pgprVJuVdfB84.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 )


[Zope] Re: Kein Zugriff mehr auf Zope Root via ZMI (Nico Grubert)

2007-07-03 Thread Nico Grubert
I'm sorry. This message should go to the german DZUG list. The problem 
is solved. Sorry for the irritation.


Nico
___
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: [Zope3-Users] z3c.form 1.4.0, z3c.formui 1.1.0, and z3c.formdemo 1.2.0 released!

2007-07-03 Thread David Pratt
Many thanks Stephan for these great improvements and the new 
functionality. I have been away for a bit since I am taking a bit of a 
break for a month. Could not help checking out the new group demo though 
- its just excellent! The package and demos are truly the kind of help 
that was needed for form development. Your work has brought significant 
clarity and a pattern for something we all have to tackle.


Roger, also wanted to add my congratulations and best wishes on your new 
family member. Children are a wonderful gift.


Regards,
David


Stephan Richter wrote:

Hello everyone,

again thanks to the great feedback we received -- especially from David Pratt, 
Roy Mathew, and Joachim Werner -- we were able to fine-tune our new form 
framework even more to make it as robust of a foundation as possible for your 
projects! New features include group support, fully internationalized widgets 
for number and calendar fields, a richer select widget, refined form 
templates, and of course a new demo!


BTW, congratulations to Roger who became father for the third time last 
weekend!


Again for the curious and impatient ...
---

There is also a new demo, of course! The Questionnaire demo provides a form 
for filling out a simple questionaire about someones Zope community 
involvement and then provides a very simple results page. Technically this 
demo (available for the DIV- and Table-based layouts) demonstrates the usage 
of groups, a new feature of this release, as well as writing attribute value 
adapters.


To run the demos do the following::

  $ svn co svn://svn.zope.org/repos/main/z3c.formdemo/trunk formdemo
  $ cd formdemo
  $ python bootstrap.py
  $ ./bin/buildout -N
  $ ./bin/demo fg

Now you can access the demo under:

  http://localhost:8080/


On the Javascript Front
---

Paul has made some great progress recently and we have now two demos working, 
including a fully Javascript-driven calculator. I'll leave it up to Paul to 
decide whether he wants to make an announcement, but he will be definitely 
promoting his work at EuroPython!


secretTo see the demos: Replace formdemo with formjsdemo and follow the 
instructions above./secret



Changes
---

z3c.form


- Feature: The select widget grew a new ``prompt`` flag, which allows you to
  explicitely request a selection prompt as the first option in the selection
  (even for required fields). When set, the prompt message is shown. Such a
  prompt as option is common in Web-UIs.

- Feature: Allow no value message of select widgets to be dynamically
  changed using an attribute value adapter.

- Feature: Internationalized data conversion for date, time, date/time,
  integer, float and decimal. Now the locale data is used to format and parse
  those data types to provide the bridge to text-based widgets. While those
  features require the latest zope.i18n package, backward compatibility is
  provided.

- Feature: All forms now have an optional label that can be used by the UI.

- Feature: Implemented groups within forms. Groups allow you to combine a set
  of fields/widgets into a logical unit. They were designed with ease of use
  in mind.

- Feature: Button Actions -- in other words, the widget for the button field
  -- can now be specified either as the actionFactory on the button field or
  as an adapter.

- Bug: Recorded all public select-widget attributes in the interface.


z3c.formui
~~

- Feature: Registered all defined macros for each form template. Also, added
  more slots to the templates providing more hooks for customization.

- Feature: Added a macro/slot for the required info, which explains how
  required fields are marked.

- Feature: Added support for form labels.

- Feature: Added support for groups to templates.


z3c.formdemo


- Feature: Added new field promptChoiceField to the All Widgets demo
  demonstrating the prompt message of the select widget.

- Feature: Increased the integer default value of All Widgets demo to show
  off our new internationalized converter.

- Feature: Made ``bytesField`` and ``passwordField`` non-required, since they
  do not show their default values prohibiting the form to successfully
  submit, which can be annoying when playing around.

- Feature: New Questionnaire demo shows how to use groups effectively. It
  also demonstrates how the label of buttons and widgets can be changed using
  attribute value adapters.


Enjoy!

Regards,
Stephan

___
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] KeyErrors in Zope using ZEO

2007-07-03 Thread Mike Patterson
Removing the 'name zeostorage' didn't have any affect on the issue.  I 
was able to fix the KeyErrors by increasing the cache-size in the zeo 
client configuration part of the zope.conf though.


However, I'm still experiencing intermittent KeyErrors with the session 
stuff.  The line of code that always breaks is session = 
REQUEST.SESSION  and it has happened everywhere in my code that I use 
that.  Is there a better way to access the session that I should be 
using?  The traceback ends like this:


   * Module ZPublisher.HTTPRequest, line 1217, in __getattr__
   * Module ZPublisher.HTTPRequest, line 1177, in get
   * Module Products.Sessions.SessionDataManager, line 96, in
 getSessionData
   * Module Products.Sessions.SessionDataManager, line 183, in
 _getSessionDataObject
   * Module Products.Transience.Transience, line 846, in new_or_existing
   * Module Products.Transience.Transience, line 452, in __setitem__

I'm now using the exact same configuration for sessions as detailed in 
http://www.zopelabs.com/cookbook/1061234337 except the zeo server is on 
a different box than the clients.  Any ideas?


Thanks,
Mike


Bakhtiar A Hamid wrote:

On 5/12/07, Mike Patterson [EMAIL PROTECTED] wrote:

Hi,
We've been experiencing two KeyError problems with Zope since moving
to a ZEO environment at the beginning of the year.  On the server that
the ZEO server resides we have 3 Zope instances running, and each of
them gets a KeyError about once or twice a week individually.
Restarting the offending instance takes care of the issue, but I was
wondering if anyone has an idea of why we would be seeing these.

Thanks,
Mike



looks like there may be problems with the cache file.  try not using
the cache file and see whether that helps by removing name zeostrorage
on each clients.


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 )


Re: [Zope] KeyErrors in Zope using ZEO

2007-07-03 Thread Maciej Wisniowski
 However, I'm still experiencing intermittent KeyErrors with the session
 stuff.  The line of code that always breaks is session =
 REQUEST.SESSION  and it has happened everywhere in my code that I use
 that.  Is there a better way to access the session that I should be
 using?  
I think there is no better way although there are different ways.
Maybe you should think again if you really have to use sessions shared
between zeo clients. If so then you should possibly try Faster (another
session implementation) that is said to be better especially in such
setup with ZEO.

-- 
Maciej Wisniowski
___
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: z3c.form 1.4.0, z3c.formui 1.1.0, and z3c.formdemo 1.2.0 released!

2007-07-03 Thread Jeff Kowalczyk
Something in z3c.formdemo r77305 gives the following error (r77253 builds
and runs):

 $ ./bin/buildout 
 Develop: '/software/formdemo/.'
 Develop: '/software/formdemo/z3c.form'
 Traceback (most recent call last):
   File /tmp/tmpeS3r2n, line 10, in ?
 execfile('/software/formdemo/z3c.form')
 IOError: [Errno 2] No such file or directory:
  '/software/formdemo/z3c.form'
 While:
   Installing.
   Processing develop directory '/software/formdemo/z3c.form'.

 An internal error occured due to a bug in either zc.buildout or in a
 recipe being used:

 AssertionError:

(end)



___
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-DB] Errors in install MySQL-python-1.2

2007-07-03 Thread Bin Hu

Hi,

I tried to install MySQL-python-1.2 on Intel Mac running OS X  
10.4.10. I could not build this package. Could anyone give me some  
suggestions on installing MySQL-python on Mac? Thanks!


Bin


python

Python 2.4.4

gcc -v


Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure -- 
disable-checking -enable-werror --prefix=/usr --mandir=/share/man -- 
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg] 
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with- 
slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-arch=nocona -- 
with-tune=generic --program-prefix= --host=i686-apple-darwin8 -- 
target=i686-apple-darwin8

Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)

mysql
---
mysql-5.0.41-osx10.4-i686  (official binary installation)

Build errors
-
$ python setup.py build
running build
running build_py
running build_ext
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
building '_mysql' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - 
fno-common -dynamic -DNDEBUG -g -O3 -I/Library/Frameworks/ 
Python.framework/Versions/2.4/include/python2.4 -c _mysql.c -o build/ 
temp.macosx-10.3-fat-2.4/_mysql.o

_mysql.c:41:19: error: mysql.h: No such file or directory
_mysql.c:41:19: error: mysql.h: No such file or directory
..

I tried to add -i /usr/local/mysql/include to gcc and got no error  
message. However, setup.py install gave me the following error messages:


$ sudo python setup.py install
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
running install
running build
running build_py
running build_ext
building '_mysql' extension
gcc -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g  
-bundle -undefined dynamic_lookup build/temp.macosx-10.3-fat-2.4/ 
_mysql.o -lz -lmysqlclient_r -o build/lib.macosx-10.3-fat-2.4/_mysql.so

/usr//usr/bin/ld: for architecture ppc
/usr/bin/ld: can't locate file for: -lmysqlclient_r
bincollect2: /ld: for architecture i386
/usr/ld returned 1 exit status
bin/ld: can't locate file for: -lmysqlclient_r
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccNGrgpw.out (No such file or  
directory)

error: command 'gcc' failed with exit status 1
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db