-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
ClaudeSync push command fails with 'No active provider set' error despite provider being configured #63
Comments
I wasn't able to reproduce the issue on my side. Can you try running the script below and see if it helps?
For your reference, this should give output resembling this:
Let me know if the issue persists, and we can dig deeper. |
Got the following after running the above script
|
Which version of python are you using?
…On Tue, Sep 10, 2024 at 16:24 Yogesh Parwani ***@***.***> wrote:
Got the following after running the above script
Selected project: dotfiles (ID: foo-bar)
Ensured .claudesync directory exists in /Users/yogi/dotfiles/issue-63
Error: No active provider set. Please select a provider for this project.
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAED5XBG5WNQZZZYNDPNWVTZV36LDAVCNFSM6AAAAABNWO2UJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQHE4DMMRQHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Had the same issue. Not sure if this is the solution but I had installed claudesync inside a virtual env. Today I installed it globally and it works. |
I later did a clean install with |
0.5.6 is the version of ClaudeSync, to see your version of Python run
`python —version`. Supported versions are listed in the wiki.
You can’t switch projects globally anymore since 0.5.4, please read 0.5.4
changelog carefully. You will very rarely need to use project set now.
…On Wed, Sep 11, 2024 at 17:30 Yogesh Parwani ***@***.***> wrote:
Which version of python are you using?
v0.5.6
I had installed this via pipx globally.
I later did a clean install with v0.5.5 and it worked, but again when I
tried switching to a different project after some time, it started failing
with the same message on v0.5.5 as well. Not sure if it's related, but
sharing if it helps.
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAED5XH6SMQHGQJFYEAWLO3ZWBO2PAVCNFSM6AAAAABNWO2UJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBUGAYDANBSGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Oh, my bad. I thought you were asking for the Claudesync version. I went through the release notes, but that still left me a bit confused. For me, only the folder got created automatically but not the file inside it. Whenever I'm running any command without the file being present, it gives the error that no active provider is set. But when I create the file manually, I'm able to run all the commands as expected. |
The local config file is created when project create / project set is run.
It is used for that directory and sub-directories.
…On Thu, Sep 12, 2024 at 11:42 Yogesh Parwani ***@***.***> wrote:
Oh, my bad. I thought you were asking for the Claudesync version.
Python version is 3.12.6
I went through the release notes, but that still left me a bit confused.
Is the config.local.json file under the .claudesync folder supposed to be
created manually or should it be created automatically?
For me, only the folder got created automatically but not the file inside
it. Whenever I'm running any command without the file being present, it
gives the error that no active provider is set. But when I create the file
manually, I'm able to run all the commands as expected.
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAED5XB3QETKAL7LP6IFDZTZWFOZNAVCNFSM6AAAAABNWO2UJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBVG43TKMZRGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Describe the bug
The claudesync push command fails with an error stating "No active provider set" even though the provider has been set and is visible in the configuration file.
To Reproduce
Steps to reproduce the behavior:
Install ClaudeSync
Run claudesync auth login
Select provider (claude.ai)
Enter session key
Run claudesync organization ls
Run claudesync organization set
Run claudesync project set
Run claudesync push
See error: "No active provider set. Please select a provider for this project."
Expected behavior
The claudesync push command should successfully push the project files to Claude AI.
Error messages
"No active provider set. Please select a provider for this project."
Environment (please complete the following information):
OS: macOS Sonoma 14.4.1
Python version: 3 (exact version not specified)
ClaudeSync version: Last one
...
}
Additional context
The issue started happening immediately upon trying to use ClaudeSync
The bug can be reliably reproduced
The configuration file shows that the provider is set, but the command still fails
Attempts to manually set the provider using claudesync config set provider claude.ai did not resolve the issue
The text was updated successfully, but these errors were encountered: