Closed xknot closed 9 years ago
As the error says the package python-pyftplib is missing or not new enough. Do you have the package installed and in which version?
python-pyftpdlib has been installed:
root@linuxcnc:/usr/src/machinekit# dpkg -s python-pyftpdlib
Package: python-pyftpdlib
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 331
Maintainer: Janos Guljas <janos@debian.org>
Architecture: all
Version: 1.2.0-3~1da~wheezy1
Provides: python2.6-pyftpdlib, python2.7-pyftpdlib
Depends: python (>= 2.6.6-7~), python (<< 2.8)
Description: Python FTP server library
Python FTP server library provides a high-level portable interface to
easily write asynchronous FTP servers with Python.
.
pyftpdlib is currently the most complete RFC-959 FTP server
implementation available for Python programming language. It is used
in projects like Google Chromium and Bazaar.
Homepage: http://code.google.com/p/pyftpdlib/
1.2 should be fine. Can your run python in your chroot environment and execute import pyftpdlib.servers
In the chroot:
mount /dev/shm
It works!
It seems like I met the problem described as: http://stackoverflow.com/questions/6033599/oserror-38-errno-38-with-multiprocessing
Is there any way not mount /dev/shm
every time chroot? May be add something into the /etc/fstab
of the host?
I use a script to start my chroots. It mounts /dev/shm
and other stuff, too.
In use cases I've encountered, it wouldn't make sense to add chroot mounts to /etc/fstab
unless there's only a single chroot in exactly the same place, and probably not even then.
Using a script is a good idea, thanks for your help.
Can we close this issue?
I'll close it. Please reopen or submit new issue in case of further problems.
I'm using a qemu chroot environment configured according to http://code.google.com/p/picnc/wiki/QemuChrootCompiling I've read https://github.com/machinekit/machinekit/issues/317 carefully, and add
none /dev/shm tmpfs rw,nosuid,nodev,noexec 0 0
to the/etc/fstab
according to @kinsamanka as saying, but I'm no lucky. Any hint will be helpful.