#25 diff_module_deps.py fails with traceback
Closed Opened by phracek.

10:32 $ ./diff_module_deps.py --resolve valgrind
Getting module information from mbs cache. Please run mbs-build local with dependency modules you are interested in before running this script.
BUILD dependencies:


Components which are part of base-runtime:f26 module:
Traceback (most recent call last):
File "./diff_module_deps.py", line 7, in
sys.exit(CliModuleDepsDifferHelper.run())
File "/home/phracek/work/programming/modularity-tools/modularity/cli.py", line 118, in run
mdd.dump_pkgs_result()
File "/home/phracek/work/programming/modularity-tools/modularity/module_deps_differ.py", line 213, in dump_pkgs_result
self._dump_pkgs_result(self.build_caps_classified.items())
File "/home/phracek/work/programming/modularity-tools/modularity/module_deps_differ.py", line 206, in _dump_pkgs_result
for cap in sorted(ModuleDepsDiffer.whatprovides(caps)):
File "/home/phracek/work/programming/modularity-tools/modularity/module_deps_differ.py", line 165, in whatprovides
result.add(str(pkg.result[0].source_name))
AttributeError: 'Package' object has no attribute 'source_name'


@ttomecek Can you please look at it.

The same traceback generated by rpm2module.py source-to-image.

It should be fixed by PR https://pagure.io/modularity/modularity-tools/pull-request/28

Metadata Update from @phracek:
- Issue assigned to phracek

this is now fixed

Metadata Update from @ttomecek:
- Issue status updated to: Closed (was: Open)

Metadata