alphapapa / alphapapa/ement.el
Bizarre curl network errors (26: read error; 9: FTP access denied)
- Lenguaje dominante
- Emacs Lisp
- Estrellas
- 604
- Forks
- 54
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### OS/platform
openSUSE Tumbleweed 20240607 x86_64
### Emacs version and provenance
"GNU Emacs 29.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0)
of 2024-04-03"
Compiled from source from: https://git.savannah.gnu.org/cgit/emacs.git/
### Emacs command
emacs --bg-daemon
### Emacs frame type
emacsclient --alternate-editor= --reuse-frame --frame-parameters='(fullscreen . maximized)
### Ement package version and provenance
0.16-pre 9f6cbb8 from ELPA using elpaca
### Actions taken
1. Connect with `ement-connect`
2. Open `ement.el` room buffer or any other room
3. Type `r n` to set notification rule for the room
4. Choose any of the possible rules, Default, All messages, Mentions and keywords, None
### Observed results
An error is thrown and the notification rule chosen is not applied.
```
Error running timer ‘plz--respond’: (wrong-type-argument arrayp nil)
Set notification rules for room: Ement.el <#ement.el:matrix.org> ()
```
This is with `(setq debug-on-error nil)`
### Expected results
The notification rules should be set, followed and no error is displayed.
### Backtrace
```elisp
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
#f(compiled-function (plz-error) #)(#s(plz-error :curl-error (26 . "Read error. Various reading problems.") :response nil :message nil))
#f(compiled-function (arg) #)(#s(plz-error :curl-error (26 . "Read error. Various reading problems.") :response nil :message nil))
plz--respond(#> # "exited abnormally with code 26\n")
apply(plz--respond (#> # "exited abnormally with code 26\n"))
timer-event-handler([t 26217 10530 347822 nil plz--respond (#> # "exited abnormally with code 26\n") nil 31000 nil])
```
### Etc.
In addition, when `(setq debug-on-error nil)`, if I try `ement-disconnect`, I get,
```
Ement: Writing sessions...
Ement: Disconnected (@bharathmp:matrix.org)
Error running timer ‘plz--respond’: (ement-api-error "Ement: Network error: 9: FTP access denied." #s(plz-error (9 . "FTP access denied.") nil nil))
```
Could this issue be related to a bookmark that I have included for activities.el from on https://github.com/alphapapa/activities.el/issues/19#issuecomment-1925700528
```
(defun bmp/ement-bookmark (_bookmark)
(ement-connect))
(add-hook 'ement-mode-hook
(lambda ()
(setq-local bookmark-make-record-function
(lambda ()
`((handler . bmp/ement-bookmark))))))
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.