Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Calibre Web
  3. Calibre - Searching throws error

Calibre - Searching throws error

Scheduled Pinned Locked Moved Solved Calibre Web
6 Posts 4 Posters 408 Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote on last edited by necrevistonnezr
    #1

    When I try to search von Calibre Web, I just get an error:

    Traceback (most recent call last):
    File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 2190, in wsgi_app
    response = self.full_dispatch_request()
    File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1486, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1484, in full_dispatch_request
    rv = self.dispatch_request()
    File "/usr/local/lib/python3.10/dist-packages/flask/app.py", line 1469, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
    File "/app/code/calibre-web/cps/usermanagement.py", line 35, in decorated_view
    return login_required(func)(*args, **kwargs)
    File "/usr/local/lib/python3.10/dist-packages/flask_login/utils.py", line 290, in decorated_view
    return current_app.ensure_sync(func)(*args, **kwargs)
    File "/app/code/calibre-web/cps/web.py", line 799, in books_list
    return render_books_list(data, sort_param, book_id, page)
    File "/app/code/calibre-web/cps/web.py", line 401, in render_books_list
    return render_search_results(term, offset, order, config.config_books_per_page)
    File "/app/code/calibre-web/cps/search.py", line 380, in render_search_results
    entries, result_count, pagination = calibre_db.get_search_results(term,
    File "/app/code/calibre-web/cps/db.py", line 957, in get_search_results
    result = self.search_query(term, config, *join).order_by(*order).all()
    File "/app/code/calibre-web/cps/db.py", line 932, in search_query
    getattr(Books,
    AttributeError: type object 'Books' has no attribute 'custom_column_1'
    
    1 Reply Last reply
    0
    • nebulonN nebulon marked this topic as a question on
    • necrevistonnezrN Offline
      necrevistonnezrN Offline
      necrevistonnezr
      wrote last edited by
      #6

      Yes, just tested this, it works

      1 Reply Last reply
      3
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #2

        Tried to reproduce this but the search seems to work fine on a new instance. Do you have any more specific info on how to hit this?

        1 Reply Last reply
        0
        • robiR Offline
          robiR Offline
          robi
          wrote on last edited by
          #3

          what did you upload and what did you search for?

          Conscious tech

          1 Reply Last reply
          0
          • necrevistonnezrN Offline
            necrevistonnezrN Offline
            necrevistonnezr
            wrote on last edited by
            #4

            I copied over my local Calibre library to the Calibre Web library (located on a Volume.
            One of them is Paul Auster’s „Winter Journal“ in the epub format. The book shows up fine, I can open it in the browser to read it, but when I search for „Auster“, I get the above error.

            1 Reply Last reply
            0
            • jamesJ Offline
              jamesJ Offline
              james
              Staff
              wrote last edited by
              #5

              @necrevistonnezr
              Did this issue ever get resolved, or can this topic be closed?

              1 Reply Last reply
              0
              • jamesJ james marked this topic as a regular topic
              • necrevistonnezrN Offline
                necrevistonnezrN Offline
                necrevistonnezr
                wrote last edited by
                #6

                Yes, just tested this, it works

                1 Reply Last reply
                3
                • necrevistonnezrN necrevistonnezr marked this topic as a question
                • necrevistonnezrN necrevistonnezr has marked this topic as solved
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search