Alexell / XEmpireBot

Bot that earn money in X Empire (Musk Empire)
137 stars 35 forks source link

Cannot Create Session #20

Closed khosrowkhazraei closed 3 months ago

khosrowkhazraei commented 4 months ago

After entering the Phone Number, I do not recive the verificaiton code in the telegram, what is wrong?

cr4zyfish commented 4 months ago

Do you enter it in correct format? +989203004050 ?

khosrowkhazraei commented 4 months ago

Yes

I tried too much Even with bot token I don't know what the problem is

The old seasons I have they Work, but now I wanna create new sessions for another PC, it fais with not receiving OTP in the telegram app.

I tried logging the telegram in web to see if I receive code, it was successful

Could you please confirm if you can create new sessions?

On Sat, Aug 3, 2024, 02:56 cr4zyfish @.***> wrote:

Do you enter it in correct format? +989203004050 ?

— Reply to this email directly, view it on GitHub https://github.com/Alexell/MuskEmpireBot/issues/20#issuecomment-2266214192, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKRUHGSLAQQG7IL4HKGOOTZPQBSFAVCNFSM6AAAAABL5HKHMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGIYTIMJZGI . You are receiving this because you authored the thread.Message ID: @.***>

Duwaz commented 4 months ago

Could you please confirm if you can create new sessions?

You wrote about an error from a standard Python library - pyrogram. It's not about bot logic... *There is nobody known your auth-data. Of course

I guess, your problem seems like a problem with Telegram...

As a backup plan, you can copy a file of session from another PC. *see folder sessions (copy to the same folder)

khosrowkhazraei commented 4 months ago

Yes as I said it is about the program package (session ) not the bot

Thank you for your responses

I will try to figure it out

On Sat, Aug 3, 2024, 04:17 Duwaz @.***> wrote:

Could you please confirm if you can create new sessions?

You wrote about an error from a standard Python library - pyrogram. It's not about bot logic... *There is nobody known your auth-data. Of course

I guess, your problem seems like a problem with Telegram...

As a backup plan, you can copy a file from another PC. *see folder sessions (copy to the same folder)

— Reply to this email directly, view it on GitHub https://github.com/Alexell/MuskEmpireBot/issues/20#issuecomment-2266267140, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEKRUHAMVX7HZK54V2RRESLZPQK7LAVCNFSM6AAAAABL5HKHMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRWGI3DOMJUGA . You are receiving this because you authored the thread.Message ID: @.***>

QuiglyGames commented 4 months ago

I get this error when I try to create a new session, maybe you have the same thing, I hope they will tell me what to do with it.

Select an action:
    1. Create session
    2. Run bot

> 1

Enter the session name (press Enter to exit): 1
Traceback (most recent call last):
  File "C:\Users\Watching\MuskEmpireBot\main.py", line 11, in <module>
    asyncio.run(main())
  File "C:\Users\Watching\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "C:\Users\Watching\AppData\Local\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Watching\AppData\Local\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "C:\Users\Watching\MuskEmpireBot\main.py", line 6, in main
    await launcher.start()
  File "C:\Users\Watching\MuskEmpireBot\bot\core\launcher.py", line 103, in start
    await register_sessions()
  File "C:\Users\Watching\MuskEmpireBot\bot\core\launcher.py", line 27, in register_sessions
    if not os.path.exists(path='sessions'): os.mkdir(path='sessions')
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: nt._path_exists() takes no keyword arguments
Alexell commented 4 months ago

Use Python 3.10. I do not guarantee or support the bot's operation on other versions of Python.

alina1488 commented 4 months ago

image

How to fix it

madkite2 commented 4 months ago

How to fix it

The developer is aware of the problem. Will try to solve it soon

Duwaz commented 4 months ago

How to fix it

I saw the same situation in a hamster bot... Do you have problem when your money per hour more then zero?

Alexell commented 4 months ago

@alina1488 your problem is in your proxy.

vainzew commented 3 months ago

image

Hi, i've got this error and don't know how to resolve it. can you help me with this?

Alexell commented 3 months ago

@vainzew Using Python 3.10 is mandatory!

Ja1zen commented 2 months ago

Hey, after selecting action (1. Create Session) nothing happens. image