# Question about notifiction example

**URL:** <https://dmap-community.ductus.global/t/question-about-notifiction-example/235>\
**Category:** Examples Set\
**Created:** [October 6, 2015, 12:39pm UTC](https://dmap-community.ductus.global/t/question-about-notifiction-example/235 "2015-10-06T12:39:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aarur](https://avatars.discourse-cdn.com/v4/letter/a/74df32/32.png) [@aarur](https://dmap-community.ductus.global/u/aarur)\
**Post date:** [October 6, 2015, 12:39pm UTC](https://dmap-community.ductus.global/t/question-about-notifiction-example/235/1 "2015-10-06T12:39:46Z")

</div>

Hi,

Getting some python error while trying to execute “confd-basic-5.4/examples.confd/netconf\_notifications” example.Can anyone help me to how to rectify this error.

[amanimar@FADL133 netconf\_notifications]$ make query  
/home/amanimar/confd-basic-5.4/bin/netconf-console-tcp --get -x netconf  
Traceback (most recent call last):  
File “/home/amanimar/confd-basic-5.4/bin/netconf-console”, line 734, in   
c.connect()  
File “/home/amanimar/confd-basic-5.4/bin/netconf-console”, line 300, in connect  
self.sock = create\_connection(self.hostname, self.port)  
File “/home/amanimar/confd-basic-5.4/bin/netconf-console”, line 348, in create\_connection  
except socket.error, (code, msg):  
ValueError: need more than 1 value to unpack  
make: \*\*\* [query] Error 1

[amanimar@FADL133 netconf\_notifications]$ make replay  
/home/amanimar/confd-basic-5.4/bin/netconf-console-tcp -s all replay.xml  
Traceback (most recent call last):  
File “/home/amanimar/confd-basic-5.4/bin/netconf-console”, line 734, in   
c.connect()  
File “/home/amanimar/confd-basic-5.4/bin/netconf-console”, line 300, in connect  
self.sock = create\_connection(self.hostname, self.port)  
File “/home/amanimar/confd-basic-5.4/bin/netconf-console”, line 348, in create\_connection  
except socket.error, (code, msg):  
ValueError: need more than 1 value to unpack  
make: \*\*\* [replay] Error 1

Thanks,  
Aarur

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [October 10, 2015, 11:48am UTC](https://dmap-community.ductus.global/t/question-about-notifiction-example/235/2 "2015-10-10T11:48:09Z")

</div>

Looks like your TCP connection attempt to ConfD timed out?

---

<div class="post-metadata">

**Author:** ![greg](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@greg](https://dmap-community.ductus.global/u/greg)\
**Post date:** [October 14, 2015, 4:17pm UTC](https://dmap-community.ductus.global/t/question-about-notifiction-example/235/3 "2015-10-14T16:17:34Z")

</div>

Also, I am wondering if you can tell us what Python version you are using. As it was noted, you are having a problem connecting to ConfD, so of course verify that ConfD is running. But the script is having a problem handling the Exception and this may be due to you using a Python version less than 2.6.
