Closed zaratans closed 4 years ago
Good afternoon!
Please, give me more details. Are you using 1:1 mode or are you importing to "Saved Messages"?
I am importing to "Saved Messages"
@zaratans Telegram did some API changes and this is broken now. Add your phone number to your contact list and the error should be solved.
I'm not sure I understand. When I try to add my phone number to my contact list in telegram it takes me to "Saved Messages". Am I doing something wrong?
No, that means that you were added successfully to your contact list. Just try running TLImporter again. I suppose that yo're doing this in TDesktop as well, right?
Yes, I am using the desktop telegram application. After adding myself to my contacts, I got the same error message and none of the messaged imported. On trying to exit TLImporter it says "FATAL ERROR! TLImporter had an irrecuperable error. Please, report this bug. Details in TLImporter-log.log. Press ENTER to exit" TLImporter-log.log
Okay, this one is interesting. It seems that Telegram is really messing things up.
While debugging and trying to understand (this issue)[https://github.com/TelegramTools/TLMerger/issues/1] in my other app (which shares a lot of it's core with TLImporter), I received a strange error (an object was null where it shouldn't). I checked the chat in TDesktop and, when scrolling up to see older messages, I noticed they were way too slow to load. I spent like 3 minutes waiting for them to appear. After a while it finally loaded everything correctly, but it seemed that it was loading in batches and having multiple 'gaps'. Today, looking for a photo and a message in a friend's chat, I notice that search points me to the message everywhere else. I notice then how it moves me to December 2017. But just after December 2017, there were the messages of October this year!
I then took a look at the media gallery, and found this:
Will report this. However, probably it's just a transient Telegram issue that have been wrecking things up lately. Didn't had so much time to check the issue deeply in my code though, I'm too busy with exams, but I will try to do it in holidays (I always say that and I never find time, but I really hope I will find some time) :p.
Have a nice day!
I ran into no issues importing the chat using TLImpoter, but looking at the chat after, the only messages that imported are "IMPORTING THE CHAT WITH.." and "SUCCESS!!" There are no other messages. Ending TLImporter, it said there was a fatal error and to report it. TLImporter-log.log
Same error: seems that Telegram is really messed up! TLImporter-log.log
@Heartran Did you try adding yourself to contacts first? Because you're importing messages to 'Saved Messages', right?
I actually don’t understand what do you mean with adding myself to my contacts. I have already myself in my contacts
@Heartran Add your phone number to your contact book in your phone or, in Telegram Desktop, go to Contact List > Add Contact and create a contact with your phone number.
(In case you are importing messages to 'Saved Messages', which you didn't confirm)
@Heartran any news?
Actually right now I am not using it 😅
@Heartran I'm going to push an update this week, so I'm reviewing issues to close the ones I'm getting fixed. Are you still having issues with this?
Anyway, I'm 99% sure that issues unrelated to temporary problems with Telegram when importing to Saved Messages will be fixed.
@Heartran @zaratans Everything commented in this issue has been addressed in TLImporter 3.0.6.
Closing this.
I ran into no issues importing the chat using TLImpoter, but looking at the chat after, the only messages that imported are "IMPORTING THE CHAT WITH.." and "SUCCESS!!" There are no other messages. Ending TLImporter, it said there was a fatal error and to report it. TLImporter-log.log