scsh-users
[Top] [All Lists]

os-error while loading package

To: scsh <scsh@zurich.csail.mit.edu>
Subject: os-error while loading package
From: Andreas Bernauer <andreas.bernauer@gmx.de>
Date: Mon, 16 Feb 2004 16:01:32 -0500
Mail-followup-to: scsh <scsh@zurich.ai.mit.edu>
Hi,

I've installed the recent sunet-2.1 files with the current version of
scsh-packages.  Everything's fine, except when I try to load the
script (with the current scsh-0.6.6-beta):

[andreas@hgt scsh]$ scsh -lel sunet    

Error: exception
       os-error
       (channel-maybe-read 21 '#{Byte-vector (length 4096) 0 0 0 0 0 ---} 0 
4096 #t ---)
[andreas@hgt scsh]$

(The same error appears with -lel sunet-2.1)

I have no idea what the error means, nor do I know how to debug it, as
scsh returns immediately (with error code 103).  Does anybody have an
idea what might cause the error?

Background info:

I've installed sunet-2.1 by creating a dist-tarball from the current
CVS snapshot (make dist), extracting it somewhere and calling

./install-pkg --prefix /home/andreas/bin/lib/scsh/modules/

Env-vars and directory layout:

[andreas@hgt scsh]$ printenv SCSH_LIB_DIRS
#f "/home/andreas/bin/lib/scsh/modules"
[andreas@hgt scsh]$ ls -l /home/andreas/bin/lib/scsh/modules
total 4
lrwxrwxrwx    1 andreas  andreas         9 Feb 16 15:29 sunet -> sunet-2.1
drwxr-xr-x    5 andreas  andreas      4096 Feb 16 15:29 sunet-2.1
[andreas@hgt scsh]$ ls -l /home/andreas/bin/lib/scsh/modules/sunet-2.1
total 16
drwxr-xr-x    5 andreas  andreas      4096 Feb 16 15:29 doc
-rw-rw-r--    1 andreas  andreas       186 Feb 16 15:29 load.scm
drwxr-xr-x    5 andreas  andreas      4096 Feb 16 15:29 scheme
drwxrwxr-x    3 andreas  andreas      4096 Feb 16 15:29 web-server
[andreas@hgt scsh]$ scsh 
Welcome to scsh 0.6.6 (beta version)

Content of sunet-2.1/load.scm:

(user)
(config)
(load "/home/andreas/bin/lib/scsh/modules/sunet-2.1/scheme/packages.scm")
(load 
"/home/andreas/bin/lib/scsh/modules/sunet-2.1/scheme/httpd/surflets/packages.scm")
(user)

The files mentioned there do exist.


Thank you for any comment,

Andreas.

Attachment: pgp47rMvlHoZy.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>