Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'list' object has no attribute 'update' #5

Closed
Vintic opened this issue May 23, 2019 · 1 comment
Closed

'list' object has no attribute 'update' #5

Vintic opened this issue May 23, 2019 · 1 comment

Comments

@Vintic
Copy link

Vintic commented May 23, 2019

(test) ...\livehelperchat\chattr_service_api>chatbot.py
('Started httpserver on port ', 8080)
127.0.0.1 - - [23/May/2019 08:34:19] "GET /?adddb=1&id=1&sh=my_secret_hash&ct=8
HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 60890)
Traceback (most recent call last):
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 316, in _handle_request_noblock
    self.process_request(request, client_address)
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 347, in process_request
    self.finish_request(request, client_address)
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "PATH\AppData\Local\conda\conda\envs\test\lib\socket
server.py", line 720, in __init__
    self.handle()
  File "PATH\AppData\Local\conda\conda\envs\test\lib\http\s
erver.py", line 426, in handle
    self.handle_one_request()
  File "PATH\AppData\Local\conda\conda\envs\test\lib\http\s
erver.py", line 414, in handle_one_request
    method()
  File "...\livehelperchat\chattr_service_api\lhcHandler.py", line
 63, in do_GET
    self.bot.addDatabase(''.join(query_components["id"]), ''.join(query_componen
ts["ct"]))
  File "...\livehelperchat\chattr_service_api\lhcChatBot.py", line
 115, in addDatabase
    bot = self.getBot(instanceId, context)
  File "...\livehelperchat\chattr_service_api\lhcChatBot.py", line
 84, in getBot
    database_uri=self.settings['DB_URL']+self.settings['DATABASE_PREFIX'] + "-"
+ instanceId+"-"+context
  File "...\livehelperchat\chattr_service_api\lhc_chatbot.py", lin
e 59, in __init__
    self.initialize()
  File "...\livehelperchat\chattr_service_api\lhc_chatbot.py", lin
e 78, in initialize
    for function in self.get_initialization_functions().values():
  File "...\livehelperchat\chattr_service_api\lhc_chatbot.py", lin
e 70, in get_initialization_functions
    initialization_functions.update(search_algorithm_functions)
AttributeError: 'list' object has no attribute 'update'
----------------------------------------
@Vintic
Copy link
Author

Vintic commented May 23, 2019

Downgrade to 1.0.2

@Vintic Vintic closed this as completed May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant