primordic/IssueDupesLite huggingface dataset:
Repository: gemrb/gemrb

Issue #240: [bug] BG2 Some wizard and priest scrolls do not fold when moving them in inventory
Created: 2019-09-16T19:54:46Z
Describe the bug
Some wizard and priest scrolls do not fold when moving them about in the inventory while others don't.
The number of scrolls in the stock is not related to the bug. It seems that the higher level scrolls do not fold. Lower level scrolls tend to fold but then not all. The bug affects scrolls based on the spell it contains and not based on levels.
I recorded short video:
https://youtu.be/SwrSxxR8fnw

Duplicate issue #291: [subviews] Issues with scroll items in the inventory of BG2
Created: 2019-10-05T19:23:31Z
There is something weird going on in Baldur's Gate 2:
One of my PCs has a wizard scroll in his inventory. Now, I try to pick it up, and some things are happening:

It terribly lags over the flood of messages of (dozens, maybe hundred): (seems fixed now)

[Actor/ERROR]: GetIWD2KitIndex: didn't find kit 16384 for any class, ignoring!
[Actor/DEBUG]: GetIWD2KitIndex: didn't find kit 16384 at expected class 1, recalculating!

@lynxlynxlynx Looks like you could maybe check that as well?

The cursor does NOT get the scroll attached. It works with other items, but not (that) scroll, the cursor remains the default one, so it looks as if it is gone.

Closing comment (2019-10-29T08:53:33Z): Is this related to #240?

At least all Marcel's Bad examples do in fact miss the folded frame cycle, just checked.
Repository: gemrb/gemrb

Issue #179: FadeToColor and FadeFromColor actions are not fully understood
Created: 2019-08-24T15:31:03Z
The fading itself is ok, changing the color and so on. But it seems these actions are sort-of blocking. They currently don't have that turned on (AF_BLOCKING), but even with, the behaviour seems incorrect and breaks bg2 (can't get to chapter2). But the status quo can fatally break some cutscenes too (Viconia's dream is a candidate — real problem could turn out to be elsewhere), but we never found a simple reproducer.
Old notes from the wiki:


viconia's post-sleep cutscene never completes (cut34a.bcs), but just ending it manually is good enough (EndCutSceneMode() in our console)

at minimum the usual problem of FadeToColor not blocking (though a quick test says that's not enough)
see also a different angle




So, the first thing to do is to get a good test case, before we start testing different solutions. The script block in the forum link is a good starting point, it just needs some trimming.

Duplicate issue #254: [bug] BG2: MoveViewPoint in some mod cutscenes not working
Created: 2019-09-27T10:04:51Z
Description
In some modded cutscenes GemRB seems to ignore MoveViewPoint - the focus stays on the party in some corner of the map, and you can't see what's going on. I've seen it with one cutscene from Imoen4ever mod, and one from I shall never forget mod.
Example ISNF, the final cutscene (from isnfxc2.baf):
IF
True()
THEN RESPONSE #100
CutSceneId(Player1)
StartCutSceneMode()
FadeToColor([40.0],0)
Wait(4)
LeaveAreaLUA("ISNF08","",[400.1800],4)
MoveViewPoint([920.2240],INSTANT)
Explore()
CreateCreature("CUTSPY",[777.2170],12)
CreateCreature("CUTSPY",[1080.2222],12)
FadeFromColor([40.0],0)
Wait(4)
...

You can see your PC standing there, and depending on your resolution probably, just see the cutscenes actors on the bottom of the screen. I tried this on the classic IE, it works there, the focus is on the actors, Charname is not visible.
EDIT: Save this view point issue the cutscenes work, and GemRB log shows no errors.
GemRB version
0.85-git
To Reproduce

install the 'I shall never forget' mod from here
load any save game, access the console, type:
ExecuteString('StartCutscene("ISNFxc2")')

Expected behavior
Move the focus / view point to the actors of the cutscene
Screenshots
Cutscene in GemRB

... and in the classic IE

Closing comment (2019-09-27T16:48:08Z): Nice, are those converted iwd2 areas? Anyway, this might be related to #179, but I doubt it. Do you get the same results if you comment the fades out?
Repository: gemrb/gemrb

Issue #1015: Pathfinding not considering diagonals - problem in AR9106 (HoW) / ar1008
Created: 2020-10-24T14:44:10Z
Bug description
There's a cupboard container at the north end of the house which appears to be unreachable at the moment. It looks like the actors need too much space.

Duplicate issue #1819:  iwd1 broken pathing in ar1008 (Snowdrift Inn)
Created: 2023-06-25T16:57:04Z
Bug description
Characters are unable to access the two lower rooms in the Snowdrift Inn map (ar1008)
Steps to reproduce
Enter the Snowdrift Inn, move characters to the upper room, works normally.
Attempt to enter the lower rooms and the selection circle appears momentarily and then disappears as if the path is obstructed.
The doorway shows the "not possible" cursor on the floor for both lower doorways, perhaps a door flag is set, the walkmesh is broken or some other pathing issue.
Expected behavior
In the vanilla game the doors are open and the rooms may be entered freely.
Screenshots
Screenshot showing the cursor in the open doorway of one of the lower rooms.

GemRB version (check as many as you know apply)

 master as of this issue
 0.9.1
 0.9.0
 0.8.8

Video Driver (check as many as you know apply)

 SDL1.2
 SDL2 built with USE_OPENGL_BACKEND
 SDL2 without USE_OPENGL_BACKEND

Closing comment (2023-06-25T18:21:21Z): A duplicate of #1015
Repository: gemrb/gemrb

Issue #533: [enhancement] Per-game resource ignore list
Created: 2019-12-17T14:16:27Z
GemRB is one engine for eight originals, so there's plenty of data that only some engines have or use, while others don't. The net effect is that the startup log contains lookup ERRORs and users get confused, even though it's not really a problem (unless it is). We shouldn't hardcode the lookups to particular game types, since adding such data is a valid way to enable certain features (eg. the pst-like wisdom xp modifier).
We can make the experience smoother by adding per-gametype tables listing files for exclusion, which when matched, would force the silent flag in GetResource (or thereabouts), not displaying any error.
I guess we could just add another function or flag and only use it for the stuff in Interface::Init, so users don't get confused, but we don't penalize all other lookups.

Duplicate issue #763: [HOW] `itemdata.2da` not found
Created: 2020-05-27T16:51:09Z
Bug description
During GemRB initialization following error is logged:
[Core]: Initializing Inventory Management...
[ResourceManager]: Found 'itemtype.2da' in 'GemRB Unhardcoded data'.
[ResourceManager/ERROR]: Couldn't find 'itemdata.2da'.

Skimming through code, I found information it is only required for IWD2 (and indeed such file was added to unhardcored data. It's more improvement rather than a bug, to not try to load/hide error for HOW (and possibly other games).
There are more files that are not found, possibly for the same reasons ('WMAPLAY.2da apparently is present only for PST, wildmag.2da for BG2, etc.).
GemRB version: 0.8.6-git
Steps to reproduce

Start HOW
See error logged on console

Closing comment (2020-05-27T21:06:31Z): That's perfectly fine. Closing as a duplicate of #533
Repository: gemrb/gemrb

Issue #1340: Bad visual when adding/removing spell
Created: 2021-07-04T10:50:55Z
Bug description
I'm almost sure this bug existed earlier and was corrected. when you add or remove a spell, there is some graphical bug (animated when game not paused)
Steps to reproduce

go to (mage) spell book
select a new spell

Expected behavior
Add a clear and concise description of what you expected to happen.
Screenshots
add

remove

GemRB version (check as many as you know apply)

 master as of this issue
 0.9.0
 0.8.8

Video Driver (check as many as you know apply)

 SDL1.2
 SDL2 built with USE_OPENGL_BACKEND
 SDL2 without USE_OPENGL_BACKEND

Duplicate issue #1670: BG2: Strange effect on adding spell to spellbook. 
Created: 2022-08-05T01:01:50Z
Bug description
Leveling up and choosing a new spell to fill the slot, makes the slot to set the spell, banish and if you hover comes again.
Steps to reproduce

Level up a mage.
Click on the spellbook
Choose a new spell.
See error

Expected behavior
It stays visible.
Screenshots

  
    
    

    wierd-spell-effect.mp4
    
  

  

  


GemRB version (check as many as you know apply)

 master as of this issue
 0.9.0
 0.8.8

Video Driver (check as many as you know apply)

 SDL1.2
 SDL2 built with USE_OPENGL_BACKEND
 SDL2 without USE_OPENGL_BACKEND

Closing comment (2022-08-05T05:46:39Z): This is the same as #1340
Repository: gemrb/gemrb

Issue #1365: Helmets not being rendered on game load
Created: 2021-07-19T17:31:00Z
If you equip a helmet to a character and save the game then reload the save the helmet visuals will not be applied.
you can open inventory to unequip and reequip to fix it.
I haven't noticed issues with other types of equipment, but I haven't really done a rigorous check.
This is a newish issue. I personally suspect some kind of ResRef issue, but that is only a guess.
GemRB version (check as many as you know apply)

 master as of this issue
 0.9.0
 0.8.8

Video Driver (check as many as you know apply)

 SDL1.2
 SDL2 built with USE_OPENGL_BACKEND
 SDL2 without USE_OPENGL_BACKEND

Duplicate issue #1512: Helmet drawing regression 
Created: 2022-01-02T16:56:17Z
While working on #1510 I noticed nobody has a helmet drawn. It's visible on the main char with the save from #1511. If you exit the area, also with the two approaching actors in the cutscene.
It worked at 0.9.0 release time, but I haven't pinpointed down at which time it got broken.

Closing comment (2022-01-02T17:05:06Z): this is a dupe of #1365
Repository: gemrb/gemrb

Issue #435: [bug] CharGen: Racial thief skill bonuses not displayed
Created: 2019-11-29T11:35:55Z
Description
Affects BG1, BG2 & IWD1
During character creation the IE shows the racial bonuses for thieving skills already, so you know how many skill points the finished character will have:

Not the case in GemRB:

They're also not shown in the overview in the main chargen menu:

Lynx said

They already should be, I think both dex and race factor in the initial numbers shown. But I didn't look at the code.

So I open as bug report rather than a feature request.
GemRB version
0.86-git

Duplicate issue #1338: [iwd1] skill point inconsistency  
Created: 2021-07-04T10:19:49Z
Bug description
there is some inconsistency with skill point.
you can see in screenshot wrong skill point number. And some class seems to have some skill points (I don't think they should have).
Steps to reproduce
Expected behavior
Screenshots
record before level up for a bard

point displayed during level up

point after level up

paladin

ranger

druid

mage/thief (this one seems normal)

GemRB version (check as many as you know apply)

 master as of this issue
 0.9.0
 0.8.8

Video Driver (check as many as you know apply)

 SDL1.2
 SDL2 built with USE_OPENGL_BACKEND
 SDL2 without USE_OPENGL_BACKEND

Closing comment (2021-07-27T11:36:39Z): Then closing as a duplicate of #435.
Repository: gemrb/gemrb

Issue #1854:  [iwd+how] No battle music
Created: 2023-07-05T22:26:41Z
Bug description
Battle music is broken or disabled, no music plays during battle scenes.
There are a number of other audio issues with iwd, but I'll do a separate report for each of them individually after I've trolled though more of the code.
Steps to reproduce

Start a game of iwd+how
Get in a battle
Only weapon sounds and ambient sounds are heard, battle music is absent.

Expected behavior
Battle music from the music cue files should play during combat.
Screenshots
n/a I'm using gnome desktop video capture which has no sound recording :/
GemRB version (check as many as you know apply)

 master as of this issue
 0.9.1
 0.9.0
 0.8.8

Video Driver (check as many as you know apply)

 SDL1.2
 SDL2 built with USE_OPENGL_BACKEND
 SDL2 without USE_OPENGL_BACKEND

Duplicate issue #2008:  BG1: Music keeps on playing
Created: 2024-02-22T11:53:00Z
Bug description
Whenever a new background music is playing it keeps on playing even when the "situation" is over.
Steps to reproduce

Start gemrb, start a new game, hear the main theme music at the character creation (still ok)
New game starts before the Candlekeep Inn, main theme music still plays
Go into Candlekeep Inn, hear the tavern music
Go outside Candlekeep Inn, tavern music still plays
Go to house in the north where Skunk is attacking you, hear battle music
Battle is over, go outside, battle music still plays

Expected behavior
Music stops playing when appropriate.
GemRB version (check as many as you know apply)

 master as of this issue
 0.9.2
 0.9.1
 0.9.0

Video Driver (check as many as you know apply)

 SDL1.2
 SDL2 built with OPENGL_BACKEND enabled
 SDL2 without OPENGL_BACKEND enabled

Closing comment (2024-02-22T13:47:10Z): Basically a duplicate of #1854.
Repository: gemrb/gemrb

Issue #1015: Pathfinding not considering diagonals - problem in AR9106 (HoW) / ar1008
Created: 2020-10-24T14:44:10Z
Bug description
There's a cupboard container at the north end of the house which appears to be unreachable at the moment. It looks like the actors need too much space.

Duplicate issue #1100:  [IWD1] Can't enter in rooms upstairs in kuldahar inn
Created: 2020-12-12T15:01:36Z
Bug description
Character can't enter in rooms upstairs in kuldahar inn (Position: ar2115 [93.0]) except the last one.
GemRB version: master
Screenshots

Closing comment (2020-12-12T15:14:31Z): What an absurd searchmap! It looks like a duplicate of #1015 . I guess they did the minimum for it to be possible to access the cupboards, but yuck!
Do you have any saves from the original around there?
Repository: gencay/vscode-chatgpt

Issue #177: request to https://api.openai.com/v1/chat/completions failed, reason: connect ETIMEDOUT 65.49.26.99:443
Created: 2023-03-03T07:17:39Z
{
"error": {
"message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": null
}
}


Before he was ok, but now that he failed, I have reset the session

Duplicate issue #187: request timeout
Created: 2023-03-05T01:11:24Z
request to https://api.openai.com/v1/completions failed, reason: connect ETIMEDOUT 199.59.148.89:443
my model is text-davinci-003

Closing comment (2023-03-06T12:34:56Z): Dupe of #177 and #176. Please check the comments to see if the suggestions would work for you.
The reason is that OpenAI restricts access from your location/machine. Potential workarounds:

use system VPN
override apibaseurl
Repository: gencay/vscode-chatgpt

Issue #194: Unable to Login with Google OAuth on Windows using ChatGPT Extension in VSCode
Created: 2023-03-06T18:51:33Z
I am unable to login to ChatGPT extension on Visual Studio Code using Google OAuth. Whenever I try to login, I get an error message "Unable to login, make sure to login and keep your browser open. x9 Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object".
I am using Windows operating system and have the latest version of Visual Studio Code and ChatGPT extension installed (version 3.9.4).
Steps to reproduce:


Open Visual Studio Code with ChatGPT extension installed.



Click on the ChatGPT extension icon on the left sidebar.



Click on the "Login" button with Browser Auto Login set in settings.



Enter my Google credentials.



The error message "Unable to login, make sure to login and keep your browser open. x9 Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object" appears.



Expected behavior:
I expect to be able to login to ChatGPT extension using Google OAuth without any error messages.
Additional information:


Operating System: Windows



Visual Studio Code version: Latest



ChatGPT extension version: 3.9.4



Authentication method: Google OAuth



Note:
I am a ChatGPT Plus user. I have tried restarting Visual Studio Code and my computer, but the issue persists. Any help in resolving this issue would be greatly appreciated.

Duplicate issue #163: MacOS - Google Auth - Unable to login, make sure to login and keep your browser open
Created: 2023-03-01T08:42:09Z
Seems like the browser window gets closed once the puppeteer is done with logging in with google auth
This is the message that pops up in the VS Code toast:
 Unable to login, make sure to login and keep your browser open. C9 Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object
Runtime Status says:
Activation Time:366ms
Uncaught Errors (1)
Protocol error (Browser.getWindowForTarget): Target closed.

Closing comment (2023-03-08T14:43:07Z): I released a new version to fix the Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object error in v3.9.5. You can upgrade your extensions to use Browser Auto-login flow without that exact error now. Similar to #194
Repository: gencay/vscode-chatgpt

Issue #97: Browser Auto-login no longer available?
Created: 2023-02-06T21:00:26Z

Duplicate issue #98: Browser Auto-login no longer available?
Created: 2023-02-06T21:02:41Z
Apparently Browser auto-login is no longer available.
API prompts and answers are charged while browser auto login requests are not. Is this an intentional change?

Closing comment (2023-02-06T21:05:57Z): @ViniciusRaphael it's still available (Setting name is chatgpt.method):

The setting you're referring to is for the Authentication method to prefill the textboxes during autologin flow.
Dupe of #97
Repository: gencay/vscode-chatgpt

Issue #165: GPT3.5 Turbo support - Official API for ChatGPT
Created: 2023-03-01T19:31:35Z
Starting today, you can build apps and products with OpenAI's new ChatGPT API!
OpenAI has released the ChatGPT API which utilizes the gpt-3.5-turbo model, the same model used in the ChatGPT product. This model has shown to be the best fit for several non-chat use cases, and early testers have made a smooth transition from text-davinci-003 to gpt-3.5-turbo with minimal changes required to their prompts. To learn more about the Chat API, please refer to their documentation.
OpenAI is committed to constantly improving the Chat models and aims to make these enhancements available to developers. Those who opt for the gpt-3.5-turbo model will receive the recommended stable model, while also having the flexibility to choose a specific model version.
For instance, OpenAI has recently introduced gpt-3.5-turbo-0301 which will be supported until at least June 1st. Additionally, a new stable release for gpt-3.5-turbo is expected to be rolled out in April. To stay informed about switchover updates, please visit the models page.

Duplicate issue #168: GPT3.5 Turbo support - Official API for ChatGPT
Created: 2023-03-02T08:16:01Z
How can I gpt-3.5-turbo in the dropdown list? Can you make it happen? I request.

Closing comment (2023-03-02T14:35:25Z): @KyiMoeTun thanks for the suggestion. Dupe of #165
I added support for Official ChatGPT APIs. Check release notes: https://github.com/gencay/vscode-chatgpt/releases/tag/v3.9.0
🚀 Official ChatGPT API / GPT 3.5 Turbo support

You can now use the following official ChatGPT APIs from OpenAI:

"OpenAI API Key - gpt-3.5-turbo"
"OpenAI API Key - gpt-3.5-turbo-0301"


'gpt-3.5-turbo' model is now the default model used.
Make sure to update your model setting in your 'settings.json' if you previously used a different model.
Repository: gencay/vscode-chatgpt

Issue #215: There is an answer to the very first question, instead of a reaction to the last one
Created: 2023-03-12T23:37:22Z
Verify it's not a duplicate bug report

 I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.

Verify troubleshooting guide is missing steps to solve this issue

 I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
When I typing a first question, chatgpt is answering normal. When I typing next something like "Thanks" it's answering me another text for my first question.
Unlike it, where I using chatgpt in browser, it's always answering for my last stuff.
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
I use default settings
Additional context
No response

Duplicate issue #217: Will repeat the answer to the previous question
Created: 2023-03-13T06:44:51Z
Verify it's not a duplicate bug report

 I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.

Verify troubleshooting guide is missing steps to solve this issue

 I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
Repeats the previous question when saying statements such as 'think you' or 'ok'
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
use OpenAI API Key and gpt-3.5-turbo
Additional context

Closing comment (2023-03-15T04:50:58Z): Thanks for reporting this. Closing as dupe #215 let's track this there.
Repository: gencay/vscode-chatgpt

Issue #70: Error inserting PHP code
Created: 2023-01-26T18:54:08Z
Hi,
When pressing the ">> Insert" button on a snip of php code returned by ChatGPT, it removes all variable from the code. Note Variables in PHP start with $ eg "$foo = 123" becomes " = 123".
I presume its directly related to the $.
FTR I am currently trying just the web version and not the API key version
Thanks

Duplicate issue #88: HTML in prompts is rendered instead of being escaped
Created: 2023-02-02T16:09:38Z
I asked ChatGPT this question:

Semantically, if I'm presenting a group of checkboxes, should I present them as <ul><li><label><input type="checkbox"/></label></li></ul>? Is presenting them as a list important, or should I just do the checkboxes with their labels?

When I sent the question, the extension replaced my code with an HTML checkbox. The same happens when I put other bits of HTML in my questions.
Notably, ChatGPT's responses are properly escaped instead of being rendered as HTML--probably because they're enclosed in a triple-backtick (```) instead of a single backtick (`).

Closing comment (2023-02-05T02:31:04Z): Similar to #70
Repository: gencay/vscode-chatgpt

Issue #194: Unable to Login with Google OAuth on Windows using ChatGPT Extension in VSCode
Created: 2023-03-06T18:51:33Z
I am unable to login to ChatGPT extension on Visual Studio Code using Google OAuth. Whenever I try to login, I get an error message "Unable to login, make sure to login and keep your browser open. x9 Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object".
I am using Windows operating system and have the latest version of Visual Studio Code and ChatGPT extension installed (version 3.9.4).
Steps to reproduce:


Open Visual Studio Code with ChatGPT extension installed.



Click on the ChatGPT extension icon on the left sidebar.



Click on the "Login" button with Browser Auto Login set in settings.



Enter my Google credentials.



The error message "Unable to login, make sure to login and keep your browser open. x9 Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object" appears.



Expected behavior:
I expect to be able to login to ChatGPT extension using Google OAuth without any error messages.
Additional information:


Operating System: Windows



Visual Studio Code version: Latest



ChatGPT extension version: 3.9.4



Authentication method: Google OAuth



Note:
I am a ChatGPT Plus user. I have tried restarting Visual Studio Code and my computer, but the issue persists. Any help in resolving this issue would be greatly appreciated.

Duplicate issue #25: Doesn't work with VSCode under WSL2
Created: 2022-12-27T11:47:10Z
Set my Chromium path to /mnt/c/Program Files/Google/Chrome/Application/chrome.exe, and after hitting login button I get:

I believe in such case tmp path should be on mounted C drive, maybe make it configurable?
I do realize it might be an exotic way to use VS Code for you, but it's the only way I use it and your extension seems to be the only way to use ChatGPT from inside VS Code at all :P

Closing comment (2023-03-08T14:42:15Z): I released a new version to fix the Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object error in v3.9.5. You can upgrade your extensions to use Browser Auto-login flow without that exact error now. Similar to #194
Repository: gencay/vscode-chatgpt

Issue #142: Compatibility with python notebook
Created: 2023-02-17T02:56:58Z
When I use Chatgpt, got the code, click copy, it cause the python notebook to duplicate the cell instead of copying or pasting the code generated with chatgpt. ctrl+c no longer work after that, as each time i presses those buttons, it clone the cells instead. i've since disable the extension.

Duplicate issue #162: Copy-paste bug when used with jupyter extension
Created: 2023-02-28T07:29:30Z
When opening an ipynb file and the chatgpt sidebar at the same time, when copying the content of the left dialogue, in fact, what is copied is all the content of the currently active code block in the jupyter notebook on the right. This means that as long as the current If an ipynb file is opened under the window, the conversation content in chatgpt cannot be copied.

Closing comment (2023-03-07T17:08:19Z): Similar to #142. Unfortunately, this is due to vscode extension bug  and ipynb files face even more issues with it. Let me know if you have any ideas as a workaround
Repository: gencay/vscode-chatgpt

Issue #194: Unable to Login with Google OAuth on Windows using ChatGPT Extension in VSCode
Created: 2023-03-06T18:51:33Z
I am unable to login to ChatGPT extension on Visual Studio Code using Google OAuth. Whenever I try to login, I get an error message "Unable to login, make sure to login and keep your browser open. x9 Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object".
I am using Windows operating system and have the latest version of Visual Studio Code and ChatGPT extension installed (version 3.9.4).
Steps to reproduce:


Open Visual Studio Code with ChatGPT extension installed.



Click on the ChatGPT extension icon on the left sidebar.



Click on the "Login" button with Browser Auto Login set in settings.



Enter my Google credentials.



The error message "Unable to login, make sure to login and keep your browser open. x9 Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object" appears.



Expected behavior:
I expect to be able to login to ChatGPT extension using Google OAuth without any error messages.
Additional information:


Operating System: Windows



Visual Studio Code version: Latest



ChatGPT extension version: 3.9.4



Authentication method: Google OAuth



Note:
I am a ChatGPT Plus user. I have tried restarting Visual Studio Code and my computer, but the issue persists. Any help in resolving this issue would be greatly appreciated.

Duplicate issue #79: Error: kw Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object
Created: 2023-01-31T07:48:40Z
Hi, I am trying to log into this extension using:

Ubuntu 22.04
extension version v3.4.3
Chrome

Using google auth to log in and I am getting this error message:
Unable to login. Make sure to login and keep your browser open. This error may also be due to OpenAI servers down or that it's throttling the requests. Error: kw Protocol error (Runtime.callFunctionOn): Argument should belong to the same JavaScript world as target object

Closing comment (2023-03-08T14:40:54Z): @ruslankonev @ncesar @ampx-mg I fixed this in v3.9.5. You can upgrade your extensions to use Browser Auto-login flow without any login issues. Similar to #194
Repository: gencay/vscode-chatgpt

Issue #165: GPT3.5 Turbo support - Official API for ChatGPT
Created: 2023-03-01T19:31:35Z
Starting today, you can build apps and products with OpenAI's new ChatGPT API!
OpenAI has released the ChatGPT API which utilizes the gpt-3.5-turbo model, the same model used in the ChatGPT product. This model has shown to be the best fit for several non-chat use cases, and early testers have made a smooth transition from text-davinci-003 to gpt-3.5-turbo with minimal changes required to their prompts. To learn more about the Chat API, please refer to their documentation.
OpenAI is committed to constantly improving the Chat models and aims to make these enhancements available to developers. Those who opt for the gpt-3.5-turbo model will receive the recommended stable model, while also having the flexibility to choose a specific model version.
For instance, OpenAI has recently introduced gpt-3.5-turbo-0301 which will be supported until at least June 1st. Additionally, a new stable release for gpt-3.5-turbo is expected to be rolled out in April. To stay informed about switchover updates, please visit the models page.

Duplicate issue #167: how to change model ?
Created: 2023-03-02T06:44:11Z
how to change model ?
https://techcrunch.com/2023/03/01/openai-launches-an-api-for-chatgpt-plus-dedicated-capacity-for-enterprise-customers/
user options?
plugin core source ?
thanks ...

https://github.com/balakreshnan/Samples2022/blob/main/openai/chatopenai.md

Closing comment (2023-03-02T14:37:48Z): @linqunhe thanks for the suggestion. Dupe of #165
I added support for Official ChatGPT APIs. Check release notes: https://github.com/gencay/vscode-chatgpt/releases/tag/v3.9.0
🚀 Official ChatGPT API / GPT 3.5 Turbo support

You can now use the following official ChatGPT APIs from OpenAI:

"OpenAI API Key - gpt-3.5-turbo"
"OpenAI API Key - gpt-3.5-turbo-0301"


'gpt-3.5-turbo' model is now the default model used.
Make sure to update your model setting in your 'settings.json' if you previously used a different model.
Repository: getgrav/grav

Issue #2542: path to dir by id php
Created: 2019-06-08T13:46:50Z
Hi
any page in grav  have id
how find dir by id in php?
need charge .md file in folder
I newbie in php)

Duplicate issue #2539: page id
Created: 2019-06-06T08:42:30Z
is it possible page id do short
now isru155979633008fb197a7c2624fa721f1430d5cb65f2
need max 8 charcter

Closing comment (2019-06-08T17:32:05Z): duplicate: #2542
Repository: getgrav/grav

Issue #366: Question about loading of SVG images
Created: 2015-10-16T18:29:56Z
I have a question about loading of SVG images.
For example I have the following folder structure:
/user
└─/pages
  ├─/01.home
  │ ├─/_header
  │ └─/_body
  ├─/02.blog
  │ ├─/blog-item-1
  │ ├─/blog-item-2
  │ ├─/blog-item-3
  │ └─/docs
  │   └─/images
  │     ├─image.png
  │     ├─image.jpg
  │     └─image.svg
  └─/error

So I have three images in the /user/pages/02.blog/docs/images folder.
Next, if I open the following URLs
http://site.local/blog/docs/images/image.png
http://site.local/blog/docs/images/image.jpg

PNG and JPEG image files will open in browser.
But if I try URL for SVG image file
http://site.local/blog/docs/images/image.svg

Browser starts to download the file because it loads SVG image with Content-Type: "application/octet-stream".
What can be done to load SVG file as an image?

Duplicate issue #1295: Pipeline/minification-mechanism handling encoded SVG Data-URIs
Created: 2017-02-06T20:20:36Z
From a discussion on Slack (on the 6th of February, around 9pm CET), data-URI in CSS set with the value of an encoded SVG breaks the pipeline/minification. The comparative replication occurred from this line in the Swiper-library. The background-image url is not incorrect, but rather heavily optimized (see this guide).
Why and how this breaks pipelining or minification is uncertain, but it's worth looking into as encoded SVG's as data-URIs are only going to be used more with the adoption of SVG icons and handy Sass/Less/Stylus-functions.
Possibly a related recent issue with matthiasmullie/minify: 162.

Closing comment (2017-04-05T13:56:35Z): I just found out, SVG is working when using it inside an IMG, but when using it as OBJECT, it's still trying to download the file instead of displaying it. Is this really intended? I don't know whether this might be related to #366
Repository: getgrav/grav

Issue #3422: MIME Type Checking Inconsistencies from v1.7.14+
Created: 2021-08-13T05:07:05Z
From Grav 1.7.14, I am unable to upload Zip files from Windows. This is very strange because uploading the same file works on Linux and macOS. I have narrowed it down to this commit. Specifically the mimeTest code.
These checks seem inconsistent as the same file on Linux and macOS present as 'application/zip' while on Windows present as 'application/x-zip-compressed'. I have had no choice but to comment these lines out on my server so that my users can upload Zip files from Windows.

Duplicate issue #3385: Media MIME types being checked too strictly
Created: 2021-06-21T06:56:32Z
Browsers are not entirely consistent with the MIME type they declare a file as. This is stopping uploads into the media of a page through the admin.
For an mp3 file, the browser is sending "audio/mpeg" but GRAV expects "audio/mp3". In Grav\Common\Media\Traits\MediaUploadTrait around line 188 there is a test that both these need to match.
This test needs to have more grace, or be able to be disabled somewhere, or an extra warning but allow the upload, etc. Currently unusable.

Closing comment (2021-08-13T17:07:37Z): Duplicate of #3422
Repository: getgrav/grav

Issue #563: Plugins are redownloaded for plugins with same dependencies
Created: 2015-12-25T04:31:23Z
Consider the following plugins are installed

Admin
Login
When updating,the admin plugin checks for its dependencies - which in this case it includes the login plugin - and update them.
After that the update process checks the login and its dependencies - which is already updated -  and update it again.
I think there should be a plugin dependency version check before every single plugin update.

Duplicate issue #667: Dependency Version Detection
Created: 2016-02-10T05:27:39Z
Currently when installing plugins via the GPM dependencies are installed with the most up to date version, or if already installed does not check for a minimum version. For example the OAuth plugin will require that the login plugin is updated to v2.x.x

Closing comment (2016-02-13T01:04:23Z): also related to #563 so closing as we know about this already :)
Repository: getgrav/grav

Issue #2785: Flex-user can't login
Created: 2020-01-04T21:10:38Z
When i created a new user using Flex-users a cryptic-username.yaml is created in /accounts.
This user can't login unless you rename to correct-username.yaml
Tested with 1.7rc3 on Linux with php7.3

Duplicate issue #2772: Flex user cannot log in on Windows
Created: 2019-12-22T00:30:48Z
I create two users, with same password and permissions:

regular-user (with disabled flex-users)
flex-user (with enabled flex-users)

Then i try to login:
regular-user

Authorization passes without problems.
flex-user

Authorization does not pass.
Info:
Windows 10 x64
PHP v7.4.0 (on built in server)
Grav v1.7.0-rc.2
Admin v1.10.0-rc.2
All tests were performed on a clean installation.

Closing comment (2020-01-08T16:24:35Z): This bug is the same as #2785, and my old #2444 (comment) and this commit a8ff0e3 fix it.
Repository: getgrav/grav

Issue #857: Configuration merge problem
Created: 2016-05-30T10:42:10Z
The bare minimum to recreate this problem, e.g. in a plugin's default configuration (plugins/comments/comments.yaml)
comments_form:
    fields:
        -
            name: 1
        -
            name: 2
        -
            name: 3
In the custom user configuration (user/config/plugins/comments.yaml)
comments_form:
    fields:
        -
            name: test
If I do
{{dump(grav.config.plugins.comments.comments_form.fields)}}
I get
array:3 [
  0 => array:1 [
    "name" => "something"
  ]
  1 => array:1 [
    "name" => 2
  ]
  2 => array:1 [
    "name" => 3
  ]
]

Buggy behavior: The array is merged, the first item is entered instead of the first item of the original config, but the rest is still added.
Expected behavior: I should only get the config option set in the user folder:
array:1 [
  0 => array:1 [
    "name" => "something"
  ]
]

Duplicate issue #1285: Oddity in lists in plugin-configuration
Created: 2017-01-31T12:55:40Z
I stumbled over a bit off an unexpected configuration-issue between a plugins default .yaml and a user's set .yaml. Consider the following (using v.1.2.0 of the Twig Feeds plugin).
A user has this configuration:
enabled: true
twig_feeds:
  -
    source: 'https://vaviblog.com/content/all?_t=rss'
    start: 0
    end: 10

The plugin's default is this:
enabled: true
twig_feeds:
  - source: http://rss.nytimes.com/services/xml/rss/nyt/World.xml
    name: NY Times
    start: 0
    end: 2
  - source: http://feeds.bbci.co.uk/news/uk/rss.xml
    start: 0
    end: 2
  - source: http://www.aljazeera.com/xml/rss/all.xml

Wherein dashes on their own line seems to have no effect, as expected. However, dumping the config through Grav ($this->config->get('plugins')['twigfeeds']) I get this:
array:2 [
  "enabled" => true
  "twig_feeds" => array:3 [
    0 => array:3 [
      "source" => "https://vaviblog.com/content/all?_t=rss"
      "start" => 0
      "end" => 10
    ]
    1 => array:3 [
      "source" => "http://feeds.bbci.co.uk/news/uk/rss.xml"
      "start" => 0
      "end" => 2
    ]
    2 => array:1 [
      "source" => "http://www.aljazeera.com/xml/rss/all.xml"
    ]
  ]
]

That is, the lists are merged between the user-config and the plugin-config. This seems like an error, as the user-config merely replaces the first item in the array of the available configuration.

Closing comment (2017-01-31T13:10:11Z): Seemingly the same as #857.
Repository: getgrav/grav

Issue #1093: Pages Field in Blueprint: possible to restrict pages to children of a specific folder?
Created: 2016-10-06T04:00:50Z
I'm trying to have a  'related' field in my Blueprint using the Pages field:
header.related:
    type: pages
    label: Related news items
    size: medium
    multiple: true
    selectize: true
    show_all: false
    show_root: false
    show_modular: false

Since this is for linking a news article to other related news articles, I would like to limit the pages that can be selected in this field to only the pages in the /news/ group. Is this possible? Or will this always show all pages?
Thanks!

Duplicate issue #1161: Page Select, certain type only
Created: 2016-11-08T09:42:58Z
Is there a way in grav to restrict the pages form item to only show pages of either a certain type or decedents of an item?

Closing comment (2016-11-08T09:56:51Z): (this could be a duplicate of #1093)
Repository: getgrav/grav

Issue #3175: Ignore dangerous HTML tags in code blocks
Created: 2021-01-24T21:18:23Z
Hello,
Noticed I had this warning in Tools > Reports:

Security Scan complete: 1 potential XSS issues found...

This is a false-positive triggered by <meta> tags being included in code blocks on a page, as it's one of the tags in default "Dangerous HTML tags list" configuration.
I was thinking maybe these should be ignored when they are inside code blocks, as they are not interpreted anyway. What do you think?

Duplicate issue #3298: XSS content check for 'invalid_protocols' can trigger false-positives
Created: 2021-03-19T23:49:36Z
If in your content you have a legitimate text that includes a protocol, it gets flagged as false-positive. Example:
Pre-publication image data: management and processing

This triggers invalid_protocols, caused by the default data protocol value

One solution is to ensure the protocol is followed by at least one non-space character. If there is a space, it should be ignored.

Closing comment (2021-03-31T17:46:30Z): Related to #3175.
I think we need to change the regexps so that there's regexp that just finds the tags and calls a callback method for determining the details. In most cases, we need to find only the opening tag -- with the exception of some special ones such as code block and script/style tag.
Repository: getgrav/grav

Issue #2773: Flex pages do not load on Windows
Created: 2019-12-22T00:34:58Z
When flex-pages are enabled, pages do not load.

Info:
Windows 10 x64
PHP v7.4.0 (on built in server)
Grav v1.7.0-rc.2
Admin v1.10.0-rc.2
All tests were performed on a clean installation.

Duplicate issue #2776: Saving and previewing flex-pages does not work on Windows
Created: 2019-12-26T00:55:52Z
When flex-pages are enabled, saving and previewing pages does not work.

Info
Windows 10 x64
PHP v7.4.0 (on built in server)
Grav v1.7.0-rc.2
Admin v1.10.0-rc.2
All tests were performed on a clean installation.

Closing comment (2020-01-02T13:31:48Z): I believe this is also related to #2773
Repository: getkirby/kirby

Issue #5944: [V4] Adding `->widont()` to writer field causes malformed link, if that is the last element
Created: 2023-11-09T11:40:02Z
Description
I have a writer field set up like this:
$page->document()->widont()
If I add a link as the last element in the field, the ->widont() function causes the link to be malformed on output. For instance this is an email link, added as the last element in the writer field:
<a&nbsp;href="mailto:test@email.com">test@email.com</a&nbsp;href="mailto:test@email.com">
Expected behavior
The ->widont() function should add a non-breaking space between words at the end of paragraphs, but not interfere with links added to the field
To reproduce

Set up a new writer field
In the template, output it using the ->widont() function
Add a link as the last element in the writer field

Your setup
Kirby Version
4.0.0-beta.3
Your system (please complete the following information)

Device: Mac Mini
OS: macOS Sonoma
Browser: Firefox
Version: 119.0.1

Additional context
The ->widont() function may not be suitable for use on the writer field, if so please ignore!

Duplicate issue #6389: Trailing link is broken when rendering writer field with `widont()`
Created: 2024-04-10T11:27:49Z
Description
When using a writer field and adding a link/email at the end and then outputting the field with:
<!-- my-template.php -->
<?= widont($page->text()) ?>
the last link is broken, because the link's markup gets escaped:
<a&nbsp;href="mailto:test@test.com">test@test.com</a&nbsp;href="mailto:test@test.com">

This happens only with the last link in a writer field, all the other links render fine.
Expected behavior
Last link markup shouldn't be escaped.
To reproduce


Start with a plainkit
Use a writer field, e.g. change the default templates text field tp type writer
Add a link to the writer field
render the field in the template with widon't <?= widont($page->text()) ?>


Your setup
Kirby Version
4.2.0

Closing comment (2024-04-10T11:34:08Z): Didn't check the closed issues... duplicate of #5944
Repository: getkirby/kirby

Issue #4442: Encoding-issue in the new table-layout
Created: 2022-06-28T18:06:44Z
I just converted a blog to the new table-layout: https://getkirby.com/docs/reference/panel/sections/pages#layout__table-layout
Using "'" in titles breaks the table-layout encoding. Here is an article:

Here is the same article in the panel

In the regular view it works:

Some kind of encoding issue. The original file is encoded in UTF8 and can be found here:
https://gitlab.com/cniehaus/homepage/-/blob/master/content/1_blogs/20220624_rassismus-geht-uns-alle-an/blogartikel.txt

Duplicate issue #4534: Table Layout: Ampersand is not rendered in column entries
Created: 2022-07-26T13:53:31Z
Description
Ampersands (and possibly other characters) are not rendered correctly in the default Type column of a page section in table layout as well as in columns without a type set (setting it to text makes it render correctly).
Expected behavior
Characters should render correctly.
Screenshots

Your setup
Kirby Version
3.7.1

Closing comment (2022-07-26T13:57:39Z): Duplicate of #4442.
Repository: getkirby/kirby

Issue #600: [Panel] Use queries in other parts of blueprint
Created: 2018-07-09T17:08:38Z
E.g. as defaults, in help etc.
artist:
  label: Artist
  type: select
  options: query
  query: site.find('artists').children
copyright:
  label: Copyright
  type: text
  default: '{{ site.find('artists').find(page.artist).name }}'

Duplicate issue #796: [Panel] Allow simple templates in e.g. `label` and `help` too
Created: 2018-08-02T06:55:31Z
For example:
  jobs:
    type: fields
    fields:
      jobs:
        label: Stellenangebote in {{ page.title }}
        type: structure
        ...

Closing comment (2018-08-24T09:26:57Z): Duplicate of #600
Repository: getkirby/kirby

Issue #5385: [v4] Nested structure loses content
Created: 2023-07-19T13:54:31Z
Description
When using a structure field inside of a structure field, the content of the entries in the nested structure field seems to get lost.

To reproduce

Create a nested structure field:

structure:
    fields:
      structure:
        label: Nested Structure
        type: structure
        fields:
          text: true

Add a structure entry to the top-level structure field
Add an entry to the nested structure field with some content
Close the drawer, click the little checkmark button or hit ⌘S
The content is gone

Your setup
Kirby Version
4.0.0-alpha.5
Your system (please complete the following information)

OS: macOS Ventura 13.4.1
Browser: Chrome
Version: 115

Duplicate issue #5427: [v4] You can't use an object in a structure field
Created: 2023-07-28T22:11:44Z
Description
If you add a field of type object in a structure the panel doesn't seem to be able to save its values.
Expected behavior
To be able to save the values of the object. It does work in 3.x
To reproduce
Add following blueprint:
fields:
  mystructure:
    type: structure
    fields:
      myfield:
        type: object
        fields:
          title:
            type: text
          label:
            type: text
And try to fill the object via the panel.
Your setup
Kirby Version
4.0.0-alpha.5
Your system (please complete the following information)

Device: Macbook pro
OS: macOS Ventura 13.5
Browser: Chrome
Version: 115

Closing comment (2023-07-28T22:24:26Z): I believe this might be related to #5385
Repository: getkirby/kirby

Issue #826: Add headers option to Kirby email
Created: 2018-08-06T07:33:58Z
I've encoding issue with email send with the $kirby->email function. Tried with utf-8 template or with  no template at all. My hosting provider have maybe a minimalist configuration regarding email, so it'll be nice to have option for adding headers like content-type: text/html and charset in the email function.

Duplicate issue #853: [PHPMailer] Enable setting `CharSet` (important)
Created: 2018-08-08T12:48:40Z
I had to add the following line to Kirby\Email\PHPMailer to get German Umlauts work like expected:
$mailer->CharSet ="UTF-8";
Maybe this should be the default anyway so you could just set it 🤷‍♂️

Closing comment (2018-08-08T14:15:40Z): Duplicate of #826 ?
Repository: getkirby/kirby

Issue #6030: Drawer keeps open when browser back/forward used
Created: 2023-11-30T10:15:28Z
Description


Go to panel site dashboard
Than go to any page that have blocks/layout/structure field (for drawer)
For ex: edit any block item and you'll see drawer open
Then use browser back (without click, for ex with mouse back key)
See issue that you'll redirected to site dashboard but drawer still open

Your setup
Kirby Version
4.0.0

Duplicate issue #6778: `image` and `gallery` block drawers not fully closing when navigating away
Created: 2024-10-29T14:05:36Z
Description
When accessing a file from an image or gallery block drawer, leftovers of the drawer remain visible.
Expected behavior
See the file view without bugs.
Screenshots

To reproduce

Open an instant online demo
Go to the Blog example
Open the first article
Open the image block drawer
Click on the file
See the broken file view

Your setup
Kirby Version
4.4.1
Console output
Nothing unusual
Your system (please complete the following information)

Device: MacBook Pro 16" (2019)
OS: macOS 15.1
Browser: Safari
Version: Version 18.1 (20619.2.8.11.10)

Closing comment (2025-01-17T20:36:16Z): Related to #6030