Fedora :: Yum Not Working: AttributeError: 'YumBaseCli' Object Has No Attribute 'preconf'

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


ADVERTISEMENT

Fedora :: AttributeError: 'NoneType' Object Has No Attribute 'transport'

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

Fedora Installation :: AttributeError: 'NoneType' Object Has No Attribute 'opts'

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

Programming :: Python Regular Expression - AttributeError: 'NoneType' Object Has No Attribute 'group'

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

Fedora :: Update - Attribute Error Object Has No Attribute 'rsplit'

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

Fedora :: YUM Update Error - Object Has No Attribute

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

Ubuntu One :: NoneType Object Has No Attribute Makefile

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

Slackware :: Exaile Failing To Start - Object Has No Attribute

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

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

Programming :: Modify 1 Of My Ldap Attribute If Have 2 Same Attribute Under 1 Entry ?

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

Red Hat :: Yum Not Working Anymore - Cannot Set Attribute

Feb 24, 2010

After a update that has gone bad I can't use yum anymore, I have already reinstalled the latest versions of yum and python from the RedHat site but no luck.

My error:
Loaded plugins: rhnplugin, security
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 157, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
self.conf
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 253, in _getConfig
self.plugins.run('init')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 145, in init_hook
Repo = RhnRepo(channel)
File "/usr/lib/yum-plugins/rhnplugin.py", line 243, in __init__
self.metadata_cookie = 'cookie'
AttributeError: can't set attribute

View 3 Replies View Related

Software :: Exaile Suddenly Not Working - Attribute Error

Apr 6, 2011

I am in Ubuntu 10.04 with its standard desktop environment. Exaile was working great. Now, suddenly it refuses to work. It brings up the splash/loading image and then dies. It works fine under a different user account. I completely restarted, completely uninstalled, completely reinstalled through the Ubuntu Software Center. No luck. I then tried to run it via a terminal.

Here was the output:
wmeler@ubuntu1004:~$ exaile
INFO : Loading Exaile 0.3.1.1...
INFO : Loading settings...
INFO : Setting up deferred idle manager function...
INFO : Loading plugins...
INFO : Loading collection...
INFO : Loading devices...
Traceback (most recent call last):
File "/usr/lib/exaile/exaile.py", line 52, in <module> main()
File "/usr/lib/exaile/exaile.py", line 49, in main exaile = main.Exaile()
File "/usr/lib/exaile/xl/main.py", line 84, in __init__self.__init()
File "/usr/lib/exaile/xl/main.py", line 189, in __init
location=os.path.join(xdg.get_data_dirs()[0], "covers"))
File "/usr/lib/exaile/xl/cover.py", line 121, in __init__self.load()
File "/usr/lib/exaile/xl/cover.py", line 330, in load data = pickle.load(f)
EOFError Exception in thread Thread-4:Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run()
File "/usr/lib/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/exaile/xl/hal.py", line 66, in connect logger.warning("Failed to connect to HAL,"
AttributeError: 'NoneType' object has no attribute 'warning'

View 2 Replies View Related

Fedora :: How To Change Udev Attribute

Jun 10, 2011

I have two touch screen monitors tha tI'm configuring for a dual-head display.That is working.For the touch screens it's a bit more complicated, each touch screen requires that I apply a specific config file for each individual TS (touch screen). Each config file is unique to it display. for that I'm using xinput to apply those configuration.My problem here is that the TSs are the same model and show up under udev and xinput under the same the same name minus the different hardware IDs whish is the only way that I can currently distiguish them.So far I've experimented with tweaking the udev rules for a particular TS with no luck (more than likely because I might be doing it wrong).I ned to be able to tell the two appart when I apply the configurations in xinput so I can write a script that will do this automatically for me.

View 1 Replies View Related

Fedora Servers :: OpenLDAP - Cannot Add Value To 'mail' Attribute

Nov 30, 2009

After installing F11, I installed OpenLdap with the command "yum -y install openldap*" And added the password obtained through the command "slappasswd -s password -h {MD5}" into /etc/openldap/slapd.conf. Also, I specified the domain information within the file on "suffix" and "rootdn". I also modified the domain name in both /etc/openldap/ldap.conf and /etc/ldap.conf. I copied the Copied the /usr/share/doc/openldap-servers-2.4.15/DB_CONFIG.example to /var/lib/ldap/DB_CONFIG. Then started the server with the command /etc/rc.d/init.d/ldap start I then was able to create and delete OU's and CN's with the help of ldapadd and ldapdelete. I also created PERSON records using the base.ldif file with the content ;

dn: cn=user1, ou=domain, dc=example, dc=com
objectClass: person
cn: user1
sn: user1

Everything is OK until I try to add a person with an email address in the "mail" attribute. The error message is ;

***************************
adding new entry "cn=user1, ou=domain, dc=example, dc=com
ldap_add: Object class violation (65)
additional info: attribute 'mail' not allowed
***************************

This error message is appearing also with "uid" attribute. I have searched some forums and found some suggestions to include the line
"include /etc/openldap/schema/inetorgperson.scheme" in the file /etcopenldap/slapd.conf, which is already in.

View 1 Replies View Related

Ubuntu Multimedia :: Error - Object Reference Not Sent To An Instance Of An Object

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

Fedora :: Yumex - Values Instance Has No Attribute Repos

Jan 29, 2011

I am trying to get Yumextender to work and I get a error window. The traceback is:
Code:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1314, in dispatcher
self.parse_command(args[0], args[1:])
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 1242, in parse_command
self.get_packages(args[0], args[1]
File "/usr/lib/python2.7/site-packages/yumexbackend/yum_server.py", line 71, in newFunc
return func(*args, **kwargs) .....
File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 42, in enable_debuginfo_repos for opt, repoexp in opts.repos:
AttributeError: Values instance has no attribute 'repos'
I messed with some repos but with yum update it checks and says 0 Updates

View 12 Replies View Related

Fedora Servers :: Access 'description' Attribute From LDAP?

Sep 5, 2011

how can i access 'description' attribute stored in LDAP server from LDAP client(pam_ldap,nss_ldap).

View 2 Replies View Related

OpenSUSE :: Gwibber Not Working / ImportError: Could Not Import Object?

Apr 29, 2011

using Tumbleweed + Gnome3 and GnomeApps-Repo on 64 bit System.I already found this bug url. but now that this is solved gwibber should work but here i get Traceback (most recent call last):

File "/usr/bin/gwibber", line 10, in <module>
import sys, gtk, optparse, dbus, wnck, time
File "/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: could not import gobject (could not find _PyGObject_API object)

View 7 Replies View Related

Software :: Power PC PSC UART Kernel Object Just Not Working?

Apr 19, 2010

This has got me stumped to the point where I have spent 5 days with little sleep trying to find what I did wrong. It should be simple yet it doesn't work. All I want to do is create a test /dev/fred device driver that will allow me to test my hardware, all I want to do is transmit some bytes out PSC5. It *should* be a simple matter:

1) Make sure PSC5's PADs are configured for Function 0, DS of 1
2) Make sure SCCR1 has PSC4, 5, and 6 ENABLED
3) Configure the PSC's registers for UART mode, transmit/receive enable, all that happy stuff.
4) Have an open, close, read, write, ioctl function

What happens is that everything hangs together just fine, when I open(/dev/fred) my open_iproc_psc6_uart2() gets called and everything gets configured -- I request memory, remap it, release memory as needed. When write(/dev/fred) is called, my driver's ech_write() is called and when read(/dev/fred) is called, my ech_read() driver function gets called -- great stuff, it should be *easy*.

The problem is, I get nothing out the transmit pin of the PSC. if I missed a configuration register some where? A clock I need to set? I'll have to sleep on this and maybe inpiration will come but this is such a simple thing I'm trying to do, it should work. In fact I compare my code against three examples on the Internet and it looks functionally the same. Code with debugging / un-needed stuff added to try to figure out whyt nothing comes out the serial transmit pin:

// ----------------------------------------------------------------------
// This is a device driver that creates /dev/fred and is used to send
// and receive serial data on PSC6. It's just a test driver, something

[code]....

View 1 Replies View Related

Programming :: Object To Represent An Object Of Different Types?

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

Fedora :: Cannot Open Shared Object File

Aug 19, 2011

I'm trying to install a game (uplink) which states 'error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory'

Would installing the below resolve this? If so is 'Everything' safe to use (not heard of it before) and how do i add the 'everything' repository? I

download.fedora.redhat.com/pub/fedora/linux/releases/15/Everything/i386/os/Packages/gtk+-1.2.10-71.fc15.i686.rpm

View 3 Replies View Related

Fedora :: Error: Ld.so: Object 'libjvm.so' From LD_PRELOAD Cannot Be Preloaded: Ignored

Jun 26, 2010

I cannot run Opera. I am running a fresh install of Fedora 13 (everything updated). When I try to run Opera, it fails with this error message:

Code:

[ore@spectrum ~]$ opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
/usr/lib/opera/opera: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory
[ore@spectrum ~]$

View 6 Replies View Related

Fedora :: Cannot Enable Executable Stack As Shared Object Requires

Apr 16, 2010

i am trying to install xilinx 11.1 on fedora core 12 FEL.i have mounted the image file using mount -o loop and put it in a directory near opt.i am getting the following error: error while loading shared libraries: libSecurity.so: cannot enable executable stack as shared object requires: Permission denied.I already installed this on a standalone fedora 12 KDE and it did install. i need to mention that this time, the fedora 12 is installed on VMware, could this be creating that problem ?

View 2 Replies View Related

Fedora :: Add Text To The TextView Object It Expands The Parent Window?

Jan 18, 2011

When I add text to the TextView object it expands the parent window rather than adding scroll bars. How do I fix this?

I want to keep the parent window user re-sizeable.

FC14 x64 & gtkmm 2.4

View 1 Replies View Related

Fedora :: Installing MATLAB - Cannot Open Shared Object File

Sep 8, 2011

I am trying to install matlab R2011a student edition in Fedora 15, 64 bits system. This version of matlab do not support 64 bits linux out of the box, but can be installed by adding -glnx86 as an argumenof the installing script.

However after running the installation script I receive the following error message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/mathworks_32316/java/jre/glnx86/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory

It seems to be a problem with libXext.so.6, however, I do have libXext library installed in my computer. The name of the package I have installed is:
X.Org X11 libXext runtime library
libXext-1.2.0-2.fc15 (x86_64)

View 2 Replies View Related

Red Hat / Fedora :: Internal Error: No Mount Object For Mounted Volume

Apr 29, 2010

i'm installing a Linux system just simply following guide by fellow friends comunity. Currently, my box are having 2 HDD with 35GB each capacity. Displaying in GNome (36.2 GB Encrypted Data). During installation, I'd selected :

*Remove Linux partitions on selected drives and create default layout
*The "Encrypt system" option

View from terminal :

# /sbin/fdisk -l
Disk /dev/sda: 36.4 GB, 36401315840 bytes
255 heads, 63 sectors/track, 4425 cylinders

[code]....

In Gnome desktop, when I right click and select mount volume, it will display : "Unable to mount location. Internal error: No mount object for mounted volume"

View 9 Replies View Related

Ubuntu :: Add New Attribute To Inode Structure?

Feb 3, 2010

In my project, there is a requirement for adding one more attribute for file properties which keeps track of previous file copies(Copy history).
So how can we accomplish this?
can we add/store this information in inode structure?

View 5 Replies View Related

OpenSUSE Install :: Extended Attribute Support In 11.3?

Aug 21, 2010

Just tried to test ea support by running setfattr on a test file and received an error message to the effect that this function is not supported. Is that corrects and if so how do I turn on ea support?

View 3 Replies View Related

Ubuntu :: How To Assign Hidden Attribute To Any File

Nov 9, 2010

Is there a command similar to MS-DOS's 'attrib'?? to hide the file??

View 4 Replies View Related

Server :: Directory Attribute Caching For NFS/GlusterFS?

Sep 3, 2010

Basically, i have a clustered filesystem using GlusterFS. This is ultimately going to host a very large number of files.

It is mainly used as a storage destination for backups, and historical copies of files.

Remote servers sync using unison every few minutes. A local script will run over the whole filesystem once per hour looking for new files/folders, and files that have been updated based on their timestamp.

99% of filesystem access is browsing the directory structure, listing directory contents and checking the modification times of files. Access to the actual content of a file is minimal. Only a tiny fraction of the filesystem is actually modified from hour to hour.

GlusterFS alone is quite slow when browsing the directory structure. (ie. "ls -Rl /data") The speed of things for actually transferring file content is sufficient for my requirements.

What I need is to vastly improve performance when running operations such as "ls -Rl /data". (/data is the mount point)

I believe the best way to do this is to implement caching. The cache options within GlusterFS are simply not sufficient here.

My first thought was to re-export the GlusterFS mount with NFS, and then mount the NFS share and set the cache on the client to a very long expiry. (like 86400 = 24 hours) It is my understanding that any change made to a file using the mount point will invalidate the cache entry for that file. (it is only mounted in one place, so no changes possible at the back end.)

I did this using the kernel based NFS server, but ran into major problems with the "Stale NFS" errors which from reading is due to a problem related to FUSE that doesnt sound like its going to be fixed soon. Aside from the Stale errors, this did provide a suitable boost in performance.

I tried the beta of GlusterFS that has the integrated NFS server (so presumably, no FUSE) but I could not get this to compile properly on our servers.

Finally, I tried using the Gluster patched version of unfs3 that uses boost to talk to Gluster instead of FUSE. Now this works, but for some reason the NFS client cache doesnt seem to cache anymore.

One last thing that I was looking at is the possibility of running a simple cache layer in front of either GlusterFS or NFS. I believe Cache-FS is the tool for the job but I have been unable to get that to work - I believe it is disabled in my kernel or something. (mount command says cachefs is unknown)

I am running Ubuntu 8.04 on most servers, but have upgraded one to 10.04 to try and get around Kernel limitations. My servers are all 32 bit (I know, not recommended for GlusterFS) and its very difficult for me to change this. (its a live system)

I quite simply need to add a cache for the directory structure information, and then maybe export this with NFS so that it can be mounted on a *single* server. (the cache can be on the server where it is mounted if required, but due to the large size of the cache - it may be better to have a server dedicated for the cache)

I am running GlusterFS 3.0.5 in a replicate/distribute manner.

View 4 Replies View Related







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