YarmolenkoD / notpixel

Python automation tool for interact with telegram Notpixel bot (WITH GETTING X3 POINTS). Initial code base was forked from other repository https://github.com/vadymfedorets/notpixel.
https://t.me/hcmarket_bot?start=referral_355876562
176 stars 45 forks source link

cant start the application #31

Closed Mr-Mk7 closed 1 month ago

YarmolenkoD commented 1 month ago

@Mr-Mk7 Can you provide logs and your env file ? But ENV without private keys :)

YarmolenkoD commented 1 month ago

@Mr-Mk7 Have you solved the issue ?

Mr-Mk7 commented 1 month ago

no i have deleted the file because i cant start it. but because you are actively taking feedback so will try one more time wait

Mr-Mk7 commented 1 month ago

still it dose not work

YarmolenkoD commented 1 month ago

@Mr-Mk7 Can you run script now ?

Mr-Mk7 commented 1 month ago

no

Mr-Mk7 commented 1 month ago

this is not you app log but i get the same 3 key error in your apps

Activating virtual environment... Dependencies already installed, skipping installation. Skipping .env copying Starting the bot... Traceback (most recent call last): File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\main.py", line 4, in from bot.utils.launcher import process File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\bot\utilsinit.py", line 2, in from . import launcher File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\bot\utils\launcher.py", line 12, in from bot.core.tapper import run_tapper File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\bot\core\tapper.py", line 8, in from aiocfscrape import CloudflareScraper File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\venv\Lib\site-packages\aiocfscrapeinit.py", line 8, in import js2py File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\venv\Lib\site-packages\js2pyinit.py", line 72, in from .base import PyJsException File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\venv\Lib\site-packages\js2py\base.py", line 2965, in @js ^^ File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\venv\Lib\site-packages\js2py\base.py", line 165, in Js return PyJsFunction(val, FunctionPrototype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\venv\Lib\site-packages\js2py\base.py", line 1377, in init cand = fix_js_args(func) ^^^^^^^^^^^^^^^^^ File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\venv\Lib\site-packages\js2py\utils\injector.py", line 27, in fix_js_args code = append_arguments(six.get_function_code(func), ('this', 'arguments')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\HOME X\Desktop\Seed-App-Mine-Seed-BOT-Telegram-main (2)\Seed-App-Mine-Seed-BOT-Telegram-main\venv\Lib\site-packages\js2py\utils\injector.py", line 121, in append_arguments arg = name_translations[inst.arg]


KeyError: 3
done
PLEASE EDIT .ENV FILE
Press any key to continue . . .
Jojobazxc commented 1 month ago
Traceback (most recent call last):
  File "C:\Users\piper\PycharmProjects\notpixel\main.py", line 4, in <module>
    from bot.utils.launcher import process
  File "C:\Users\piper\PycharmProjects\notpixel\bot\utils\__init__.py", line 2, in <module>
    from . import launcher
  File "C:\Users\piper\PycharmProjects\notpixel\bot\utils\launcher.py", line 12, in <module>
    from bot.core.tapper import run_tapper
  File "C:\Users\piper\PycharmProjects\notpixel\bot\core\tapper.py", line 13, in <module>
    from aiocfscrape import CloudflareScraper
  File "C:\Users\piper\PycharmProjects\notpixel\.venv\Lib\site-packages\aiocfscrape\__init__.py", line 8, in <module>
    import js2py
  File "C:\Users\piper\PycharmProjects\notpixel\.venv\Lib\site-packages\js2py\__init__.py", line 72, in <module>
    from .base import PyJsException
  File "C:\Users\piper\PycharmProjects\notpixel\.venv\Lib\site-packages\js2py\base.py", line 2965, in <module>
    @Js
     ^^
  File "C:\Users\piper\PycharmProjects\notpixel\.venv\Lib\site-packages\js2py\base.py", line 165, in Js
    return PyJsFunction(val, FunctionPrototype)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\piper\PycharmProjects\notpixel\.venv\Lib\site-packages\js2py\base.py", line 1377, in __init__
    cand = fix_js_args(func)
           ^^^^^^^^^^^^^^^^^
  File "C:\Users\piper\PycharmProjects\notpixel\.venv\Lib\site-packages\js2py\utils\injector.py", line 27, in fix_js_args
    code = append_arguments(six.get_function_code(func), ('this', 'arguments'))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\piper\PycharmProjects\notpixel\.venv\Lib\site-packages\js2py\utils\injector.py", line 121, in append_arguments
    arg = name_translations[inst.arg]
          ~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 3

I have the same problem, I would like to understand why

YarmolenkoD commented 1 month ago

@Jojobazxc Show me your .env file. Also did you read README file before?

Jojobazxc commented 1 month ago

@YarmolenkoD image api_id and api_hash are filled, I removed them for the screenshot. README I read, tried to fill in according to this file

YarmolenkoD commented 1 month ago

@Jojobazxc Which version of python do you have ? to see it use the command: python --version

YarmolenkoD commented 1 month ago

@Jojobazxc Env looks good.

YarmolenkoD commented 1 month ago

@Jojobazxc I think it relative to your python version. You need to use version 3.10.

YarmolenkoD commented 1 month ago

@Mr-Mk7 And you need to use python 3.10 too. Please check it.

Mr-Mk7 commented 1 month ago

i am using the latest version of python 3.13**

Ashwin3454 commented 1 month ago

i am using the latest version of python 3.13**

Should not be used the latest version! only 3.10

YarmolenkoD commented 1 month ago

@Mr-Mk7 Use python3.10 please and it will fix your issue.