espressif / idf-component-manager

Tool for installing ESP-IDF components
https://components.espressif.com/
Apache License 2.0
44 stars 16 forks source link

compote: not informative error messages of auth problems (IDFGH-11810) (PACMAN-784) #47

Open dannybackx opened 9 months ago

dannybackx commented 9 months ago

Answers checklist.

General issue report

I followed all the docs but I can't upload an initial version of my component. No flags to trigger verbosity, no log files, no luck googling this...

Please help.

See svn+ssh://dannybackx@svn.code.sf.net/p/espdyndns/svncode

Danny

victus: {726} compote component upload --service-profile=staging --name dydns Selected profile "staging" from the idf_component_manager.yml config file Saving archive to "/home/danny/src/esp-idf/dyndns/dist/dydns_0.0.1.tgz" Uploading archive /home/danny/src/esp-idf/dyndns/dist/dydns_0.0.1.tgz 100%|██████████████████████████████████████████████████████████████████████████████| 7.20k/7.20k [00:02<00:00, 2.71kB/s] ERROR: You are not allowed to perform this action. victus: {727} compote version 1.4.1

dannybackx commented 9 months ago

Note that I succeeded in an initial upload by now but neither the tooling nor the documentation are particularly helpful.

igrr commented 9 months ago

@dannybackx please try specifying the namespace. I think you are trying to upload to espressif/dydns, and your token doesn't have permissions to upload to that namespace.

dannybackx commented 9 months ago

Yes indeed, --namespace <> did the trick. But as I said, no logging, error message not very helpful, ..

mickeyl commented 6 months ago

I have a similar problem, however I'm specifying the (empty) namespace:

$ compote component upload --namespace "" --name esp-microsleep
Saving archive to "/home/mickey/Dokumente/late/esp-microsleep/dist/esp-microsleep_1.0.0.tgz"
Uploading archive /home/mickey/Dokumente/late/esp-microsleep/dist/esp-microsleep_1.0.0.tgz
ERROR: You are not allowed to perform this action.