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 reowen
Recipients reowen
Date 2011-08-29.17:08:19
SpamBayes Score 9.85364e-09
Marked as misclassified No
Message-id <>
When using distutils to upload code to PyPI I get the following message (but the upload is successful):
Traceback (most recent call last):
  File "", line 60, in <module>
    zip_safe = False, # icons (e.g. as used by RO.Wdg.GrayImageDispWdg) are not retrieved in a zip-safe way
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/", line 152, in setup
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/", line 953, in run_commands
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/", line 972, in run_command
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/", line 60, in run
    self.upload_file(command, pyversion, filename)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/", line 180, in upload_file
    msg = '\n'.join(('-' * 75,, '-' * 75))
NameError: global name 'r' is not defined
A look at the current source code shows that there is indeed no variable "r". I'm not sure what was intended but it seems likely that it would be possible to replace by reason, status, or a combination of the two.
Date User Action Args
2011-08-29 17:08:20reowensetrecipients: + reowen
2011-08-29 17:08:20reowensetmessageid: <>
2011-08-29 17:08:19reowenlinkissue12853 messages
2011-08-29 17:08:19reowencreate