Copying components between routines not working on Ubuntu 20.04

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Ubuntu 20.04 LTS

PsychoPy version (e.g. 1.84.x): 2021.2.3

Standard Standalone? (y/n) If not then what?: virtual environment as suggested here Installation headaches and (partly) fixes on Ubuntu 20.04
NOTE: I didn’t go with Jonathan’s suggestion of installing a VM. There should be something easier than installing a whole VM. My Psychopy btw looks as glitchy Arboc described in that thread.

What are you trying to achieve?: Copy a component from one routine and paste it into another. Or even paste it into the same routine.

What did you try to make it work?: I right-clicked the component in the builder view and then chose the tab of the routine where I wanted to paste it. Neither pressing Ctrl+V nor clicking Edit → Paste actually pasted the component. Nothing happens.

What specifically went wrong when you tried that?: Neither pressing Ctrl+V nor clicking Edit → Paste actually pasted the component. Nothing happens. There is no error message either.

Include pasted full error message if possible. “That didn’t work” is not enough information.


I haven’t used Ubuntu with PsychoPy that much after writing in the thread you referenced, and unfortunately I never found out what was causing the glitches you mention. So I can’t help much with that.

However, what you describe about copying components might have a very simple solution. While the Builder GUI is confusing on this point (it took me a while to figure it out myself), what you want for copying components is not ‘Edit->Paste’. Instead, you need to go to ‘Experiment → Paste component’ in the top menu. (after you’ve right-clicked the component itself and selected ‘Copy component’, of course)

I hope this helps :slight_smile: If you’ve tried the above and it still didn’t work, I’m at a loss and I hope someone more knowledgeable can help out.

1 Like

Dear Arboc,

It is indeed just as you say. I had completely overlooked that menu and was under the impression that the paste command in the edit menu served that purpose.

In the Experiment menu, there are also commands to copy and paste entire routines, which could be really handy.