Pycharm 2019.1 cannot paste environment variables

When using PyCharm 2019.1 you cannot paste the value of environment variables into the popup box.

Obviously this is very irritating when dealing with secrets and projects with lots of variables.

Additionally, you cannot use another PyCharm window when the Debug Configuration window is open, but this has been the case for a while.

 

Steps to reproduce:

From an empty project:

  • Run -> Edit Configuration
  • Pick a project template
  • Click the edit box next to environment variables
  • Try pasting some text from the clipboard

 

Build details:

PyCharm 2019.1 (Professional Edition)
Build #PY-191.6183.50, built on March 19, 2019
JRE: 11.0.2+9-b159.30 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

8 comments

I'm having this trouble too.  I am trying to copy the PATH environment variable because I read that this will cure my problem with import _ssl failing to find a DLL and blocks me from using the critically important python console (without this pycharm is useless to me)

0

first I was hit by this bug: https://youtrack.jetbrains.com/issue/PY-27234

which I cannot fix because of this paste bug!! https://youtrack.jetbrains.com/issue/PY-34593

Is it time to look for an alternative to PyCharm?

0

@Venerly

Please try 2019.1.2 preview, both issues were addressed there.

I recommend using Toolbox app to install preview versions: https://www.jetbrains.com/toolbox/app/

0

Thanks Andrey, however for the time being I have stuff working with Community 2018.3 which doesn't suffer from the second bug. Who knows what else is lurking in 2019.1.2 :O) 

0

Well, if 2018.3 works well for you so far, it's better to wait for the stable 2019.1.2 release.

0

Found a workaround:  on MacOS, use ctrl + c, ctrl + v to copy/paste, instead of the usual Cmd + V or Cmd + C

Looks like the bug is simply they hard-coded the controls to Windows keyboard shortcuts.

0

Please sign in to leave a comment.