-
Notifications
You must be signed in to change notification settings - Fork 100
-
Notifications
You must be signed in to change notification settings - Fork 100
/usr/local/bin/telegram-export: Syntax error: word unexpected (expecting ")") #76
Comments
Looks like this might be a duplicate of #70. Does it work if you add the shebang line to the top of the script, as mentioned in that issue? |
If I do so, I do not get an error, instead it just like I'd normally pressing Enter in console, just with some delay. Also, no output files were generated. |
that's really strange, could you send a screenshot or something? |
Just tried this myself, and a file was created in OutputDirectory. Have you checked there? |
Yes.
What could possibly go wrong here? |
The file created is the top one, which is the ID of the context |
Formatters are not really in a good state at the moment. I'm thinking about making them a separate module |
The content of the file is not whats in the Chat with ID specified in the terminal. I've tried different IDs. |
Oh, I see the problem now. --contexts specifies which contexts should be dumped, but --format tells the program to go into 'formatter mode' and just format stuff that's already been dumped. |
Now I do get the following output:
However, it seems to proceed. I also can format it to HTML, but its only plain text without timestamps. How can I achieve a readable format? |
I'd love to contribute, but I have no clue about Python at all, even if I'm good with HTML, CSS and JS. What are my possibilities? Telephone Error? What do you mean with that? |
To help with HTML/CSS, you can make some cool template where you could display the exported data (users, message, search by different criteria, etc). |
Is the plain template enough? I have no Idea how to implement it. I can make a wireframe with %values or such. How'd we elaborate? |
Let's move to #18. |
All right. Main problem solved, thanks! |
No, I don't think so. I wish |
I've installed and followed the install instructions. I installed a fresh version of pip3 and upgraded it.
After setting up the config.ini file and editing the settings correctly (I do get the verification code and added it to the console) I get this message:
What is this issue and how could I solve it? What more information do you need? Running on Ubuntu 16.04.
The text was updated successfully, but these errors were encountered: