classification
Title: pip: IndexError
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: berker.peksag, eric.smith, hearot
Priority: normal Keywords:

Created on 2018-03-16 16:58 by hearot, last changed 2018-03-17 09:53 by berker.peksag. This issue is now closed.

Messages (3)
msg313958 - (view) Author: Gabriel Hearot (hearot) * Date: 2018-03-16 16:58
Traceback (most recent call last):
  File "setup.py", line 45, in <module>
    classifiers=[]
  File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.6/distutils/command/upload.py", line 63, in run
    self.upload_file(command, pyversion, filename)
  File "/usr/lib/python3.6/distutils/command/upload.py", line 156, in upload_file
    value = value[1]
IndexError: tuple index out of range
msg313960 - (view) Author: Eric V. Smith (eric.smith) * (Python committer) Date: 2018-03-16 17:43
You did not provide enough information for us to reproduce this problem. To see the kind of information we need, see for example https://leantesting.com/write-good-bug-report/

And if you already have determined this is a problem with pip, they have their own issue tracker: https://github.com/pypa/pip/issues
msg313992 - (view) Author: Berker Peksag (berker.peksag) * (Python committer) Date: 2018-03-17 09:53
The OP has also asked this on Stack Overflow: https://stackoverflow.com/questions/49329079/distutils-indexerror-tuple-index-out-of-range

The problem was that they were passing a tuple to the url field.
History
Date User Action Args
2018-03-17 09:53:56berker.peksagsetstatus: pending -> closed

versions: + Python 3.6, - Python 3.4
nosy: + berker.peksag

messages: + msg313992
resolution: not a bug
stage: resolved
2018-03-16 19:59:01eric.smithsetstatus: open -> pending
2018-03-16 17:43:46eric.smithsetnosy: + eric.smith
messages: + msg313960
2018-03-16 16:58:08hearotcreate