ANN: ciphon 0.3.4

Skip Montanaro skip at pobox.com
Wed Dec 19 21:38:21 CET 2001


    Suchandra> Sorry, given the recent discussions, I thought people
    Suchandra> following the list would have already known.  Ciphon is a
    Suchandra> utility that offers similar functionality to perl's CPAN
    Suchandra> shell.  It'll let you download and install python modules
    Suchandra> automatically.

Next question...  I tried installing cryptkit and got this:

    ciphon> install cryptkit
    Traceback (most recent call last):
      File "/usr/local/bin/ciphon.py", line 134, in ?
        main.begin()
      File "/usr/local/bin/ciphon.py", line 67, in begin
        dispatch(input)
      File "/usr/local/lib/python2.2/site-packages/Ciphon/install.py", line 148, in main
        installer = Installer(input[1])
      File "/usr/local/lib/python2.2/site-packages/Ciphon/install.py", line 13, in __init__
        self.__installed = config.getInstalled()
      File "/usr/local/lib/python2.2/site-packages/Ciphon/config.py", line 331, in getInstalled
        installed = InstalledPackages()
      File "/usr/local/lib/python2.2/site-packages/Ciphon/config.py", line 240, in __init__
        installedParser)
      File "/usr/local/lib/python2.2/site-packages/_xmlplus/sax/__init__.py", line 31, in parse
        parser.parse(filename_or_stream)
      File "/usr/local/lib/python2.2/site-packages/_xmlplus/sax/expatreader.py", line 38, in parse
        source = saxutils.prepare_input_source(source)
      File "/usr/local/lib/python2.2/site-packages/_xmlplus/sax/saxutils.py", line 375, in prepare_input_source
        f = urllib.urlopen(source.getSystemId())
      File "/usr/local/lib/python2.2/urllib.py", line 73, in urlopen
        return _urlopener.open(url)
      File "/usr/local/lib/python2.2/urllib.py", line 178, in open
        return getattr(self, name)(url)
      File "/usr/local/lib/python2.2/urllib.py", line 405, in open_file
        return self.open_local_file(url)
      File "/usr/local/lib/python2.2/urllib.py", line 412, in open_local_file
        stats = os.stat(localname)
    OSError: [Errno 2] No such file or directory: '/home/skip/.ciphon/installed.xml'

I tried creating an empty installed.xml file, but that just moved the error
further up the food chain.  I suspect ciphon ought to handle creation of
this file itself.

    % ls -l .ciphon/
    total 8
    -rw-rw-r--    1 skip     skip         2288 Dec 19 14:32 packages.xml
    -rw-rw-r--    1 skip     skip          207 Dec 19 14:32 servers.xml

In anticipation of getting past this particular hurdle I wonder, how do I
submit a package for management by ciphon?

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)




More information about the Python-list mailing list