unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Jakub Wilk <jwilk@jwilk.net>
To: submit@bugs.debian.org
Subject: Bug#1021578: notmuch --config='' setup: "g_rename() failed: No such file or directory"
Date: Tue, 11 Oct 2022 10:48:16 +0200	[thread overview]
Message-ID: <20221011084816.qvr7ipxjazxybtjp@jwilk.net> (raw)

Package: notmuch
Version: 0.37-1
Severity: minor

I did this by accident[*]:

    $ notmuch --config='' setup
    Welcome to notmuch!
    [...]
    Your full name [Jakub Wilk]:
    Your primary email address [jwilk@localhost]:
    Additional email address [Press 'Enter' if none]:
    Top-level directory of your email archive [/tmp/tmp.GKlsDiiCm1]:
    Tags to apply to all new messages (separated by spaces) [ unread inbox]:
    Tags to exclude when searching messages (separated by spaces) []:
    Error saving configuration to : Failed to rename file “.IRITT1” to “”: g_rename() failed: No such file or directory

Can we have a more helpful error message?
Maybe:

    "notmuch --config='' setup" does not make sense, you fool.

Or:

    --config='' is not supported for "notmuch setup".


[*] I had no idea what I was doing. What I really wanted was probably 
"notmuch --config='' new".


-- System Information:
Architecture: i386

Versions of packages notmuch depends on:
ii  libnotmuch5     0.37-1
ii  libc6           2.35-3
ii  libglib2.0-0    2.74.0-2
ii  libgmime-3.0-0  3.2.13+dfsg-2
ii  libtalloc2      2.3.4-1
ii  zlib1g          1:1.2.11.dfsg-4.1

-- 
Jakub Wilk
\r

                 reply	other threads:[~2022-10-11 11:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221011084816.qvr7ipxjazxybtjp@jwilk.net \
    --to=jwilk@jwilk.net \
    --cc=1021578@bugs.debian.org \
    --cc=submit@bugs.debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).