Closed sylph1o closed 3 years ago
Thanks for the embracive report, I'll look at it in near future.
Could you please try telega from master to trigger this,? Or compiling TDLib 1.7.6 is impossible on your side?
I can't reproduce this with telega from master
Thanks for checking. I will try this week-end and report here.
I am able to reproduce it with the master version.
From telega-report-bug
:
*Telega*: telega v0.7.62 (TDLib v1.7.6) (telega-server v0.7.13)
I deleted the directories of telega (~/.cache/telega
and ~/.local/share/telega
) before changing version, so I re-started from scratch (as far as I can tell).
Upon launching telega, I am still greeted by multiple repetitions of
Telega: !GARBAGE! in the telega-server buffer
Authentication goes well, then I get an endless stream of error messages:
error in process filter: Invalid read syntax: ") or . in a vector"
error in process filter: telega-server--parse-commands: Invalid read syntax: ") or . in a vector"
I don't see any significant difference there, although this one may be new (unsure):
Error running timer ‘telega-status--animate’: (error "Telega status button is gone")
Full copy there. The first messages (e.g. about !GARBAGE!
) seem missing, so I guess the history limit was reached.
The only noticeable difference are error messages appearing directly in the root buffer. The full messages are there. The [redacted]
replacements are my only modification.
I don't know what other information to provide. I'll come back to it (try to perform a few actions) later today.
I had forgotten to report further.
It turns out that I was optimistic regarding the fetching of chats: it doesn't seem able to complete (endlessly "Loading chats"). This and the continuous errors prevent me from attempting anything. I have to kill then restart emacs to be able to use it.
Do you have any suggestion on how I could troubleshoot this issue?
P.S. I tried again with the latest version from the master branch (as of today) just in case: no difference.
Set telega-debug
to non-nil and start telega, after getting GARBAGE message kill telega. Then switch to *telega-debug* buffer, search for "GARBAGE" or send whole content of the *telega-debug* buffer here
Thanks for the explanation. I let telega run for about 30 seconds before killing it. The full content of the *telega-debug*
buffer is available here.
Thanks for your time. Let me know if there is anything else I can provide.
I see! You have no ~/.telega
directory, but your telega-server-logfile
points into it. You have few options:
1) move (setq telega-directory ...)
sexp to :init
section of use-package instead of :hook
2) set telega-server-verbosity
to 0
3) set telega-server-logfile
to existing directory
Telega Setup
OS: Arch Linux Emacs: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4) Telega: telega v0.7.030 (TDLib v1.7.0) (telega-server v0.7.5) MELPA: 0.7.30
Current Behavior
First, let me say that Telega was initially running fine. My previous configuration worked. Actually, I had a great experience with it and I thank you for this polished and well-documented project!
In order to make it comply with the XDG base directory specification, I changed the configuration with
After reinstalling telega (see 'Steps to reproduce' for details), when the root buffer opens I get this message (multiple times):
I am able to connect to my Telegram account and telega starts fetching chats (and supposedly other data).
However, now and every time I launch telega (without doing anything else) I get these error messages
This is a very small excerpt. These error messages keep happening almost continuously, to the point where it is difficult to do anything.
The other error messages below happen occasionally, still in root buffer and still without doing anything. When they happen, they happen many times.
Chats are fetched but with many time-out error messages such as
I am able to open chats once they are fetched. When I open a chat, I get these error messages continuously:
Telega is hardly usable in that state. Do you have any idea how I could fix this? I do not want to clutter my home directory with
~/.telega
.Steps to Reproduce
telega-directory
,telega-database-dir
,telega-cache-dir
,telega-temp-dir
as in the snippet shown above~/.telega
, reinstall telega package. The behaviour was reproduced without this step; it just seemed cleaner.M-x telega
)I have reproduced this problem on another Linux computer with a similar environment. I can confirm that
~/.telega
is not created, and files are created in~/.local/share/telega
and~/.cache/telega
.Below is my full configuration of telega (account names changed). This configuration worked fine without the lines given above.