Comments (3)
Also just to add, I also tried deleting the telegram-cli confs and starting again. I got slightly furthur until I select a chat room I frequent. It crashed and then got this output.
Traceback (most recent call last):
File "/usr/bin/nctelegram", line 79, in <module>
ncTelegram.Telegram_ui(config_full)
File "/usr/lib/python3.5/site-packages/ncTelegram/__init__.py", line 87, in __init__
self.main_loop.run()
File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 278, in run
self._run()
File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 376, in _run
self.event_loop.run()
File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 682, in run
Exception in thread Receiver (pytg):
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.5/site-packages/pytg/receiver.py", line 125, in _receiver
raise ConnectionError("Remote end closed.")
pytg.exceptions.ConnectionError: Remote end closed.
self._loop()
File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 719, in _loop
self._watch_files[fd]()
File "/usr/lib/python3.5/site-packages/urwid/raw_display.py", line 393, in <lambda>
event_loop, callback, self.get_available_raw_input())
File "/usr/lib/python3.5/site-packages/urwid/raw_display.py", line 493, in parse_input
callback(processed, processed_codes)
File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 403, in _update
self.process_input(keys)
File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 503, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/lib/python3.5/site-packages/urwid/container.py", line 2269, in keypress
key = w.keypress((mc,) + size[1:], key)
File "/usr/lib/python3.5/site-packages/ncTelegram/ui_chanwidget.py", line 194, in keypress
key = super(ChanWidget, self).keypress(size, key)
File "/usr/lib/python3.5/site-packages/urwid/listbox.py", line 985, in keypress
key = focus_widget.keypress((maxcol,),key)
File "/usr/lib/python3.5/site-packages/urwid/wimp.py", line 535, in keypress
self._emit('click')
File "/usr/lib/python3.5/site-packages/urwid/widget.py", line 463, in _emit
signals.emit_signal(self, name, self, *args)
File "/usr/lib/python3.5/site-packages/urwid/signals.py", line 264, in emit
result |= self._call_callback(callback, user_arg, user_args, args)
File "/usr/lib/python3.5/site-packages/urwid/signals.py", line 294, in _call_callback
return bool(callback(*args_to_pass))
File "/usr/lib/python3.5/site-packages/ncTelegram/ui_chanwidget.py", line 176, in chan_change
self.Telegram_ui.msg_widget.get_history()
File "/usr/lib/python3.5/site-packages/ncTelegram/ui_msgwidget.py", line 51, in get_history
self.print_msg(msg)
File "/usr/lib/python3.5/site-packages/ncTelegram/ui_msgwidget.py", line 120, in print_msg
msg_reply = self.Telegram_ui.sender.message_get(msg['reply_id'])
File "/usr/lib/python3.5/site-packages/pytg/sender.py", line 630, in command_alias
return self.execute_function(command_name, *args, **kwargs)
File "/usr/lib/python3.5/site-packages/pytg/sender.py", line 320, in execute_function
result = self._do_send(request, answer_timeout=self.default_answer_timeout, retry_connect=retry_connect)
File "/usr/lib/python3.5/site-packages/pytg/sender.py", line 507, in _do_send
raise ConnectionError("Remote end closed")
from nctelegram.
I managed to recreate this error, it appends when someone reply to a message and the first message is deleted. Unfortunately I can't fix this because the simple fact of querying for a deleted message makes telegram-cli to crash (and there is no way of knowing if a message has been deleted). The only way to bypass this error is to delete the reply.
If you want you can report this to telegram-cli (but it is not actively developed).
from nctelegram.
Ahh thanks for that. It did start working again eventually - but good to know.
from nctelegram.
Related Issues (20)
- ArithmeticError: Server response does not fit when starting the client.
- Remote end Close HOT 3
- nctelegram crashed at launch
- Crash after upgrade to urwid 2.0 HOT 7
- No pasting possible HOT 2
- Cannot start - "Remote end closed" exception HOT 5
- possible to run on osx? HOT 3
- Crash on startup HOT 3
- How can I get public key? HOT 1
- Crashing Upon Start HOT 1
- Can't Set Focus, ListBox Is Empty HOT 6
- crashes with `telegram-cli: loop.c:742: accept_incoming: Assertion `fd >= 0' failed.` HOT 1
- Crashes when message is pinned
- crashes when loading group with UTF-8 characters in name.
- Autoscroll when new message is sent HOT 1
- Errors in WSL (WIndows 10)
- AttributeError: module 'ncTelegram' has no attribute 'Telegram_ui' HOT 1
- Missing module 'luckydonaldUtils'
- pytg.exceptions.ConnectionError: Remote end closed HOT 5
- Crash on lookup for some convesations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nctelegram.