[SciPy-dev] Problems with latest cvs

Nils Wagner nwagner at mecha.uni-stuttgart.de
Thu Sep 18 03:22:51 CDT 2003


Dear experts,

/usr/local/bin/python setup.py install  failed with the following
message

usr/local/lib/python2.1/site-packages/scipy/traits/traits.py:518:
SyntaxWarning: local name 'object' in 'sync_trait' shadows use of
'object' as global in nested scope 'lambda'
  def sync_trait ( self, trait_name, object, alias = None, mutual = True
):
/usr/local/lib/python2.1/site-packages/scipy/traits/traits.py:518:
SyntaxWarning: local name 'self' in 'sync_trait' shadows use of 'self'
as global in nested scope 'lambda'
  def sync_trait ( self, trait_name, object, alias = None, mutual = True
):
/usr/local/lib/python2.1/site-packages/scipy/traits/traits.py:518:
SyntaxWarning: local name 'trait_name' in 'sync_trait' shadows use of
'trait_name' as global in nested scope 'lambda'
  def sync_trait ( self, trait_name, object, alias = None, mutual = True
):
/usr/local/lib/python2.1/site-packages/scipy/traits/traits.py:518:
SyntaxWarning: local name 'alias' in 'sync_trait' shadows use of 'alias'
as global in nested scope 'lambda'
  def sync_trait ( self, trait_name, object, alias = None, mutual = True
):
byte-compiling
/usr/local/lib/python2.1/site-packages/scipy/traits/tests/test_timing.py
to test_timing.pyc
byte-compiling
/usr/local/lib/python2.1/site-packages/scipy/traits/tests/test_traits.py
to test_traits.pyc
Traceback (most recent call last):
  File "setup.py", line 113, in ?
    setup_package()
  File "setup.py", line 103, in setup_package
    url = "http://www.scipy.org",
  File "scipy_core/scipy_distutils/core.py", line 42, in setup
    return old_setup(**new_attr)
  File "/usr/local/lib/python2.1/distutils/core.py", line 138, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.1/distutils/dist.py", line 899, in
run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.1/distutils/command/install.py", line
484, in run
    self.run_command(cmd_name)
  File "/usr/local/lib/python2.1/distutils/cmd.py", line 328, in
run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python2.1/distutils/dist.py", line 919, in
run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.1/distutils/command/install_lib.py", line
93, in run
    self.byte_compile(outfiles)
  File "/usr/local/lib/python2.1/distutils/command/install_lib.py", line
130, in byte_compile
    verbose=self.verbose, dry_run=self.dry_run)
  File "/usr/local/lib/python2.1/distutils/util.py", line 439, in
byte_compile
    compile(file, cfile, dfile)
  File "/usr/local/lib/python2.1/py_compile.py", line 62, in compile
    codeobject = __builtin__.compile(codestring, dfile or file, 'exec')
OverflowError: ('integer literal too large',
('/usr/local/lib/python2.1/site-packages/scipy/traits/tests/test_traits.py',
839, None, "[ '000-000-000', '999-9999-999', '1234-567-8769', '[123]
456-7890',\n"))

Nils




More information about the Scipy-dev mailing list