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

bug: Uncaught exception: TypeError: Cannot convert argument to a ByteString because the character at index 6 has a value of 65533 which is greater than 255. #3029

Open
xavice opened this issue Jan 26, 2025 · 3 comments
Assignees
Labels
bug Something isn't working repo/jetbrains

Comments

@xavice
Copy link

xavice commented Jan 26, 2025

IDE Information

PhpStorm 2024.1.6
Build #PS-241.19072.22, built on August 9, 2024
Licensed to xxx / Jan Vernarsky
You have a perpetual fallback license for this version.
Subscription is active until October 1, 2025.
Runtime version: 17.0.11+1-b1207.30 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4086M
Cores: 12
Registry:
run.processes.with.pty=TRUE
ide.experimental.ui=true
Non-Bundled Plugins:
com.sourcegraph.jetbrains (7.10.1)

Bug Description

2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent - Uncaught exception: TypeError: Cannot convert argument to a ByteString because the character at index 6 has a value of 65533 which is greater than 255.
2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at webidl.converters.ByteString (node:internal/deps/undici/undici:2053:17)
2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at _Headers.set (node:internal/deps/undici/undici:2397:35)
2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at _SourcegraphGraphQLAPIClient.fetchSourcegraphAPI (C:\Users\jjxav\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\Sourcegraph\agent\index.js:55144:19)
2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at runNextTicks (node:internal/process/task_queues:60:5)
2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at listOnTimeout (node:internal/timers:540:9)
2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at process.processTimers (node:internal/timers:514:7)
2025-01-26 14:48:36,249 [   7110]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at async C:\Users\jjxav\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\Sourcegraph\agent\index.js:55354:36
2025-01-26 14:48:36,250 [   7111]   WARN - #com.sourcegraph.cody.agent.CodyAgent -     at async run2 (C:\Users\jjxav\AppData\Roaming\JetBrains\PhpStorm2024.1\plugins\Sourcegraph\agent\index.js:29599:23)

Additional context

tried to reinstall plugin, did not help

@xavice xavice added bug Something isn't working repo/jetbrains labels Jan 26, 2025
@xavice
Copy link
Author

xavice commented Jan 26, 2025

cody will not start at all, log here:
idea.log

@PriNova
Copy link
Collaborator

PriNova commented Jan 27, 2025

Hey @xavice

Thank you for providing this issue. The team will have a look at it.

Sorry for the inconvenience.

@PriNova PriNova self-assigned this Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working repo/jetbrains
Projects
None yet
Development

No branches or pull requests

2 participants