Giter Site home page Giter Site logo

termgram's Introduction

GitHub Stats

andreiregiani

LinkedIn

termgram's People

Contributors

andreiregiani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

termgram's Issues

Commands interface

Use : prefix to run commands. Example:

  • :help prints (on message logs) list of available commands (dynamically, not hardcoded?)
  • :clear clear message logs
  • and more (this task is to develop a good base to easily add more commands)

installation error

I am new at using Linux (and GitHub btw too), so probably do not understand something important, but i do not know what exactly.
I am using Manjaro Linux. Command sudo pip3 install -r requirements.txt leads to next output:

``

`Requirement already satisfied: pyaes==1.6.1 in /usr/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (1.6.1)
Collecting pyasn1==0.3.7
  Using cached pyasn1-0.3.7-py2.py3-none-any.whl (63 kB)
Collecting rsa==3.4.2
  Using cached rsa-3.4.2-py2.py3-none-any.whl (46 kB)
Collecting Telethon==0.15.5
  Using cached Telethon-0.15.5-py3-none-any.whl (236 kB)
Collecting urwid==1.3.1
  Using cached urwid-1.3.1.tar.gz (588 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [26 lines of output]
      Traceback (most recent call last):
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 488, in __init__
          _Distribution.__init__(
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 283, in __init__
          self.finalize_options()
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 912, in finalize_options
          ep(self)
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 932, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 330, in invalid_unless_false
          raise DistutilsSetupError(f"{attr} is invalid.")
      distutils.errors.DistutilsSetupError: use_2to3 is invalid.
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "<string>", line 85, in <module>
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-tze4tq4j/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 152, in setup
          raise SystemExit("error in {} setup command: {}".format(attrs['name'], msg))
      SystemExit: error in urwid setup command: use_2to3 is invalid.
      Couldn't build the extension module, trying without it...
      error in urwid setup command: use_2to3 is invalid.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

``

When i am trying to start up termgram, i get next error:

Traceback (most recent call last):
  File "/usr/local/bin/termgram", line 6, in <module>
    app.run()
  File "/home/andronik/termgram/termgram/app.py", line 34, in run
    init()
  File "/home/andronik/termgram/termgram/app.py", line 48, in init
    client = telethon.TelegramClient(config.SESSION_FILE, config.TELEGRAM_ID, config.TELEGRAM_HASH, update_workers=1)
TypeError: TelegramBaseClient.__init__() got an unexpected keyword argument 'update_workers'

Private and group messages are being shown on the same window

After opening a private conversation with personX, I started to receive messages from that same person but that came from the group instead.
The expected behavior is: when you open a conversation with somebody, you should only receive message from that conversation only.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.