Closed derekwallace closed 6 years ago
initially things seem to work fine. The new Outline also works. The after a few minutes it all stops working. The new OUTLINE does not refresh when you select a different file.
killing the python completion.py sometimes works...
Python
output window (View->Output
, select Python
from the dropdown)Help-> Toggle Developer Tools
Can this be related with this question I did in SO? If this comment violate de rules, I'll remove. Thanks.
In the Developer Tools - Console i am seeing this. All my Extensions are no longer listed
In the View Output , Python is not listed
I need to restart COde now due to the 1st error seems to periodically appear as a notification.
Its a large project with N x individual python applications. 1 does use numpy (installed on Win10) and matplotlib (not installed on Win10) Im not using a 3rd party SDK. I do have Atom, Sublime, PyCharm installed, WIngIDE (all part of an attemtp to find a good editor for Python development).
Im using VSCode on Windows. Im not using it for debug. just as a code editor (code complete, symbol Outline , highlighting etc..). All the python is executed on linux and hence i have a network drive to make the linux shared disk visible on windows.
As a further note.
thx Derek
Does Jedi leave a DB file behind. is it something you can inspect.
What i also notice is that the Outline in insiders also stops working. It is like it gets "stuck" and no longer updates. I assume this is implemented via Jedi
If i close all the open editors, open a new file, then the outline for the newly opened file is identical from to when it stopped working.
In following diagram you can see the open file is ccconfig_mod.py. the outline is showing outline for a different file.
This is also happening to me, and it's incredibly frustrating. VScode-Python kills all intellisense for me.
A better solution to get intellisense back working is to just disable the extension Python.
With it disabled, intellisense seems to be working. My code snippets are working. Colour coding of Python still seems to work.
Obviously now ive lost
Extremely disappointing that it has come to this. i want to use VSCode. I can live without the linting. but the Outline for symbols in the current file is so useful. at a glance you see all the methods. i cant understnad why it cant work simply. Ive come from Notepad++ and it just works.
That's where I'm at as well. It's incredibly frustrating to have something so critical not work on the canonical extension for python language support in VSCode.
This happens for me regardless of virtual environment, python language, distribution, etc.
@joristaglio Please respect the devs, they're doing great work you're not paying for and they only have so many hands.
If you want to have this resolved earlier, contribute your time and help the Microsoft team reproduce this issue. I'm using Python in my everyday work yet I never managed to stumble upon this problem so it's likely that it only affects a small fraction of the community.
appreciate the devs and the effort.
im trying my best as well to convey the problem and provide as much information as i can to aid you guys. ive spent days trying to get this to work, to no avail.
what type of diagnostics can i do to help you out to debug the issue?
This depends on type of the project and source code. Completion process basically runs Jedi out of process. There is a shallow wrapper there over Jedi to handle out of process requests from the extension for the completion, tooltips etc. One way to try and repro (and maybe report directly in Jedi GH) is to import Jedi (it is in Python) and write short code that asks Jedi to return completions for a given file and location. Just see if it works as is.
@derekwallace - no, Jedi does not appear to cache results of persist a database.
I installed Jedi on PC. I created a simple .py script to read one of the files in my workspace on my p: Here is the script (del.py)
sFile = r'P:\perforce_Playground\derekw_de02-1777_rce_dev\tools\iipregr\bin\iipregrpkg\cascript_mod.py'
with open(sFile, "r") as fh:
s = fh.read()
script = jedi.Script(source=s, line=50, column=1, path='MYFILE')
print(script.goto_definitions())
names = jedi.names(source=s)
for x in names:
print(x)
I ran it locally outside VSCode in a Command shell. Took about 2 sec to run
C:\derek\Python\Jedi>python del.py
Example2
[]
<Definition module collections>
<Definition module getpass>
<Definition module logging>
<Definition module os>
In VSCcde, i tried to run via "Run Python in terminal" And it behaved the same.
For the record, here is a screen shot of del.py in VSCode and the outline is frozen with content from launch.json.
Close VSCOde, reopen, and you can see that Outline has del.py
Select cascript_mod.py (which i analyzed with del.py and Jedi). Its now frozen and doesnt update.
at this point intellisense etc. is dead.
Is it in ANY way related to ripgrep running ? Could this "block" other things running ....
I get similar reports in https://github.com/patrys/vscode-code-outline/issues/134 (this is older than the built-in Outline mentioned above but works in the same way) which suggests that over time the SymbolProvider stops working.
I decided to create a brand new workspace (on network p: drive). it consists of about 30 .py files. So small. This eliminates my concerns re size of my project workspace.
I have the same issue with Outline and symbols. Initially work for a few mins and then stop. Never refresh. Intellisense stops working.
As a note, i have another issue open wrt performance of the Debugger. See https://github.com/Microsoft/vscode-python/issues/1744 I have this resolved and it came down to something in the launcher.json file .
I then created exact same workspace on c: And outline, intelli all work fine.
@derekwallace We've had other reported issues with network drives. Could you provide the sample files that triggers the issue for you?
HI, Ive created a small workspace. with 4 python files and a .yml file. They were originally my project files, but ive trimmed them back to almost nothing, and removed all meaningful names etc. The files are not functional, but have imports, class , methods etc.
Attached the workspace attached the workspace file attached the user settings file a_vscode_project_p.zip settings.zip a_vscode_project.zip
below , when i use the word "freeze" it means
Here is what i do to trigger the issue.
Open the workspace
Open all 5 files
In, Open Editors select the files one by one randomly ... Initially the Outline updates for each file. can take 1-2 sec, can take 5 sec. Occasionally this alone can trigger the "freeze". But in this very small design it seems to rarely cause it.
now i start to edit some files. i normally go to a file and type "def" to see will intellisense pop up. I sometimes have to jump to one or more files and in each type "def". i might save file, i might not. eventually it will freeze (1-2 mins)
I cant find a specific pattern that causes it. but i can always get it to happen.
at this point selecting different .py files in Open Editors will not refresh the Outline intellisense is frozen
if i select the wal.yml file, the outline will refresh and show this docs outline if i select any .py file the outline does not update.
while doing the above repeatedly (i.e. close workspace, open workspace, and repeat)..... ive noticed that the outline can sometimes re-start working. The intellisense rarely restarts (if ever)
I hope this is of use.
Derek
I just realized something: where is that outline coming from? Do you have another extension installed to show that? If so can you disable all extensions but ours and see if this is still a problem?
@brettcannon I removed all extensions and the behavior continued with only the Python extension– and the behavior was not also triggered by any of my other extensions if I enabled them each one at a time.
@brettcannon Both outline implementations (my extension and the one built into VSCode) call "executeSymbolProvider" to obtain a list of symbols and their ranges.
@brettcannon disabled all extensions. Same behaviour.
A further note. Disable the Python extension, reload, and now intellisense is working (without Python knowledge, and outline etc...). But at least i get some code completion and my snippets work.
Enable Python and reload. Outline starts working, and quickly it stops and intellisese becomes unresponsive.
Its clearly the Python extension.
@patrys I see https://github.com/Microsoft/vscode/pull/49917 shows that one has landed in the insiders build which I didn't know about. That should help in trying to replicate the issue.
@brettcannon Ive been using the insiders build in all my testing. Initially i used Code Outline extensions and thought it was the issue. but at this point we know its something related to the Python extension.
@derekwallace Thanks for providing the samples and information required to replicate this issue. I'll try to replicate this at my end.
@joristaglio
I removed all extensions and the behavior continued with only the Python extension– and the behavior was not also triggered by any of my other extensions if I enabled them each one at a time.
If you've answered No
to all of the above, then please create a separate issue for the issue you are experiencing.
I've had a look at this issue and am unable to replicate this. @derekwallace & anyone else who can replicate this issue, please could you provide the following info:
Help->Toggle Developer Tools
screen and go into the Console
window and provide the errors displayed in there.Outline
pane@DonJayamanne Opened workspace and disabled the Outline view in the Explorer. I tried editing the project files for about 5 minutes. The Intellisense and global snippets worked flawlessly.
I then turned on the Outline in Explorer. The outline refreshed with the current file. Started editing file. Straight away i noticed the intellisense seems way more laggy. Sometimes its responsive and sometimes it falls asleep for 1-2 sec and eventually it becomes un-responsive. At this point if i select a different file in Open Editors, the Outline does not refresh.
Developer tools has this error. Ive previoulsy looked in this console for errors. this is the 1st time ive seen anything that looks like an error wrt Python.
/C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:1336 INFO standard startup Object
/C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:269 [Extension Host] vscode-icons is active! (at activate (C:\Users\derekw\.vscode-insiders\extensions\robertohuertasm.vscode-icons-7.23.0\out\src\index.js:41:13))
/C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:269 [Extension Host] Python Extension: stderr jediProxy, Error (stderr) Traceback (most recent call last):
File "completion.py", line 634, in watch
response = self._process_request(rq)
File "completion.py", line 570, in _process_request
sys_path=sys.path, environment=self.environment)
File "c:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\pythonFiles\jedi\api\__init__.py", line 119, in __init__
cache_path=settings.cache_directory
File "c:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\pythonFiles\jedi\evaluate\__init__.py", line 383, in parse_and_get_code
return self.grammar.parse(code=code, path=path, **kwargs), code
File "c:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\pythonFiles\parso\grammar.py", line 76, in parse
return self._parse(code=code, **kwargs)
File "c:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\pythonFiles\parso\grammar.py", line 126, in _parse
new_lines=lines
File "c:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\pythonFiles\parso\python\diff.py", line 163, in update
% (last_pos, line_length, ''.join(diff))
Exception: There's an issue (32 != 28) with the diff parser. Please report:
---
+++
@@ -24,9 +24,5 @@
def Aaaa2(self):
self.Aaaa1()
-
-
-
-
-
-+ for x in [1,2,3]:
+ print
(at Logger.logError (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\common\logger.js:17:21))
t.log @ /C:/Program Files/Microsoft VS Code Insiders/resources/app/out/vs/workbench/workbench.main.js:269
ERR Cannot read property 'id' of undefined: TypeError: Cannot read property 'id' of undefined
at responses.forEach (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\providers\jediProxy.js:393:54)
at Array.forEach (native)
at SafeSubscriber.result.out.subscribe.output [as _next] (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\providers\jediProxy.js:387:31)
at SafeSubscriber.__tryOrUnsub (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:242:16)
at SafeSubscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:189:22)
at Subscriber._next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:129:26)
at Subscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:93:18)
at sendOutput (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\common\process\proc.js:59:32)
at Socket.on (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\common\process\proc.js:62:47)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)
I then disable the Outline in Explorer. Intellisense is still not responding.
Close VSCOde. Reopen workspace. Intellisense is behaving flawlessly again.
Could this resolve the issue. Is there a way to use latest jedi ?
We're already using Jedi 0.12.0, but what I think you're suggesting is we upgrade our copy of parso 0.2.1, which we can do for the June release (we're in code freeze for May).
When will it get into the insiders edition. I can try.
Looks like the outline view is not throttling requests to the symbol provider, VSC is sending two requests to the symbol provider for each character typed in the editor window https://github.com/Microsoft/vscode/issues/51096
@DonJayamanne would the lack of throttling explain the issues i am experiencing? Would a network disk with slower r/w access be more susceptible to issues due to this ?
i manually updated parso to 0.2.1. The error message wrt diff parser no longer appears. Original issues persist
This error appear in the console
ERR Cannot read property 'id' of undefined: TypeError: Cannot read property 'id' of undefined
at responses.forEach (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\providers\jediProxy.js:393:54)
at Array.forEach (native)
at SafeSubscriber.result.out.subscribe.output [as _next] (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\providers\jediProxy.js:387:31)
at SafeSubscriber.__tryOrUnsub (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:242:16)
at SafeSubscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:189:22)
at Subscriber._next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:129:26)
at Subscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\node_modules\rxjs\Subscriber.js:93:18)
at sendOutput (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\common\process\proc.js:59:32)
at Socket.on (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.4.0\out\client\common\process\proc.js:62:47)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)
@derekwallace yes, the Outline view is hammering the extension after every keystroke.
@derekwallace We've believe we have fixed this issue, please could you download and install the latest development build of the extension (instructions can be found here) Please let us know if the problem has been resolved.
@DonJayamanne i downloaded and installed the developer version of the python extension. Unfortunately the issue remains. Same/similar behavior as before. I notice that the intellisense can be responsive, then it can start to become laggy to the point it becomes unresponsive. it very much feels like that as you type a set of changes overwhelms intellisense that it cannot keep up and hence becomes laggy.
Error message in console. This seems to happen when intellisense becomes unresponsive and outline completely stops refreshing.
ERR Cannot read property 'id' of undefined: TypeError: Cannot read property 'id' of undefined
at responses.forEach (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\providers\jediProxy.js:393:54)
at Array.forEach (native)
at SafeSubscriber.result.out.subscribe.output [as _next] (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\providers\jediProxy.js:387:31)
at SafeSubscriber.__tryOrUnsub (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:242:16)
at SafeSubscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:189:22)
at Subscriber._next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:129:26)
at Subscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:93:18)
at sendOutput (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\common\process\proc.js:51:32)
at Socket.on (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\common\process\proc.js:54:47)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)
@DonJayamanne To be sure i re-tried and i saw the same behaviour. At the moment that intellisense became un-responsive the below error appeared in console.
ERR Cannot read property 'id' of undefined: TypeError: Cannot read property 'id' of undefined
at responses.forEach (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\providers\jediProxy.js:393:54)
at Array.forEach (native)
at SafeSubscriber.result.out.subscribe.output [as _next] (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\providers\jediProxy.js:387:31)
at SafeSubscriber.__tryOrUnsub (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:242:16)
at SafeSubscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:189:22)
at Subscriber._next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:129:26)
at Subscriber.next (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\node_modules\rxjs\Subscriber.js:93:18)
at sendOutput (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\common\process\proc.js:51:32)
at Socket.on (C:\Users\derekw\.vscode-insiders\extensions\ms-python.python-2018.5.0-rc\out\client\common\process\proc.js:54:47)
at emitOne (events.js:96:13)
at Socket.emit (events.js:191:7)
at readableAddChunk (_stream_readable.js:178:18)
at Socket.Readable.push (_stream_readable.js:136:10)
at Pipe.onread (net.js:560:20)
@derekwallace
ms-python.python-*
directories@DonJayamanne Uninstalled and deleted the folders. Installed .vsix and the same behavior. Also get lots of errors from parso as its still 0.2.0
Installed
saw this error while testing again.
[IPC Library: Watcher] Uncaught Exception: Service shutdown unexpectedly
t.log @ console.ts:136
(anonymous) @ ipc.cp.ts:157
e.fire @ event.ts:140
i @ event.ts:535
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
@DonJayamanne Why is the issue closed?
@derekwallace because we updated to Parso 0.2.1 in master
which you can test in either our development build or wait until our 2018.6.0 release.
I tested the development build of the python extension and it doesn't resolve the issue. I was asked to test it and provide feedback . I have done this and report that the issue persists. I don't see how the issue can be closed.
On Tue, 5 Jun 2018, 21:56 Brett Cannon, notifications@github.com wrote:
@derekwallace https://github.com/derekwallace because we updated to Parso 0.2.1 in master which you can test in either our development build or wait until our 2018.6.0 release.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode-python/issues/1721#issuecomment-394857388, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUOVpmTSFu74Ra3HosOeQM5f2qxqGHaks5t5vCUgaJpZM4UJPik .
Is there any update? Did the dev build include more than the parso update? Did it have something to denounce the outline update. Thx.
@derekwallace Please understand that we are doing our best to resolve issues. Also, at this stage you seem to be the only user experiencing this issue.
I understand this can be quite frustrating for you as well, hence can I suggest you just turn off the Outline
view for the moment.
Is there any update?
You can see all of the updates to this issue here, please scroll up and you'll have the answers to all of your questions. Also VS Code have added some additional fixes at their end (see here https://github.com/Microsoft/vscode/issues/51096#issuecomment-394982635).
Again all of this information you see is on this issue (including the links to the VS Code issue).
Once again, please consider turn off (hiding
) the Outline
view for the moment.
I appreciate the support trying to resolve the issues. My colleagues have the same issue. I'd be confident others do as well.
I have the developer build of python extension with parso update. I looked at the vscode update. Is this in the insiders build? How do I know I have this update?
I see from other issues that you seem to be working on another python analysis extension. Is there any early access to this that I could try?
Thx. Derek.
On Wed, 6 Jun 2018, 19:11 Don Jayamanne, notifications@github.com wrote:
@derekwallace https://github.com/derekwallace Please understand that we are doing our best to resolve issues. Also, at this stage you seem to be the only user experiencing this issue.
I understand this can be quite frustrating for you as well, hence can I suggest you just turn off the Outline view for the moment.
Is there any update?
You can see all of the updates to this issue here, please scroll up and you'll have the answers to all of your questions. Also VS Code have added some additional fixes at their end (see here Microsoft/vscode#51096 (comment) https://github.com/Microsoft/vscode/issues/51096#issuecomment-394982635 ).
Again all of this information you see are on this issue (including the links to the VS Code issue).
Once again, please consider turn off (hiding) the Outline view for the moment.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode-python/issues/1721#issuecomment-395163202, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUOVjGBTUyP3EJ583ixkC4BgR-h4se2ks5t6BtFgaJpZM4UJPik .
The parso update is in the latest public release of 2018.5.0
. If you are installing the development build of the extension then the version would be 2018.6.0-alpha
.
The new analysis engine is available for testing if you know the hidden setting to switch it on, but I'm not ready to give that out for this instance as we have not tested it yet with the Outline view.
This seems to have been fixed as I can't reproduce at least with a checkout build.
I don't think it should be closed.
With OUTLINE enabled, python code auto-complete takes 10-15 seconds to produce a suggestion, then even longer to show function/method input arguments. Disabling Outline, makes everything normal again.
this is for VCcode 1.24.0 on Ubuntu 16.04, with python 3.6 over Anaconda (with all the latest packages, including parso 0.2.1)
I don't think it should be closed either. The updates have improved behaviour. In general I've found that the micro test project both outline and intellisense work. However on my large network drive project the outline is unusable and when enabled makes the intellisense completely unresponsive. Disabling and intellisense is just about workable. Sometimes responsive, Sometimes it's laggy,
So there is still something going on that is interfering with normal behaviour.
On Tue, 12 Jun 2018, 18:38 myron, notifications@github.com wrote:
I don't think it should be closed.
With OUTLINE enabled, python code auto-complete takes 10-15 seconds to produce a suggestion, then even longer to show function/method input arguments. Disabling Outline, makes everything normal again.
this is for VCcode 1.24.0 on Ubuntu 16.04, with python 3.6 over Anaconda (with all the latest packages, including parso 0.2.1)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/vscode-python/issues/1721#issuecomment-396756879, or mute the thread https://github.com/notifications/unsubscribe-auth/AFUOVrpgY6mobqFcdkP1ba-hdWJbyTJkks5t8ELtgaJpZM4UJPik .
Environment data
Actual behavior
using network drive as project is hosted on a shared drive. intellisense becomes un-responsive after a few python files are opened. snippets also stops working intellisense will work fine for other file types.
using process explorer i kill "python completion.py". intellisense becomes responsive and works correct.
Expected behavior
intellisense always work.
Steps to reproduce: