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

11 comments
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

@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
Comment actions Permalink

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
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

This problem is still happening in Pycharm 2019.2 and  ctrl+c and ctrl-v does not work.

0
Comment actions Permalink

@Ny2292000

Could you file a new ticket to https://youtrack.jetbrains.com/issues/IDEA and attach idea.log file from Help | Show Log in... after reproducing?

0
Comment actions Permalink

So oddly enough, the earlier reply was right with one exception on Mac. When you copy, you still use CMD-c, but when you paste, you use CTRL-v instead. Hope this helps!

0

Please sign in to leave a comment.