New submission from Valentin Lorentz:

Hi,

I cannot use setuptools with use_2to3=True. The traceback as attachment, and 
here is my setup.py: http://paste.progval.net/show/93/ (I cannot add another 
attachment)

fixes_2to3 is a directory containing fixes and this __init__.py :
from . import fix_def_iteritems, fix_def_itervalues, fix_def_iterkeys, 
fix_reload
from lib2to3.fixes import *

I use setuptools 0.6.24-1 from Debian GNU/Linux Sid, with Python 3.2.3-4.

Regards,
Valentin

----------
files: setuptools_traceback.txt
messages: 690
nosy: ProgVal
priority: bug
status: unread
title: Cannot install: ValueError: bad marshal data (unknown type code)
Added file: http://bugs.python.org/setuptools/file87/setuptools_traceback.txt

_______________________________________________
Setuptools tracker <[email protected]>
<http://bugs.python.org/setuptools/issue143>
_______________________________________________
Traceback (most recent call last):
  File setup.py, line 210, in <module>
    use_2to3_fixers=['fixes_2to3']
  File /usr/lib/python3.2/distutils/core.py, line 148, in setup
    dist.run_commands()
  File /usr/lib/python3.2/distutils/dist.py, line 917, in run_commands
    self.run_command(cmd)
  File /usr/lib/python3.2/distutils/dist.py, line 936, in run_command
    cmd_obj.run()
  File /usr/lib/python3/dist-packages/setuptools/command/install.py, line 73, 
in run
    self.do_egg_install()
  File /usr/lib/python3/dist-packages/setuptools/command/install.py, line 93, 
in do_egg_install
    self.run_command('bdist_egg')
  File /usr/lib/python3.2/distutils/cmd.py, line 313, in run_command
    self.distribution.run_command(command)
  File /usr/lib/python3.2/distutils/dist.py, line 936, in run_command
    cmd_obj.run()
  File /usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py, line 
227, in run
    os.path.join(archive_root,'EGG-INFO'), self.zip_safe()
  File /usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py, line 
266, in zip_safe
    return analyze_egg(self.bdist_dir, self.stubs)
  File /usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py, line 
402, in analyze_egg
    safe = scan_module(egg_dir, base, name, stubs) and safe
  File /usr/lib/python3/dist-packages/setuptools/command/bdist_egg.py, line 
429, in scan_module
    code = marshal.load(f);  f.close()
ValueError: bad marshal data (unknown type code)
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to