You are not logged in.

#1 2011-07-02 14:11:23

Zarcjap
Member
Registered: 2011-06-28
Posts: 29

[SOLVED] python module "commands" is missing

Hi,
I installed byobu a week or so ago and got it mostly working. It was written in python2 not 3 so i had to change the scripts to point at that instead. But now the problem I'm having is I'm unable to reconnect to an open session. When I try I get this:

Traceback (most recent call last):
  File "/home/zarcjap/byobu/bin/byobu-select-session", line 21, in <module>
    import commands, os, re, sys
ImportError: No module named commands

If I restart the computer and then launch byobu it works.It also works if i completely close the session and start a new one.
From my limited Linux knowledge and what I've found searching around Google, I'm missing the commands module for python. I've searched the AUR and in pacman but can't find anything that look like what i need. Any one know if there is a way to fix this? Thanks.

Last edited by Zarcjap (2011-07-02 14:17:20)

Offline

#2 2011-07-02 15:13:41

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] python module "commands" is missing

Sounds like there's still a file looking for python 3. I'd start by looking at that file in the traceback and make sure it has a proper shebang.

Last edited by falconindy (2011-07-02 15:14:26)

Offline

#3 2011-07-02 15:18:55

Zarcjap
Member
Registered: 2011-06-28
Posts: 29

Re: [SOLVED] python module "commands" is missing

Yeah that was it. I had to change both byobu-config and byobu-select-session. I'd only changed one of them.

Offline

Board footer

Powered by FluxBB