Ubuntu :: Python Based Programs Fail To Start?

Oct 30, 2010

since it started i cannot launch software-center, vlc, emesene... they all stopped working... i checked the logs of synaptic to see if i removed a python package and i didn't. i tried selecting all python packages for reinstall, and it didn't help! i really don't want to reinstall ubuntu.

View 9 Replies


ADVERTISEMENT

Ubuntu :: Python Based Programs Not Working

Apr 8, 2010

I've been using Ubuntu 9.10 fairly regularly on my home computer for a week or two now, dual-booting it with Windows 7. So far I've been quite happy with it, but yesterday something odd happened. I decided to copy all the music I had stored on the Windows partition over to the Ubuntu file system so that I could listen to it there. I have about 16 gigs of music mostly in .mp3 format, so I put the folder on an external hard drive, then logged into Ubuntu and copied it back from the external drive to my Music file.

Once the transfer was done, I opened the Music file and double-clicked on one of the .mp3s at random to play it. When I did this, a window popped up and the first half-second or so of the track played, and then the window closed and it stopped. This happened once or twice more with different .mp3s. The window didn't last long enough for me to get a good idea of what program it was for, but I assume it was Totem, which I hadn't yet run since installing Ubuntu, because according to the Properties->Open With tab of any .mp3 file, that's the default program to use to open .mp3s.

Attempting to run Totem from the Applications menu gives the same result, I later found. Attempting to run Totem from a terminal gave the following error:

andrew@Lovelace-Linux:~$ totem
** (totem:2323): WARNING **: Could not import pygtk
ImportError: No module named pygtk
Segmentation fault

Then, several other programs began having similar issues immediately after I first tried to play a .mp3 yesterday. Specifically, Rhythmbox - which I also hadn't used before, and next tried to use to play the music - will not start at all. Running it from the terminal gives:

andrew@Lovelace-Linux:~$ rhythmbox
** (rhythmbox:2338): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
** (rhythmbox:2338): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
(rhythmbox:2338): Rhythmbox-WARNING **: Could not import pygtk
ImportError: No module named pygtk
Segmentation fault

Note that pygtk is again referenced. The weirdest part is that other program that's having this issue, an IM client called emesene, is one that I had been using just fine, without issue, for several sessions previous. Since trying to play that .mp3, it now won't run at all. I tried removing and re-installing emesene, to no avail. Running it from the Terminal gives:

andrew@Lovelace-Linux:~$ emesene
Traceback (most recent call last):
File "/usr/share/emesene/Controller.py", line 21, in <module>
import gtk
ImportError: No module named gtk

This time the missing module is gtk, but I know that emesene is written in Python, which the earlier "pygtk" is perhaps a reference to. Thus, the connecting thread between all these programs, as near as I can tell, is Python.

View 9 Replies View Related

Programming :: Make Python Programs Run Without Entering The Command Python?

Mar 22, 2009

I want to be able to do

sudo ./program.py

instead of always having to do

sudo python program.py

What do I need to change?

View 5 Replies View Related

Debian :: Install Fail - Code Based Interfaces ?

Mar 23, 2011

I installed my new debain.(6.0) but its all code. (i looked it up, i need a a win X or GNOME). but since i dont know code based interfaces, how do i install it on the computer. (once Ive got my visual interface im generally fine till i hit advanced)

View 10 Replies View Related

Ubuntu Installation :: Certain Programs Fail To Run After Upgrade?

May 3, 2010

I have a laptop running Ubuntu 10.04 and also two dual boot desktop machines, both running Windows XP and Ubuntu. I have upgraded one of the desktops to Ubuntu 10.04 and since doing so Thunderbird will not run on the laptop or the desktop. On clicking the launcher there are signs of activity for a few seconds and then they stop and Thunderbird fails to open. Also there is no longer any sound on the desktop that I have upgraded. I am reluctant now to upgrade the remaining desktop in case I have the same problems

how to get Thunderbird running again, please. I have already spent a week unsuccessfully trying to get the sound working and have abandoned it, but I would like Thunderbird to start running again.

View 1 Replies View Related

General :: Updated LibX11 And Python Packages Fail To Update In RHEL5?

Nov 10, 2010

I was assigned to do all the RHEL5 updates. All installed fine including the new kernel except for the updated libX11 and python packages. Does anyone have any suggestions relating to a fix for this?

View 3 Replies View Related

Ubuntu :: Programs Fail To Redirect Firefox To Webpages?

Apr 19, 2011

Since upgrading to Ubuntu 11.04 Natty Narwhal, I have this problem where programs to redirect me to webpages. It just loads up my home page and acts like it's finished. Even if I have Firefox previously open, nothing happens.Programs this happens with are Apport (when I try to file bug-reports), Tomboy (if I click "get add-ins"), and Liferea until I edited a setting telling it not to use the default gnome browser but to use Firefox.I know the first thing you'd think hearing that is that my web browser isn't set in my gnome default applications, but it is. When I open firefox in terminal this error pops up

Code:
LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed

View 4 Replies View Related

Fedora :: Audio Production Programs Fail

Jun 29, 2009

I am using Fedora 11I have sound working for flash videos, audio files, and simple recording applications like Audacity and in general.I get tons of fatal error popups on the screen as well.Rather annoying but does anyone know what the source to the problem is?

View 4 Replies View Related

General :: Iso Burn Fail With Multipe Programs

Jun 12, 2011

I am not sure what to do, I have tried many different ones but I want to put an edubuntu image on disc. I have used 3 iso burners including infrarecorder.

View 13 Replies View Related

Ubuntu :: Saving Python Programs - Error Permission Denied

Apr 11, 2010

I wanted to save a python program because I am reading byte of python and I went to save in !/usr/bin. When I try to save in this folder I get this error "[Errno 13] Permission denied: 'usr/bin/helloworld.py'.

View 9 Replies View Related

Programming :: Created Python Programs - Making Changes To Improve?

Dec 17, 2008

I have list of programs which I have created during the past few days, all the programs are attached in txt files, and if anyone can do favor, and double check if they work, and what changes I can make to make it look different, or to improve it.

View 9 Replies View Related

Fedora :: Terminal-based Programs Won't Run Because It Can't Find Libtermcap

May 30, 2010

I installed Fedora 12 on a new machine (Intel Core i3) and one of my terminal-based programs won't run because it can't find libtermcap. The specific error is

Quote:

error while loading shared libraries: libtermcap.so.2: cannot open shared object file: No such file or directory

I seem to have this problem every other time I install a new Fedora. I tried a few things with old libtermcap files from other machines, and I tried looking around the YUM repository, but nothing seemed to work.

What's the proper way to get the libtermcap libraries for a Fedora 12 machine on an iCore i3?

View 1 Replies View Related

General :: What GUI Linux Programs Are There For Finding Files Based Upon Their Contents?

Sep 18, 2010

What GUI Linux programs are there for finding files based upon their contents?

View 5 Replies View Related

Ubuntu :: Start Python Script At Boot?

Jan 17, 2010

I am trying to get a python script to start when the pc is booted. I'm running ubuntu server without a GUI... just CLI.

I have a python script called /home/username/bin/dropbox.py that runs perfectly if I do:

Code:
sudo python /home/username/bin/dropbox.py start

All I want to do is invoke the command I wrote up there when the pc boots up without any user logging in.

I added the above command just like that in rc.local but that didn't work. I tried creating a bash file, where in the bash file I did:

Code:
#!/bin/bash
cd /home/username/bin/
./dropbox.py start

and then added the bash file to rc.local, but that didn't work (I made sure the bash file was executable).

View 5 Replies View Related

Applications :: HAL And DBUS Fail To Start

Jan 21, 2010

I don't know if this is the right place to post this but here goes anyway.

System:
ASUS Pro50n Laptop
Distro: Arch Linux
WM/DE: Gnome

I've recently installed Arch linux with the gnome desktop environment, and everything is working fine apart from HAL and DBUS. I'm not sure why this problem is happening and I have no idea about any settings for HAL and DBUS all I know is what it says in the wiki.

The problem I have is that HAL and DBUS fail to start. I have tried /etc/rc.d/hal start and get the message BUSY.. then FAIL. I have tried /etc/rc.d/dbus start and get exactly the same. I have tried restart and that also fails. *EDIT* I have just tried /etc/rc.d/dbus start again without changing a thing and dbus has started successfully but HAL still fails.

The further problem, which I think is related to HAL not starting... possibly... Is that I can't watch DVD's / anything in the DVD drive. I can see it in Places >Computer as "CD/DVD Drive: 3_MEN_IN_ANOTHER_BOAT" but when I click to load it or if I open Totem and try and load it all I get is the error: Unable to mount location: Not Authorized. Is this related to HAL or is this a completely different issue?

*EDIT* fixed the HAL problem, reinstalled xf86-input-evdev package and it seemed to fix the problem. However I am still having a problem with watching DVD's

View 11 Replies View Related

General :: Crontab Fail To Start?

Jun 22, 2010

I type this 10,20,30,40,50 * * * * /root/auto.pl

my log file
Jun 23 10:10:01 localhost crond[7702]: (root) CMD (/root/auto.pl)
Jun 23 10:20:01 localhost crond[12022]: (root) CMD (/root/auto.pl)
Jun 23 10:30:01 localhost crond[14610]: (root) CMD (/root/auto.pl)
Jun 23 10:40:01 localhost crond[18676]: (root) CMD (/root/auto.pl)
Jun 23 10:50:01 localhost crond[22402]: (root) CMD (/root/auto.pl)
Jun 23 11:01:01 localhost crond[29476]: (root) CMD (run-parts/etc/cron.hourly)

but my application doesnt run at all. my script is in perl language

View 5 Replies View Related

Ubuntu :: Wireless Constantly Fails \ Reboot But It Will Start To Fail Again?

Mar 19, 2010

reason my wireless is constantly failing. the only solution is a reboot but it will start to fail again. I use hp mini 210 ubuntu netbook remix.here is a log file

Mar 19 19:37:37 nicky-laptop NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Mar 19 19:37:37 nicky-laptop NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (

[code]...

View 4 Replies View Related

Debian :: Can't Start Python GTK Applications

Oct 27, 2015

I use Terminator as my terminal and in the last couple of months, I need to either run

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libfreetype.so.6 /usr/bin/terminator
or
symbolic link /usr/local/lib/libfreetype.so.6 to the above file

In order to have the application run without the error message: You need to install the python bindings for gobject, gtk and pango to run Terminator.

I have been using the symlink method for the most part, but when I run an apt upgrade, often the /usr/local/lib/libfreetype.so.6 symblink changes to point to /usr/local/lib/libfreetype.so.6.5.0 and I have to manually re-link.

I have tried reinstalling gobject, gtk and pango packages for python but nothing has worked.

View 6 Replies View Related

Debian :: Administrative Tasks Fail To Start

Sep 4, 2010

Over the past few days, I've noticed that administrative tasks sometimes fail to start. I'm asked to enter the administrative password, "Granting rights" appears in the bottom panel for a few seconds, but then disappears. I'm using Debian Lenny. This is only an intermittent problem, and if a task does fail to start, it will start on the next attempt. Tasks which have failed to start are:

*Launching Synaptic form the System menu.
*Launching a root terminal from the Applications menu.
*Launching Nautilus with root privileges from a terminal using gksu.

After coming across the following post, I thought maybe it was an issue with kernel 2.6.32-bpo.5-686, because I'd recently upgraded to that kernel too, but I'm advised that that isn't so.It was suggested that something else from backports might be causing the problem.

View 14 Replies View Related

General :: DHCPD Service Fail To Start

Mar 14, 2010

My dhcpd service get failed every time when I try to start it
1) Actually I have a lan connection which has a static ip network 192.168.10.0/24 and the pc to which is using the dhcpd has a ip address 192.168.10.1/24
2) And I have a internet connection wirelessly which has a network 192.168.2.0/24
Now I want to problem ip address in the network of 192.168.10.0/24

Here below is the configuration file of dhcp server:
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "example.org";
option domain-name-servers ns1.example.org, ns2.example.org;
# Use this to enble / disable dynamic dns updates globally.
#ddns-update-style none; .....

View 3 Replies View Related

Server :: NFS Service Start Fail - No Such Device

Dec 23, 2010

rhev-h starting NFS service why occur under issue message?
[root@RHEV ~]# /etc/init.d/nfs start
Starting NFS services: exportfs: can't open /var/lib/nfs/rmtab for reading [OK]
Starting NFS daemon: [FAILED]
[root@RHEV ~]# tail /var/log/messages
2010-12-23T09:32:20.507146+00:00 RHEV exportfs[7834]: can't open /var/lib/nfs/rmtab for reading
2010-12-23T09:32:20.562458+00:00 RHEV modprobe: WARNING: Could not open '/lib/modules/2.6.18-194.3.1.el5/kernel/fs/exportfs/exportfs.ko': No such file or directory
2010-12-23T09:32:20.562508+00:00 RHEV modprobe: FATAL: Error inserting nfsd (/lib/modules/2.6.18-194.3.1.el5/kernel/fs/nfsd/nfsd.ko): Unknown symbol in module, or unknown parameter (see dmesg)
2010-12-23T09:32:20.563344+00:00 RHEV nfsd[7838]: nfssvc: No such device

View 5 Replies View Related

Software :: Freeradius Fail To Start Because Of Ssl Error

Mar 7, 2010

I have installed freeradius from repositories in both Debian and Ubuntu. I have built from source with 'fakeroot dpkg-buildpackage -b -uc' on both the official freeradius source code and the source provided by apt-src in both Debian and Ubuntu. On a normal install via aptitude there is no ssl-support, I understand this is because of license issues. Otherwise is works, but is of course useless in a wifi-auth setup. On a install from source code, after editing debian/rules and debian/control as recommended different places on the net, freeradius fail to start because of ssl error. Same on install via source code downloaded directly from [URL]... Anyone have a working ssl-enabled freeradius server running Debian or the likes?

View 1 Replies View Related

Fedora X86/64bit :: Services Fail To Start Continuously

Aug 22, 2010

I have installed fedora 13 , 86_64. and was working fine until now. The problem was that JEXEC service Froze while booting. So I removed it /etc/init.d. The next time when I booted ATD service Froze, so I removed it by the same way. Next it was the turn of CROND followed by KSM , KSMTUNED. Then came ABRT-DAEMON which I had to type a #yum erase abrt* command. Finally it came to the turn of SM-CLIENT. I don't know where it is or what it is. Didn't find quality posts on the internet. What the heck should I do and I dont want to do a reinstall.

View 14 Replies View Related

OpenSUSE Install :: DomU (paravirt ) On LVM Fail To Start

May 19, 2010

I am trying to install opensuse 11.2 as DomU on a Host running also opensuse 11.2. When I use a file as destination everything goes well and the installation finishes with success. But when i install the DomU on an LV (Logical volume) with Yast, once the installation finished and the DomU restarts, I get the Error "Boot Loader didn't return any data"

I mounted the LV and I verified the presence of /boot/vmlinuz-xen, /boot/inirtd-xen, menu/lst etc ....

[Code].....

View 1 Replies View Related

General :: HTTPD Service Fail To Start In RHEL6

Jun 7, 2011

I configured httpd.conf. With ip, port 80 and specified the document path correctly. But service httpd restart shows httpd stop fail, httpd start fail.

View 1 Replies View Related

General :: OpenSuSe Fail To Start - No Message Logging

Jan 6, 2011

OpenSuSe fail to start if loading on fail safe following msg appears
blogd: no message logging because/var file system is not accessible
I have run defrag through XP

View 2 Replies View Related

OpenSUSE :: Vsftp Dose Not Work In Machine - Fail To Start

May 24, 2011

vsftp dose not work in my machine. I try to restart vsftp by command

Code: sudo /etc/init.d/vsftpd restart but it failed:

Code: Shutting down vsftpd done Starting vsftpd startproc: exit status of parent of /usr/sbin/vsftpd: 1 failed

View 9 Replies View Related

OpenSUSE Network :: Named Fail To Start (jail) And Dhcpd

Sep 16, 2010

Just for information in case if it is important to start dhcpd and named: Sep 16 20:26:44 LINUX-SRV named[2417]: nss_ldap: could not search LDAP server - Server is unavailable Sep 16 20:26:44 LINUX-SRV named[2417]: nss_ldap: could not search LDAP server - Server is unavailable

Secondly Both config files in /etc/sysconfig set parameters to start in jail root but

[Code]....

View 2 Replies View Related

Software :: Fail To Start Cyrus IMAP - Operation Not Supported

May 18, 2011

I have a problem when trying to start Cyrus IMAP (on Ubuntu server):

#./master &
[1] 1171
[1]+ Exit 1 ./master

I got a message from /var/log/message:

May 18 16:26:44 ldap master[1146]: process started
May 18 16:26:44 ldap master[1146]: unable to setsocketopt(IP_TOS): Operation not supported

View 4 Replies View Related

Software :: RAID5 Fail To Start Array After Power Failure

Apr 23, 2010

I am having a RAID5 with a spare(total 4 disk).then the steps which lead me to a problem:

1. i was doing I/O on the array.
2. i pulled out a drive manually. So the spare drive took care of the failed one and started rebuilding. then
3. in the, mean time i pulled out the power plug of my NAS box.
4. After power up i saw my array was not active(by -D command option of mdadm). then
5. i executed: mdadm --assemble --scan /dev/md0 it gave me

I checked into the linux source and found that bd_claim is a function inside fs/block_dev.c and it failing due to which lock_rdev function (calling bd_claim in md.c) is failing and we are not able to start the array.I don't know why my RAID is not live after power on.
Plese help atleast can i save my data?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved