Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No account has been loaded #128

Open
Dog-Feng opened this issue Oct 31, 2024 · 1 comment
Open

No account has been loaded #128

Dog-Feng opened this issue Oct 31, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Dog-Feng
Copy link

I use the example program to run and get an error

Traceback (most recent call last):
File "D:\app\PyCharm 2024.1.2\plugins\python\helpers-pro\pydevd_asyncio\pydevd_nest_asyncio.py", line 138, in run
return loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\app\PyCharm 2024.1.2\plugins\python\helpers-pro\pydevd_asyncio\pydevd_nest_asyncio.py", line 243, in run_until_complete
return f.result()
^^^^^^^^^^
File "D:\python\Lib\asyncio\futures.py", line 203, in result
raise self._exception.with_traceback(self._exception_tb)
File "D:\python\Lib\asyncio\tasks.py", line 277, in __step
result = coro.send(None)
^^^^^^^^^^^^^^^
File "D:\project\moonbix-bot-main\tdata.py", line 10, in main
tdesk = TDesktop(tdataFolder)
^^^^^^^^^^^^^^^^^^^^^
File "D:\project\BlumClicker-main.venv\Lib\site-packages\opentele\td\tdesktop.py", line 141, in init
self.LoadTData()
File "D:\project\BlumClicker-main.venv\Lib\site-packages\opentele\td\tdesktop.py", line 216, in LoadTData
raise e
File "D:\project\BlumClicker-main.venv\Lib\site-packages\opentele\td\tdesktop.py", line 203, in LoadTData
self.__loadFromTData()
File "D:\project\BlumClicker-main.venv\Lib\site-packages\opentele\td\tdesktop.py", line 453, in __loadFromTData
Expects(len(self.accounts) > 0, "No account has been loaded")
File "D:\project\BlumClicker-main.venv\Lib\site-packages\opentele\exception.py", line 326, in Expects
raise exception
File "D:\project\BlumClicker-main.venv\Lib\site-packages\opentele\td\tdesktop.py", line 453, in __loadFromTData
Expects(len(self.accounts) > 0, "No account has been loaded")
opentele.exception.OpenTeleException: Unexpected Exception: No account has been loaded [ Called by BaseObject.TDesktop.__loadFromTData() ]

Does anyone know what the problem is?

@Dog-Feng Dog-Feng added the bug Something isn't working label Oct 31, 2024
@amao12580
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants