smart throwing error immediately on run

Anders F Björklund afb at algonet.se
Thu Dec 2 23:44:39 PST 2010


Claude Jones wrote:

> This is on Fedora 14 - I tried remove/reinstalling smart, but that didn't work. I'm running smart-1.3.1-66.fc14.x86_64 on Fedora 14; this is working fine on another Fedora 14 box I own. Any ideas?

Fedora 14 has updated to Python 2.7, which broke some of the code.
The needed patches should be in Smart 1.4, or available in bzr...

http://bazaar.launchpad.net/~smartpm/smart/trunk/revision/967
http://bazaar.launchpad.net/~smartpm/smart/trunk/revision/987

It doesn't break as bad as Arch Linux, which "upgraded" from Python
to Python 3000, but 2.6.5 or 2.7.0 was still enough of an update ?

http://fedoraproject.org/wiki/Features/Python_2.7
https://wiki.archlinux.org/index.php/Python#Python_3


It also shipped a broken config, but that is more of a tradition.
It has been wrong in about *every* Fedora release since 8 or so...

https://bugzilla.redhat.com/show_bug.cgi?id=253184
https://bugzilla.redhat.com/buglist.cgi?component=fedora-package-config-smart&product=Fedora

The way that it is going to be fixed is with the yumchannelsync
plugin, that will copy the configuration from /etc/yum.repos.d
When that is being activated (by distro.py), there is no need
to ship the (outdated) channel configuration files any longer...

As for the original error being reported (wrongly by smart),
that is most likely to be an XML error in a downloaded file ?
Some mirrors cause problems like this all the time, since they
give some "friendly" HTML page instead of a real error (404 etc).

--anders


PS. I have Fedora 12... For doing testing of CentOS-6, mostly.
    May switch to Fedora 15, now that it is end of life (EOL).
    Smart is usually tested against Ubuntu LTS, and CentOS...
    Or Grumpy, http://fedoraproject.org/wiki/Releases/Rawhide




More information about the Smart mailing list