Code Monkey home page Code Monkey logo

Comments (5)

jeffbr13 avatar jeffbr13 commented on June 15, 2024

Same here:

Traceback (most recent call last):
  File ".../lib/python3.3/site-packages/twine/commands/upload.py", line 64, in upload
    config = get_config()[repository]
KeyError: None

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".../lib/python3.3/site-packages/twine/commands/upload.py", line 230, in main
    (k, v) for k, v in args._get_kwargs() if not k.startswith("_")
  File ".../lib/python3.3/site-packages/twine/commands/upload.py", line 68, in upload
    repository,
KeyError: "Missing 'None' section from the configuration file"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File ".../bin/twine-upload", line 11, in <module>
    sys.exit(main())
  File ".../lib/python3.3/site-packages/twine/commands/upload.py", line 234, in main
    sys.exit("{0}: {1}".format(exc.__class__.__name__, exc.message))
AttributeError: 'KeyError' object has no attribute 'message'

from twine.

merwok avatar merwok commented on June 15, 2024

Could you open another ticket for the use of exc.message? (This was added in 2.5 and deprecated in 2.6 IIRC, exc.args or str(exc) should be used instead.)

from twine.

techtonik avatar techtonik commented on June 15, 2024

The same problem:

>py -m twine.commands.upload astdump-3.3.zip
KeyError: Missing 'None' section from the configuration file

from twine.

e3krisztian avatar e3krisztian commented on June 15, 2024

#33 and this are duplicates

from twine.

dstufft avatar dstufft commented on June 15, 2024

Fixed in master, will be releasing soon.

from twine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.