-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Segmentation fault with gevent-server from optional-requirements on startup #1755
Comments
I can reproduce it. I will have look at it. |
We are having this: python-greenlet/greenlet#178 |
I changed the optional requirements file to have greenlet 0.4.16 at most, this solves the problem for me. |
Thank you for looking at this. You have confirmed what we guessed it was and made the same change, so I believe it is fixed (except for old releases) 1: any chance of a fixed release due to the update mechanism? the old release will carry the bug. 2: oddly, i did not have this issue when cloning from git and running. just inside an venv. |
As long as you don‘t install gevent everything will run as expected, also if you have old versions of the dependencies installed, everything will work as expected |
We download the zip, make a venv, and then deal with everything through there. We'll be changing the version of that dependency in the installer on our end until there's a new release. Thanks for the help! I'll close this when I've confirmed this, just in case. |
I'm applying the same fix onto the zip version now, hope there will be a new one soon. as such I suppose I can mark this as resolved. Thanks again! |
@OzzieIsaacs I wonder if I can chime in here. I've finally got around to trying to tackle this issue. Symlinking the pysqlite-binary works for x64 but not for other archs, so my preference is to update our image to a focal base, I'm getting hit by this issue and can confirm if I build but remove gevent, then Calibre-web starts up fine. In summary:
As it stands I have a number of options:
My preference is very much for number 1, but if there's no plans to release a v0.6.10 any time soon I could consider option 2. If you could let me knoe an ETA for v0.6.10 then I could make a decision. Thanks matey! |
In general I‘m ready for a 0.6.10, my concern are the server crashes related to database problems in the last days, let us wait this weekend |
@OzzieIsaacs Sounds good to me, it's your baby, but now I know the plans I can plan my end accordingly. Thanks fella! |
Can't be merged to master until upstream push a new release. See [here](janeczku/calibre-web#1755) Will fix [this](#108) and also will close pending PR [here](#111)
It's done, version 0.6.10 Florence is published |
Awesome, thanks! |
I just saw that. Thanks @OzzieIsaacs! I do love this project. Definitely my favourite! |
Describe the bug/problem
I'm working on an install script for calibre. When the script succeeds, I see the service for it is running. When I try to access the app through the browser, the service dies and reports a segmerntation fault. I'm very new to managing python applications so please bare with :)
To Reproduce
The install script is here
Steps to reproduce the behavior:
git clone https://github.com/flying-sausages/swizzin.git
dev=true bash swizzin/setup.sh
(just install the user and choose no applications)tail -f /roots/logs/swizzin.log &
bash box install calibre-web
(No need to install calibre itself)http://ip:8083
after installsystemctl status calibre-web
You can reproduce the same thing if you run calibre-web's
cps.py
manually through the venv python. e.g.:sudo su calibreweb -s /bin/bash
/opt/.venv/calibre-web/bin/python3 ~/cps.py
Logfile
This is the content after install
Add content of calibre-web.log file or the relevant error, try to reproduce your problem with "debug" log-level to get more output.
from journalctl:
Expected behavior
A working installation with no segfaults
Screenshots
If applicable, add screenshots to help explain your problem.Environment (please complete the following information):
Additional context
Vms are accessible through the internal Windows "Default Switch", not sure that makes a difference.
The text was updated successfully, but these errors were encountered: