* [BUG] Devices with spaces in names
@ 2024-09-27 16:15 Nicolas Graves
2024-09-28 10:14 ` Pengji Zhang
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Graves @ 2024-09-27 16:15 UTC (permalink / raw)
To: notmuch
Hi!
Thanks for notmuch.
I have a device which for some reason have a space in its name. It's the
default installation, I surely don't remember setting such a name
myself.
This creates some issues with notmuch, which seems to inject this
variable without quoting it for some mv and rm commands (in french) :
```
rm: impossible de supprimer '/home/graves/.local/var/lib/mail/accounts/neleves/sent/cur/1657705346.2877_20663.Precision': Aucun fichier ou dossier de ce nom
rm: impossible de supprimer '3571,U=449:2,S': Aucun fichier ou dossier de ce nom
```
My device name is "Precision 3571" in this case. I can reproduce the bug
for each invocation of "notmuch new".
Thanks in advance,
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Devices with spaces in names
2024-09-27 16:15 [BUG] Devices with spaces in names Nicolas Graves
@ 2024-09-28 10:14 ` Pengji Zhang
2024-09-28 18:49 ` Nicolas Graves
0 siblings, 1 reply; 4+ messages in thread
From: Pengji Zhang @ 2024-09-28 10:14 UTC (permalink / raw)
To: Nicolas Graves, notmuch
Hi!
Nicolas Graves <ngraves@ngraves.fr> writes:
> Hi!
>
> Thanks for notmuch.
>
> I have a device which for some reason have a space in its name.
> It's the default installation, I surely don't remember setting
> such a name myself.
>
> This creates some issues with notmuch, which seems to inject
> this variable without quoting it for some mv and rm commands (in
> french):
>
> ```
> rm: impossible de supprimer
> '/home/graves/.local/var/lib/mail/accounts/neleves/sent/cur/1657705346.2877_20663.Precision':
> Aucun fichier ou dossier de ce nom
> rm: impossible de supprimer '3571,U=449:2,S': Aucun fichier ou
> dossier de ce nom
> ```
>
> My device name is "Precision 3571" in this case. I can reproduce
> the bug for each invocation of "notmuch new".
I cannot reproduce this in my local environment. Could it be
something in your pre-new/post-new hooks?
If not, then could you share a recipe to reproduce this issue?
Thanks!
Pengji
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Devices with spaces in names
2024-09-28 10:14 ` Pengji Zhang
@ 2024-09-28 18:49 ` Nicolas Graves
2024-09-28 20:30 ` Nicolas Graves
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Graves @ 2024-09-28 18:49 UTC (permalink / raw)
To: Pengji Zhang, notmuch
On 2024-09-28 18:14, Pengji Zhang wrote:
> Hi!
>
> Nicolas Graves <ngraves@ngraves.fr> writes:
>
>> Hi!
>>
>> Thanks for notmuch.
>>
>> I have a device which for some reason have a space in its name.
>> It's the default installation, I surely don't remember setting
>> such a name myself.
>>
>> This creates some issues with notmuch, which seems to inject
>> this variable without quoting it for some mv and rm commands (in
>> french):
>>
>> ```
>> rm: impossible de supprimer
>> '/home/graves/.local/var/lib/mail/accounts/neleves/sent/cur/1657705346.2877_20663.Precision':
>> Aucun fichier ou dossier de ce nom
>> rm: impossible de supprimer '3571,U=449:2,S': Aucun fichier ou
>> dossier de ce nom
>> ```
>>
>> My device name is "Precision 3571" in this case. I can reproduce
>> the bug for each invocation of "notmuch new".
>
> I cannot reproduce this in my local environment. Could it be
> something in your pre-new/post-new hooks?
Oh thanks, it seems indeed that it might come from there. I will post an
update if that was indeed the issue.
Thanks again.
>
> If not, then could you share a recipe to reproduce this issue?
>
> Thanks!
>
> Pengji
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Devices with spaces in names
2024-09-28 18:49 ` Nicolas Graves
@ 2024-09-28 20:30 ` Nicolas Graves
0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Graves @ 2024-09-28 20:30 UTC (permalink / raw)
To: Pengji Zhang, notmuch
On 2024-09-28 20:49, Nicolas Graves wrote:
>> I cannot reproduce this in my local environment. Could it be
>> something in your pre-new/post-new hooks?
>
> Oh thanks, it seems indeed that it might come from there. I will post an
> update if that was indeed the issue.
>
> Thanks again.
Indeed it was. Here is the fix in my case:
https://lists.sr.ht/~abcdw/rde-devel/patches/55234
This bug can be closed.
Thanks again!
--
Best regards,
Nicolas Graves
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-29 2:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 16:15 [BUG] Devices with spaces in names Nicolas Graves
2024-09-28 10:14 ` Pengji Zhang
2024-09-28 18:49 ` Nicolas Graves
2024-09-28 20:30 ` Nicolas Graves
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).