-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ls: unrecognized option '--fancy' #88
Comments
I'm getting the same type of error on Red Hat EL6 (RHEL6). I think this is because we're both attempting to use Red Hat Linux, which is not supported in the distribution. I followed the instructions for source code installation. When I originally tried to get LWP to work, I tried to use Python 3.4.3 in a virtual environment. However, this required modification of several LWP scripts to be compatible with Python 3.4.3 (e.g. the ConfigParser function is called configparser). Even after I got the lwp server to start, I continued getting errors, the last being a failure to encode error. There are suggestions that the encode requirement was introduced in Python 3, so now I wonder which Python should be used to run At that point, I gave up and performed an altinstall of Python 2.7.10 because the default Red Hat Python 2.6.6 does not support a function required by LWP and their were (incorrect) suggestions that you needed Python 3 to get that function. We both appear to be stuck between needing Python 3 and not being able to run LWP under Python 3. I also noticed that there was no lxc-extra package available for RHEL6, so I ended up grabbing the lxc 1.0.7 source code and compiled it. Unfortunately, lxc-ls requires Python 3 (the first line being "#!/usr/bin/python3"). I tried modifying that line to use Python 2.7.10, but then lxc-ls fails. We appear to be caught between conflicting requirements and I'm not sure what is needed. If you use Python 2.7.10, then lxc-ls will not work. If you use Python 3.4.3, then the LWP scripts themselves need modifications before they will execute. The author of this fork clearly states that it is for Debian, so I'm not sure we can ask for much help. |
Well, after some more trying, I actually got this to work (sort of) in a roundabout way on RHEL 6.6. The "Networking" is throwing an error still. I'll try to provide installation details if anyone is interested. |
ubuntu:~# lxc-ls --fancy |
@gregtampa: which ubuntu/lxc version are you using? |
On a fresh install of Centos 7, after logging in, I get the following error:
The versions I'm running is:
And the lwp I got from this git commit:
The text was updated successfully, but these errors were encountered: