manojm321 / elfeed-dashboard

A frontend for elfeed
GNU General Public License v3.0
81 stars 9 forks source link

wrong-type-argument crash #12

Open bhepple opened 3 years ago

bhepple commented 3 years ago

I've been living with this one for a while with a workaround.

It throws the error after a restart:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  elfeed-dashboard-update-links()
  (lambda nil (interactive) (elfeed-dashboard-update-links))()
  funcall-interactively((lambda nil (interactive) (elfeed-dashboard-update-links)))
  #<subr call-interactively>((lambda nil (interactive) (elfeed-dashboard-update-links)) nil nil)
  call-interactively@ido-cr+-record-current-command(#<subr call-interactively> (lambda nil (interactive) (elfeed-dashboard-update-links)) nil nil)
  apply(call-interactively@ido-cr+-record-current-command #<subr call-interactively> ((lambda nil (interactive) (elfeed-dashboard-update-links)) nil nil))
  call-interactively((lambda nil (interactive) (elfeed-dashboard-update-links)) nil nil)
  command-execute((lambda nil (interactive) (elfeed-dashboard-update-links)))

The workaround is to run M-x elfeed-dashboard

Versions are:

elfeed-dashboard-20201218.347
elfeed-20210606.1130
emacs-28.0.50-1.20210524.git5d59c8b.fc33 ie puregtk and nativecomp from 
https://copr.fedorainfracloud.org/coprs/deathwish/emacs-pgtk-nativecomp/

on fedora-33
manojm321 commented 3 years ago

After restart of emacs?

bhepple commented 3 years ago

Yes, that's right. After a fresh start of emacs. I have desktop-save-mode set so the elfeed-dashboard.org is preserved between sessions. It's not a big deal as I can workaround. I just you might be curious - and also, it might be a nativecomp thing.

manojm321 commented 3 years ago

Thanks for reporting, I use desktop save mode as well. Can't reproduce.

I suspect it's related to your elfeed-dashboard.org file. Would you be able to share it?

bhepple commented 3 years ago

Here ya go:

* Basics

 [U] Update Elfeed
 [s] Search
 [E] Edit
 [g] Refresh counts
 [q] Kill dashboard

* Bookmarks

 [u] Unread               ([[elfeed:+unread][     0]]/[[elfeed:][ 14264]])
 [b] BBC                  ([[elfeed:+unread +bbc][     0]]/[[elfeed:+bbc][  3090]])
 [d] distrowatch          ([[elfeed:+unread +distrowatch][     0]]/[[elfeed:+distrowatch][    10]])
 [e] Emacs                ([[elfeed:+unread +emacs][     0]]/[[elfeed:+emacs][  1048]])
 [f] Fedora               ([[elfeed:+unread +fedora][     0]]/[[elfeed:+fedora][  1299]])
 [h] Hacker News          ([[elfeed:+unread +hacker][     0]]/[[elfeed:+hacker][  1846]])
 [l] Linux                ([[elfeed:+unread +linux][     0]]/[[elfeed:+linux][  1250]])
 [o] oglaf                ([[elfeed:+unread +oglaf][     0]]/[[elfeed:+oglaf][   615]])
 [Q] LinuxQuestions       ([[elfeed:+unread +linuxquestions][     0]]/[[elfeed:+linuxquestions][  1002]])
 [x] xkcd                 ([[elfeed:+unread +xkcd][     0]]/[[elfeed:+xkcd][    34]])
 [w] Sway                 ([[elfeed:+unread +sway][     0]]/[[elfeed:+sway][   279]])

* Configuration
  :PROPERTIES:
  :VISIBILITY: hideall
  :END:

  Press "E" to edit and M-x elfeed-dashboard-mode to go back

  #+STARTUP: showall showstars indent
  #+KEYMAP: u | elfeed-dashboard-query "+unread"
  #+KEYMAP: b | elfeed-dashboard-query "+unread +bbc"
  #+KEYMAP: d | elfeed-dashboard-query "+unread +distrowatch"
  #+KEYMAP: e | elfeed-dashboard-query "+unread +emacs"
  #+KEYMAP: f | elfeed-dashboard-query "+unread +fedora"
  #+KEYMAP: h | elfeed-dashboard-query "+unread +hacker"
  #+KEYMAP: l | elfeed-dashboard-query "+unread +linux"
  #+KEYMAP: o | elfeed-dashboard-query "+unread +oglaf"
  #+KEYMAP: Q | elfeed-dashboard-query "+unread +linuxquestions"
  #+KEYMAP: x | elfeed-dashboard-query "+unread +xkcd"
  #+KEYMAP: w | elfeed-dashboard-query "+unread +sway"
  #+KEYMAP: s | elfeed
  #+KEYMAP: g | elfeed-dashboard-update-links
  #+KEYMAP: U | elfeed-dashboard-update
  #+KEYMAP: E | elfeed-dashboard-edit
  #+KEYMAP: q | kill-current-buffer
opsnull commented 3 years ago

same problem here。