[Python-bugs-list] [Bug #112123] bdist_wininst crashes with no long_description

noreply@sourceforge.net noreply@sourceforge.net
Tue, 5 Sep 2000 07:14:12 -0700


Bug #112123, was updated on 2000-Aug-16 15:18
Here is a current snapshot of the bug.

Project: Python
Category: Distutils
Status: Closed
Resolution: None
Bug Group: None
Priority: 5
Summary: bdist_wininst crashes with no long_description

Details: The bdist_wininst command crashes if no long_description
is specified:

  File "setup.py", line 48, in ?
    sources = [
  File "/www/python/lib/python1.5/site-packages/distutils/core.py", line 112, in setup
    dist.run_commands ()
  File "/www/python/lib/python1.5/site-packages/distutils/dist.py", line 776, in run_commands
    self.run_command (cmd)
  File "/www/python/lib/python1.5/site-packages/distutils/dist.py", line 797, in run_command
    cmd_obj.run ()
  File "/www/python/lib/python1.5/site-packages/distutils/command/bdist_wininst.py", line 115, in run
    self.create_exe (arcname, fullname)
  File "/www/python/lib/python1.5/site-packages/distutils/command/bdist_wininst.py", line 171, in create_exe
    cfgdata = open (self.create_inifile()).read()
  File "/www/python/lib/python1.5/site-packages/distutils/command/bdist_wininst.py", line 140, in create_inifile
    info = metadata.long_description + '\n'
TypeError: bad operand type(s) for +


Follow-Ups:

Date: 2000-Aug-27 13:47
By: gward

Comment:
Thomas fixed this in the latest wininst code drop, but
had some missing parens.  I just added them and checked
that in.  Can please someone check that "long_description"
behaves correctly with Windows installers?
-------------------------------------------------------

Date: 2000-Sep-05 07:14
By: akuchling

Comment:
I've verified that this bug is now fixed.

-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=112123&group_id=5470