* Unable to use Aspell installed via Guix
@ 2017-05-06 13:49 Niall Dooley
2017-05-06 19:22 ` Alex Kost
0 siblings, 1 reply; 9+ messages in thread
From: Niall Dooley @ 2017-05-06 13:49 UTC (permalink / raw)
To: help-guix
I have configured emacs to use Aspell falling back to Hunspell for spell
checking. I installed both Aspell and Hunspell via Guix though Aspell was
already on my system (a foreign distro - Trisquel 7). The messages below are
those reported in the *Messages* buffer when my config tries to enable
Flyspell.
Configuring package ispell...done
Configuring package flyspell...done
Starting new Ispell process /home/doolio/.guix-profile/bin/aspell with
en_GB dictionary...
Error enabling mode:
(Error: The file "/home/doolio/.guix-profile/lib/aspell/en_GB" can not
be opened for reading.)
Starting new Ispell process /home/doolio/.guix-profile/bin/aspell with
en_GB dictionary...
Error enabling Flyspell mode:
(Error: The file "/home/doolio/.guix-profile/lib/aspell/en_GB" can not
be opened for reading.)
Not sure why the error message is repeated. In any case it seems unable to
read from the following directory:
$HOME/.guix-profile/lib/aspell/
However, no such directory exists. Should this have been created during the
Guix install?
Instead, the following directory (or rather simlink) exists:
$HOME/.guix-profile/lib/aspell-0.60
pointing to the equivalent directory in the gnu store. But in any case no
`en_GB' dictionary file exists in that location.
I've set the environment variable ASPELL_CONF as follows:
dict-dir $HOME/.guix-profile/lib/aspell
Do I have to explicitly install the Aspell dictionaries? My (ignorant)
reading of the scheme
recipe is that they would be installed along with Aspell.
If I switch to use Hunspell falling back to Aspell I don't have any
issues and I'm able to
successfully use Hunspell.
Thanks for Guix and your time,
Niall
(irc doolio)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to use Aspell installed via Guix
2017-05-06 13:49 Unable to use Aspell installed via Guix Niall Dooley
@ 2017-05-06 19:22 ` Alex Kost
2017-05-06 20:24 ` Niall Dooley
0 siblings, 1 reply; 9+ messages in thread
From: Alex Kost @ 2017-05-06 19:22 UTC (permalink / raw)
To: Niall Dooley; +Cc: help-guix
Niall Dooley (2017-05-06 15:49 +0200) wrote:
[...]
> Do I have to explicitly install the Aspell dictionaries?
Yes, do this (or with any other dict you need):
guix package -i aspell-dict-en
--
Alex
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to use Aspell installed via Guix
2017-05-06 19:22 ` Alex Kost
@ 2017-05-06 20:24 ` Niall Dooley
2017-05-06 20:32 ` Leo Famulari
2017-05-09 8:36 ` Ludovic Courtès
0 siblings, 2 replies; 9+ messages in thread
From: Niall Dooley @ 2017-05-06 20:24 UTC (permalink / raw)
To: Alex Kost; +Cc: help-guix
I tried to install the dict as you advise but it was unsuccessful. See below.
My issue may be related to the other thread I raised about being unable to
upgrade packages. Thanks for your input.
[21:06 doolio@mars ~] > guix package -i aspell-dict-en
The following package will be installed:
aspell-dict-en 2016.11.20-0
/gnu/store/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0
The following derivations will be built:
/gnu/store/g9qgdjdx29km0njjnsbfynnc4s6if046-profile.drv
/gnu/store/wpjssm1mq5yw568gl53vkzg3brlpn7fz-ca-certificate-bundle.drv
/gnu/store/wb92jkdz04x0s7q00dpykx6b49p19nil-gtk-im-modules.drv
/gnu/store/m50w7gsvqffbshppfz6a0np24b3lmih6-fonts-dir.drv
/gnu/store/k5v6ly8x6lbzqx32nkw9698ndzpwg50m-gtk-icon-themes.drv
/gnu/store/k38q4ykbj7dqmp0cimqg7b85dljjbpvy-info-dir.drv
/gnu/store/0avf60c7la7q3wssp1q8w1vsfb4jcr1v-xdg-mime-database.drv
/gnu/store/p4gi1clp3nhaii069rp2f0pvq8qcnd53-manual-database.drv
The following file will be downloaded:
/gnu/store/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0
Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0
(4.1MiB installed)...
guix substitute: error: download from
'https://mirror.hydra.gnu.org/guix/nar/gzip/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0'
failed: 404, "Not Found"
guix package: error: build failed: some substitutes for the outputs of
derivation `/gnu/store/0xq6hspp0xqvxnb7mqlj3phpf3m14k7g-aspell-dict-en-2016.11.20-0.drv'
failed (usually happens due to networking issues); try `--fallback' to
build derivation from source
On 6 May 2017 at 21:22, Alex Kost wrote:
> Niall Dooley (2017-05-06 15:49 +0200) wrote:
>
> [...]
>> Do I have to explicitly install the Aspell dictionaries?
>
> Yes, do this (or with any other dict you need):
>
> guix package -i aspell-dict-en
>
> --
> Alex
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to use Aspell installed via Guix
2017-05-06 20:24 ` Niall Dooley
@ 2017-05-06 20:32 ` Leo Famulari
2017-05-07 11:58 ` Niall Dooley
2017-05-09 8:36 ` Ludovic Courtès
1 sibling, 1 reply; 9+ messages in thread
From: Leo Famulari @ 2017-05-06 20:32 UTC (permalink / raw)
To: Niall Dooley; +Cc: Alex Kost, help-guix
On Sat, May 06, 2017 at 10:24:35PM +0200, Niall Dooley wrote:
> I tried to install the dict as you advise but it was unsuccessful. See below.
> My issue may be related to the other thread I raised about being unable to
> upgrade packages. Thanks for your input.
[...]
> guix substitute: error: download from
> 'https://mirror.hydra.gnu.org/guix/nar/gzip/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0'
> failed: 404, "Not Found"
> guix package: error: build failed: some substitutes for the outputs of
> derivation `/gnu/store/0xq6hspp0xqvxnb7mqlj3phpf3m14k7g-aspell-dict-en-2016.11.20-0.drv'
> failed (usually happens due to networking issues); try `--fallback' to
> build derivation from source
Try adding the --fallback option to the command that failed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to use Aspell installed via Guix
2017-05-06 20:32 ` Leo Famulari
@ 2017-05-07 11:58 ` Niall Dooley
2017-05-07 19:27 ` Leo Famulari
0 siblings, 1 reply; 9+ messages in thread
From: Niall Dooley @ 2017-05-07 11:58 UTC (permalink / raw)
To: Leo Famulari; +Cc: Alex Kost, help-guix
Using the --fallback option was unsuccessful too. See my other thread
related to not being able to upgrade packages. Thanks.
On 6 May 2017 at 22:32, Leo Famulari <leo@famulari.name> wrote:
> On Sat, May 06, 2017 at 10:24:35PM +0200, Niall Dooley wrote:
>> I tried to install the dict as you advise but it was unsuccessful. See below.
>> My issue may be related to the other thread I raised about being unable to
>> upgrade packages. Thanks for your input.
>
> [...]
>
>> guix substitute: error: download from
>> 'https://mirror.hydra.gnu.org/guix/nar/gzip/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0'
>> failed: 404, "Not Found"
>> guix package: error: build failed: some substitutes for the outputs of
>> derivation `/gnu/store/0xq6hspp0xqvxnb7mqlj3phpf3m14k7g-aspell-dict-en-2016.11.20-0.drv'
>> failed (usually happens due to networking issues); try `--fallback' to
>> build derivation from source
>
> Try adding the --fallback option to the command that failed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to use Aspell installed via Guix
2017-05-06 20:24 ` Niall Dooley
2017-05-06 20:32 ` Leo Famulari
@ 2017-05-09 8:36 ` Ludovic Courtès
[not found] ` <CADS3Lq6VYL7gBmqNUEZhGvYFAHgF1fzhUw4Ojhgua8V=h9zi5Q@mail.gmail.com>
1 sibling, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2017-05-09 8:36 UTC (permalink / raw)
To: Niall Dooley; +Cc: Alex Kost, help-guix
Hi Niall,
Niall Dooley <dooleyn@gmail.com> skribis:
> [21:06 doolio@mars ~] > guix package -i aspell-dict-en
> The following package will be installed:
> aspell-dict-en 2016.11.20-0
> /gnu/store/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0
>
> The following derivations will be built:
> /gnu/store/g9qgdjdx29km0njjnsbfynnc4s6if046-profile.drv
> /gnu/store/wpjssm1mq5yw568gl53vkzg3brlpn7fz-ca-certificate-bundle.drv
> /gnu/store/wb92jkdz04x0s7q00dpykx6b49p19nil-gtk-im-modules.drv
> /gnu/store/m50w7gsvqffbshppfz6a0np24b3lmih6-fonts-dir.drv
> /gnu/store/k5v6ly8x6lbzqx32nkw9698ndzpwg50m-gtk-icon-themes.drv
> /gnu/store/k38q4ykbj7dqmp0cimqg7b85dljjbpvy-info-dir.drv
> /gnu/store/0avf60c7la7q3wssp1q8w1vsfb4jcr1v-xdg-mime-database.drv
> /gnu/store/p4gi1clp3nhaii069rp2f0pvq8qcnd53-manual-database.drv
> The following file will be downloaded:
> /gnu/store/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0
> Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0
> (4.1MiB installed)...
> guix substitute: error: download from
> 'https://mirror.hydra.gnu.org/guix/nar/gzip/0krzlail39f8lf58bnm0jwvrr0sb0f8s-aspell-dict-en-2016.11.20-0'
> failed: 404, "Not Found"
> guix package: error: build failed: some substitutes for the outputs of
> derivation `/gnu/store/0xq6hspp0xqvxnb7mqlj3phpf3m14k7g-aspell-dict-en-2016.11.20-0.drv'
> failed (usually happens due to networking issues); try `--fallback' to
> build derivation from source
Apologies for this. The problem was due to the combination of two
issues: a change in how we publish substitutes (see
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26201#96>), and a
misconfiguration of nginx at mirror.hydra.gnu.org, which led it to cache
meta-data (“narinfos”) for too long, in turn leading to the above
discrepancy (the mirror thinks it has aspell-dict-en when in fact all it
has is its meta-data).
I believe the latter is addressed by
<https://git.savannah.gnu.org/cgit/guix/maintenance.git/commit/?id=422a350d6b3e3b5b9f73a417aecf7be41510842c>,
though it could take a few days to “refresh” the cache.
At any rate, please let us know if you still experience 404s like this.
The workaround in the meantime is --fallback.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-05-24 18:53 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-06 13:49 Unable to use Aspell installed via Guix Niall Dooley
2017-05-06 19:22 ` Alex Kost
2017-05-06 20:24 ` Niall Dooley
2017-05-06 20:32 ` Leo Famulari
2017-05-07 11:58 ` Niall Dooley
2017-05-07 19:27 ` Leo Famulari
2017-05-09 8:36 ` Ludovic Courtès
[not found] ` <CADS3Lq6VYL7gBmqNUEZhGvYFAHgF1fzhUw4Ojhgua8V=h9zi5Q@mail.gmail.com>
2017-05-15 9:54 ` Ludovic Courtès
2017-05-24 18:52 ` Niall Dooley
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.