CBT and rehabilitation show modest benefits for long COVID recovery, study finds

CBT and rehabilitation show modest benefits for long COVID recovery, study finds

Publication date: Dec 05, 2024

ValueError: max() arg is an empty sequence // Werkzeug Debugger

ValueError

ValueError: max() arg is an empty sequence

Traceback (most recent call last)

  • File “/usr/local/lib/python3. 9/site-packages/flask/app. py”, line 1498, in __call__

     ) -> cabc. Iterable[bytes]:

     """The WSGI server calls the Flask application object as the

     WSGI application. This calls :meth:'wsgi_app', which can be

     wrapped to apply middleware. 

     """

     return self. wsgi_app(environ, start_response)
  • File “/usr/local/lib/python3. 9/site-packages/flask/app. py”, line 1476, in wsgi_app

     try:

     ctx. push()

     response = self. full_dispatch_request()

     except Exception as e:

     error = e

     response = self. handle_exception(e)

     except: # noqa: B001

     error = sys. exc_info()[1]

     raise

     return response(environ, start_response)

     finally:
  • File “/usr/local/lib/python3. 9/site-packages/flask/app. py”, line 1473, in wsgi_app

     ctx = self. request_context(environ)

     error: BaseException | None = None

     try:

     try:

     ctx. push()

     response = self. full_dispatch_request()

     except Exception as e:

     error = e

     response = self. handle_exception(e)

     except: # noqa: B001

     error = sys. exc_info()[1]
  • File “/usr/local/lib/python3. 9/site-packages/flask/app. py”, line 882, in full_dispatch_request

     request_started. send(self, _async_wrapper=self. ensure_sync)

     rv = self. preprocess_request()

     if rv is None:

     rv = self. dispatch_request()

     except Exception as e:

     rv = self. handle_user_exception(e)

     return self. finalize_request(rv)

     

     def finalize_request(

     self,

     rv: ft. ResponseReturnValue | HTTPException,
  • File “/usr/local/lib/python3. 9/site-packages/flask/app. py”, line 880, in full_dispatch_request

     

     try:

     request_started. send(self, _async_wrapper=self. ensure_sync)

     rv = self. preprocess_request()

     if rv is None:

     rv = self. dispatch_request()

     except Exception as e:

     rv = self. handle_user_exception(e)

     return self. finalize_request(rv)

     

     def finalize_request(
  • File “/usr/local/lib/python3. 9/site-packages/flask/app. py”, line 865, in dispatch_request

     and req. method == "OPTIONS"

     ):

     return self. make_default_options_response()

     # otherwise dispatch to the handler for that endpoint

     view_args: dict[str, t. Any] = req. view_args # type: ignore[assignment]

     return self. ensure_sync(self. view_functions[rule. endpoint])(**view_args) # type: ignore[no-any-return]

     

     def full_dispatch_request(self) -> Response:

     """Dispatches the request and on top of that performs request

     pre and postprocessing as well as HTTP exception catching and

     error handling. 
  • File “/nlpapps/app. py”, line 463, in process_summarytext

     

     sentence_list = nltk. sent_tokenize(article_text)

     

    # Find the weighted frequency

     

     maximum_frequncy = max(word_frequencies. values())

     

     for word in word_frequencies. keys():

     word_frequencies[word] = (word_frequencies[word]/maximum_frequncy)

     

    # Calculate sentence scores

ValueError: max() arg is an empty sequence

This is the Copy/Paste friendly version of the traceback.

The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error. If you enable JavaScript you can also use additional features such as code execution (if the evalex feature is enabled), automatic pasting of the exceptions and much more.

Console Locked

The console is locked and needs to be unlocked by entering the PIN. You can find the PIN printed out on the standard output of your shell that runs the server.

PIN:

Concepts Keywords
Cbt Benefits
Covid Cbt
Long Covid
Modest Finds
Recovery Long
Modest
Recovery
Rehabilitation

Semantics

Type Source Name
disease MESH long COVID

Original Article

(Visited 1 times, 1 visits today)