Traceback (most recent call last):


 "./bin/ansible-cmdb", line 45, in <module>

tpl_dir = os.path.join(data_dir, 'tpl')


 "/home/shirokih/projects/rt/lib/python2.7/posixpath.py", line 70, in join

elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1537, in __call__

return self.func(*args)


 "/Users/mkhitaryan/Documents/vkposter.py", line 8, in _main

vk_session.authorization()


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vk_api/vk_api.py", line 122, in authorization

self.vk_login()


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/vk_api/vk_api.py", line 153, in vk_login

response = self.http.post('https://login.vk.com/', values)


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 522, in post

return self.request('POST', url, data=data, json=json, **kwargs)


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 461, in request

prep = self.prepare_request(req)


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/sessions.py", line 394, in prepare_request

hooks=merge_hooks(request.hooks, self.hooks),


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/models.py", line 297, in prepare

self.prepare_body(data, files, json)


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/models.py", line 458, in prepare_body

body = self._encode_params(data)


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/models.py", line 98, in _encode_params

return urlencode(result, doseq=True)


 "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 1360, in urlencode

len(v)
AttributeError: Entry instance has no attribute '__len__'
