This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author termim
Recipients termim
Date 2010-01-05.19:03:24
SpamBayes Score 1.91666e-10
Marked as misclassified No
Message-id <>
When I try to build msi installer for my module that contains files with long names it crashes with the following traceback

C:\home\python\dist_msi_bug>python bdist_msi
running bdist_msi
running build
running build_scripts
installing to build\bdist.win32\msi
running install_scripts
running install_data
running install_egg_info
Removing build\bdist.win32\msi\Lib\site-packages\hello-0.1-py2.6.egg-info
Writing build\bdist.win32\msi\Lib\site-packages\hello-0.1-py2.6.egg-info
Traceback (most recent call last):
  File "", line 8, in <module>
    data_files = [(".", ["", "data.seq.two.dat"])],
  File "c:\python26\lib\distutils\", line 152, in setup
  File "c:\python26\lib\distutils\", line 975, in run_commands
  File "c:\python26\lib\distutils\", line 995, in run_command
  File "c:\python26\lib\distutils\command\", line 242, in run
  File "c:\python26\lib\distutils\command\", line 270, in add_files
    key = dir.add_file(file)
  File "c:\python26\lib\msilib\", line 340, in add_file
    short = self.make_short(file)
  File "c:\python26\lib\msilib\", line 299, in make_short
    assert file not in self.short_names

It seems that Directory.make_short fails to create unique short names in some cases. The test files are attached.
Date User Action Args
2010-01-05 19:03:27termimsetrecipients: + termim
2010-01-05 19:03:27termimsetmessageid: <>
2010-01-05 19:03:25termimlinkissue7639 messages
2010-01-05 19:03:24termimcreate