LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-04-2009, 11:53 PM   #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, 01:22 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 02: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 02:43 PM.
 
Old 05-05-2009, 03:08 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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 03:10 PM.
 
  


Reply



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 10:13 AM
Has anyone able to get pysol on 10.0? jolphil SUSE / openSUSE 2 01-18-2006 06:53 AM
pysol and pysol-sound-server ewlabonte Ubuntu 1 03-24-2005 08:43 AM
Pysol Glennzo Linux - Software 0 06-27-2004 08:05 PM
Pysol in Slackware 9 elp Slackware 0 08-27-2003 02:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:42 PM.

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
Open Source Consulting | Domain Registration