Traceback (most recent call last):


 "execute.py", line 352, in <module>

train()


 "execute.py", line 138, in train

gConfig['dec_vocab_size'])


 "/home/klas/Documents/Python/Untitled Folder/tensorflow_chatbot-master/data_utils.py", line 135, in prepare_custom_data

create_vocabulary(enc_vocab_path, train_enc, enc_vocabulary_size, tokenizer)


 "/home/klas/Documents/Python/Untitled Folder/tensorflow_chatbot-master/data_utils.py", line 85, in create_vocabulary

vocab_file.write(w + '\n')
TypeError: write() argument 1 must be unicode, not str

Traceback (most recent call last):


 "/home/nekmo/Workspace/dirhunt/dirhunt/exceptions.py", line 43, in wrapped

return func(*args, **kwargs)


 "/home/nekmo/Workspace/dirhunt/dirhunt/crawler_url.py", line 69, in start

processor.process(text, soup)


 "/home/nekmo/Workspace/dirhunt/dirhunt/processors.py", line 249, in process

for link in filter(lambda x: x.url.endswith('/'), links):


 "/home/nekmo/Workspace/dirhunt/dirhunt/processors.py", line 249, in <lambda>

for link in filter(lambda x: x.url.endswith('/'), links):


 "/home/nekmo/Workspace/dirhunt/dirhunt/url.py", line 147, in url

return self.urlparsed[0] + '://' + self.urlparsed[1] + self.full_path
TypeError: 'NoneType' object is not subscriptable
