Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-16-2008, 10:16 PM
|
#1
|
Member
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252
Rep:
|
Some programs won't start - cross-OS
This is a very strange problem. Up until now, I've just kind of lived with it, but I've come to the point where I need to fix it.
Some programs I've installed on my system won't run when I click their icons or run the executable from the CLI shell. I've had this happen on Fedora AND Ubuntu. On Fedora, I installed FCE Ultra and created a desktop launcher and it won't do anything when I click on it. I just installed another app - IcePodder - and it does exactly the same thing - nothing.
I went to Ubuntu and installed IcePodder - and it did the same thing. I get nothing from the desktop icon OR the executable.
Does this mean I fubared the install? What do I need to look at?
|
|
|
10-16-2008, 10:38 PM
|
#2
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
It suggests you are just doing it wrong.
You need to provide a specific example.
Use the shell, copy over the command entered with any output that goes with it. Tell us what you expected the command to do - what did you expect to see. Tell us how the program you are trying to run was installed. If the command has a verbose option, use it.
|
|
|
10-17-2008, 03:01 AM
|
#3
|
Member
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252
Original Poster
Rep:
|
pkasjkl;ajf
ok, it looks like what I linked to was a script that runs a python script, (which i'm not familiar with at all).
Code:
galaxystranger@Ubuntu:/usr/bin$ ls ice*
iceauth icepodder
galaxystranger@Ubuntu:/usr/bin$ cat icepodder
#!/bin/bash
#
# Copyright 2005-2006 CastPodder Team
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: CastPodder.sh 68 2006-04-26 20:14:35Z sgrayban $
cd /usr/share/icepodder
python CastPodderGui.py
galaxystranger@Ubuntu:/usr/bin$ ./icepodder
CastPodderGui.py:48: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
from wxPython.wx import *
Traceback (most recent call last):
File "CastPodderGui.py", line 48, in <module>
from wxPython.wx import *
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/__init__.py", line 15, in <module>
import _wx
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_wx.py", line 8, in <module>
from _misc import *
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wxPython/_misc.py", line 456, in <module>
wxDateTime_GetNumberOfDaysinYear = wx._misc.DateTime_GetNumberOfDaysinYear
AttributeError: 'module' object has no attribute 'DateTime_GetNumberOfDaysinYear'
galaxystranger@Ubuntu:/usr/bin$
I expected the program to run and load up the GUI for the Icepodder application. To install, I downloaded the .gz package from here and followed these instructions:
Code:
# $Id: INSTALL 68 2006-04-26 20:14:35Z sgrayban $
Saturday April 16 2005 - Scott Grayban <sgrayban@castpodder.net>
---------------------------
Linux Install:
read the README first !!
1) su(do) to root
2) run ./install.sh
3) Place a shortcut on your desktop with /usr/bin/CastPodder as the binary executable.
4) For a desktop icon use the CastPodder.png in /opt/CastPodder
*** NOTE ***
This version supports XMMS for the player.
You _must_ have the xmms python libraries installed for this to work.
Enjoy !
Scott
When I did that - it told me the install was completed - didn't get any errors or anything.
|
|
|
10-17-2008, 07:52 PM
|
#4
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
for icepodder - the script is out of date, so it won't run.
Quote:
Linux Install:
read the README first !!
|
Did you read the README first?
Quote:
[use] /usr/bin/CastPodder as the binary executable
|
... but you didn't do this,
vis:
Quote:
galaxystranger@Ubuntu:/usr/bin$ ./icepodder
|
instead, you called /usr/bin/icepodder
Quote:
CastPodderGui.py:48: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible.
from wxPython.wx import *
AttributeError: 'module' object has no attribute 'DateTime_GetNumberOfDaysinYear'
|
The warning says that the code has depreciated, which means it is unlikely to run in any case. You need the wxPython package.
The error could be because of that, or because you do not have the required libraries installed. If you are trying to use this with xmms, you _must_ have the xmms python libraries installed for this to work.
Are the other programs which don't run also python scripts?
|
|
|
11-02-2008, 05:45 PM
|
#5
|
Member
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252
Original Poster
Rep:
|
asdfasdf
Sorry - had to move! ;-p
Thanks for the help, Simon. The other application I was having trouble with turned out not to be python at all. It was an application that's a GUI on Windows and I just assumed it would be the same for the *nix port. It's a command-line app that you can get a GUI front-end for. So I made this link that would run, but wasn't feeding anything to the executable.
Yes, the README just lists the install and licence text files.
Ok, I yummed wxPython to make sure it was on the system and I got this:
Code:
Package wxPython-2.8.9.1-1.fc9.i386 already installed and the latest version
Nothing to do
I thought that maybe there's a config problem w/ icepodder, so I reinstalled it: $/home/myHome/icepodder/./install.sh
It gave me no error messages and at the very end it says "You can start IcePodder with: /usr/bin/icepodder"
Either method of startup gives the same errors about wxPython. Where should I look next?
|
|
|
All times are GMT -5. The time now is 09:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|