GNU bug report logs - #15829
Opening nnfolder server on archive...failed

Previous Next

Package: gnus;

Reported by: sds <at> gnu.org

Date: Thu, 7 Nov 2013 20:31:01 UTC

Severity: normal

Found in version 5.13

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15829 in the body.
You can then email your comments to 15829 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bugs <at> gnus.org:
bug#15829; Package gnus. (Thu, 07 Nov 2013 20:31:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to sds <at> gnu.org:
New bug report received and forwarded. Copy sent to bugs <at> gnus.org. (Thu, 07 Nov 2013 20:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: submit <at> debbugs.gnu.org (The Gnus Bugfixing Girls + Boys)
Subject: Opening nnfolder server on archive...failed
Date: Thu, 07 Nov 2013 15:30:09 -0500
Hi
I get this message on startup:

Warning: Opening nnfolder server on archive...failed: ; Unable to open server nnfolder+archive due to: Creating directory: Operation not supported, /home/sds

this is because on mac the home is in /Users, not /home.
I can, of course, customize nnfolder-directory and nnfolder-active-file,
but this seems wrong as I am not using nnfolder for anything.

Thanks.
Sam'

Gnus v5.13
GNU Emacs 24.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2013-03-13 on bob.porkrind.org
200 news.eternal-september.org InterNetNews NNRP server INN 2.6.0 (20130705 snapshot) ready (posting ok)
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.6.0 (20130705 snapshot)
AUTHINFO USER SASL
HDR
LIST ACTIVE ACTIVE.TIMES COUNTS DISTRIB.PATS DISTRIBUTIONS HEADERS MODERATORS MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS
OVER
POST
READER
SASL DIGEST-MD5 CRAM-MD5 GSSAPI LOGIN PLAIN NTLM
STARTTLS
.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://americancensorship.org http://ffii.org
http://think-israel.org http://www.PetitionOnline.com/tap12009/
The only thing worse than X Windows: (X Windows) - X




Information forwarded to bugs <at> gnus.org:
bug#15829; Package gnus. (Fri, 31 Jan 2014 01:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 15829 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sam Steingold <sds <at> gnu.org>
Cc: 15829 <at> debbugs.gnu.org
Subject: Re: bug#15829: Opening nnfolder server on archive...failed
Date: Thu, 30 Jan 2014 17:16:17 -0800
Sam Steingold <sds <at> gnu.org> writes:

> Warning: Opening nnfolder server on archive...failed: ; Unable to open
> server nnfolder+archive due to: Creating directory: Operation not
> supported, /home/sds
>
> this is because on mac the home is in /Users, not /home.
> I can, of course, customize nnfolder-directory and nnfolder-active-file,
> but this seems wrong as I am not using nnfolder for anything.

(defvoo nnfolder-directory (expand-file-name message-directory)
  "The name of the nnfolder directory.")

message-directory
=> "~/Mail/"

So ... is ~ expanding to the wrong directory on Mac?

Anyway, could you set `debug-on-error' to t and post the backtrace you
get?  It shouldn't be trying to create any directories on open, I think...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#15829; Package gnus. (Mon, 03 Feb 2014 20:18:02 GMT) Full text and rfc822 format available.

Message #11 received at 15829 <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 15829 <at> debbugs.gnu.org
Subject: Re: bug#15829: Opening nnfolder server on archive...failed
Date: Mon, 03 Feb 2014 15:17:41 -0500
> * Lars Ingebrigtsen <ynefv <at> tahf.bet> [2014-01-30 17:16:17 -0800]:
>
> Sam Steingold <sds <at> gnu.org> writes:
>
>> Warning: Opening nnfolder server on archive...failed: ; Unable to open
>> server nnfolder+archive due to: Creating directory: Operation not
>> supported, /home/sds
>>
>> this is because on mac the home is in /Users, not /home.
>> I can, of course, customize nnfolder-directory and nnfolder-active-file,
>> but this seems wrong as I am not using nnfolder for anything.
>
> (defvoo nnfolder-directory (expand-file-name message-directory)
>   "The name of the nnfolder directory.")

nnfolder-directory
==> "/home/sds/Mail/archive"

message-directory (customized to gnus-directory in .emacs)
==> "/Users/sds/Mail/"

gnus-directory (customized in .emacs)
==> "/Users/sds/Mail/"

(assq 'nnfolder-directory (third (assq 'nnfolder nnoo-definition-alist)))
==> (nnfolder-directory . "/Users/sds/Mail/")

> message-directory
> => "~/Mail/"
>
> So ... is ~ expanding to the wrong directory on Mac?

(expand-file-name "~")
==> "/Users/sds"

> Anyway, could you set `debug-on-error' to t and post the backtrace you
> get?  It shouldn't be trying to create any directories on open, I think...

I always run with debug-on-error==t; however, gnus, apparently, handles
the error.

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://openvotingconsortium.org
http://americancensorship.org http://palestinefacts.org
What was there first: the Compiler or its Source code?




Information forwarded to bugs <at> gnus.org:
bug#15829; Package gnus. (Thu, 06 Feb 2014 02:31:02 GMT) Full text and rfc822 format available.

Message #14 received at 15829 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sam Steingold <sds <at> gnu.org>
Cc: 15829 <at> debbugs.gnu.org
Subject: Re: bug#15829: Opening nnfolder server on archive...failed
Date: Wed, 05 Feb 2014 18:29:34 -0800
Sam Steingold <sds <at> gnu.org> writes:

>> (defvoo nnfolder-directory (expand-file-name message-directory)
>>   "The name of the nnfolder directory.")
>
> nnfolder-directory
> ==> "/home/sds/Mail/archive"
>
> message-directory (customized to gnus-directory in .emacs)
> ==> "/Users/sds/Mail/"
>
> gnus-directory (customized in .emacs)
> ==> "/Users/sds/Mail/"
>
> (assq 'nnfolder-directory (third (assq 'nnfolder nnoo-definition-alist)))
> ==> (nnfolder-directory . "/Users/sds/Mail/")

Hm.  If you list the servers (with `^' in the group buffer), do you get
any nnfolder servers there that contains the offending setting?

>> Anyway, could you set `debug-on-error' to t and post the backtrace you
>> get?  It shouldn't be trying to create any directories on open, I think...
>
> I always run with debug-on-error==t; however, gnus, apparently, handles
> the error.

Uhm, yeah.  And I see from the code what the culprit is pretty easily:

(deffoo nnfolder-open-server (server &optional defs)
  (nnoo-change-server 'nnfolder server defs)
  (nnmail-activate 'nnfolder t)
  (gnus-make-directory nnfolder-directory)

So the question is more why Gnus thinks that it should mess with
nnfolder anyway...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




Information forwarded to bugs <at> gnus.org:
bug#15829; Package gnus. (Thu, 06 Feb 2014 18:55:02 GMT) Full text and rfc822 format available.

Message #17 received at 15829 <at> debbugs.gnu.org (full text, mbox):

From: Sam Steingold <sds <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 15829 <at> debbugs.gnu.org
Subject: Re: bug#15829: Opening nnfolder server on archive...failed
Date: Thu, 06 Feb 2014 13:53:54 -0500
> * Lars Ingebrigtsen <ynefv <at> tahf.bet> [2014-02-05 18:29:34 -0800]:
>
> Sam Steingold <sds <at> gnu.org> writes:
>
>>> (defvoo nnfolder-directory (expand-file-name message-directory)
>>>   "The name of the nnfolder directory.")
>>
>> nnfolder-directory
>> ==> "/home/sds/Mail/archive"
>>
>> message-directory (customized to gnus-directory in .emacs)
>> ==> "/Users/sds/Mail/"
>>
>> gnus-directory (customized in .emacs)
>> ==> "/Users/sds/Mail/"
>>
>> (assq 'nnfolder-directory (third (assq 'nnfolder nnoo-definition-alist)))
>> ==> (nnfolder-directory . "/Users/sds/Mail/")
>
> Hm.  If you list the servers (with `^' in the group buffer), do you get
> any nnfolder servers there that contains the offending setting?

yes,

     {nnfolder:archive} (denied)

when I hit 'e', I get:

(nnfolder "archive"
          (nnfolder-directory "/home/sds/Mail/archive")
          (nnfolder-active-file "/home/sds/Mail/archive/active")
          (nnfolder-get-new-mail nil)
          (nnfolder-inhibit-expiry t))

this is coming from .newsrc.eld which I copied over when I was forced to
migrate from linux to macosx.
I have no idea how

(setq gnus-server-alist '(("archive" nnfolder "archive" (nnfolder-directory "/home/sds/Mail/archive") (nnfolder-active-file "/home/sds/Mail/archive/active") (nnfolder-get-new-mail nil) (nnfolder-inhibit-expiry t))))

ended up in newsrc.eld.

I have this in .emacs:

(custom-set-variables
 '(nnfolder-directory (expand-file-name "archive" gnus-directory))
 '(nnfolder-active-file (expand-file-name "active" nnfolder-directory)))

(I think I added them to work around the error)

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1265
http://www.childpsy.net/ http://think-israel.org http://truepeace.org
http://www.memritv.org http://americancensorship.org http://memri.org
Money does not "play a role", it writes the scenario.




bug closed, send any further explanations to 15829 <at> debbugs.gnu.org and sds <at> gnu.org Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 07 Feb 2014 00:10:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 07 Mar 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.