Ubuntu :: Python Error After Update To 11.04?

May 10, 2011

i update my ubuntu(10.10) to 11.04 when it update i got one error that say can not install python or upgrade . the installation finsh and i reboot my pc then ubuntu wont start i try to use

Code:
sudo dpkg --configure -a --force-all

my system repair but i still Have problem with python

the real issue is that when i install a package that require python the package wont install and say error:

Code:
Package python is not configured yet

View 5 Replies


ADVERTISEMENT

Fedora :: Fatal Python Error After SW Update

Dec 8, 2009

Last night software updater notification showed 29 updates. I was building a liveCD image so decided create the image first then install the updates. After the updates were finished, I did a reboot because some packages required it, I logged on successfully, then I shutdown for the night. This morning when I executed the same command used to create the liveCD image, I get the following error.

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Update Stops With Python Message And Hang

Mar 25, 2011

I was doing a update via Synaptic Package Manager, after it is nearly finished i get that message: Processing triggers for python-central ... Nothing happend so i ctrl-c it and the packet manger shows me no other errors or something else, even all the packages who was marked for upgrade are now upgraded but what about that python message? Do i have to do some check ? or maybe even a repair or even worse re install the OS?

[Code]...

View 2 Replies View Related

Fedora :: Yum Update Results In Python IndexError?

Jun 17, 2010

I haven't been able to update my system as of late, because yum keeps giving me the same error, everytime I try to run updates/install packages.

Code:
Running Transaction
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)

[Code]....

Running it with -v did not provide any other information regarding this problem. I tried running yum -clean all as well as package-cleanup --dupes and other various forms and rpm -Va --nodeps --nofiledigest but didn't get any output.

View 6 Replies View Related

Programming :: Python Gtk.TreeView Update ListStore

Apr 10, 2011

How can i delete from ListStore or get TreeView iter when i toggle renderer1?

Code:

View 1 Replies View Related

Programming :: Python - Application That Update Facebook Status

Apr 8, 2011

I want to make an application that will update my facebook status. How can I make that ?

View 7 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

Slackware :: Python & Utf-8 - Get Slack To Handle Scripts Without Having To Edit Them Every Time Update?

Feb 20, 2011

I'm running xbmc on slackware64-13.1 and it's running great. However a python addon script is giving me trouble. The script contains some utf-8 characters, and by default I get an error because coding isn't declared in the script. I've added

Code: # -*- coding: utf-8 -*- to the scripts and they will work fine, but they are updated very frequently. I've tried messing around with turning on unicode console and such but I'm a bit in the dark on this. Is there a way I can get slack to handle those scripts without having to edit them every time I update?

View 10 Replies View Related

Ubuntu :: Error While Installing Software Written In Python

Jul 1, 2010

For example, I want to install a texteditor called Editra, i done it like the following

First, I install the Editra
sudo apt-get install Editra - success ,its version is 0.5.30

Second, I run it in Terminal
Editra - it can work,but with the error infos "(python:1682): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion `GTK_IS_WIDGET (widget)' failed"

Third, I used command line "dpkg -L Editra", and found that the Editra is installed under /usr/share/pyshared/Editra,so i created the .desktop like this
sudo gedit /usr/share/applications/Editra.desktop

[Desktop Entry]
Encoding=UTF-8
Name=Editra
Comment=the Best TextEditor
Exec=/usr/share/pyshared/Editra
Icon=/usr/share/pyshared/Editra/pixmaps/editra.png
Terminal=false
Type=Application
Catergories=Development

It showed, and I clicked it for running, but it told me error infos
Could not launch 'Editra'
Failed to execute child process "/usr/share/pyshared/Editra" (Permission denied)
Not just Editra, so many software that written in python have the same question, such as tortoisehg...

View 2 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

Ubuntu Installation :: When Trying To Run 'python Setup.py Build' Get An Error (Shown At The End)?

May 5, 2010

I would like to install pymedia on my ubuntu 9.10 karmic distribution, but I am having a bit of a hard time doing that.I managed to install all the libraries (lame, libogg, libvorbis etc.) but when trying to run 'python setup.py build' I get an error (Shown at the end).I found on the interwebs that it may have to do with the version of gcc c++ compiler running (currently gcc-4.4) and that it only works with gcc-3.x. Therefore I downloaded gcc-3.4 (from the old jaunty archive), and with this one still no joy.NebelhomP.S. I am not a complete newcomer to linux and python but I am not an expert so it may happen that I ask questions with a very obvious answer.

Code:
nebelhom@nebelhom-desktop:~/pymedia-1.3.7.3$ python setup.py build
Using UNIX configuration...

[code].....

View 1 Replies View Related

Debian Installation :: Get An Error That Python.h Is Not Found?

May 20, 2010

I am trying to building freeradius from source, but I get an error that python.h is not found ? !

checking for python2.3... python2.3
checking for Python.h... no
checking for Py_Initialize in -lpython2.3... no

But both python and python-dev are installed ?

[Code].....

View 3 Replies View Related

Fedora :: Error: Missing Dependency: Python(abi)

Nov 23, 2009

I get this missing dependency: Error: Missing Dependency: python(abi) = 2.3 I've tried to find this, but can find only references to it in past versions of Fedora (<9). I'm running F11.

View 1 Replies View Related

Fedora Installation :: Python Error When Trying To Upgrade F13 To 14?

Nov 27, 2010

I'm encountering a python error in the beginning of the upgrade. See screenshot. How can this be solved or should I indeed file a bug report? Problem is that except for taking the picture, I've been unable to save the info.

View 3 Replies View Related

General :: Python 2.6 Dependencies Error During Installations

Feb 11, 2011

I am trying to install vodafone mobile connect 2.10 (noarch.rpm) but keep getting a python = 2.6 is needed by python-sq*. I had Python 2.6 installed and upgraded to 2.6.6, but still got the error. What could I be doing wrong or what repositories are short on my openSuse 11.0 to have the installation work. I downloaded the correct version of vodafone for my system.

View 1 Replies View Related

Software :: Python 3.2 On Squeeze - Import Error

Apr 2, 2011

I downloaded the source to Python3.2

Code:
make distclean
./configure
make
make install
ImportError: No module named _tkinter
readline support for the interpreter seems to be gone
a few other oddities here and there

Is there a configure options doc that I missed somewhere? Python2.6 works as expected, with readline, Tkinter, cigarette lighter... the works!

View 2 Replies View Related

Ubuntu :: Customization Kit Refuses To Install - Error: Dependancy Not Satisfyable: Python

Jul 17, 2010

I'm trying to install Ubuntu customization kit on 8.04. However whenever I try to install it from the .deb file (it's not in the repos) it returns "Error: Dependancy not satisfyable: Python" I tried sudo apt-get install update, sudo apt-get install python and installing python through synaptic but it says it's the latest version of python already.

Now playing: Mot�rhead - Lawman
via FoxyTunes

View 2 Replies View Related

Debian :: Python-pkg-resources Returns Error Code

Apr 9, 2010

The system is Debian Squeeze/Sid with apt.conf set to Squeeze as the default. Most packages are from Squeeze.

I ran apt-get upgrade and it returned an error-code.

It might be it is this bug: Bug#574153: python-pkg-resources: Missing file leaves it unconfigured

I tried aptitude install -f, to hold it and to remove the package python-pkg-resources, but i am getting told the package would be in a very bad stage, and i should re-install it. That doesn't work.

View 1 Replies View Related

Software :: OpenShot - Invalid Python Installation Error

Jul 25, 2010

I'm trying to install Openshot 1.1.3. from source on Mandriva 2010. I don't understand what else I should do apart from the command "sudo python setup.py install", but clearly this isn't enough, because I get the following error message:

Error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory)

I've put the tarball at /usr/share/openshot-1.1.3. According to Software Management, I have python2.6 installed (and the other dependencies mentioned in the README), but what do I know. (I tried using an RPM file from rpm.pbone.net [URL], but that didn't work out either, I don't know whether this is the easier route or not.)

View 10 Replies View Related

Programming :: Python Script Gives Error - Broken Pipe

Jul 21, 2011

I am building a python script which works same as SMTP protocol. I have build separate functions in that for each command of SMTP, and after this i have integrated all those functions in a new function named as send_mail(so that i don't have to execute every function separately for every command). Now, when i execute the script for the first time it runs successfully, but for the second time it gives the error of "BROKEN PIPE". I really can't make out how the socket is getting closed.

View 5 Replies View Related

CentOS 5 :: Yum Python New Thread.error When Mysqld Is Running

Mar 13, 2009

I installed mysqld with yum then yum quit working with this error:http://yum.baseurl.org/ticket/70 when mysqld is stopped yum works again. what does a running instance of mysqld have in common with a python yum package manager?

rpm -qa rpm* python* yum* mysql* | sort
mysql-5.0.45-7.el5
mysql-devel-5.0.45-7.el5
mysql-server-5.0.45-7.el5

[Code]...

View 3 Replies View Related

Ubuntu :: Error Installing Chmviewer Gnochm : Depends : Python-gtkhtml2 But It Is Not Installed?

Oct 15, 2010

I tried installing System-->Administration-->Synaptics Package Manager and I got following error

Code:
gnochm: Depends: python-gtkhtml2 but it is not installable I am using Lucid 64 bit and in my sources.list multiverse ,partner ,universe ,restricted and backports are enabled.

View 2 Replies View Related

Ubuntu Servers :: Run Python Scrips Via Ssh - Error While Loading Shared Libraries: Libstdc++.so.5

Apr 22, 2011

I have some Python scripts that work fine when sat in front of my computer at my desk at work but when I access by box via ssh they fail to work and I get this error."error while loading shared libraries: libstdc++.so.5" It is a 64-bit ubuntu 10.04 install. what I can do to beable to run python scrips via ssh?

View 3 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

Programming :: Python - Get Text File Data Into An Array On Python?

Nov 30, 2009

I've already used line split stuff to transform my data into something like this in a text file:

Code:

['1', '1', '3', '20.7505207']
['2', '1', '3', '23.0488319']
['3', '1', '3', '-1.5768747']
['4', '1', '3', '-26.4772491']

[code]....

How can I get this on a python program so I can manipulate it as an array?

View 3 Replies View Related

Debian Multimedia :: Miro Won't Start - Generates Python Error

Jul 6, 2015

Miro worked well with Wheezy. When I upgraded to Jessie Miro started generating a python error as such:

Code: Select all~$ miro
using /usr/bin/miro.real
Traceback (most recent call last):
  File "/usr/bin/miro.real", line 183, in <module>
    from miro import startfrontend
  File "/usr/lib/pymodules/python2.7/miro/startfrontend.py", line 53, in <module>

[Code] ....

I have been searching for a few weeks trying to find an answer to no avail. I tried three different kernels, renaming ~/.miro, checked all dependencies. I reported it as a bug which sat there for a few days and disappeared.

View 14 Replies View Related

Debian Programming :: Python-TK Alloc - Invalid Block Error

Sep 23, 2015

Just installed Debian 8 last night and trying to run one a few of my scripts that use easygui (a front-end for python-tk basically) and I keep getting alloc: invalid block any time a file or folder selection dialog is presented. I'm able to select a file/folder with no issues, but once the dialog closes I get a variation of what appears to be a memory error followed by alloc: invalid block.

Here's one of my scripts that does it. This one pops up a file selection dialog pretty early on to ask for a file to check, and as soon as I select any file the dialog closes and that error appears in the terminal. It happens whether I run it with Python 2 or Python 3. You will need to install python3-easygui for this script to run properly if you want to check for yourself what happens. This is a first time encountering this error for me.

View 1 Replies View Related

Programming :: Python Error - List Index Out Of Range (Web Scrapper)

Feb 18, 2011

Having a bit of an issue with Python while trying to write a script to download every rar file on a webpage. The script successfully downloads any link that doesn't contain any spaces, etc. But when it hits a url like: [URL] (Classical Spelling).rar. It fails...I'm sure this is something simple, but I'm so new to python I'm not sure what to do!

Code:
import urllib2
import os
os.system("curl [URL] -i rar|cut -d '"' -f 2 > temp.out ")
infile =open('temp.out', 'r')
for url in infile:
print url
#url = "[URL]"

#url = target
file_name = url.split('/')[-1]
u = urllib2.urlopen(url)
f = open(file_name, 'w')
meta = u.info()
file_size = int(meta.getheaders("Content-Length")[0])
print "Downloading: %s Bytes: %s" % (file_name, file_size)
file_size_dl = 0
block_sz = 8192

while True:
buffer = u.read(block_sz)
if not buffer:
break
file_size_dl += block_sz
f.write(buffer)
status = r"%10d [%3.2f%%]" % (file_size_dl, file_size_dl * 100. / file_size)
status = status + chr(8)*(len(status)+1)
print status,
f.close()

View 7 Replies View Related

General :: Get Apt-get To Install Python Packages For A Different Version Of Python?

Oct 27, 2010

in ubuntu 10.10, I have installed python 2.7. I would like to use apt-get to install packages to this version of python but I haven't been able to figure out howThings I have tried without success:changing the symlink at /usr/bin/python to point to /usr/bin/python2.7 - even after doing this apt-get still installs stuff to python2.6.Set up python2.7 as the primary alternative using update-alternatives - doesn't work

View 3 Replies View Related

General :: Python Script Using Tar From A List Returns Error: Has No Attribute 'startswith'

Apr 4, 2011

create a tar file from a list? My script returns the error: AttributeError: 'list' object has no attribute 'startswith' I want to create a compressed tar file containing the directory /usr/lib and the files in the list assigned to variable b.

code:

import tarfile
tar = tarfile.open("backup.gz", "w:gz")

[code]....

View 3 Replies View Related







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