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.

classification
Title: AttributeError in upload_file on interrupted connection
Type: Stage:
Components: Distutils Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: pje Nosy List: pje, scoder
Priority: normal Keywords:

Created on 2006-03-23 21:33 by scoder, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg27859 - (view) Author: Stefan Behnel (scoder) * (Python committer) Date: 2006-03-23 21:33
I got the following error when my network interface
went down while I was uploading a file to PyPI:

---------------------------------
Traceback (most recent call last):
  File "setup.py", line 109, in ?
    classifiers = [
  File "/usr/lib64/python2.4/distutils/core.py", line
149, in setup
    dist.run_commands()
  File "/usr/lib64/python2.4/distutils/dist.py", line
946, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.4/distutils/dist.py", line
966, in run_command
    cmd_obj.run()
  File
"/usr/lib64/python2.4/site-packages/setuptools-0.6a10-py2.4.egg/setuptools/command/upload.py",
line 65, in run
    self.upload_file(command, pyversion, filename)
  File
"/usr/lib64/python2.4/site-packages/setuptools-0.6a10-py2.4.egg/setuptools/command/upload.py",
line 158, in upload_file
    self.announce(e.msg, log.ERROR)
AttributeError: error instance has no attribute 'msg'
---------------------------------

I was told that these setuptools files were copied from
Py2.5 distutils, that's why I'm reporting the error here.
msg27860 - (view) Author: PJ Eby (pje) * (Python committer) Date: 2006-07-10 19:18
Logged In: YES 
user_id=56214

Fixed in revision 50528.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43079
2006-03-23 21:33:28scodercreate