I am having this problem everytime I execute the yum command: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree
Please install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is:
2.4.3 (#1, Sep 3 2009, 15:37:12)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
I installed something and now my yum dont work: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named CElementTree install a package which provides this module, or verify that the module is installed correctly. It's possible that the above module doesn't match the current version of Python, which is:
i use CentOS release 5.4 (2.6.18-164.2.1.el5.028stab066.7 #1 SMP Tue Dec 1 23:22:32 EET 2009 i686 i686 i386 GNU/Linux) on my VPS. # rpm -qa --last shows:
python-elementtree-1.2.6-5 Wed 24 Mar 2010 12:56:46 PM EET rpmforge-release-0.5.1-1.el3.rf Wed 24 Mar 2010 08:20:32 AM EET perl-Convert-ASN1-0.22-1.el3.rf Wed 24 Mar 2010 08:20:31 AM EET
I am running into problems when I try to install Altera's "Quartus 10 web edition 32 bit" on Fedora 14 (64bit). When I launch the installer I get the error message
Quote:
Traceback (most recent call last): File "<string>", line 18, in <module> File "/tools/python/2.6.4/linux32/pyinstaller/iu.py", line 436, in importHook
[code]....
After that I ran altera's installer again and get the same error as above. Interestingly, if I now run the python command shell and try to import hashlib, that one is also broken again as above.
In Python 2.6.5, I could import from mx.DateTime.ISO import ParseDateTimeUTC With 2.7 I cannot.Here is the error. My module util_lib contains the import noted above.
File "util_lib.py", line 46, in <module> from mx.DateTime.ISO import ParseDateTimeUTC ImportError: No module named mx.DateTime.ISO
What changes do I need to make, to import on pre-2.7 and 2.7?
installing Frets On Fire with Fedora 11? I downloaded the binary from the website,tarred, installed everything mentioned in the read me and then ran the Frets On Fire .py file in the terminal, but I get a bad output.
Here it is:
Code:
/home/Reece/Download/Frets on Fire-1.3.110/src/Song.py:31: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Traceback (most recent call last):
I want to learn to program by python 3 so I install eric5. I can't find it on opensuse repo so i must install it and it's dependence package from tarball. Everything seem to be normal till I try to run it. Nothing happen so I run it from terminal and get error
Code: Traceback (most recent call last): File "/usr/local/lib/python3.1/site-packages/eric5/eric5.py", line 56, in <module> from E5Gui.E5SingleApplication import E5SingleApplicationClient File "/usr/local/lib/python3.1/site-packages/eric5/E5Gui/E5SingleApplication.py", line 14, in <module> from Utilities.SingleApplication import SingleApplicationClient, SingleApplicationServer
Recently installed a new distro OpenSUSE 11.4 x86_64. I installed it in a minimal configuration for my needs, on after installing a minimal system installed hypervisor Xen 4.0.2. He also set for a lot of dependencies, and utilities. On one of them I have a problem. Trying to run a utility to create a virtual machine "vm-install", but crashes the next kind of error:
Code:
Traceback (most recent call last): File "/usr/bin/vm-install", line 30, in <module> import vminstall.job File "/usr/lib/python2.7/site-packages/vminstall/job.py", line 28, in <module>
Python 3.1 came out about a month ago, but now that I have upgraded, I can no longer import the GASP module
output:
Code:
anthony@anthony-desktop:~$ python Python/BYTE.py Traceback (most recent call last): File "Python/BYTE.py", line 2, in <module> from gasp import * ImportError: No module named gasp
Importing GASP from Python 2.6 works just fine, but not with 3.1. How/where do I install/move the appropriate files so that I can use GASP?
Python version 2.6 worked fine but since updating to version 3.1 and now 3.2 I cannot get beyond this error. I have also downloaded and installed APSW v3.7.5
I use ubuntu 10.04 and here's the problem. I've installed pssh, but when I type pssh i got this message
Code:
# pssh Traceback (most recent call last): File "/usr/bin/pssh", line 29, in <module> from psshlib.basethread import BaseThread ImportError: No module named basethread
Also, if I type man pssh I got this message:
See 'man 7 undocumented' for help when manual pages are not available. I've reinstalled it, but nothing changed. I've found that basethread is located here:
i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?
Mandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:
14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found 14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found
[code].....
Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.
If you had Gimp 2.6 (with gimp-plugin-registry installed) and installed Gimp 2.7 to try its new goodies, but Layer Effects are not showing, and when executing "gimp" from console you get these *nasty* errors:
Code: This is a development version of GIMP. Debug messages may appear here. gimp-user-install: migrating from /home/user/.gimp-2.6 Traceback (most recent call last): File "/usr/lib/gimp/2.0/plug-ins/layerfx.py", line 23, in <module> import gimp, gimpplugin, math ImportError: No module named gimp .....
If you haven't install the 2.7 version yet. Before upgrading, backup "python" directory and then just restore it after installing 2.7.
After upgrading my media computer earlier today, I tried to run Samba config (system-config-samba) and it crashed. Running again in terminal I got the following error:-
Code: import mainWindow File "/usr/share/system-config-samba/mainWindow.py", line 30, in <module> import gtk.glade ImportError: No module named glade Ths was fixed by installing (via Synaptic):-
I saw it mentioned in the Dec-2010 issue of Linuxjournal, but I can't get it to run, either from the rpm in the build service, nor from the tarball on the whyteboard website, nor from the rpm on the whyteboard web site. In all cases I get an error something like:
Code:
oldcpu@hal2009:~> python whyteboard.py Traceback (most recent call last): File "whyteboard.py", line 46, in <module> import wx ImportError: No module named wx
I'm trying to separate DNS log entries from messages and have them write to their own log file "named.log". I'd like this file to end up as /var/log/named.log
I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.
#/etc/init.d/named restart Stopping named: [ OK ] Starting named: Error in named configuration: /etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]
I got CentOS 5.4 with LAMP. Installed Plesk, tried to configure it, and then error - Quote:Unable to restart Named: dnsmng failed: dnsmng failed: dnsmng: Service /etc/init.d/named failed to restart
i meet problem on named service, i want to configure my DNS with bind...after i /etc/init.d/named statusThis shows :"rndc: connect failed: 127.0.0.1#953: connection refusednamed is stopped"
don't find box of BIND so i was posting into this boxI have some problem when i config bind DNS for my domain and then i can't start named,this's error message
[root@server1 named]# service named restart Stopping named: [ OK ] Starting named:
I have installed bind from the repos and am trying to setup a caching name server. After copying the stock name-cachinging.conf to named.conf, I tweaked named.conf to reflect my LAN:
options { listen-on port 53 { 127.0.0.1; 192.168.1.102; }; listen-on-v6 port 53 { ::1; };
OS CentOS 5.4 I have a DNS server that is logging all named and dns requests to the chrooted named directory. By default named logs to /var/log/messages but I want to isolate all the dns queries and requests to separate files. I know I can add entries to /etc/syslog.conf to "roll" the logs and logrotate should pick them up but fuzzy as to the syntax. I don't know what "tag" to use in the first fieild. for example
# Log anything (except mail) of level info or higher. # Don't log private authentication messages! *.info;mail.none;authpriv.none;cron.none/var/log/messages