-
Notifications
You must be signed in to change notification settings - Fork 405
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
Update guide_seafile.rst #1251
Update guide_seafile.rst #1251
Conversation
Added version to 'pip3 install Pillow' because 'seahub.sh' will not start when a newer package is installed. Beware of blindly initiated updates! This way I was caught by this problem. Took me two days to figure it out.
thanks, do you have any insights if this problem will be fixed in seahub? Because if we lock a specific pillow version here, this might cause problems in the future |
Not at all, I'm sorry. I'm neither a python pro nor do I have any insight on seafile. |
From my own experiments, this has less to do with the version of Pillow than with the version of Python. With To be a bit more precise, when calling seahub as
Turns out, PyIndex_Check was only defined as a function in Python 3.8, which makes its use in Pillow fail with 3.6: python/cpython#77919 In fact, I was just meaning to create a pull request from my fork of the guide when I found this one: |
Here is the pull request from my fork: |
Thanks for the explanation @korakinos As I stated, I'm no python expert at all. I've followed the lab's tutorial and got a beautifully running seafile-server until some modules were updated. Without any clue my best idea was to revert them. That's how I came to my conclusion. BTW: After your explanation I just checked the default python3 version at uberspace7: Python 3.6.8 BTW2: I don't use |
Me neither! I also just tried to follow the tutorial and figured out a way to make it work.
Yes. 3.6 is not supported anymore. https://peps.python.org/pep-0494/
Yeah, it's really not obvious that |
because the guide has been removed anyway, I will close this as well a2e3205 |
Added version to
pip3 install Pillow
becauseseahub.sh
will not start when a newer package is installed.Beware of blindly initiated updates! This way I was caught by this problem. Took me two days to figure it out.