CentOS 5 :: Yum Fails With 'module' Object Has No Attribute 'main'
May 5, 2009
Any attempt to run yum produces the following error:
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
AttributeError: 'module' object has no attribute 'main'
It doesn't matter what command line arguments I use I get the same.I've spent a day or so searching on Google but not had any luck in identifying what is causing this problem.
View 4 Replies
ADVERTISEMENT
Aug 30, 2009
Recently installed Fedora 11 from CD on eeepc900HA. Update manager suggested 402 updates available. trying to update I get the following traceback error report:
Traceback (most recent call last):
On trying this process a second time after having selected specific packages I noticed that a prepare machine for upgrade package (not selected by me) seemed to be where the process stalled.
Trying a third time with attempt to upgrade some (random) python packages I get the same result via a system/admin/upgrade or download software .
View 3 Replies
View Related
Oct 23, 2009
My os is fedora 11. The error message is :
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 1830, in _runYumTransaction rpmDisplay=rpmDisplay)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3813, in processTransaction
pkgs = self._downloadPackages(callback)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 3837, in _downloadPackages
probs = self.downloadPkgs(dlpkgs)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1372, in downloadPkgs
self.plugins.run('predownload', pkglist=pkglist)
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/presto.py", line 577, in predownload_hook
(problems, more) = downloadPkgs(conduit, pinfo, download_pkgs)
File "/usr/lib/yum-plugins/presto.py", line 419, in downloadPkgs
cb.start(text="<delta rebuild>", size=rebuild_size)
File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 129, in start self._do_start(now)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2551, in _do_start
self.updateProgress(name, 0.0, "", "")
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2593, in updateProgress
pkg = self._getPackage(name)
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 2534, in _getPackage
sections = name.rsplit('-', 2)
AttributeError: 'NoneType' object has no attribute 'rsplit'
View 5 Replies
View Related
Oct 21, 2010
I don't know whether this is happening because my machine is behind an HTTP proxy, or for some other reason. When I enter my Ubuntu One account name and pass into "Connect to Ubuntu One" and click Connect, I get this code error instantly:
Code: 'NoneType' object has no attribute 'makefile' If I enter nothing or invalid data into these fields, a red icon is displayed immediately, but the error above appears with valid and accurate data in the fields. If this is a proxy issue, why doesn't the application honor the system-wide proxy settings?
View 9 Replies
View Related
Nov 9, 2010
i'm having an error when running a python script that uses the python-twisted-web components... i get the impression that this program was developed and tested in a debian environment. heres the readout:
Quote:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/twisted/internet/base.py", line 1165, in run
self.mainLoop()
[code]......
View 6 Replies
View Related
Feb 26, 2011
I wrestling with a new slackware install and I've got a problem with exaile. It was built with sbopkg, and doesn't work. It doesn't start at all from the menu (in Xfce,) and provides the following error message when started from Terminal:
Code:
INFO : Loading Exaile 0.3.2.0...
INFO : Loading settings...
Traceback (most recent call last):
File "/usr/lib64/exaile/exaile.py", line 52, in <module> main()
File "/usr/lib64/exaile/exaile.py", line 49, in main exaile = main.Exaile()
File "/usr/lib64/exaile/xl/main.py", line 96, in __init__self.__init()
File "/usr/lib64/exaile/xl/main.py", line 132, in __init self.__show_splash()
File "/usr/lib64/exaile/xl/main.py", line 260, in __show_splash import xlgui
File "/usr/lib64/exaile/xlgui/__init__.py", line 53, in <module> from xlgui import devices, guiutil, icons, preferences, queue
File "/usr/lib64/exaile/xlgui/devices.py", line 34, in <module> from xlgui import collection
File "/usr/lib64/exaile/xlgui/collection.py", line 36, in <module> from xlgui.widgets import dialogs
File "/usr/lib64/exaile/xlgui/widgets/dialogs.py", line 452, in <module> class MessageBar(gtk.InfoBar):
AttributeError: 'module' object has no attribute 'InfoBar'
View 3 Replies
View Related
Oct 15, 2009
I use fedora 8 & had previously tried to upgrade to 10, unsuccessfully. From then onwards, yum & rpm have refused to work. I tried deleting & rebuilding rpm database but it doesnt solve anything. Here is the error when I run yum
Code:
# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
[code]....
View 1 Replies
View Related
Nov 18, 2009
I tried to run preupgrade-cli and I get this error. This is on a fresh install of Fedora 11.
preupgrade-cli -y "Fedora 12 (Constantine)"
/usr/lib/python2.6/site-packages/yum/__init__.py:203: UserWarning: Use .preconf instead of passing args to _getConfig
warnings.warn('Use .preconf instead of passing args to _getConfig')
Loaded plugins: blacklist, whiteout
[code]....
View 3 Replies
View Related
Aug 23, 2010
I am trying to scan a website for http references (links) with this script:
Code:
from urllib import urlopen
import re
current_site = urlopen("http://en.wikipedia.org/wiki/").read()
search = re.search('href="[a-zA-Z0-9]"', current_site)
[code]....
I get the following error message:
Code: Traceback (most recent call last): File "C:UsersadminDesktopcrawler.py", line 8, in <mo print search.group(0) AttributeError: 'NoneType' object has no attribute 'group' I have googled the error
View 2 Replies
View Related
Jun 29, 2010
I have CentOS 5.4 and have installed CPAN GD module.Installation messages seemed clean and successful.When I try to create a png file, perl gives the error message :
Can't locate object method "png" via package "GD::Image" at
/usr/lib/perl5/vendor_perl/5.8.8/DBD/Chart/Plot.pm line 1276 (#1)
(F) You called a method correctly, and it correctly indicated a package
functioning as a class, but that package doesn't define that particular
method, nor does any of its base classes. See perlobj.
Also, the following perl one-liner gives answer "No".
perl -e 'use GD; $im=GD::Image->new(); print $im->can("png") ? "Yes" : "No" , "
";'
I suspect that this GD module requires Image::Magick, but that borks on installation.
Magick.xs:2344: warning: implicit declaration of function �MagickCoreGenesis�
make: *** [Magick.o] Error 1
JCRISTY/PerlMagick-6.59.tar.gz
[code]...
View 3 Replies
View Related
Sep 2, 2010
Kindly take a look at the code below :
Code:
#include <stdio.h>
struct test
{
int i;
int j;
[Code]....
why i am getting this error. I know the error is occuring because i have assigned values to obj.i and obj.j outside main(). But i want to know why do that result in an error. From my part i have created an object 'obj' of stucture 'test' and assigned values to its variables.
View 7 Replies
View Related
Jan 26, 2011
Assume, I have the below LDAP entry
Code:
Which command should I use programmatically (in ldap.h) to change only ONE of the attributes above? say i only want to change the userPassword from value secret -> notasecret
Do we use?
Code:
And how?
View 1 Replies
View Related
Oct 8, 2010
I'm running GuitarPro6 on my EeePC, and it will only start correctly if I start it from a terminal, in the install directory (/opt/GuitarPro6)
If I attempt to start it from somewhere else, like ~/, I get a library error. GP appears to want to look for this library in the working directory, and will only find it and start if I CD to /opt/GuitarPro6 first.
For this reason, I believe, when I click on the shortcut I made in Main Menu, nothing happens.
Is there any way to define the working directory for a shortcut in Main Menu?
View 2 Replies
View Related
Jun 3, 2011
I'm getting code...
every time i try to update. The number of bytes sometimes changes but it ends up always failing to download the full 862kB and suggests checking my Internet connection.... which is fine.
View 3 Replies
View Related
Aug 10, 2011
I am a new administrator and am running SLES 11 on a VM. I have openssl installed, but when I attempt to compile an add-on module to Nginx I get the following list of errors:
[Code]...
View 3 Replies
View Related
Jan 12, 2011
Using perl -MCPAN -e shell then install Mail::Message then yes to everything (except the test that needed an IMAP server) resulted in.
View 3 Replies
View Related
Mar 6, 2010
I've been using the PPA version of banshee, and I got this error - just wondering if anyone else has it too! I'm able to play a song, but when the song finishes and the next one starts I get this error: Banshee Encountered a Fatal Error Object reference not sent to an instance of an object Error details:
Code:
An unhandled exception was thrown: Object reference not set to an instance of an object
at Hyena.Gui.Theming.GtkTheme.GetCairoTextMidColor (Gtk.Widget) <0x00017>
at Banshee.NotificationArea.NotificationAreaService.get_TextLightColor () <0x0002f>
at Banshee.NotificationArea.NotificationAreaService.MarkupFormat (string,string[]) <0x00043>
at Banshee.NotificationArea.NotificationAreaService.GetByFrom (string,string,string,string) <0x000d7>
[Code]....
View 4 Replies
View Related
Jan 6, 2011
When trying to compile the webcamstudio modulae (ws4gl.org) it doesn't give an error, but when I want to modprobe it....
Code:
This is from dmesg:
Code:
View 1 Replies
View Related
Mar 4, 2010
I had an issue with the module build for vbox 3.1.2 breaking on the latest kernel ( /etc/rc.d/rc.vboxdrv setup ). Apparently the issue is that a kernel header (autoconf.h ) has changed its location in the module tree and hence the issue.
2 options:
1. upgrade to 3.1.4
2. create a symlink as follows
cd /usr/src/linux/include/linux
ln -s ../generated/autoconf.h autoconf.h
View 12 Replies
View Related
Mar 6, 2010
So I made the upgrade to slackware64-current and all of a sudden after my next reboot, startx failed, and x refused to start the output was the following:
Code:
Release Date: 2010-02-16
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux hd830 2.6.33 #3 SMP Sat Feb 27 19:42:32 CST 2010 x86_64
Kernel command line: BOOT_IMAGE=Linux ro root=803 vt.default_utf8=0
Build Date: 23 February 2010 12:09:32PM
Current version of pixman: 0.16.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 6 19:21:18 2010
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
WARNING: Error inserting button (/lib/modules/2.6.33/kernel/drivers/acpi/button.ko): Invalid module format
WARNING: Error inserting i2c_algo_bit (/lib/modules/2.6.33/kernel/drivers/i2c/algos/i2c-algo-bit.ko): Invalid module format
WARNING: Error inserting agpgart (/lib/modules/2.6.33/kernel/drivers/char/agp/agpgart.ko): Invalid module format
WARNING: Error inserting drm (/lib/modules/2.6.33/kernel/drivers/gpu/drm/drm.ko): Invalid module format
WARNING: Error inserting drm_kms_helper (/lib/modules/2.6.33/kernel/drivers/gpu/drm/drm_kms_helper.ko): Invalid module format
FATAL: Error inserting i915 (/lib/modules/2.6.33/kernel/drivers/gpu/drm/i915/i915.ko): Invalid module format
(EE) intel(0): No kernel modesetting driver detected.
(EE) Screen(s) found, but none have a usable configuration.
Fatal server error:
no screens found
Please consult the The X.Org Foundation support. Please also check the log file at "/var/log/Xorg.0.log" for additional information. So then after some googling I got the suggestion to downgrade udev-151 to udev-141, but that yeilded no results. So I did some more googling and a bunch of people who had the same problem said that downgrading module-init-tools worked, so I downgraded from module-init-tools 3.11 something to 3.6 and now, not only does my X no longer work, but no modules are being loaded I believe, for example I saw in my startup that fuse was not being loaded, ndiswrapper which I had installed was not loaded.
View 7 Replies
View Related
Jan 25, 2010
I have tried installing Vmware-Server 1.0.10 on Fedora Core 12. After installing all packages it fails on building the vmmon module. In the internet i found many patches and vmware-any-any-updates...but nothing worked. My Kernel Vresion is 2.6.31.12-174.2.3.fc12.i686.PAE...
View 2 Replies
View Related
Mar 16, 2010
i've got really wierd problem with kernel 2.6.31-20. After kernel update nvidia-module crashes "picture" on gnome & kde, it gives random colors / pixels to the screen. U can use it, so it's somehow working. Without nvidia module everything work perfectly. I've tried 5 different drivers but no solution. Also reconfigured X (dpkg-reconfigure xserver-xorg).This problem is also with older kernels. Problem came after i rebooted to 2.6.31-20 kernel.
View 1 Replies
View Related
Oct 8, 2010
Yesterday I installed all my updates (CentOS 5.5 x64). Today, one of my Java programs won't start with the followign error: jvm 1 | java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory The file does exist. Anyone know how to fix this?
# locate libjli.so
/usr/java/jre1.6.0_20/lib/amd64/jli/libjli.so
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/jli/libjli.so
View 2 Replies
View Related
Nov 9, 2010
I've been trying to use tracepoints on a newly installed Centos5.5 download, and crash when I call register_trace_sched_switch, which maps to tracepoint_probe_register(sched_switch, my_func) in tracepoint. h/DO_TRACE, where my_func is the function I want called back on a thread switch. I'm trying to do this from an installable module.So I downloaded the sources for 5.5 (current, 2.6.18-194), with the intention of kprinting my way through the above problem.Unlike the downloaded kernel, which is an "ELF 64-bit LSB shared object" (I'm building for an Intel Atom), when I build using "make" in my rpmbuild/BUILD/kernel-26..18/linux-2.6.18.x86-64/ directory, I get an "ELF 64-bit LSB executable". When I try to boot it, I get the complaint "Error 13: Invalid or unsupported executable format".
The closest thing I could find on the web, was a suggestion, for some powerpc system, to use the "ELF executable" format instead of "ELF shared object", the opposite of my issue, and that such could be forced by using a CONFIG-RELOCATABLE manifest.I couldn't find any .config manifest that looked likely to produce the result I want.
View 1 Replies
View Related
Apr 15, 2011
Sence the centos5.5 upgrade to 5.6, it works well.Today, when I start my computer an error apperas. Like my topic ,during the start process some "cannot open shared object file " ibselinux.so.1 , libnsl.so.1, libc.so.b, libglib-2.0.so.0, libdbus-1.so.3, libc.so.6, libpthread.so.0... failed "no such file or directory" .I google it , some say to disabled the selinux, then do the command yum reinstall glibc* I have tried, that works. But when I enable the selinux the same errors appeares again. I want to know how these errors come and why.
View 2 Replies
View Related
May 3, 2011
I neet to install a cgi script in my CentOs 5.5
So after compiled the cgi script, I put it in the folder /var/www/cgi-script/
I try to access via my web browser and in the apache error log : I have this "/var/www/cgi-bin/mapserv" : error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory"
In my httpd.conf, I just add the following in order to provide the shared libraries for my cgi script :
<Location "/cgi-bin/"
SetEnv /home/hmonglee/instantclient_11_2
</Location>
But same error.
View 1 Replies
View Related
Mar 1, 2010
Only ones I can think of seem overly complex, and I'm sure there is a simple solution I am overlooking. I have a class, it has a member who is an object. This object needs to be able to represent an object of different types.
[code]...
Where "surface" could be several different types, which will be set during execution. Hope this is clear enough. I have tried using templates but am getting "data member cannot be a member template". Either I have incorrect syntax, or am not implementing it right. another solution would have one class containing definitions of all possible shapes, But this would take up extra memory. Other solutions I thought of seem too round-about, and seems there is a simpler solution that I have overlooked.
View 8 Replies
View Related
Nov 17, 2010
I've recently installed a RedHat Enterprise Linux server and am attempting to get PHP/MySQL installed on it. It cannot load the dynamic php mysql module, giving me an error (in /var/log/error_log) that reads as follows:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mysql.so' - /usr/lib/php/modules/mysql.so: undefined symbol: executor_globals in Unknown on line 0
(In fact, it fails to load ALL of the dynamic php modules, either with the "undefined symbol: executor_global" or "undefined symbol: core_globals" I DO NOT WANT to compile anything -- I want to stay with stock RedHat released software.
[root@hostname-suppressed httpd]# uname -a
Linux hostname-suppressed 2.6.18-194.17.4.el5PAE #1 SMP Wed Oct 20 13:13:33 EDT 2010 i686 athlon i386 GNU/Linux
[root@hostname-suppressed httpd]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
[code]....
View 3 Replies
View Related
Apr 8, 2009
Running a 5.2 VM on ESXI, and the software updater keeps dying when I try to download some development packages (default libraries and tools). yum installs packages just fine - it's only if I use the add/remove software. See error log below:
[Code]...
View 1 Replies
View Related
Nov 5, 2010
Per the man page, to remove a watch, do the following: -W path.Remove a watch for the file system object at path.
View 3 Replies
View Related