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

Reply via email to