Giter Site home page Giter Site logo

chstem / harbour-mercury Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 2.0 194 KB

Python based Telegram client for Sailfish OS

License: GNU General Public License v3.0

Python 80.87% QMake 0.71% QML 17.49% C++ 0.82% JavaScript 0.10%
python sailfishos telegram

harbour-mercury's People

Contributors

chstem avatar jukey avatar schaengel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

jukey schaengel

harbour-mercury's Issues

Switch to tdlib-python!

TDLib is an official, cross-platform, fully functional Telegram client, made by official Telegram developers. There is also a python wrapper. What do you think of switching to tdlib-python?
https://github.com/JunaidBabu/tdlib-python

Actual performance issues should disappear too. What is your opinion?

When open the program, it displays error...

Hello, chstem! When open the program, it displays this error:

2017-09-21 19:16:18,995 INFO: Python: Mercury Version: 0.1
2017-09-21 19:16:18,996 INFO: Python: Telethon Client Version: 0.13.4
2017-09-21 19:16:18,996 INFO: Python: Connecting to Telegram servers ...
2017-09-21 19:16:19,315 ERROR: Return value of PyObject call is NULL: Traceback (most recent call last):

File "/usr/share/harbour-mercury/TgClient/init.py", line 67, in connect
if not client.client.connect():

File "/usr/lib/python3.4/site-packages/telethon/telegram_client.py", line 150, in connect
ok = super().connect(exported_auth=exported_auth)

File "/usr/lib/python3.4/site-packages/telethon/telegram_bare_client.py", line 121, in connect
authenticator.do_authentication(connection)

File "/usr/lib/python3.4/site-packages/telethon/network/authenticator.py", line 20, in do_authentication
return _do_authentication(connection)

File "/usr/lib/python3.4/site-packages/telethon/network/authenticator.py", line 40, in _do_authentication
sender.send(writer.get_bytes())

File "/usr/lib/python3.4/site-packages/telethon/network/mtproto_plain_sender.py", line 35, in send
self._connection.send(packet)

File "/usr/lib/python3.4/site-packages/telethon/network/connection.py", line 161, in send
raise ValueError('Invalid connection mode specified: ' + str(self._mode))

ValueError: Invalid connection mode specified: None

Through the terminal (python3), everything is fine.

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.