Package: fsh
Version: 1.2-7

$ fsh
Traceback (most recent call last):
  File "/usr/bin/fsh", line 6, in ?
    import fsh
  File "/usr/share/fsh/fsh.py", line 28, in ?
    import fshlib
  File "/usr/share/fsh/fshlib.py", line 24, in ?
    import fshcompat
  File "/usr/share/fsh/fshcompat.py", line 67, in ?
    import FCNTL
ImportError: No module named FCNTL
$ dpkg -l '*python*' | egrep -v '^[up]'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                         Version             Description
+++-============================-===================-============================================
rc  libboost-python1.31.0        1.31.0-9            Boost Python Library
ii  python                       2.4.4-2             An interactive high-level 
object-oriented la
ii  python-cairo                 1.2.0-1             Python bindings for the 
Cairo vector graphic
ii  python-celementtree          1.0.5-8             Light-weight toolkit for 
XML processing
ii  python-central               0.5.12              register and build utility 
for Python packag
ii  python-crypto                2.0.1+dfsg1-1.2     cryptographic algorithms 
and protocols for P
ii  python-dev                   2.4.4-2             Header files and a static 
library for Python
ii  python-doc                   2.4.4-1             Documentation for the 
high-level object-orie
ii  python-elementtree           1.2.6-10            Light-weight toolkit for 
XML processing
ii  python-glade2                2.8.6-8             GTK+ bindings: Glade 
support
ii  python-gmenu                 2.16.1-3            an implementation of the 
freedesktop menu sp
ii  python-gnome2                2.12.4-6            Python bindings for the 
GNOME desktop enviro
ii  python-gnome2-desktop        2.14.0-3            Python bindings for the 
GNOME desktop enviro
ii  python-gtk2                  2.8.6-8             Python bindings for the 
GTK+ widget set
ii  python-libxml2               2.6.27.dfsg-4       Python bindings for the 
GNOME XML library
ii  python-minimal               2.4.4-2             A minimal subset of the 
Python language (def
ii  python-newt                  0.52.2-10           A NEWT module for Python
ii  python-numeric               24.2-7              Numerical 
(matrix-oriented) Mathematics for 
ii  python-opengl                2.0.1.09.dfsg.1-0.2 Python bindings to OpenGL
ii  python-pyorbit               2.0.1-5             A Python language binding 
for the ORBit2 COR
ii  python-selinux               1.32-3              Python bindings to SELinux 
shared libraries
ii  python-semanage              1.8-1               Python bindings  for 
SELinux policy manipula
ii  python-support               0.5.6               automated rebuilding 
support for python modu
ii  python-tk                    2.4.4-1             Tkinter - Writing Tk 
applications with Pytho
ii  python-uno                   2.0.4.dfsg.2-7etch5 Python interface for 
OpenOffice.org
ii  python-yappy-doc             1.7-1               Documentation for yappy
rc  python2.3                    2.3.5-3sarge2       An interactive high-level 
object-oriented la
ii  python2.3-doc                2.3.5-3sarge2       Documentation for the 
high-level object-orie
ii  python2.4                    2.4.4-3+etch1       An interactive high-level 
object-oriented la
ii  python2.4-dev                2.4.4-3+etch1       Header files and a static 
library for Python
ii  python2.4-doc                2.4.4-2             Documentation for the 
high-level object-orie
ii  python2.4-minimal            2.4.4-3+etch1       A minimal subset of the 
Python language (ver
ii  python2.4-paramiko           1.5.2-0ubuntu1      SSH2 library for python
$

I have worked around this with this patch to my installed system.

Ian.

--- /usr/share/fsh/fshcompat.py~        2005-03-25 12:32:10.000000000 +0000
+++ /usr/share/fsh/fshcompat.py 2008-10-03 20:22:44.000000000 +0100
@@ -85,3 +85,7 @@
     # Remember to state the operating system you are using (in the
     # format returned by os.uname()), and the proper value of
     # FD_CLOEXEC.
+
+except ImportError:
+
+    FD_CLOEXEC = fcntl.FD_CLOEXEC



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to