Comment 2 for bug 289335

Revision history for this message
BigPat (bdrline07) wrote : Re: [Bug 289335] Re: Smart now crashes on my openSuse 11 - Traceback - line 194

Glenn D. wrote:
> How about trying a later version e.g smart v1.2-3.1
> # rpm -qa | grep -i "smart-"
> smart-gui-1.2-3.1
> smart-ksmarttray-1.2-3.1
> smart-1.2-3.1
>
> rpms see http://download.opensuse.org/repositories/smart/openSUSE_11.1/
Good try, but not so good at this end:

    File "/usr/bin/smart", line 195, in <module>
        main(sys.argv[1:])

      File "/usr/bin/smart", line 168, in main
        exitcode = iface.run(opts.command, opts.argv)

      File
    "/usr/lib/python2.5/site-packages/smart/interfaces/gtk/interactive.py",
    line 373, in run
        self._ctrl.reloadChannels()

      File "/usr/lib/python2.5/site-packages/smart/control.py", line
    359, in reloadChannels
        if not channel.fetch(self._fetcher, progress):

      File "/usr/lib/python2.5/site-packages/smart/channels/rpm_md.py",
    line 62, in fetch
        item = fetcher.enqueue(repomd)

      File "/usr/lib/python2.5/site-packages/smart/fetcher.py", line
    170, in enqueue
        item = FetchItem(self, url, mirror)

      File "/usr/lib/python2.5/site-packages/smart/fetcher.py", line
    416, in __init__
        self._urlobj = URL(mirror.getNext())

      File "/usr/lib/python2.5/site-packages/smart/fetcher.py", line
    581, in __init__
        self.set(url)

      File "/usr/lib/python2.5/site-packages/smart/fetcher.py", line
    614, in set
        user, host = urllib.splituser(host)

      File "/usr/lib/python2.5/urllib.py", line 1050, in splituser
        match = _userprog.match(host)

    TypeError: expected string or buffer

As well, I grabbed the same version # you pointed me to, but for
openSuse 11.0, which is what I run on desktop...

-Pat