Git Product home page Git Product logo

frt's People

Contributors

dionis1902 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

Watchers

 avatar

frt's Issues

Need a template or brief documentation

There are two scripts.
I want to add them at least locally (fork), in a panel.
You told me about a month ago to inherit a basic function.
But I don't quite understand, what's next?
You don't need anything else at all?

Not even touch the web files? Just the python files?
Here's an example of one script I want to implement: https://pastebin.com/9F6T4U0Q.

(yes, the quality of the code is terrible, but still...)
I don't think feature inheritance alone will be enough.

Could you create a short documentation with an example? That way you could create a PR.
That would be very handy.
I realize that you probably don't care about that. I want to learn how to write and interact better in Python, so I accept practice on any open source projects.

But I don't understand the way your functions are set up.
I don't understand how I can adapt my script to a web panel.

TData is not added and qr code does not work

2024-05-13 18:42:36 INFO: connection closed
2024-05-13 18:42:36 INFO: ('172.20.0.1', 45964) - "WebSocket /ws" [accepted]
2024-05-13 18:42:36 INFO: connection open
2024-05-13 18:42:37 INFO: 172.20.0.1:45958 - "GET /accounts HTTP/1.1" 200 OK
2024-05-13 18:42:37 INFO: connection closed
2024-05-13 18:42:37 INFO: ('172.20.0.1', 40026) - "WebSocket /ws" [accepted]
2024-05-13 18:42:37 INFO: connection open
2024-05-13 18:42:37 INFO: 172.20.0.1:45958 - "GET /api/accounts HTTP/1.1" 307 Temporary Redirect
2024-05-13 18:42:37 WARNING: Invalid HTTP request received.
2024-05-13 18:42:37 WARNING: Invalid HTTP request received.
2024-05-13 18:42:43 INFO: 172.20.0.1:40054 - "POST /api/accounts/add/qrcode HTTP/1.1" 200 OK
2024-05-13 18:42:45 Task exception was never retrieved
2024-05-13 18:42:45 future: <Task finished name='Task-95' coro=<ByQrCode.start() done, defined at /./add_accounts/by_qrcode.py:130> exception=BadMsgNotification('[16] The msg_id is too low, the client time has to be synchronized.')>
2024-05-13 18:42:45 Traceback (most recent call last):
2024-05-13 18:42:45 File "/./add_accounts/by_qrcode.py", line 135, in start
2024-05-13 18:42:45 await self._client.connect()
2024-05-13 18:42:45 File "/usr/local/lib/python3.10/site-packages/pyrogram/methods/auth/connect.py", line 47, in connect
2024-05-13 18:42:45 await self.session.start()
2024-05-13 18:42:45 File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 142, in start
2024-05-13 18:42:45 raise e
2024-05-13 18:42:45 File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 109, in start
2024-05-13 18:42:45 await self.send(raw.functions.Ping(ping_id=0), timeout=self.START_TIMEOUT)
2024-05-13 18:42:45 File "/usr/local/lib/python3.10/site-packages/pyrogram/session/session.py", line 333, in send
2024-05-13 18:42:45 raise BadMsgNotification(result.error_code)
2024-05-13 18:42:45 pyrogram.errors.BadMsgNotification: [16] The msg_id is too low, the client time has to be synchronized.

HTTP ERROR

This site cannot provide a secure connection
ERR_SSL_PROTOCOL_ERROR

I started the docker, I go in, enter my username and password after logging in, I get an error.
For some reason it redirects to https all the time

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.