LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-16-2008, 10:16 PM   #1
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Rep: Reputation: 36
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?
 
Old 10-16-2008, 10:38 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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.
 
Old 10-17-2008, 03:01 AM   #3
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
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.
 
Old 10-17-2008, 07:52 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
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?
 
Old 11-02-2008, 05:45 PM   #5
Galaxy_Stranger
Member
 
Registered: Oct 2003
Distribution: CentOS 6 and Fedora
Posts: 252

Original Poster
Rep: Reputation: 36
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?
 
  


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
Whats the best cross-platform GUI kit for developing opengl programs? chutsu Programming 4 04-18-2008 03:27 PM
Start-up Programs tsunamikitsune Ubuntu 2 06-23-2006 11:39 AM
Getting programs to start browser Slackware 5 07-29-2005 09:36 AM
Programs in FluxBox take ages to start or don't start at all hubabuba Slackware 1 02-20-2005 09:21 AM
how to cross compile those ordinary ./configure programs? karfei00 Linux - Laptop and Netbook 7 06-09-2004 04:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:05 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