Giter Club home page Giter Club logo

Comments (7)

Gronis avatar Gronis commented on July 20, 2024

Hi, could you post the environment variables and other parameters used when starting up the container? You need to setup some environment variables to tell the seafile-client container what libraries to get and from which server etc.

from docker-seafile-client.

jocarren avatar jocarren commented on July 20, 2024

Your build in dockerhub gives this same problem. I suspect is out of date.

from docker-seafile-client.

Gronis avatar Gronis commented on July 20, 2024

I'm pretty sure that one is not out of date. Have you built the image from master and compared the results? If the image on dockerhub is out of date, and a fresh build does not have this issue, I can update the image on dockerhub. However, I don't recall ever implementing a fix for this issue, so I suspect it might still be in there.

Edit: I just pulled the image from dockerhub and tested it on my personal setup. I think this problem is related to the library name.

from docker-seafile-client.

Gronis avatar Gronis commented on July 20, 2024

I've managed to recreate the problem. The problem should have been fixed. Please test with the newest image on dockerhub and verify that it works.

from docker-seafile-client.

jocarren avatar jocarren commented on July 20, 2024

This is the output when syncronizing library "Mi Biblioteca"

New device id created

Starting seafile daemon ...

Started: seafile daemon ...

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 660, in seaf_status

tasks = seafile_rpc.get_clone_tasks()

File "/usr/lib/python2.7/dist-packages/pysearpc/client.py", line 110, in newfunc

ret_str = self.call_remote_func_sync(fcall_str)

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 82, in call_remote_func_sync

self.transport.connect()

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 44, in connect

self.pipe_fd.connect(self.socket_path)

File "/usr/lib/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)

socket.error: [Errno 2] No such file or directory

Retry 1/100000 exited 1, retrying in 1 seconds...

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 660, in seaf_status

tasks = seafile_rpc.get_clone_tasks()

File "/usr/lib/python2.7/dist-packages/pysearpc/client.py", line 110, in newfunc

ret_str = self.call_remote_func_sync(fcall_str)

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 82, in call_remote_func_sync

self.transport.connect()

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 44, in connect

self.pipe_fd.connect(self.socket_path)

File "/usr/lib/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)

socket.error: [Errno 2] No such file or directory

Retry 2/100000 exited 1, retrying in 2 seconds...

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 660, in seaf_status

tasks = seafile_rpc.get_clone_tasks()

File "/usr/lib/python2.7/dist-packages/pysearpc/client.py", line 110, in newfunc

ret_str = self.call_remote_func_sync(fcall_str)

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 82, in call_remote_func_sync

self.transport.connect()

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 44, in connect

self.pipe_fd.connect(self.socket_path)

File "/usr/lib/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)

socket.error: [Errno 2] No such file or directory

Retry 3/100000 exited 1, retrying in 4 seconds...

# Name Status Progress

# Name Status

exiting

Using new data directory: /library

Syncing Mi Biblioteca

Starting to download ...

2020-02-10 20:20:16

# Name Status Progress

Mi Biblioteca downloading 0/1, 0.0KB/s

# Name Status

2020-02-10 20:21:18

# Name Status Progress

# Name Status

Mi Biblioteca synchronized

2020-02-10 20:22:20

# Name Status Progress

# Name Status

Mi Biblioteca synchronized

Works fine, but when trying "Diseño y Ejecución de Servicios", it returns:


New device id created

Starting seafile daemon ...

Started: seafile daemon ...

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 660, in seaf_status

tasks = seafile_rpc.get_clone_tasks()

File "/usr/lib/python2.7/dist-packages/pysearpc/client.py", line 110, in newfunc

ret_str = self.call_remote_func_sync(fcall_str)

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 82, in call_remote_func_sync

self.transport.connect()

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 44, in connect

self.pipe_fd.connect(self.socket_path)

File "/usr/lib/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)

socket.error: [Errno 2] No such file or directory

Retry 1/100000 exited 1, retrying in 1 seconds...

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 660, in seaf_status

tasks = seafile_rpc.get_clone_tasks()

File "/usr/lib/python2.7/dist-packages/pysearpc/client.py", line 110, in newfunc

ret_str = self.call_remote_func_sync(fcall_str)

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 82, in call_remote_func_sync

self.transport.connect()

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 44, in connect

self.pipe_fd.connect(self.socket_path)

File "/usr/lib/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)

socket.error: [Errno 2] No such file or directory

Retry 2/100000 exited 1, retrying in 2 seconds...

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 660, in seaf_status

tasks = seafile_rpc.get_clone_tasks()

File "/usr/lib/python2.7/dist-packages/pysearpc/client.py", line 110, in newfunc

ret_str = self.call_remote_func_sync(fcall_str)

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 82, in call_remote_func_sync

self.transport.connect()

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 44, in connect

self.pipe_fd.connect(self.socket_path)

File "/usr/lib/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)

socket.error: [Errno 2] No such file or directory

Retry 3/100000 exited 1, retrying in 4 seconds...

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 660, in seaf_status

tasks = seafile_rpc.get_clone_tasks()

File "/usr/lib/python2.7/dist-packages/pysearpc/client.py", line 110, in newfunc

ret_str = self.call_remote_func_sync(fcall_str)

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 82, in call_remote_func_sync

self.transport.connect()

File "/usr/lib/python2.7/dist-packages/pysearpc/named_pipe.py", line 44, in connect

self.pipe_fd.connect(self.socket_path)

File "/usr/lib/python2.7/socket.py", line 228, in meth

return getattr(self._sock,name)(*args)

socket.error: [Errno 2] No such file or directory

Retry 4/100000 exited 1, retrying in 8 seconds...

# Name Status Progress

# Name Status

exiting

Using new data directory: /library

Syncing Dise\u00f1o y Ejecuci\u00f3n de Servicios

Starting to download ...

2020-02-10 20:26:59

# Name Status Progress

Traceback (most recent call last):

File "/usr/bin/seaf-cli", line 869, in <module>

main()

File "/usr/bin/seaf-cli", line 865, in main

args.func(args)

File "/usr/bin/seaf-cli", line 667, in seaf_status

tx_task.rate/1024.0)

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 4: ordinal not in range(128)

Looks like there is a problem with the "ñ" character.

I built the image in my setup from 5b2af75, worked fine on both libraries.

from docker-seafile-client.

Gronis avatar Gronis commented on July 20, 2024

Hi @jocarren.
Are you saying that if you build with commit 5b2af75, it works for both these cases? That is really strange if that is the case, because that was the version used when this issue was first published.

from docker-seafile-client.

Gronis avatar Gronis commented on July 20, 2024

Closing this issue due to inactivity.

from docker-seafile-client.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.