[sword-devel] failing to install LXX with installmgr
pierre amadio
amadio.pierre at gmail.com
Sun Jan 29 16:23:28 EST 2023
Works with the following in ~/.sword/InstallMgr/InstallMgr.conf
TimeoutMillis=60000
Thanks !
On Sun, 29 Jan 2023 at 22:18, Troy A. Griffitts <scribe at crosswire.org> wrote:
>
> Hi Pierre,
>
> Yes, you are probably running into a bug we had in libsword a while ago which defaults the download timeout to 10 seconds. I am not at my computer now so can't give the details but the setting is under your ~/.sword/InstallMgr/InstallMgr.conf or something similar. The timeout setting name should be obvious. I can be more specific soon if you don't find it or others don't help.
>
> Hope you find it. Sorry for the bug.
>
> On January 29, 2023 1:34:22 PM MST, pierre amadio <amadio.pierre at gmail.com> wrote:
>>
>> Hi there.
>>
>> My laptop died, so I installed an another one, running debian bullseye
>> with packaged libsword.
>>
>> I fail to install the LXX module with installmgr as a regular user.
>> But I can install other modules all right.
>>
>> Some details:
>> pierre at x260:~$ env |grep SWORD
>> SWORD_PATH=/home/pierre/localsword
>>
>> excerpt from installmgr -ri CrossWire LXX
>> URLFTPTransport report progress: totalSize: 8043829; xfered: 4061640
>> CURLFTPTransport: TEXT: Operation timed out after 10000 milliseconds
>> with 4061640 out of 8043829 bytes received
>> CURLFTPTransport report progress: totalSize: 8043829; xfered: 4061640
>> CURLFTPTransport: TEXT: Closing connection 0
>> ***** Finished performing curl easy action.
>> copyDirectory: failed to get file
>> ftp://ftp.crosswire.org/pub/sword/raw/modules/texts/ztext/lxx/ot.bzz
>> Error installing module: [LXX] (write permissions?)
>>
>>
>> Excerpt of a strace:
>> openat(AT_FDCWD,
>> "/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/",
>> O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 8
>> fstat(8, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
>> lseek(8, 0, SEEK_SET) = 0
>> getdents64(8, 0x55f41d9ae140 /* 5 entries */, 32768) = 144
>> stat("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/ot.bzz",
>> {st_mode=S_IFREG|0644, st_size=4050056, ...}) = 0
>> stat("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/ot.bzs",
>> {st_mode=S_IFREG|0644, st_size=17796, ...}) = 0
>> stat("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/ot.bzv",
>> {st_mode=S_IFREG|0644, st_size=329410, ...}) = 0
>> getdents64(8, 0x55f41d9ae140 /* 0 entries */, 32768) = 0
>> close(8) = 0
>> unlink("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/ot.bzz")
>> = 0
>> unlink("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/ot.bzs")
>> = 0
>> unlink("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/ot.bzv")
>> = 0
>> unlink("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/")
>> = -1 EISDIR (Is a directory)
>> rmdir("/home/pierre//.sword/InstallMgr/20081216195754/modules/texts/ztext/lxx/")
>> = 0
>> write(1, "\n", 1) = 1
>> write(1, "Error installing module: [LXX] ("..., 52) = 52
>>
>>
>> I can wget ftp://ftp.crosswire.org/pub/sword/raw/modules/texts/ztext/lxx/ot.bzz
>>
>> Any idea what could be the problem ?
>> ________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list