Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@justresearch.com>
Subject: Huh?  "Trying to require a method that doesn't exist"?
Date: 23 Dec 1998 15:50:08 -0500	[thread overview]
Message-ID: <vxku2ymshvj.fsf@beaver.jprc.com> (raw)

I've been tasked with trying to set up a (somewhat) generic profile
for new Gnus users, specifically to make a little pre-defined sense of
mail groups' setup.

So I've created a dummy account in which I've placed my own .emacs and
.gnus.el, and stripped the deeper weirdnesses out of them.  I've got
it down to something that's comparatively simple.  M-x gnus RET works
fine, and Gnus is correctly dropping mail from me in "personal.jprc"
without problem.

However, when I start up with M-x gnus-no-server RET, confusion reigns:

Signaling: (error "Trying to require a method that doesn't exist")
  signal(error ("Trying to require a method that doesn't exist"))
  cerror("Trying to require a method that doesn't exist")
  apply(cerror "Trying to require a method that doesn't exist")
  error("Trying to require a method that doesn't exist")
  gnus-server-opened((nil ""))
  gnus-activate-group("nnml:personal.jprc" scan)
  gnus-get-unread-articles(2)
  gnus-setup-news(nil 2 t)
  byte-code("[80 chars removed --kk]" [dont-connect did-connect
	gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file
	gnus-startup-file gnus-current-startup-file gnus-slave
	gnus-use-dribble-file gnus-dribble-read-file gnus-use-grouplens
	bbb-login add-hook gnus-summary-mode-hook gnus-grouplens-mode
	gnus-setup-news nil level gnus-setup-news-hook gnus-start-draft-setup
	gnus-group-list-groups gnus-group-first-unread-group
	gnus-configure-windows group gnus-group-set-mode-line
	gnus-started-hook] 4)
  gnus-1(2 t nil)
  gnus(2 t nil)
  gnus-no-server-1(nil nil)
  gnus-no-server(nil)
  call-interactively(gnus-no-server)

After fiddling with edebug for an hour, it dawned on me that someone
had similar complaints not too long ago.  (This is why I keep
nnml:list.ding for 30 days...)

The specific calling sequence which leads to this is:
   gnus-activate-group -> gnus-find-method-for-group -> gnus-server-to-method
The group information obtained certainly appears correct, at first
glance, as reported during edebug of gnus-find-method-for-group:
	("nnml:personal.jprc" 1 ((1 . 1)) nil "nnml:")

However, it's that last element that causes trouble: "nnml:".  I
understand, from the brief flurry of activity surrounding Harry
Putnam's report about this, that this format is new, for some sort of
optimization or simplification purpose.  But it isn't being handled
properly in this case.

For the situation at hand, I did `G E' to get at all group
information, and I edited "nnml:" into (nnml ""), and now it works
fine with both gnus-no-server and gnus.

p0.66.

--karl


             reply	other threads:[~1998-12-23 20:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-23 20:50 Karl Kleinpaste [this message]
1998-12-24  1:12 ` Simon Josefsson
1998-12-25  0:34   ` Karl Kleinpaste

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

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

  git send-email \
    --in-reply-to=vxku2ymshvj.fsf@beaver.jprc.com \
    --to=karl@justresearch.com \
    /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.
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).