Re: [ZODB-Dev] ZODB fails on test

2008-08-04 Thread Malka Cymbalista
Thanks to everyone who answered.  we installed pyhton 2.4.4 and things seem to 
be ok.
-- 

Malka Cymbalista
Webmaster, Weizmann Institute of Science
[EMAIL PROTECTED]
08-934-3036


 On 8/4/2008 at 11:36 AM, in message [EMAIL PROTECTED], Christian
Theune [EMAIL PROTECTED] wrote:
 On Sun, 2008-08-03 at 08:52 -0400, Benji York wrote:
 On Sun, Aug 3, 2008 at 6:42 AM, Malka Cymbalista
 [EMAIL PROTECTED] wrote:
 
  We need ZODB3.4 because we are installing the Cern Document Server
  Indico package and this needs python 2.4 or later.  We already had
  python 2.3.4 but we installed pythin 2.5 because of Indico.  Do you
  think it would be possible to build ZODB3.4 with python 2.3.4 and
  build indico with python 2.5?  Would this work or would it clash?  We
  have no experience with python so we're not sure what to do.
 
 The above sounds to me like you have two different apps that require
 different versions of Python.  If so, you can install two Pythons,
 and the correct Python for each app.
 
 I tried out Indico a while ago. Running with Python 2.4 will be fine.
 
 
 ___
 For more information about ZODB, see the ZODB Wiki:
 http://www.zope.org/Wikis/ZODB/ 
 
 ZODB-Dev mailing list  -  ZODB-Dev@zope.org 
 http://mail.zope.org/mailman/listinfo/zodb-dev

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


[ZODB-Dev] ZODB fails on test

2008-08-03 Thread Malka Cymbalista
We are trying to install  ZODB3-3.4.2 on a Linux machine running Red Hat 
Enterprise Linux AS release 4 and python 2.5.2. We ran 
   python setup.py build 
which seemed to run ok except that we got very many warnings of the type
In file included from 
Dependencies/BTrees-ZODB3-3.4.2/BTrees/BTreeModuleTemplate.c:335,
 from Dependencies/BTrees-ZODB3-3.4.2/BTrees/_IFBTree.c:34:
Dependencies/BTrees-ZODB3-3.4.2/BTrees/BTreeItemsTemplate.c:389: warning: 
initialization from incompatible pointer type
Dependencies/BTrees-ZODB3-3.4.2/BTrees/BTreeItemsTemplate.c:391: warning: 
`intargfunc' is deprecated (declared at 
/usr/local/include/python2.5/object.h:133)

We then ran 
   python test.py
and got the results that are in the attached file.  This does not look right.  
Can we continue with the installation?
Any help will be appreciated.

-- 

Malka Cymbalista
Webmaster, Weizmann Institute of Science
[EMAIL PROTECTED]
08-934-3036


Script started on Tue 29 Jul 2008 09:13:36 AM IDT
[EMAIL PROTECTED] ZODB3-3.4.2]$ whoicich pythgonhon

/usr/local/bin/python
[EMAIL PROTECTED] ZODB3-3.4.2]$ python test.py

Running tests from build/lib.linux-x86_64-2.5
Traceback (most recent call last):
  File test.py, line 61, in module
testrunner.run(defaults)
  File build/lib.linux-x86_64-2.5/zope/testing/testrunner.py, line 149, in run
options = get_options(args, defaults)
  File build/lib.linux-x86_64-2.5/zope/testing/testrunner.py, line 1269, in 
get_options
default_setup, _ = parser.parse_args(default_setup_args)
  File /usr/local/lib/python2.5/optparse.py, line 1385, in parse_args
stop = self._process_args(largs, rargs, values)
  File /usr/local/lib/python2.5/optparse.py, line 1425, in _process_args
self._process_long_opt(rargs, values)
  File /usr/local/lib/python2.5/optparse.py, line 1500, in _process_long_opt
option.process(opt, value, values, self)
  File /usr/local/lib/python2.5/optparse.py, line 776, in process
value = self.convert_value(opt, value)
  File /usr/local/lib/python2.5/optparse.py, line 768, in convert_value
return self.check_value(opt, value)
  File /usr/local/lib/python2.5/optparse.py, line 763, in check_value
return checker(self, opt, value)
  File /usr/local/lib/python2.5/optparse.py, line 420, in check_builtin
return cvt(value)
  File /usr/local/lib/python2.5/optparse.py, line 407, in _parse_int
return _parse_num(val, int)
  File /usr/local/lib/python2.5/optparse.py, line 394, in _parse_num
if val[:2].lower() == 0x: # hexadecimal
TypeError: 'int' object is unsubscriptable
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev