-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error after installation on raspberry Pi3b #1902
Comments
Don‘t use sqlalchemy 1.4.0 |
How can i do this? I use YunoHost, where can i change this? |
You should have installed sqlalchemy somehow using pip. So something like: |
Trying to do this gives
|
sqlalchemy==1.3.23 sorry misstyping |
it should be and I have the same problem. |
Okay: I know nothing about your installation: Using python3 could depending on your distribution (if you are using Linux) have a pip or a pip3 command. python3 could depending on your distribution (if you are using Linux) also be python or python3 or python3.x (where x could be in the range from 0 to 10). Depending on your installation you could execute this command as normal user or root user, or some other user running calibre-web (sudo ..., or su) If you installed calibre-web via "venv" you should (have to) use the python(3(.x)) in the venv folder (or however you have called this virtual environment folder. If you installed it "globally" with the vendor folder (the way described in the readme), the problem should not occur but could be solved with If you installed it "globally" without the vendor folder Anyhow you have to find out where SQLAlchemy version which is used is installed and exchange it with a version less than 1.4 |
By the way: Installing calibre-web in |
Thank you, This solved the problem for me. |
I agree but for people who are using "Yunohost" like me and the issue author it is standard package place. so they are following a certain conventions that makes things easier to track. |
It seems that this requirement |
This seems to depend on the order of installation. If you install the requirements first, then Funny enough there are 2 issues in |
@Krakinou : I had a look at the look your user provides. Looks like the order is as I expected it to be and it's working differently than I thought. I think I need another week to have all my development changes tested and I can merge it back to master. Than calibre-web should work with 1.4 except for the oauth login which requires sqlalchemy-utils. |
@OzzieIsaacs : No worries, the package does not need sqlaclchemy-utils as it does not use oauth. A typo prevented it to be deleted from optionnal-requirement.txt in my script and installed it by mistake. |
Meanwhile calibre-web can use sqlalchemy 1.4 without any issue |
I try to install on an raspberry pi 3 b. I get an error 500:
500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Traceback (most recent call last):
File "/var/www/calibreweb/vendor/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/var/www/calibreweb/vendor/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/var/www/calibreweb/vendor/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/var/www/calibreweb/vendor/flask/_compat.py", line 39, in reraise
raise value
File "/var/www/calibreweb/vendor/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/var/www/calibreweb/vendor/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/var/www/calibreweb/cps/usermanagement.py", line 38, in decorated_view
return login_required(func)(*args, **kwargs)
File "/var/www/calibreweb/vendor/flask_login/utils.py", line 272, in decorated_view
return func(*args, **kwargs)
File "/var/www/calibreweb/cps/web.py", line 718, in index
return render_books_list("newest", sort_param, 1, page)
File "/var/www/calibreweb/cps/web.py", line 421, in render_books_list
entries, random, pagination = calibre_db.fill_indexpage(page, 0, db.Books, True, order)
File "/var/www/calibreweb/cps/db.py", line 608, in fill_indexpage
return self.fill_indexpage_with_archived_books(page, pagesize, database, db_filter, order, False, *join)
File "/var/www/calibreweb/cps/db.py", line 622, in fill_indexpage_with_archived_books
.join(*join, isouter=True)
TypeError: join() missing 1 required positional argument: 'target'
The text was updated successfully, but these errors were encountered: