Mailinglist Archive: zypp-devel (84 mails)

< Previous Next >
Re: [zypp-devel] Access to zypp from python
  • From: "Nikolay Derkach" <nderkach@xxxxxxxxx>
  • Date: Mon, 4 Aug 2008 16:25:01 +0400
  • Message-id: <f276b80f0808040525la63a242u5e68c3d7c612860a@xxxxxxxxxxxxxx>
Indeed, looks like that's impossible, it seems like these bindings are
under heavy development and by the time when 11.0 was released they
weren't ready yet, hopefully the bindings and libzypp API will
stabilize by 11.1 release.

Also, I tried examples from libzypp-bindings/examples/python/ but
they throw an exception:

Traceback (most recent call last):
File "list_updates.py", line 15, in <module>
Z.addResolvables( Z.target().resolvables(), True )
File "/usr/lib64/python2.5/site-packages/zypp.py", line 2328, in <lambda>
__getattr__ = lambda self, name: _swig_getattr(self, ZYpp_Ptr, name)
File "/usr/lib64/python2.5/site-packages/zypp.py", line 34, in _swig_getattr
raise AttributeError,name
AttributeError: addResolvables

I'm using packages from zypp:svn.

--
Regards, Nikolay Derkach
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >