Hey @ToledoN sorry to hear about this. I looked at your account and it said the token was last used 4 minutes ago which I’m assuming that means it’s fixed? If not login to your Sourcegraph account, delete the token, and try signing in again.
Don’t askme how offten i did the last few day’s…
Because at OpenSuse it works, im in mind it’s a problem how the process is made by the OS, - and other CSCodium extensions showing the same problem to.
Hi @PriNova
today i made again a few tests to find out why Cody don’t get access at Arch based OSs, - i use CachyOS at this laptop.
I deinstalled VSCodium and removed all folders related to VSCodium and Cody, here at CachyOS and at one Tumbleweed Laptop.
After this, i re installed all new all new to compare what happens.
Like expected at Tumbleweed everything works without error.
At CachyOS i get after installing Cody the error message:
Error reading markdown document at `file:///home/herbert/.vscode-oss/extensions/sourcegraph.cody-ai-1.42.0-universal/walkthroughs/autocomplete.md`: Error: Unable to read file '/home/herbert/.vscode-oss/extensions/sourcegraph.cody-ai-1.42.0-universal/walkthroughs/autocomplete.md' (Error: Unable to resolve nonexistent file '/home/herbert/.vscode-oss/extensions/sourcegraph.cody-ai-1.42.0-universal/walkthroughs/autocomplete.md')
OK, the file is not there, but it is also not there at Tumbleweed where i don’t get this error.
If i now try to log in (at CachyOS) it dos not work. The attempt to log in via Github creates a new token, but the connection is not created. I get the error message:
Datei vscodium://sourcegraph.cody-ai?code=sgp-token_schortened3ea2b70ebe6715eb47 kann nicht gelesen werden.
The Cody logg file output:
█ telemetry-v2 recordEvent: cody.extension/savedLogin:
█ telemetry-v2 recordEvent: cody.auth/disconnected:
█ ModelsService User model preferences changed: {"defaults":{},"selected":{}}
█ ChatsController:constructor init:
█ telemetry-v2 recordEvent: cody.signInNotification/shown:
█ Autocomplete:createProvider You are not signed in.:
█ GraphQLTelemetryExporter evaluated export mode:: 5.2.5+
█ GraphQLTelemetryExporter evaluated export mode:: 5.2.5+
█ GraphQLTelemetryExporter evaluated export mode:: 5.2.5+
█ ChatController updateViewConfig:
█ ChatController updateViewConfig:
█ GraphQLTelemetryExporter Error exporting telemetry events:: Error: Variable "value" has invalid value null.
Expected type "JSONValue!", found null.
█ GraphQLTelemetryExporter Error exporting telemetry events:: Error: Variable "value" has invalid value null.
Expected type "JSONValue!", found null.
█ UpstreamHealth Ping took 363ms (Gateway: 409ms):
█ Autocomplete:createProvider You are not signed in.:
█ UpstreamHealth Ping took 271ms (Gateway: 409ms):
Du you have any suggestions what could be wrong? - may be at pakaging or is something missing…
A little update to this problem.
First the most important: The prob is not based at Cody or CachyOS (or Arch at genaral) !
I’m quite sure the foult is somewhere at VSCodium, because i try’d VS-Code and Code-OSS now and with both i have no problems to access Cody and “auto logg in” each time.
About this missing autocomplete.md file, the message still shows up, also at Code-OSS and VS-Code. But it seams only to be a hint, i don’t notice any restriction till now. The File (and a few more) is there if one download and installs Cody v1.43 from MS Marketplace.
The Extension Installer still is at Cody v1.42
Deleting all token in sourcegraph, uninstalling the cody extension, reinstalling and retrying worked for me. After these steps, after successful login in the browser and returning to vscode, vscode asked me authorization to open the url given back during the login process and it successfully logged in.