[ python-Bugs-1457312 ] AttributeError in upload_file on interrupted connection

SourceForge.net noreply at sourceforge.net
Mon Jul 10 21:18:59 CEST 2006


Bugs item #1457312, was opened at 2006-03-23 21:33
Message generated for change (Comment added) made by pje
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1457312&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Distutils
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Stefan Behnel (scoder)
Assigned to: Phillip J. Eby (pje)
Summary: AttributeError in upload_file on interrupted connection

Initial Comment:
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.


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

>Comment By: Phillip J. Eby (pje)
Date: 2006-07-10 19:18

Message:
Logged In: YES 
user_id=56214

Fixed in revision 50528.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1457312&group_id=5470


More information about the Python-bugs-list mailing list