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

Mailing List Archive: atrpms: users

Occasional 'smart' crashes when loading repo data

 

 

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


J.Pilk at tesco

Aug 22, 2009, 2:24 PM

Post #1 of 2 (471 views)
Permalink
Occasional 'smart' crashes when loading repo data

Hi Axel: This problem, or something like it, has been around for some
time. I can't work out whether it is still in smart's active bug list,
but my backtrace below looks quite similar to this:

http://lists.labix.org/htdig.cgi/smart-labix.org/2007-December/003261.html

and I thought It might be worth reporting that the issue still exists
for fc10/x86_64.

John P

-------------
Traceback (most recent call last):

File
"/usr/lib64/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/lib64/python2.5/site-packages/smart/interfaces/gtk/interactive.py",
line 411, in updateChannels
self._ctrl.reloadChannels(channels, caching=NEVER)

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

File "/usr/lib64/python2.5/site-packages/smart/channels/rpm_md.py",
line 115, in fetch
digest = getFileDigest(item.getTargetPath())

File "/usr/lib64/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

----------------------


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


Axel.Thimm at ATrpms

Aug 25, 2009, 5:34 AM

Post #2 of 2 (418 views)
Permalink
Re: Occasional 'smart' crashes when loading repo data [In reply to]

Hi,

On Sat, Aug 22, 2009 at 10:24:16PM +0100, John Pilkington wrote:
> Hi Axel: This problem, or something like it, has been around for some
> time. I can't work out whether it is still in smart's active bug list,
> but my backtrace below looks quite similar to this:
>
> http://lists.labix.org/htdig.cgi/smart-labix.org/2007-December/003261.html
>
> and I thought It might be worth reporting that the issue still exists
> for fc10/x86_64.

I think this is bug https://bugs.launchpad.net/smart/+bug/244038.

There is a suggestion (guess) on how to fix it in the report. I would
suggest to add your report there as well to help smart developers see
a pattern.

> John P
>
> -------------
> Traceback (most recent call last):
>
> File
> "/usr/lib64/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/lib64/python2.5/site-packages/smart/interfaces/gtk/interactive.py",
> line 411, in updateChannels
> self._ctrl.reloadChannels(channels, caching=NEVER)
>
> File "/usr/lib64/python2.5/site-packages/smart/control.py", line 359,
> in reloadChannels
> if not channel.fetch(self._fetcher, progress):
>
> File "/usr/lib64/python2.5/site-packages/smart/channels/rpm_md.py",
> line 115, in fetch
> digest = getFileDigest(item.getTargetPath())
>
> File "/usr/lib64/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
>
> ----------------------
>
>
> _______________________________________________
> atrpms-users mailing list
> atrpms-users [at] atrpms
> http://lists.atrpms.net/mailman/listinfo/atrpms-users

--
Axel.Thimm at ATrpms.net

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.