Functioning of 64-bit Smart 1.3 in Mandriva 2010.1

Steve Morris samorris at netspace.net.au
Fri Aug 27 18:22:11 PDT 2010


On 26/08/10 16:59, Anders F Björklund wrote:
> Steve Morris wrote:
>
>>> The dialogue complaining, what is the error output that it displays ?
>>> Would it be similar to: https://bugs.launchpad.net/smart/+bug/613973
>> No, the message I get is different. The message actually says
>> Unsupported file type   .
>
> That *is* different. It's raised on an unknown compression type.
>
> Sounds similar to https://qa.mandriva.com/show_bug.cgi?id=59103
It is similar to this bug, but I get the additional issue that I get the
error even if I delete the cache first.
>
>>>
>>> The problem with progress not showing could be the glib-2.24 issue,
>>> that also affects Fedora: https://bugs.launchpad.net/smart/+bug/592503
>> It sounds similar but smart doesn't freeze its just very slow and the
>> process does finish but doesn't actually do anything. Mandriva is also
>> running glib-2.24.1.
>
> Different then. The issue above was just GUI updates not working.
>
> Does running from the terminal with --log-level=debug show more ?
>
I ran smart-root --log-level=debug --gui and got the following output
(also the dialogue that popped up also produced the message  debug:
Trying to sync urpmi channels), which kind of makes sense because it
seems that every time smart starts it configures its channels to use
whichever mirror the urpmi mirrorlist is currently pointing to or uses
the specific mirror if that is what urpmi is currently set to:

(smart:1561): Gdk-WARNING **: DESKTOP_STARTUP_ID contains invalid UTF-8
Traceback (most recent call last):
  File "/usr/bin/smart", line 169, in main
    exitcode = iface.run(opts.command, opts.argv)
  File
"/usr/lib64/python2.6/site-packages/smart/interfaces/gtk/interactive.py", line
383, in run
    self._ctrl.reloadChannels()
  File "/usr/lib64/python2.6/site-packages/smart/control.py", line 412,
in reloadChannels
    self._cache.load()
  File
"/usr/lib64/python2.6/site-packages/smart/backends/rpm/synthesis.py",
line 138, in load
    infofile =
uncompress.Uncompressor.getHandler(self._infofile).open(self._infofile)
  File "/usr/lib64/python2.6/site-packages/smart/uncompress.py", line
60, in open
    raise Error, _("Unsupported file type")
Error: Unsupported file type


Also looking at the directories, the synthesis file is a .cz file as it
always was, but the files list file and info file look to be lzma
compressed xml files, could this compression be causing a problem?
Also does smart look at and try to interpret all files in the urpmi
channel directories, as I have noticed there is also a partial download
info file created by aria2 that would cause problems if it was tried to
be interpreted?

regards,
Steve

>>>
>>> Other than that, please open up new bug reports.
>> I can open a new bug report, but where do I get information for the bug
>> report as I would have thought that what I have supplied so far is not
>> sufficient to attempt an evaluation and fix.
>
> I've added the support for the new XML format of synthesis now,
> and extending my offer to get other Mandriva features merged...
> Next up would be support for urpmi channelsync and mirrorlist.
> When running the same code, it should be easier to reproduce ?
>
> But eventually, all bugs/code *need* to go upstream (launchpad).
> It's not helpful for each distribution to go on their own path.
> And nowadays you can even link bugs and import code from other
> trackers and repositories, which helps to avoid duplicatation.
>
> --anders
>
> https://launchpad.net/smart
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samorris.vcf
Type: text/x-vcard
Size: 126 bytes
Desc: not available
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20100828/552ea662/attachment-0003.vcf>


More information about the Smart mailing list