Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus complains about no such directory at the first time
@ 2014-02-11  6:29 zwz
  2014-03-05 17:38 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: zwz @ 2014-02-11  6:29 UTC (permalink / raw)
  To: ding

I use gnus for news and gmail.
For some reason I deleted the ~/News and ~/Mails directories.
After that,
when I start gnus again, it complains in *Message* that
-------------
gnus-cache-update-file-total-fetched-for: Opening directory: no such
file or directory,
/home/zwz/News/cache/nntp+news.gmane.org:gwene.org.emacsen.planet
...
-------------
It complains for each group, and it stops fetching news each time, which is very
annoying.

Is it possible to config gnus to create the directory when necessary?

I am using the gnus coming along with Emacs 24.3.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus complains about no such directory at the first time
  2014-02-11  6:29 Gnus complains about no such directory at the first time zwz
@ 2014-03-05 17:38 ` Lars Ingebrigtsen
  2014-03-07 11:11   ` zwz
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2014-03-05 17:38 UTC (permalink / raw)
  To: zwz; +Cc: ding

zwz <zhangweize@gmail.com> writes:

> I use gnus for news and gmail.
> For some reason I deleted the ~/News and ~/Mails directories.
> After that,
> when I start gnus again, it complains in *Message* that
> -------------
> gnus-cache-update-file-total-fetched-for: Opening directory: no such
> file or directory,
> /home/zwz/News/cache/nntp+news.gmane.org:gwene.org.emacsen.planet
> ...
> -------------
> It complains for each group, and it stops fetching news each time, which is very
> annoying.

`(setq debug-on-error t)', repeat the bug and post the resulting
backtrace.

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus complains about no such directory at the first time
  2014-03-05 17:38 ` Lars Ingebrigtsen
@ 2014-03-07 11:11   ` zwz
  2014-03-07 15:01     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: zwz @ 2014-03-07 11:11 UTC (permalink / raw)
  To: ding

Lars Ingebrigtsen <larsi@gnus.org> writes:

> zwz <zhangweize@gmail.com> writes:
>
>> I use gnus for news and gmail.
>> For some reason I deleted the ~/News and ~/Mails directories.
>> After that,
>> when I start gnus again, it complains in *Message* that
>> -------------
>> gnus-cache-update-file-total-fetched-for: Opening directory: no such
>> file or directory,
>> /home/zwz/News/cache/nntp+news.gmane.org:gwene.org.emacsen.planet
>> ...
>> -------------
>> It complains for each group, and it stops fetching news each time, which is very
>> annoying.
>
> `(setq debug-on-error t)', repeat the bug and post the resulting
> backtrace.

Here is the resulting backtrace:
------------
Debugger entered--Lisp error: (file-error "Opening directory" "no such file or directory" "/home/zwz/News/agent/nntp/news.gmane.org/gmane/comp/handhelds/phonegap/")
  directory-files-and-attributes("/home/zwz/News/agent/nntp/news.gmane.org/gmane/comp/handhelds/phonegap/" nil "^-?[0-9]+$" t)
  gnus-agent-update-files-total-fetched-for("nntp+news.gmane.org:gmane.comp.handhelds.phonegap" nil nil "/home/zwz/News/agent/nntp/news.gmane.org/gmane/comp/handhelds/phonegap/")
  gnus-agent-total-fetched-for("nntp+news.gmane.org:gmane.comp.handhelds.phonegap")
  gnus-total-fetched-for("nntp+news.gmane.org:gmane.comp.handhelds.phonegap")
  (format " (%s) %s\n" (gnus-total-fetched-for gnus-tmp-group) gnus-tmp-moderated-string)
  (insert (format " (%s) %s\n" (gnus-total-fetched-for gnus-tmp-group) gnus-tmp-moderated-string))
  (progn (insert (format "%c%c%c%s%5s:%c" gnus-tmp-marked-mark gnus-tmp-subscribed gnus-tmp-process-marked gnus-group-indentation gnus-tmp-number-of-unread gnus-tmp-summary-live)) (gnus-put-text-property (point) (progn (insert gnus-tmp-qualified-group) (point)) gnus-mouse-face-prop gnus-mouse-face) (insert (format " (%s) %s\n" (gnus-total-fetched-for gnus-tmp-group) gnus-tmp-moderated-string)))
  eval((progn (insert (format "%c%c%c%s%5s:%c" gnus-tmp-marked-mark gnus-tmp-subscribed gnus-tmp-process-marked gnus-group-indentation gnus-tmp-number-of-unread gnus-tmp-summary-live)) (gnus-put-text-property (point) (progn (insert gnus-tmp-qualified-group) (point)) gnus-mouse-face-prop gnus-mouse-face) (insert (format " (%s) %s\n" (gnus-total-fetched-for gnus-tmp-group) gnus-tmp-moderated-string))))
  gnus-group-insert-group-line("nntp+news.gmane.org:gmane.comp.handhelds.phonegap" 3 ((seen (31742 . 32627) (34610 . 34718) (34980 . 35447) (35813 . 35815) (35971 . 36523) (37423 . 38117) (38825 . 39555) (39853 . 40052) (40553 . 40766) (41012 . 41111) (42027 . 42408) (42724 . 42923) (44830 . 44929) (45336 . 45513) (46914 . 47113) (47279 . 47378) (47867 . 47966) (50447 . 50657) (51186 . 51594) 51887 (53820 . 53869) (59128 . 59288) (59541 . 60048)) (download 35203 35221 35311 35351)) 31 "nntp:news.gmane.org")
  gnus-group-prepare-flat(5 nil nil)
  gnus-group-list-groups(nil)
  byte-code("\b\204




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus complains about no such directory at the first time
  2014-03-07 11:11   ` zwz
@ 2014-03-07 15:01     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2014-03-07 15:01 UTC (permalink / raw)
  To: zwz; +Cc: ding

zwz <zhangweize@gmail.com> writes:

>   gnus-agent-update-files-total-fetched-for("nntp+news.gmane.org:gmane.comp.handhelds.phonegap" nil nil "/home/zwz/News/agent/nntp/news.gmane.org/gmane/comp/handhelds/phonegap/")
>   gnus-agent-total-fetched-for("nntp+news.gmane.org:gmane.comp.handhelds.phonegap")

Ok; fixed in bzr Emacs (and soon in Ma Gnus).

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-07 15:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-11  6:29 Gnus complains about no such directory at the first time zwz
2014-03-05 17:38 ` Lars Ingebrigtsen
2014-03-07 11:11   ` zwz
2014-03-07 15:01     ` Lars Ingebrigtsen

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 NNTP newsgroup(s).