Re: failing to install LXX with installmgr

Jaak Ristioja <jaak-89mTbI93R4uuvFJfX82//[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <[email protected]>
Hi,

Hopefully adding something like the following to your 
~/.sword/sword.conf might help:

   [General]
   TimeoutMillis=10000000

Besides myself also having experienced this issue, we've had at least 
two BibleTime users report the same issue. So if you're interested in 
more details, please see the related issue reports:

   https://github.com/bibletime/bibletime/issues/399
   https://github.com/bibletime/bibletime/issues/352

Best regards,
J


On 29.01.23 23:18, Troy A. Griffitts 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 <[email protected]> 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@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: [email protected]
>> http://crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> 
> 
> _______________________________________________
> sword-devel mailing list: [email protected]
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

_______________________________________________
sword-devel mailing list: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.