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

Not work extended search #1812

Closed
iAHTOH opened this issue Jan 15, 2021 · 2 comments
Closed

Not work extended search #1812

iAHTOH opened this issue Jan 15, 2021 · 2 comments
Labels

Comments

@iAHTOH
Copy link

iAHTOH commented Jan 15, 2021

[2021-01-15 13:55:49,495] ERROR {cps:1892} Exception on /advsearch/stored/ [GET]

Traceback (most recent call last):
  File "/opt/calibre-web/vendor/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/opt/calibre-web/vendor/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/opt/calibre-web/vendor/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/opt/calibre-web/vendor/flask/_compat.py", line 39, in reraise
    raise value
  File "/opt/calibre-web/vendor/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/opt/calibre-web/vendor/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/opt/calibre-web/cps/usermanagement.py", line 37, in decorated_view
    return func(*args, **kwargs)
  File "/opt/calibre-web/cps/web.py", line 727, in books_list
    return render_books_list(data, sort_param, book_id, page)
  File "/opt/calibre-web/cps/web.py", line 418, in render_books_list
    return render_adv_search_results(term, offset, order, config.config_books_per_page)
  File "/opt/calibre-web/cps/web.py", line 1021, in render_adv_search_results
    author_name = author_name.strip().lower().replace(',', '|')
AttributeError: 'list' object has no attribute 'strip'

root@disowiki:~# python3
Python 3.5.3 (default, Nov 18 2020, 21:09:16)
[GCC 6.3.0 20170516] on linux

Linux disowiki 4.19.0-0.bpo.9-amd64 #1 SMP Debian 4.19.118-2+deb10u1~bpo9+1 (2020-06-09) x86_64 GNU/Linux

@OzzieIsaacs
Copy link
Collaborator

Please fill out the form, and describe exactly what you did and entered to get this error, as I have no idea what you did.

Thank you

@OzzieIsaacs
Copy link
Collaborator

Problem solved, reason unclear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants