Re: [sword-devel] failing to install LXX with installmgr
Hi, Hopefully adding something like the following to your ~/.sword/sword.conf might help: [General] TimeoutMillis=1000 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 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 1 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@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] failing to install LXX with installmgr
Hi Pierre, Look at your default configuration file: ~/.sword/InstallMgr/InstallMgr.conf; Search for: TimeoutMillis=1. You can up this number to prevent the download from timing out, -- Dom "Troy A. Griffitts" writes: 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 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 1 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@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page -- Dom ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] failing to install LXX with installmgr
Works with the following in ~/.sword/InstallMgr/InstallMgr.conf TimeoutMillis=6 Thanks ! On Sun, 29 Jan 2023 at 22: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 > 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 1 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@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@crosswire.org > http://crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] failing to install LXX with installmgr
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 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 1 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@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@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] failing to install LXX with installmgr
I do not manage the download in c++, i only have the installmgr tool. Is there a way to set this option with the command line ? On Sun, 29 Jan 2023 at 21:54, Hermes Huguet wrote: > > Try > installmgr->setTimeoutMillis(6); > ___ > sword-devel mailing list: sword-devel@crosswire.org > http://crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
Re: [sword-devel] failing to install LXX with installmgr
Try installmgr->setTimeoutMillis(6); ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page
[sword-devel] failing to install LXX with installmgr
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 1 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@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page