LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2009, 12:53 AM   #1
~zoey~
Member
 
Registered: Aug 2004
Location: South Dakota
Distribution: ubuntu & PCLOS
Posts: 119

Rep: Reputation: 15
Unhappy pin, pout, per? Pysol error won't launch


I am running ubunutu jaunty.

I installed Pysol from source and I can't launch it except via the command line. This is what I get with python /home/margo/Documents/Computer/Downloads/pysol/pysol.py-- it launches and runs, but I get this in the command line;

Downloads/pysol/pysol.py
/home/margo/Documents/Computer/Downloads/pysol/pysollib/init.py:156: DeprecationWarning: os.popen3 is deprecated. Use the subprocess module.
pin, pout, perr = os.popen3(settings.FCS_COMMAND+' --help')

I googled and found the suggestion that I add pysol='python /home/margo/Documents/Computer/Downloads/pysol/pysol.py' to ~ .bashrc and I did that, but it didn't help.

I am in over my head again and would appreciate some suggestions.

Thanks, zoey
 
Old 05-05-2009, 02:22 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Why not just do ........

sudo apt-get install pysol

This 'pysol' will work perfect.

Generally : Use from the 26,000 ubuntu packages as first choice.
'apt-cache search <name>' to find package names, and installable
packages.
.....
 
Old 05-05-2009, 03:24 PM   #3
~zoey~
Member
 
Registered: Aug 2004
Location: South Dakota
Distribution: ubuntu & PCLOS
Posts: 119

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Why not just do ........

sudo apt-get install pysol

This 'pysol' will work perfect.

Generally : Use from the 26,000 ubuntu packages as first choice.
'apt-cache search <name>' to find package names, and installable
packages.
.....
Well, I just may have to do that. I like the other version better because it allows the saving of favorite games and the removal of the splash screen. I like trying to solve linux problems, but I may not get this one solved.

Thanks, zoey

Last edited by ~zoey~; 05-05-2009 at 03:43 PM.
 
Old 05-05-2009, 04:08 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
If it is just a matter of a launcher, it's no problem.

Some ( all ? ) python.py scripts can be started, when
made executable : 'chmod +x', and be called by a
launcher.

But the safe way, I prefer, is to place an executable
script in /usr/local/bin/ , e.g. pysol.sh :
Code:
#!/bin/sh

cd /home/...<path-to-pysol-script.py>

python pysol.py
And then start 'pysol.sh' with a launcher.
.....

Last edited by knudfl; 05-05-2009 at 04:10 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU 12-V power supply: 4-pin or 8-pin? michapma Linux - Hardware 3 07-23-2007 11:13 AM
Has anyone able to get pysol on 10.0? jolphil SUSE / openSUSE 2 01-18-2006 07:53 AM
pysol and pysol-sound-server ewlabonte Ubuntu 1 03-24-2005 09:43 AM
Pysol Glennzo Linux - Software 0 06-27-2004 09:05 PM
Pysol in Slackware 9 elp Slackware 0 08-27-2003 03:53 AM


All times are GMT -5. The time now is 02:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration