Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: users

error doing a smart update

 

 

atrpms users RSS feed   Index | Next | Previous | View Threaded


gaberubin at gmail

Nov 16, 2009, 8:20 AM

Post #1 of 2 (473 views)
Permalink
error doing a smart update

Hi list,

I get the following error when I try to do a smart update (no problems
with yum):
[root [at] localhos ~]# smart update
Loading cache...
Updating cache...
#####################################################################################################################
[100%]

Fetching information for 'Fedora 10 - i386 - ATrpms'...
-> http://dl.atrpms.net/f10-i386/atrpms/stable/repodata/repomd.xml
Traceback (most recent call last):

( 0%)
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/interface.py", line 53, in run
result = _command.main(self._ctrl, opts)
File "/usr/lib/python2.5/site-packages/smart/commands/update.py",
line 78, in main
failed = not 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 115, 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
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:

_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users


J.Pilk at tesco

Nov 16, 2009, 8:46 AM

Post #2 of 2 (430 views)
Permalink
Re: error doing a smart update [In reply to]

Gabe Rubin wrote:
> Hi list,
>
> I get the following error when I try to do a smart update (no problems
> with yum):
> [root [at] localhos ~]# smart update
> Loading cache...
> Updating cache...
> #####################################################################################################################
> [100%]
>
> Fetching information for 'Fedora 10 - i386 - ATrpms'...
> -> http://dl.atrpms.net/f10-i386/atrpms/stable/repodata/repomd.xml
> Traceback (most recent call last):
>
> ( 0%)
> 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/interface.py", line 53, in run
> result = _command.main(self._ctrl, opts)
> File "/usr/lib/python2.5/site-packages/smart/commands/update.py",
> line 78, in main
> failed = not 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 115, 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
> Unhandled exception in thread started by
> Error in sys.excepthook:
>
> Original exception was:

See

http://www.gossamer-threads.com/lists/atrpms/users/12905

I'm still seeing this 'occasionally', without any obvious cause. Have
to 'kill -9' as root to get out, and then it's usually ok.

John P


_______________________________________________
atrpms-users mailing list
atrpms-users [at] atrpms
http://lists.atrpms.net/mailman/listinfo/atrpms-users

atrpms users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.