it's missing a dependency on python2-chardet. The server stopped to work for me after the last update and I had errors in the logs:
2016/01/26 22:13:52 [error] 1377#0: *2199 FastCGI sent in stderr: "Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py", line 558, in run
protocolStatus, appStatus = self.server.handler(self)
File "/usr/lib/python2.7/site-packages/flup/server/fcgi_base.py", line 1118, in handler
result = self.application(environ, start_response)
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 255, in __call__
response = self.get_response(request)
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/django/core/handlers/base.py", line 176, in get_response
response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/django/core/handlers/base.py", line 218, in handle_uncaught_exception
if resolver.urlconf_module is None:
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/django/core/urlresolvers.py", line 361, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/djblets/util/rooturl.py", line 40, in <module>
(r'^%s' % settings.SITE_ROOT[1:], include(settings.SITE_ROOT_URLCONF)),
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 25, in include
urlconf_module = import_module(urlconf_module)
File "/usr/lib/seafile/seafileenv/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/srv/seafile/xxxxxx.xxxxx.com/seafile-server/seahub/seahub/urls.py", line 7, in <module>
from seahub.views.file import view_repo_file, view_history_file, view_trash_file,\
File "/srv/seafile/xxxxxx.xxxxx.com/seafile-server/seahub/seahub/views/file.py", line 12, in <module>
import chardet
After installing the python2-chardet all is back to normal again.
Search Criteria
Package Details: seafile 9.0.11-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/seafile.git (read-only, click to copy) |
---|---|
Package Base: | seafile |
Description: | An online file storage and collaboration tool |
Upstream URL: | https://github.com/haiwen/seafile |
Licenses: | GPL2 |
Conflicts: | seafile-server |
Provides: | seafile-client-cli |
Submitter: | eolianoe |
Maintainer: | Joffrey |
Last Packager: | Joffrey |
Votes: | 111 |
Popularity: | 0.000000 |
First Submitted: | 2016-08-11 16:38 (UTC) |
Last Updated: | 2024-11-14 17:06 (UTC) |
Dependencies (8)
- fuse (fuse2)
- libevent (libevent-gitAUR)
- libsearpcAUR
- libwebsockets
- python-future
- sqlite (sqlite-fossilAUR)
- intltool (make)
- vala (vala-gitAUR) (make)
Required by (2)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 13 14 15 16 17 18 19 20 21 22 23 .. 47 Next › Last »
gergan_penkov commented on 2016-01-26 21:19 (UTC)
fordprefect commented on 2016-01-25 13:04 (UTC)
@BunBum: i see. you could try debugging this by yourself, but as stated a few days ago, this package needs some care anyways. i will have a closer look at it later this week…
BunBum commented on 2016-01-25 12:50 (UTC)
Thank you but now I get a
libtool: warning: '../lib/libseafile.la' has not been installed in '/usr/lib'
and
File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 348, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/_vendor/requests/packages/urllib3/connectionpool.py", line 318, in _raise_timeout
if 'timed out' in str(err) or 'did not complete (read)' in str(err): # Python 2.6
TypeError: __str__ returned non-string (type Error)
and
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 781, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /usr/lib/seafile/seafileenv/bin/python2 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip wheel failed with error code 2
The environment doesn't have a file /usr/lib/seafile/seafileenv/bin/activate_this.py -- please re-run virtualenv on this environment to update it
and
Requirement already satisfied (use --upgrade to upgrade): jdcal in /usr/lib/python3.5/site-packages (from openpyxl==2.3.0)
/tmp/alpm_JRITAD/.INSTALL: line 21: deactivate: command not found
fordprefect commented on 2016-01-25 10:27 (UTC)
@BunBum: looks like a python 2 vs 3 issue. since there is no direct call to "python setup.py", you could either temporary link /usr/bin/python to python2 (be careful with this! revert as soon as possible) or some more dirty tricks including . in front of the PATH (in the PKGBUILD only) and having a local link to python2.
either way you need to be careful and know what you are doing, thus i havent given you more detail so far.
BunBum commented on 2016-01-25 07:38 (UTC)
I can't install the package. I tried a completely fresh installation and get:
File "/tmp/pip-2kihmcij-build/setup.py", line 182
print "--- using Tcl/Tk libraries at", TCL_ROOT
^
SyntaxError: Missing parentheses in call to 'print'
File "/tmp/pip-build-c6whfwqo/Djblets/ez_setup.py", line 94
except pkg_resources.VersionConflict, e:
^
SyntaxError: invalid syntax
/tmp/alpm_Km0Ax3/.INSTALL: line 21: deactivate: command not found
error: command failed to execute correctly
fordprefect commented on 2016-01-21 10:49 (UTC)
this package has some issues, i think.
• in the post_install, it installs untracked files to the filesystem. this should definitely not happen, thats what dependencies and packages are for
• the data goes to /usr/share/seafile-server, but webapps are to be installed to /usr/share/webapps
• this package is named seafile-server, but it produces 3 seafile-related packages. it sould be renamed to seafile by reuploading under correct name (and with pkgbase=seafile, which is missing in the pkgbuild) and a merge request is to be filed.
• this package poorly corresponds with the wiki article (which itself is quite in a bad shape).
please consider refactoring this package to conform packaging standards.
@hillbicks: this is a split package. its PKGBUILD builds several packages at once. that does not mean, you need to install them all.
hillbicks commented on 2016-01-18 20:57 (UTC)
I don't understand why this package also provides seafile-server? If I just want to install seafile-client, I'm apparently forced to install the server as well? Would like to know reason for this :)
ERamseth commented on 2016-01-15 20:57 (UTC) (edited on 2016-01-15 21:47 (UTC) by ERamseth)
@MadMe of course I read that. seahub-preupgrade is either specific to the AUR package or undocumented (I believe specific to AUR since it calls pacman). From reading the script it seems to rely on upgrading first, but I wanted to be sure.
EDIT: Nevermind... I thought you were pointing me to the seafile docs, not the arch wiki. Thanks for reminding me about that... now if i can just get captcha and seafdav working....
MadMe commented on 2016-01-15 20:21 (UTC)
Maybe you should look here:
https://wiki.archlinux.org/index.php/Seafile#Upgrading
1. Stop seafile
2. Upgrade the Server from AUR
3. run preupdate (I think it brings the Database in a clean state?)
4. run the version upgrade
5. and start it again
ERamseth commented on 2016-01-15 20:14 (UTC)
Am I supposed to upgrade packages then run the seahub-preupgrade? or run the pre-upgrade then upgrade the packages? I'm thinking I upgrade packages first, but I wasn't 100% sure.
Pinned Comments