AttributeError: 'NoneType' object has no attribute 'get_dialogs'
Hello, I'm having this issue running the source code via Python3 IDLE installed on macOS. I've replaced YOUR_API_ID_HERE and YOUR_API_HASH_HERE with my API ID and HASH, and the program works well from logging to selecting chats (solo mode) and parameters before starting merging process.
But when it starts it says two errors from Python, they seem syntax error... but I don't really now. I attach a screenshot (don't worry about red warnings, it's Python IDLE) and log.
Thanks.
TLMerger-log.log
@rgiorgiotech Indeed a conditional error
Can you pull my latest changes and retry, please?
@rgiorgiotech Indeed a conditional error
Can you pull my latest changes and retry, please?
Ok now it says another issue when starting process:
`STARTED! Now copying the conversation in Telegram...
Processing...
INFORMATION: Each 1000 messages, a pause will happen because TLMerger needs to refresh metadata due to Telegram's restrictions. Although the process might look like it's stuck, don't close or cancel it because you think it's stuck. Whenever an error happens, you will be informed.
You can cancel at any time using CTRL+C keyboard combination. Traceback (most recent call last): File "/Users/giorgiomessina/Desktop/TLMerger-1.1/src/TLMerger.py", line 1381, in ExportMessages Welcmsg = SendMessageClient1(user2, UnboundLocalError: local variable 'user2' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/giorgiomessina/Desktop/TLMerger-1.1/src/TLMerger.py", line 3603, in
You sure you installed all the dependencies using pip?
You sure you installed all the dependencies using pip?
Yes of course. I've installed all the dependencies in their specific version you wrote on txt file.
I can try non-solo mode instead... I'll let you know.
Nothing to do. Non-solo mode isn't good for group chats! I'd like to merge two group chats but for this purpose I need the solo-mode. I really hope you'll fix these issues!