Bitcoin Forum

Bitcoin => Mining support => Topic started by: leshow on October 10, 2011, 07:35:43 PM



Title: [SOLVED] phoenix.py: Permission Denied
Post by: leshow on October 10, 2011, 07:35:43 PM
I hadn't update in a while so I downloaded and unpacked phoenix from his thread. tried to run ./phoenix.py with the new phatk2 kernel ( i was on phatk before)


now i get this:



bash: ./phoenix.py: Permission denied



I tried chmod +x with no luck, any ideas?


Title: Re: phoenix.py: Permission Denied
Post by: Crypt_Current on October 10, 2011, 10:55:31 PM
It's a python file, you have to run it in a python interpreter:

python phoenix.py

If you aren't logged in as root / your flavor supports sudo, then it becomes:

sudo python phoenix.py


Title: Re: phoenix.py: Permission Denied
Post by: leshow on October 10, 2011, 11:23:50 PM
that's strange because my older version of phoenix ran by using ./phoenix.py .... but you're right that worked. thank you.


i don't know if this is related but in my old phoenix folder phoenix.py is colour coded, yet from the new download it's not (just standard white in the terminal).

in any case thank you.


Title: Re: phoenix.py: Permission Denied
Post by: Crypt_Current on October 10, 2011, 11:42:00 PM
that's strange because my older version of phoenix ran by using ./phoenix.py .... but you're right that worked. thank you.


i don't know if this is related but in my old phoenix folder phoenix.py is colour coded, yet from the new download it's not (just standard white in the terminal).

in any case thank you.

NP; I had this same problem when I first started mining a couple months ago and decided to go with LinuxCoin.  The only reason I recognized it as a python file and tried to run it in a python interpreter was because I just happened to have taken an online intro to programming class about a year ago, which used Python.

I actually don't know much about linux at all (learning gradually) so I don't know anything about your color-coding issue.