Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError in upload_file on interrupted connection #43079

Closed
scoder opened this issue Mar 23, 2006 · 2 comments
Closed

AttributeError in upload_file on interrupted connection #43079

scoder opened this issue Mar 23, 2006 · 2 comments
Assignees
Labels
stdlib Python modules in the Lib dir

Comments

@scoder
Copy link
Contributor

scoder commented Mar 23, 2006

BPO 1457312
Nosy @pjeby, @scoder

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/pjeby'
closed_at = <Date 2006-07-10.19:18:59.000>
created_at = <Date 2006-03-23.21:33:28.000>
labels = ['library']
title = 'AttributeError in upload_file on interrupted connection'
updated_at = <Date 2006-07-10.19:18:59.000>
user = 'https://github.com/scoder'

bugs.python.org fields:

activity = <Date 2006-07-10.19:18:59.000>
actor = 'pje'
assignee = 'pje'
closed = True
closed_date = None
closer = None
components = ['Distutils']
creation = <Date 2006-03-23.21:33:28.000>
creator = 'scoder'
dependencies = []
files = []
hgrepos = []
issue_num = 1457312
keywords = []
message_count = 2.0
messages = ['27859', '27860']
nosy_count = 2.0
nosy_names = ['pje', 'scoder']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1457312'
versions = ['Python 2.5']

@scoder
Copy link
Contributor Author

scoder commented Mar 23, 2006

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.

@scoder scoder closed this as completed Mar 23, 2006
@scoder scoder added the stdlib Python modules in the Lib dir label Mar 23, 2006
@scoder scoder closed this as completed Mar 23, 2006
@scoder scoder added the stdlib Python modules in the Lib dir label Mar 23, 2006
@pjeby
Copy link
Mannequin

pjeby mannequin commented Jul 10, 2006

Logged In: YES
user_id=56214

Fixed in revision 50528.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir
Projects
None yet
Development

No branches or pull requests

1 participant