Closed jonathanwilner closed 4 months ago
Hm, that's an unusual bug. I'll see if I can figure it out. Thanks.
By the way, did you manually evaluate the function ement--mxc-to-url
? Because it appears in the backtrace to be interpreted, which could suggest that the package wasn't installed correctly.
I didn't manually evaluate any functions. All I did was (ement-connect :uri-prefix "http://x.x.x.x:8009")
How did you install the package?
It's installed from source via straight-use-package.
Well, I try not to disparage Straight, but lately I have been getting a lot of bug reports from Straight users reporting weird problems that don't seem to be present when installed with package-install
.
I would appreciate it if you would try to reproduce this problem on a clean Emacs install without using Straight. You can use my script: https://github.com/alphapapa/with-emacs.sh It runs Emacs in a clean, separate configuration directory and automatically deletes it when done. So, e.g. run with-emacs.sh -i ement
, then M-x toggle-debug-on-error
, and then try to connect as you did here.
This was NOT a bug - it was my error, bringing in an older version of ement via nix packages & possibly loading on top of it. Thank you for pointing me in the right direction and apologies for the wild goose chase!
Ok, thanks.
OS/platform
MacOS 14.3
Emacs version and provenance
GNU Emacs 29.2 (build 1, aarch64-apple-darwin23.3.0, NS appkit-2487.40 Version 14.3 (Build 23D56))
Built on the machine via Nix
Emacs command
Emacs frame type
GUI
Ement package version and provenance
Git: origin/master cd25c8264a4e2fb05377131f025e38eebc84dea6
Actions taken
Executed (ement-connect :uri-prefix "http://x.x.x.x:8009")
entered login, entered password
Observed results
Ement: Logging in with password... Ement: Sync request sent. Waiting for response... Ement: Response arrived after 7.79 seconds. Reading 14M JSON response... Ement: Reading JSON took 0.23 seconds Ement: Reading events... Entering debugger...
Expected results
Receive room list, be able to view & interact with rooms.
Backtrace
Etc.
No response