Your message dated Fri, 06 Mar 2015 09:44:34 +0000
with message-id <[email protected]>
and subject line Bug#763537: fixed in python-ncclient 0.4.3-1
has caused the Debian Bug report #763537,
regarding python-ncclient: with dev.locked(target='candidate') does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
763537: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763537
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-ncclient
Version: 0.4.1-1
Severity: important
Tags: upstream

Dear Maintainer,

After creating a dev with:

    dev = ncclient.manager.connect(...)

I tried to lock the candidate datastore with:

    with dev.locked(target='candidate'):
            ...

But that raised an exception:

    Traceback (most recent call last):
      File "t.py", line 13, in <module>
        d.config_commit(c)
      File "src/dmnetconf/__init__.py", line 31, in config_commit
        with self.dev.locked(target='candidate'):
      File "/usr/lib/python2.7/dist-packages/ncclient/operations/lock.py", line 
66, in __enter__
        Lock(self.session, raise_mode=RaiseMode.ERRORS).request(self.target)
    TypeError: __init__() takes at least 3 arguments (3 given)

The exception was raised because Lock.__init__ (RPC.__init__ in
/usr/lib/python2.7/dist-packages/ncclient/operations/rpc.py) expects a
device_handler argument that was not passed.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'stable'), (400, 'unstable'), (150, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_US.ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-ncclient depends on:
ii  dpkg                  1.17.13
ii  python                2.7.8-1
ii  python-lxml           3.4.0-1
ii  python-paramiko       1.15.1-1
ii  python-pkg-resources  5.5.1-1

python-ncclient recommends no packages.

python-ncclient suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: python-ncclient
Source-Version: 0.4.3-1

We believe that the bug you reported is fixed in the latest version of
python-ncclient, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastien Badia <[email protected]> (supplier of updated python-ncclient package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 05 Mar 2015 14:06:27 +0100
Source: python-ncclient
Binary: python-ncclient
Architecture: source all
Version: 0.4.3-1
Distribution: experimental
Urgency: medium
Maintainer: Sebastien Badia <[email protected]>
Changed-By: Sebastien Badia <[email protected]>
Description:
 python-ncclient - Python library for NETCONF clients
Closes: 763537
Changes:
 python-ncclient (0.4.3-1) experimental; urgency=medium
 .
   * New upstream release.
   * Upstream fix for locked target. (Closes: #763537)
   * d/rules: Clean rule file (Thanks Gonéri)
   * d/control
     * Remove dpkg pre-depends (>= 1.15.6~)
     * Bump Standards-Versions (no changes)
     * Fix project homepage and vcs-browser
     * Add dh-python to build deps, and fix python-lxml version
Checksums-Sha1:
 611e607fa3f57fbd525b95cdcd4fb047218579b6 1973 python-ncclient_0.4.3-1.dsc
 8d13843755e962de65e174dc4383ff1630c03c3d 53126 
python-ncclient_0.4.3.orig.tar.gz
 98d708b6c1037e445e2fa0ae8b4ef4cd088507a7 2436 
python-ncclient_0.4.3-1.debian.tar.xz
 cc121708a53fe53836b04835805934c4e141e39a 73474 python-ncclient_0.4.3-1_all.deb
Checksums-Sha256:
 91af35a10d83e09ad98173fb920d925bebb524c291d4af4b2951aec1e2ac0e6e 1973 
python-ncclient_0.4.3-1.dsc
 5c54a55b032a11f12f6743048b84ef6196f44508285846ed9efbd790a4d0e862 53126 
python-ncclient_0.4.3.orig.tar.gz
 b762000f890c0644fbf57c31e7842d418faaf2fa21dbf8feeede1927fbe56c37 2436 
python-ncclient_0.4.3-1.debian.tar.xz
 3826363d373f4acfdffcead7a906a10b58cf9da4456bf29782adfbd95f630236 73474 
python-ncclient_0.4.3-1_all.deb
Files:
 a6d445d86c9c36e2f6b9cb5cf794f58f 1973 python optional 
python-ncclient_0.4.3-1.dsc
 d3578d2c791d39833a71220d6d159406 53126 python optional 
python-ncclient_0.4.3.orig.tar.gz
 63e4de543445e5d40294deff176dac1b 2436 python optional 
python-ncclient_0.4.3-1.debian.tar.xz
 b3cb5fd37761f740b59ade6179b64ff7 73474 python optional 
python-ncclient_0.4.3-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJU+W+hAAoJEASe2blHZVcuW5kP/2EatdbsAo+qmCUmJ76o65B7
ux0GuHloBuoBLLIGGPwDcJ1ffEEBiSFcywW++Az0oHo7v8UD+ZKYqy2tvOltPJ07
9eNQ3bSSBFUJzGX3MDTk7oT7j+/723ZVbVLTbAlci5gvFKDJSDNukUH5MpJuqcfP
HYJ/FHiiJApiVaON/tnU8Nwccsn98YiJju7R4ge79SJjTpNEmBkjNDOlHzxkz8vL
oNMdZiNbaZT3FMp1jnttpJoneKfsjYyd/Y2HqYFW9l9AO/Y9GXfUTsNrsM2UQdNY
yLErynsy5+dc9p7YovRzUc8rgFb/tNeCkLD+bCVNHeqh/6fAfZRyyTmaoE5HwrNn
55xXWb/ASOEDGTQHJUpkisyPak2fInuTT2IHv9fke/dRmJHjeO2cQOaCQRJ91M2d
DZwQEMmoYVUVrr+Q5rMysdLyc4KXLeNOz7ONw+sPwBJKtbLzbswUARFQ8NFA5XWm
0IeSGcbLS52kZMyzQRqmRLKzZvBZeJGcM+nxz2MslSKGrFhKh5ieWm2roaxD8Mzx
Kekg/rrzJQ9DzcubUlxrCNsOLzOEkcR0y/BvVEUFYq+tBP9FgPKrc7VyQJlkjwyx
sfdP4jfY43q8aLytWDDWd7WThmW4OD10aEb9gbLilZBeR2gW9EZNFls9bBNfwW/r
pPQ6HkYY/TLL2eUX0DOl
=K2qD
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to