Thanks, will try it, maybe you can release a new version.
-----Original Message----- From: Klaus Kaempf [mailto:kkaempf@suse.de] Sent: Tuesday, December 07, 2010 3:01 AM To: Yang, Yi Y Cc: Michael Andres; zypp-devel@opensuse.org Subject: Re: [zypp-devel] How to use libzypp-bindings to create a sysroot from a repo? (fixed in 0.5.5)
* Yang, Yi Y <yi.y.yang@intel.com> [Nov 16. 2010 08:56]:
, the below code also has issue:
for item in installed_pkgs: if not zypp.isKindPattern(item): print item.repoInfo().packagesPath() print zypp.asKindPackage(item).location().filename() print "%s.%s %s:%d" % (item.name(), item.arch(), item.edition(),
item.installSize())
swig/python detected a memory leak of type 'zypp::OnMediaLocation *', no
destructor found.
Traceback (most recent call last): File "list_resolvables.py", line 132, in <module> print zypp.asKindPackage(item).location().filename() AttributeError: 'SwigPyObject' object has no attribute 'filename'
This one is also fixed now in git master.
Klaus --- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)