trollsid / pyalienfx

Automatically exported from code.google.com/p/pyalienfx
GNU General Public License v3.0
0 stars 0 forks source link

install.py requests root even when ran as such #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. sudo ./install.py
2.
3.

What is the expected output? What do you see instead?

I am assuming it should install.  

 File "./install.py", line 29
    print "You must launch the installer script as root !"
                                                         ^
SyntaxError: invalid syntax

What version of the product are you using? On what operating system?

1.02 on Arch Linux x64

Please provide any additional information below (Python Error Message if
possible).

I tried installing using yaourt, but it only put the pyalienfx folder in /opt/; 
running pyalienfx did nothing.

Original issue reported on code.google.com by hayjud...@gmail.com on 20 Jan 2013 at 2:35

GoogleCodeExporter commented 9 years ago
If there were some lines I could just comment out to get it to not preform the 
check it does in the beginning, or some kid of force flag I could pass, that 
might work.  

Original comment by hayjud...@gmail.com on 20 Jan 2013 at 3:21

GoogleCodeExporter commented 9 years ago
Can you comment line 28,29 and 30 ? of install.py !

Original comment by ledjfou125 on 20 Jan 2013 at 2:49

GoogleCodeExporter commented 9 years ago
I probably should have mentioned that I did that.  This is what I get:

File "./install.py", line 36
    You are about to configure the software : pyAlienFX !"""
                                                           ^
SyntaxError: invalid syntax

And after line 36 I stop knowing what to mess with.  

Original comment by hayjud...@gmail.com on 20 Jan 2013 at 5:39

GoogleCodeExporter commented 9 years ago
ok I know .... 

Uncomment every lines then run 

sudo python install.py

Original comment by ledjfou125 on 20 Jan 2013 at 9:36

GoogleCodeExporter commented 9 years ago
After uncommenting 28,29, and 30 and running that command, I get the same error 
I originally got.

Original comment by hayjud...@gmail.com on 20 Jan 2013 at 10:05

GoogleCodeExporter commented 9 years ago
thennnn comment those three lines and rerun the command 

Original comment by ledjfou125 on 21 Jan 2013 at 5:49

GoogleCodeExporter commented 9 years ago
Same error as when I uncommented before. 

Original comment by hayjud...@gmail.com on 22 Jan 2013 at 12:09

GoogleCodeExporter commented 9 years ago
Is there anything else I can do to help with this?  I'd really like to get this 
working and help improve the project.  I don't know python very well, but am 
willing to do further testing.  This program helped a lot when I ran it under 
Xubuntu and I'd like to contribute back.

Original comment by hayjud...@gmail.com on 30 Jan 2013 at 5:49

GoogleCodeExporter commented 9 years ago
Which version of python do you use ? 
3 or 2 ? because it might be a python 3 error ... 
Moreover others have tested it on Arch linux and it works well so I'm really 
not sure what is going on here ...

Original comment by ledjfou125 on 30 Jan 2013 at 9:38

GoogleCodeExporter commented 9 years ago
I have both python2 and python3 installed.

Original comment by hayjud...@gmail.com on 3 Feb 2013 at 5:37

GoogleCodeExporter commented 9 years ago
For running pyalienfx in Archlinux installed from AUR just type "pyAlienFX" and 
remember it is case sensitive.

Errors in install.py are because it is running on python3.
For avoiding this issue install python 2 and substitute the line 
"#!/usr/bin/env python" or "#!/usr/bin/env python2".

Original comment by antoniov...@gmail.com on 17 Feb 2013 at 10:24

GoogleCodeExporter commented 9 years ago
Sorry for replying so late.  

I feel stupid for not realizing the capitalization.  The application runs, but 
it does not actually control the lights.  It can turn them all off, but it 
can't change colors or turn them back on.

Original comment by hayjud...@gmail.com on 10 Mar 2013 at 3:40

GoogleCodeExporter commented 9 years ago
Would this be a problem with python as well?

Original comment by hayjud...@gmail.com on 10 Mar 2013 at 3:41

GoogleCodeExporter commented 9 years ago
No that is going to be another issue 

http://code.google.com/p/pyalienfx/issues/detail?id=8

Original comment by contact....@gmail.com on 10 Mar 2013 at 12:32

GoogleCodeExporter commented 9 years ago
That is an issue related to libusb. Update your pyalienfx package as it 
contains a temporary fix for that.

By the way, the new command for running the tool is "pyalienfx" as many people 
got confused with caps.

Original comment by antoniov...@gmail.com on 15 Jun 2013 at 8:24