Traceback in Smart 1.2

Steve Kelem steve at kelem.net
Wed Jul 29 10:14:27 PDT 2009


I tried to update one of the Smart channels, and got the following:

    Traceback (most recent call last):

      File
    "/usr/lib/python2.5/site-packages/smart/interfaces/gtk/interactive.py",
    line 180, in callback
        exec code in globals

      File "<callback>", line 1, in <module>

      File
    "/usr/lib/python2.5/site-packages/smart/interfaces/gtk/interactive.py",
    line 411, in updateChannels
        self._ctrl.reloadChannels(channels, caching=NEVER)

      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 73, in fetch
        digest = getFileDigest(item.getTargetPath())

      File "/usr/lib/python2.5/site-packages/smart/util/filetools.py",
    line 34, in getFileDigest
        file = open(path)

    TypeError: coercing to Unicode: need string or buffer, NoneType found


Running Smart 1.2 on OpenSuSE 11.0, i586.

Steve

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20090729/211d67fa/attachment-0002.htm>


More information about the Smart mailing list