Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
dannybackx opened this issue Dec 31, 2023 · 5 comments
Closed
3 tasks done
Milestone

Comments

@dannybackx
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

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

@github-actions github-actions bot changed the title compote: you are not allowed to perform this action compote: you are not allowed to perform this action (IDFGH-11810) Dec 31, 2023
@dannybackx
Copy link
Author

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

@igrr
Copy link
Member

igrr commented Dec 31, 2023

@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.

@igrr igrr transferred this issue from espressif/esp-idf Dec 31, 2023
@github-actions github-actions bot changed the title compote: you are not allowed to perform this action (IDFGH-11810) compote: you are not allowed to perform this action (IDFGH-11810) (PACMAN-784) Dec 31, 2023
@dannybackx
Copy link
Author

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

@kumekay kumekay added this to the 2.0.0 milestone Feb 28, 2024
@kumekay kumekay changed the title compote: you are not allowed to perform this action (IDFGH-11810) (PACMAN-784) compote: not informative error messages of auth problems (IDFGH-11810) (PACMAN-784) Feb 28, 2024
@mickeyl
Copy link

mickeyl commented Mar 8, 2024

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.

@kumekay kumekay modified the milestones: 2.0.0, 2.1.0 Aug 22, 2024
@kumekay
Copy link
Collaborator

kumekay commented Dec 6, 2024

Now errors say explicitly which permissions are missing.

@kumekay kumekay closed this as completed Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants