Gnus development mailing list
 help / color / mirror / Atom feed
* No 'lib' directory under agent
@ 1998-12-31  4:08 Harry Putnam
  1998-12-31 14:49 ` Simon Josefsson
  0 siblings, 1 reply; 2+ messages in thread
From: Harry Putnam @ 1998-12-31  4:08 UTC (permalink / raw)


I've had the experience several times when  setting up a new instance
of gnus, that some directories under ~/News are not generated when
gnus is run as they should be.  Particularly the ~/News/agent/lib
directory is missing.   So any attemp to write to the "categories"
file fails because their is no such file or `lib' directory.

Althougth running 0.66, I've seen this happen in several versions.

No problem to make the directory, but I wonder what might be wrong to
cause this.  
What directorys should show up the first few times gnus is run? 
What files should be in ~/News/agent/?
What should the structure look like when using only default settings?

~/News/"then what?"

Knowing what is supposed to be there might help analyze what is going wrong.


-- 
Harry Putnam <reader@newsguy.com>
Running Redhat Linux 5.1


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

* Re: No 'lib' directory under agent
  1998-12-31  4:08 No 'lib' directory under agent Harry Putnam
@ 1998-12-31 14:49 ` Simon Josefsson
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 1998-12-31 14:49 UTC (permalink / raw)
  Cc: ding

Harry Putnam <reader@newsguy.com> writes:

> Particularly the ~/News/agent/lib directory is missing.

I haven't noticed any other directories missing, this patch made me a
happy gnus agent user. (I've sent it off to bugs@gnus.org.)

1998-12-26 20:31:46  Simon Josefsson  <jas@pdc.kth.se>

        * gnus-agent.el (gnus-agent-write-servers): Make directory.

--- lisp/gnus-agent.el- Sat Dec 26 20:31:28 1998
+++ lisp/gnus-agent.el  Sat Dec 26 20:09:10 1998
@@ -437,6 +437,7 @@

 (defun gnus-agent-write-servers ()
   "Write the alist of covered servers."
+  (gnus-make-directory (nnheader-concat gnus-agent-directory "lib"))
   (with-temp-file (nnheader-concat gnus-agent-directory "lib/servers")
     (prin1 gnus-agent-covered-methods (current-buffer))))



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

end of thread, other threads:[~1998-12-31 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-31  4:08 No 'lib' directory under agent Harry Putnam
1998-12-31 14:49 ` Simon Josefsson

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).