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

Runtime error #29

Open
CodeBuzz-ML opened this issue Feb 18, 2023 · 0 comments
Open

Runtime error #29

CodeBuzz-ML opened this issue Feb 18, 2023 · 0 comments

Comments

@CodeBuzz-ML
Copy link

CodeBuzz-ML commented Feb 18, 2023

  • Serving Flask app 'main'
  • Debug mode: on
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5000
  • Running on http://192.168.29.254:5000
    Press CTRL+C to quit
  • Restarting with stat
  • Debugger is active!
  • Debugger PIN: 621-914-103
    192.168.29.254 - - [18/Feb/2023 17:46:06] "GET / HTTP/1.1" 200 -
    192.168.29.254 - - [18/Feb/2023 17:46:07] "GET /favicon.ico HTTP/1.1" 404 -
    192.168.29.254 - - [18/Feb/2023 17:46:11] "POST /ask HTTP/1.1" 500 -
    Traceback (most recent call last):
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2551, in call
    return self.wsgi_app(environ, start_response)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2531, in wsgi_app
    response = self.handle_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Workspace\Python\Imported from github\ChatBOT with AIML module\main.py", line 20, in ask
    kernel.bootstrap(learnFiles = os.path.abspath("aiml/std-startup.xml"), commands = "load aiml b")
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiml\Kernel.py", line 131, in bootstrap
    start = time.clock()
    ^^^^^^^^^^^^
    AttributeError: module 'time' has no attribute 'clock'
    192.168.29.254 - - [18/Feb/2023 17:46:25] "POST /ask HTTP/1.1" 500 -
    Traceback (most recent call last):
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2551, in call
    return self.wsgi_app(environ, start_response)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2531, in wsgi_app
    response = self.handle_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 2528, in wsgi_app
    response = self.full_dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
    ^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\flask\app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "D:\Workspace\Python\Imported from github\ChatBOT with AIML module\main.py", line 20, in ask
    kernel.bootstrap(learnFiles = os.path.abspath("aiml/std-startup.xml"), commands = "load aiml b")
    File "C:\Users\DELL\AppData\Local\Programs\Python\Python311\Lib\site-packages\aiml\Kernel.py", line 131, in bootstrap
    start = time.clock()
    ^^^^^^^^^^^^
    AttributeError: module 'time' has no attribute 'clock'
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