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 hagen
Recipients hagen
Date 2008-11-17.17:40:02
SpamBayes Score 2.3889766e-05
Marked as misclassified No
Message-id <1226943610.63.0.394429375639.issue4338@psf.upfronthosting.co.za>
In-reply-to
Content
"python3.0 setup.py upload" (on an otherwise sane setup script) results
in the following:


Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    import py3setup
  File "/home/MP/hagenf/src/pyskein/py3setup.py", line 22, in <module>
    ext_modules=[ext])
  File "/home/MP/hagenf/local/lib/python3.0/distutils/core.py", line
149, in setup
    dist.run_commands()
  File "/home/MP/hagenf/local/lib/python3.0/distutils/dist.py", line
942, in run_commands
    self.run_command(cmd)
  File "/home/MP/hagenf/local/lib/python3.0/distutils/dist.py", line
962, in run_command
    cmd_obj.run()
  File
"/home/MP/hagenf/local/lib/python3.0/distutils/command/upload.py", line
55, in run
    self.upload_file(command, pyversion, filename)
  File
"/home/MP/hagenf/local/lib/python3.0/distutils/command/upload.py", line
116, in upload_file
    auth = "Basic " + base64.encodestring(self.username + ":" +
self.password).strip()
  File "/home/MP/hagenf/local/lib/python3.0/base64.py", line 338, in
encodestring
    raise TypeError("expected bytes, not %s" % s.__class__.__name__)
TypeError: expected bytes, not str
History
Date User Action Args
2008-11-17 17:40:10hagensetrecipients: + hagen
2008-11-17 17:40:10hagensetmessageid: <1226943610.63.0.394429375639.issue4338@psf.upfronthosting.co.za>
2008-11-17 17:40:03hagenlinkissue4338 messages
2008-11-17 17:40:02hagencreate