[sword-devel] installmgr completely failing

Greg Hellings greg.hellings at gmail.com
Fri Jul 17 06:34:19 MST 2009


Karl,

I haven't tried recently, but when I've used the command-line tool
from in OS X before, I very frequently will run into an issue where
the install directories are all under the ownership of root.  There
doesn't seem to be any reason for how they end up owned by root, but
installmgr doesn't seem to pick up on that fact and has given me
identical behavior to what you're seeing below.  Obviously it should
report errors when it can't write the files to disk, but that doesn't
seem to happen. :-/

--Greg

On Fri, Jul 17, 2009 at 7:45 AM, Karl Kleinpaste<karl at kleinpaste.org> wrote:
> I can't install modules at all right now.
>
> I have -r2437 in place.  I was finding problems with module re-installs
> in Xiphos, so I resorted to command line installmgr.  No joy.
>
> To test, I've been trying to re-install Robinson.
> The attached script(1) output shows what's going wrong:
> - All the files appear to be retrieved.
> - But they do not appear in the proper destination directory.
> - The .conf is actually damaged.
>
> This is on Fedora11, very up to date, with a typical connection to the net.
>
> Help?
>
>
> Script started on Fri Jul 17 08:26:49 2009
> $ ls
> ./         amtract/      glossaries/   hitchcock/   klvklingon/  saoa/    zh/
> ../        cbc/          greekhebrew/  kjvd/        losung/      tcr/
> 2babdict/  devotionals/  hebrewgreek/  klvenglish/  packard/     torrey/
> $ installmgr -ri CrossWire Robinson
> ok so far
> instantiating t ...
> registering ID locally B
> done.
> ok so far
> instantiating t ...
> registering ID locally G
> done.
> ok so far
> instantiating t ...
> registering ID locally B
> done.
> ok so far
> instantiating t ...
> registering ID locally G
> done.
> ok so far
> instantiating t ...
> registering ID locally C
> done.
> ok so far
> instantiating t ...
> registering ID locally H
> done.
> ok so far
> instantiating t ...
> registering ID locally C
> done.
> ok so far
> instantiating t ...
> registering ID locally S
> done.
> ok so far
> instantiating t ...
> registering ID locally L
> done.
> ok so far
> instantiating t ...
> registering ID locally C
> done.
> ok so far
> instantiating t ...
> registering ID locally L
> done.
> ok so far
> instantiating t ...
> registering ID locally G
> done.
> ok so far
> instantiating t ...
> registering ID locally L
> done.
> ok so far
> instantiating t ...
> registering ID locally U
> done.
> ok so far
> instantiating t ...
> registering ID locally A
> done.
> ***** InstallMgr::installModule
> ***** modName: Robinson
> ok so far
> instantiating t ...
> registering ID locally B
> done.
> ok so far
> instantiating t ...
> registering ID locally G
> done.
> ok so far
> instantiating t ...
> registering ID locally B
> done.
> ok so far
> instantiating t ...
> registering ID locally G
> done.
> ok so far
> instantiating t ...
> registering ID locally C
> done.
> ok so far
> instantiating t ...
> registering ID locally H
> done.
> ok so far
> instantiating t ...
> registering ID locally C
> done.
> ok so far
> instantiating t ...
> registering ID locally S
> done.
> ok so far
> instantiating t ...
> registering ID locally L
> done.
> ok so far
> instantiating t ...
> registering ID locally C
> done.
> ok so far
> instantiating t ...
> registering ID locally L
> done.
> ok so far
> instantiating t ...
> registering ID locally G
> done.
> ok so far
> instantiating t ...
> registering ID locally L
> done.
> ok so far
> instantiating t ...
> registering ID locally U
> done.
> ok so far
> instantiating t ...
> registering ID locally A
> done.
> ***** mgr.prefixPath: /home/karl//.sword/InstallMgr/20081216195754/
> ***** destMgr->prefixPath: /usr/share/sword/
> ***** absolutePath: /home/karl/.sword/modules/lexdict/rawld/robinson
> ***** relativePath: modules/lexdict/rawld/robinson
>
>                -=+* WARNING *+=- -=+* WARNING *+=-
> Although Install Manager provides a convenient way for installing
> and upgrading SWORD components, it also uses a systematic method
> for accessing sites which gives packet sniffers a target to lock
> into for singling out users.
>
> IF YOU LIVE IN A PERSECUTED COUNTRY AND DO NOT WISH TO RISK DETECTION,
> YOU SHOULD *NOT* USE INSTALL MANAGER'S REMOTE SOURCE FEATURES.
>
> Also, Remote Sources other than CrossWire may contain less than
> quality modules, modules with unorthodox content, or even modules
> which are not legitimately distributable.  Many repositories
> contain wonderfully useful content.  These repositories simply
> are not reviewed or maintained by CrossWire and CrossWire
> cannot be held responsible for their content. CAVEAT EMPTOR.
>
> If you understand this and are willing to enable remote source features
> then type yes at the prompt
> enable? [no] yes
> FTPCopy: getting dir ftp://ftp.crosswire.org/pub/sword/raw/modules/lexdict/rawld/robinson/
> ***** using CURLOPT_FTP_USE_EPRT
> ***** About to perform curl easy action.
> ***** destPath:
> ***** sourceURL: ftp://ftp.crosswire.org/pub/sword/raw/modules/lexdict/rawld/robinson/
> CURLFTPTransport: TEXT: About to connect() to ftp.crosswire.org port 21 (#0)
> CURLFTPTransport: TEXT:   Trying 64.140.154.250...
> CURLFTPTransport: TEXT: connected
> CURLFTPTransport: TEXT: Connected to ftp.crosswire.org (64.140.154.250) port 21 (#0)
> CURLFTPTransport: <= Recv header: 220 (vsFTPd 2.0.7)
> CURLFTPTransport: => Send header: USER ftp
> CURLFTPTransport: <= Recv header: 331 Please specify the password.
> CURLFTPTransport: => Send header: PASS installmgr at user.com
> CURLFTPTransport: <= Recv header: 230 Login successful.
> CURLFTPTransport: => Send header: PWD
> CURLFTPTransport: <= Recv header: 257 "/"
> CURLFTPTransport: TEXT: Entry path is '/'
> CURLFTPTransport: => Send header: CWD pub
> CURLFTPTransport: <= Recv header: 250 Directory successfully changed.
> CURLFTPTransport: => Send header: CWD sword
> CURLFTPTransport: <= Recv header: 250 Directory successfully changed.
> CURLFTPTransport: => Send header: CWD raw
> CURLFTPTransport: <= Recv header: 250 Directory successfully changed.
> CURLFTPTransport: => Send header: CWD modules
> CURLFTPTransport: <= Recv header: 250 Directory successfully changed.
> CURLFTPTransport: => Send header: CWD lexdict
> CURLFTPTransport: <= Recv header: 250 Directory successfully changed.
> CURLFTPTransport: => Send header: CWD rawld
> CURLFTPTransport: <= Recv header: 250 Directory successfully changed.
> CURLFTPTransport: => Send header: CWD robinson
> CURLFTPTransport: <= Recv header: 250 Directory successfully changed.
> CURLFTPTransport: => Send header: EPSV
> CURLFTPTransport: TEXT: Connect data stream passively
> CURLFTPTransport: <= Recv header: 229 Entering Extended Passive Mode (|||5237|)
> CURLFTPTransport: TEXT:   Trying 64.140.154.250...
> CURLFTPTransport: TEXT: connected
> CURLFTPTransport: TEXT: Connecting to 64.140.154.250 (64.140.154.250) port 5237
> CURLFTPTransport: => Send header: TYPE A
> CURLFTPTransport: <= Recv header: 200 Switching to ASCII mode.
> CURLFTPTransport: => Send header: LIST
> CURLFTPTransport: <= Recv header: 150 Here comes the directory listing.
> CURLFTPTransport: TEXT: Maxdownload = -1
> CURLFTPTransport: TEXT: Remembering we are in dir "pub/sword/raw/modules/lexdict/rawld/robinson/"
> CURLFTPTransport: <= Recv header: 226 Directory send OK.
> CURLFTPTransport: TEXT: Connection #0 to host ftp.crosswire.org left intact
> ***** Finished performing curl easy action.
> FTPURLGetDir: parsing item -rw-rw-r--    1 530      530        137834 Jul 25  2004 robinson.dat(69)
> FTPURLGetDir: got item robinson.dat
> FTPURLGetDir: parsing item -rw-rw-r--    1 530      530          6600 Jul 25  2004 robinson.idx(69)
> FTPURLGetDir: got item robinson.idx
> ***** using CURLOPT_FTP_USE_EPRT
> ***** About to perform curl easy action.
> ***** destPath: /home/karl/.sword/modules/lexdict/rawld/robinson/robinson.dat
> ***** sourceURL: ftp://ftp.crosswire.org/pub/sword/raw/modules/lexdict/rawld/robinson/robinson.dat
> CURLFTPTransport: TEXT: Re-using existing connection! (#0) with host ftp.crosswire.org
> CURLFTPTransport: TEXT: Connected to ftp.crosswire.org (64.140.154.250) port 21 (#0)
> CURLFTPTransport: TEXT: Request has same path as previous transfer
> CURLFTPTransport: => Send header: EPSV
> CURLFTPTransport: TEXT: Connect data stream passively
> CURLFTPTransport: <= Recv header: 229 Entering Extended Passive Mode (|||60402|)
> CURLFTPTransport: TEXT:   Trying 64.140.154.250...
> CURLFTPTransport: TEXT: connected
> CURLFTPTransport: TEXT: Connecting to 64.140.154.250 (64.140.154.250) port 60402
> CURLFTPTransport: => Send header: TYPE I
> CURLFTPTransport: <= Recv header: 200 Switching to Binary mode.
> CURLFTPTransport: => Send header: SIZE robinson.dat
> CURLFTPTransport: <= Recv header: 213 137834
> CURLFTPTransport: => Send header: RETR robinson.dat
> CURLFTPTransport: <= Recv header: 150 Opening BINARY mode data connection for robinson.dat (137834 bytes).
> CURLFTPTransport: TEXT: Maxdownload = -1
> CURLFTPTransport: TEXT: Getting file with size: 137834
> CURLFTPTransport: TEXT: Remembering we are in dir "pub/sword/raw/modules/lexdict/rawld/robinson/"
> CURLFTPTransport: <= Recv header: 226 File send OK.
> CURLFTPTransport: TEXT: Connection #0 to host ftp.crosswire.org left intact
> ***** Finished performing curl easy action.
> ***** using CURLOPT_FTP_USE_EPRT
> ***** About to perform curl easy action.
> ***** destPath: /home/karl/.sword/modules/lexdict/rawld/robinson/robinson.idx
> ***** sourceURL: ftp://ftp.crosswire.org/pub/sword/raw/modules/lexdict/rawld/robinson/robinson.idx
> CURLFTPTransport: TEXT: Re-using existing connection! (#0) with host ftp.crosswire.org
> CURLFTPTransport: TEXT: Connected to ftp.crosswire.org (64.140.154.250) port 21 (#0)
> CURLFTPTransport: TEXT: Request has same path as previous transfer
> CURLFTPTransport: => Send header: EPSV
> CURLFTPTransport: TEXT: Connect data stream passively
> CURLFTPTransport: <= Recv header: 229 Entering Extended Passive Mode (|||41315|)
> CURLFTPTransport: TEXT:   Trying 64.140.154.250...
> CURLFTPTransport: TEXT: connected
> CURLFTPTransport: TEXT: Connecting to 64.140.154.250 (64.140.154.250) port 41315
> CURLFTPTransport: => Send header: SIZE robinson.idx
> CURLFTPTransport: <= Recv header: 213 6600
> CURLFTPTransport: => Send header: RETR robinson.idx
> CURLFTPTransport: <= Recv header: 150 Opening BINARY mode data connection for robinson.idx (6600 bytes).
> CURLFTPTransport: TEXT: Maxdownload = -1
> CURLFTPTransport: TEXT: Getting file with size: 6600
> CURLFTPTransport: TEXT: Remembering we are in dir "pub/sword/raw/modules/lexdict/rawld/robinson/"
> CURLFTPTransport: <= Recv header: 226 File send OK.
> CURLFTPTransport: TEXT: Connection #0 to host ftp.crosswire.org left intact
> ***** Finished performing curl easy action.
> CURLFTPTransport: => Send header: QUIT
> CURLFTPTransport: <= Recv header: 221 Goodbye.
> CURLFTPTransport: TEXT: Closing connection #0
> Installed module: [Robinson]
> $ ls
> ./         amtract/      glossaries/   hitchcock/   klvklingon/  saoa/    zh/
> ../        cbc/          greekhebrew/  kjvd/        losung/      tcr/
> 2babdict/  devotionals/  hebrewgreek/  klvenglish/  packard/     torrey/
> $ grep ^DataP ~/.sword/mods.d/robinson.conf
> DataPath=./modules/lexdict/rawld/robinson/robinson
> $ grep Cross ~/.sword/InstallMgr/InstallMgr.conf
> FTPSource=CrossWire|ftp.crosswire.org|/pub/sword/raw|||20081216195754
> FTPSource=CrossWire Beta|ftp.crosswire.org|/pub/sword/betaraw|||20090224125400
> $ cat ~/.sword/InstallMgr/20081216195754/mods.d/robinson.conf
> [Robinson]
> DataPath=./modules/lexdict/rawld/robinson/robinson
> ModDrv=RawLD
> SourceType=ThML
> Lang=en
> Version=1.2
> History_1.2=Modified about to current web location
> History_1.1=Added feature GreekParse
> MinimumVersion=1.5.3
> Feature=GreekParse
> SwordVersionDate=2007-04-27
> Description=Robinson's Morphological Analysis Codes
> About=Generated in accordance with the key at http://koti.24.fi/jusalak/GreekNT/PARSINGS.TXT.\par Created by the CrossWire Bible Society in 2002. Use and distribute freely in any manner you wish, but please include this notice.
> TextSource=CrossWire Bible Society
> LCSH=Bible--Language, style--Data processing.
> DistributionLicense=Public Domain
> $ cat ~/.sword/mods.d/robinson.conf
> [Robinson]
> DataPath=./modules/lexdict/rawld/robinson/robinson
> ModDrv=RawLD
> SourceType=ThML
> Lang=en
> Version=1.2
> History_1.2=Modified about to current web location
> History_1.1=Added feature GreekParse
> MinimumVersion=1.5.3
> Feature=GreekParse
> SwordVersionDate=2007-04-27
> Description=Robinson's Morphological Analysis Codes
> About=Generated in accordance with the key at http://koti.24.fi/jusalak/GreekNT/PARSINGS.TXT.\par Created by the CrossWire Bible Society in 2002. Use and distribute freely in any manner you wish, but please include this notice.
> TextSource=CrossWire Bible Society
> LCSH=Bible--Language, style--Data processing.
> DistributionLicense=Public Domain
> --Language, style--Data processing.
> DistributionLicense=Public Domain
> $ diff -u ~/.sword/mods.d/robinson.conf ~/.sword/InstallMgr/20081216195754/mods.d/robinson.conf
> --- /home/karl/.sword/mods.d/robinson.conf      2009-07-17 08:20:36.000000000 -0400
> +++ /home/karl/.sword/InstallMgr/20081216195754/mods.d/robinson.conf    2008-07-21 19:12:00.000000000 -0400
> @@ -14,5 +14,3 @@
>  TextSource=CrossWire Bible Society
>  LCSH=Bible--Language, style--Data processing.
>  DistributionLicense=Public Domain
> ---Language, style--Data processing.
> -DistributionLicense=Public Domain
> $ ls
> ./         amtract/      glossaries/   hitchcock/   klvklingon/  saoa/    zh/
> ../        cbc/          greekhebrew/  kjvd/        losung/      tcr/
> 2babdict/  devotionals/  hebrewgreek/  klvenglish/  packard/     torrey/
> $ exit
> Script done on Fri Jul 17 08:28:39 2009
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>



More information about the sword-devel mailing list