On Wed, Sep 25, 2013 at 12:04:13AM +0100, Stuart Henderson wrote:
> On 2013/09/25 00:56, Juan Francisco Cantero Hurtado wrote:
> > On 09/24/13 22:27, Juan Francisco Cantero Hurtado wrote:
> > >Update to the last release of pyftpdlib. Tested on amd64 using my
> > >android as client. Also, I would like to take the maintainership.
> > >
> > >Please test and commit.
> > >
> > 
> > You can test the package with this command and a ftp client:
> > $ python2.7 -m pyftpdlib -p 12345
> > 
> 
> hmm, on my recently-updated laptop (sep 20 amd64 snap) I get this:
> 
> $ python2.7 -m pyftpdlib -p 12345
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/runpy.py", line 162, in _run_module_as_main
>     "__main__", fname, loader, pkg_name)
>   File "/usr/local/lib/python2.7/runpy.py", line 72, in _run_code
>     exec code in run_globals
>   File "/usr/local/lib/python2.7/site-packages/pyftpdlib/__main__.py", line 
> 45, in <module>
>     from pyftpdlib.servers import FTPServer
>   File "/usr/local/lib/python2.7/site-packages/pyftpdlib/servers.py", line 
> 521, in <module>
>     class MultiprocessFTPServer(_SpawnerBase):
>   File "/usr/local/lib/python2.7/site-packages/pyftpdlib/servers.py", line 
> 525, in MultiprocessFTPServer
>     _lock = multiprocessing.Lock()
>   File "/usr/local/lib/python2.7/multiprocessing/__init__.py", line 175, in 
> Lock
>     from multiprocessing.synchronize import Lock
>   File "/usr/local/lib/python2.7/multiprocessing/synchronize.py", line 59, in 
> <module>
>     " function, see issue 3770.")
> ImportError: This platform lacks a functioning sem_open implementation, 
> therefore, the required synchronization primitives needed will not function, 
> see issue 3770.
> 

Can you look if the patch is applied correctly in pyftpdlib/servers.py?

-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to