Comments (5)
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.
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.
The same problem:
>py -m twine.commands.upload astdump-3.3.zip
KeyError: Missing 'None' section from the configuration file
from twine.
#33 and this are duplicates
from twine.
Fixed in master, will be releasing soon.
from twine.
Related Issues (20)
- HTTPError: 400 Client Error: Invalid distribution file. HOT 1
- Connection Error on GCP when `--skip-existing` HOT 3
- keyring as optional dependency? HOT 5
- Deprecate (and eventually remove) PGP/GPG support? HOT 3
- Move to PyPA org on PyPI? HOT 5
- Use twine from a python script HOT 1
- Instead of prompt for username & password, getting ERROR missing ~/.pypirc HOT 1
- Compatibility of twine with Python 3.11.2 HOT 4
- CI stops at Python 3.10
- CI stops at Python 3.10 HOT 1
- Python 3.11 compatibility HOT 1
- sort URLs printed as output of twine HOT 5
- urllib3 2.0.0 breaks twine HOT 12
- Unable to upload to a project using an API token HOT 6
- Upload to Gitlab fails because twine checks against a localized string message HOT 4
- [question] Support android? HOT 1
- HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/ HOT 1
- gpg_signature: Should not be a tuple HOT 1
- Can not work with urllib3 >= 2.0 HOT 3
- Support the "Trusted Publishing" flow directly in `twine` HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twine.