Giter VIP home page Giter VIP logo

telegram-wakatime-stats-bot's Introduction

Hello there, I'm Nikita 👋

  • 🐍 Python Backend Developer
  • 😽 Django is my favorite framework
  • 🐳 I love deploying my apps to docker
  • 🐹 I really like DevOps

Connect with me:

Languages and Tools:

  • Python
  • Django
  • Docker
  • Bash
  • Git
  • Visual Studio Code
  • PyCharm

telegram-wakatime-stats-bot's People

Contributors

kotorkovsciy avatar

Watchers

 avatar  avatar

telegram-wakatime-stats-bot's Issues

Statistics not working

Functions based on statistics do not work

  • OS: windows 10

Error when trying to get statistics by language:

ERROR:asyncio:Task exception was never retrieved
future: <Task finished name='Task-10' coro=<Dispatcher._process_polling_updates() done, defined at C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py:407> exception=PermissionError(13, 'Процесс не может получить доступ к файлу, так как этот файл занят другим процессом')>
Traceback (most recent call last):
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 415, in _process_polling_updates
    for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 235, in process_updates
    return await asyncio.gather(*tasks)
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\venv\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
    response = await handler_obj.handler(*args, **partial_data)
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\venv\lib\site-packages\aiogram\dispatcher\dispatcher.py", line 256, in process_update
    return await self.message_handlers.notify(update.message)
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\venv\lib\site-packages\aiogram\dispatcher\handler.py", line 116, in notify
    response = await handler_obj.handler(*args, **partial_data)
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\handlers\stats.py", line 17, in cmd_stats_lang
    photo = await AnaliticStats.lang_stats(
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\scripts\analitic_stats.py", line 66, in lang_stats
    return await cls.statics(user_id, email, password, "languages")
  File "C:\Users\Kovinjko_Nikita\Documents\Проекты\Telegram-wakatime-stats-bot\scripts\analitic_stats.py", line 59, in statics
    remove(f"{cls.PATH_IMAGES}{user_id}_{theme}_stats.png")
PermissionError: [WinError 32] Процесс не может получить доступ к файлу, так как этот файл занят другим процессом: 'info/images/5343075356_languages_stats.png'

authorization bug

If you enter the code twice during authorization, the following happens

image

Make authorization by code

Make authorization by the code from the link, this will speed up the work since it will be unnecessary to use selenium for authorization

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.