Hi, I have two issues and hope you can be concerned about and fix it. if I have a resolving issue, the below code can't work if not Z.resolver().resolvePool(): for problem in Z.resolver().problems(): print "%s" % problem.description() raise "Solver Error" The result is: swig/python detected a memory leak of type 'ResolverProblemList *', no destructor found. Traceback (most recent call last): File "list_resolvables.py", line 99, in <module> for problem in Z.resolver().problems(): TypeError: 'SwigPyObject' object is not iterable , 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' They are necessary for me, anyone can help fix them in next release, thanks.
-----Original Message----- From: Michael Andres [mailto:ma@suse.de] Sent: Thursday, November 04, 2010 5:51 PM To: 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)
I can't see 0.5.7 in libzypp-bindings git tree.
On Thursday 04 November 2010 06:39:51 Yang, Yi Y wrote: pushed
--
cu, Michael Andres
+------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres ZYPP Development ma@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+
-- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org