can't get rid of it #22

Closed
opened 2020-04-07 00:09:59 +00:00 by spiderbit · 6 comments
spiderbit commented 2020-04-07 00:09:59 +00:00 (Migrated from github.com)

If I uncommment this line from my gnus-init:
(add-to-list 'gnus-secondary-select-methods '(nnhackernews ""))

I get following message:

nnhackernews--incoming: 22 requests, story +2 comment +5
nnhackernews-request-scan: Took 3.7873814709999998 seconds, with 1 gc runs taking 0.11170386700000279 seconds
nnhackernews-request-group: Wrong type argument: consp, nil

So it somehow tries to still use the backend. if I delete the package and unload the module it brings still weird errors:

if: Symbol’s function definition is void: nnhackernews--gate
Symbol’s function definition is void: nnhackernews--rescore

After restarting emacs and gnus when I enter my email Inbox and exit it I get still following message:

if: Symbol’s function definition is void: nnhackernews--gate

If I uncommment this line from my gnus-init: `(add-to-list 'gnus-secondary-select-methods '(nnhackernews ""))` I get following message: > nnhackernews--incoming: 22 requests, story +2 comment +5 > nnhackernews-request-scan: Took 3.7873814709999998 seconds, with 1 gc runs taking 0.11170386700000279 seconds > nnhackernews-request-group: Wrong type argument: consp, nil So it somehow tries to still use the backend. if I delete the package and unload the module it brings still weird errors: > if: Symbol’s function definition is void: nnhackernews--gate > Symbol’s function definition is void: nnhackernews--rescore After restarting emacs and gnus when I enter my email Inbox and exit it I get still following message: > if: Symbol’s function definition is void: nnhackernews--gate
dickmao commented 2020-04-07 00:40:36 +00:00 (Migrated from github.com)

Copy your $HOME/.newsrc.eld to $HOME/newsrc.eld.orig for safe keeping.

Then edit $HOME/.newsrc.eld and remove all s-expressions mentioning hackernews. Sorry we couldn't make it work.

Copy your `$HOME/.newsrc.eld` to `$HOME/newsrc.eld.orig` for safe keeping. Then edit `$HOME/.newsrc.eld` and remove all s-expressions mentioning hackernews. Sorry we couldn't make it work.
spiderbit commented 2020-04-07 14:13:46 +00:00 (Migrated from github.com)

didn't work still the --gate error debugged it a bit and this seems to cause the problem:

The variable gnus-score-after-write-file-function:

(lambda
  (file)
  (when
      (nnhackernews--gate)
    (unless
	(member file
		(alist-get
		 (intern gnus-newsgroup-name)
		 nnhackernews-score-files))
      (push file
	    (alist-get
	     (intern gnus-newsgroup-name)
	     nnhackernews-score-files)))))

I just don't know from which file it reads this bullshit, ok after setting this variable to nil it seems to stop the error.

didn't work still the --gate error debugged it a bit and this seems to cause the problem: The variable gnus-score-after-write-file-function: ``` (lambda (file) (when (nnhackernews--gate) (unless (member file (alist-get (intern gnus-newsgroup-name) nnhackernews-score-files)) (push file (alist-get (intern gnus-newsgroup-name) nnhackernews-score-files))))) ``` I just don't know from which file it reads this bullshit, ok after setting this variable to nil it seems to stop the error.
spiderbit commented 2020-04-07 15:00:17 +00:00 (Migrated from github.com)

after setting that to nil the error disappears but just restartet emacs and the error is back, also tried to delete all nnhackernews files in /News but did not help.

after setting that to nil the error disappears but just restartet emacs and the error is back, also tried to delete all nnhackernews files in /News but did not help.
dickmao commented 2020-04-07 15:49:38 +00:00 (Migrated from github.com)

Very sorry about this! 8b0387a

There ought to be a custom-set-variable of gnus-score-after-write-file-function in your .emacs or init.el. You should remove it with extreme prejudice.

Very sorry about this! 8b0387a There ought to be a custom-set-variable of gnus-score-after-write-file-function in your .emacs or init.el. You should remove it with extreme prejudice.
spiderbit commented 2020-04-07 20:59:41 +00:00 (Migrated from github.com)

ahh found it, no problem I am happy to get some help, that is not taken for granted for some opensource emacs package :)

ahh found it, no problem I am happy to get some help, that is not taken for granted for some opensource emacs package :)
dickmao commented 2020-04-07 22:06:33 +00:00 (Migrated from github.com)

Sorry couldn't make it work, and thanks for your interest. Closing.

Sorry couldn't make it work, and thanks for your interest. Closing.
Sign in to join this conversation.
There is no content yet.