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

Syntax error after server migration #23

Open
stefangrotz opened this issue Dec 30, 2020 · 1 comment
Open

Syntax error after server migration #23

stefangrotz opened this issue Dec 30, 2020 · 1 comment

Comments

@stefangrotz
Copy link
Contributor

stefangrotz commented Dec 30, 2020

Hey, I regularly get some syntax errrors like this:

user@server ~]$ python3.6 .feediverse
File ".feediverse", line 3
client_secret: Mysectretqwert1234
^
SyntaxError: invalid syntax

The marker (^) marks the end of the secret. I can stop this by adding primes around the secret, but then I get another error at the start of the list of feeds. Any idea what's wrong here? My .feediverse file worked great for over a year, I migrated it to another server, and now I have these errors.

@stefangrotz stefangrotz changed the title Syntax error Syntax error after server migration Dec 30, 2020
@joschi
Copy link
Contributor

joschi commented Jan 24, 2021

@stefangrotz You're trying to execute the configuration file which is not a Python file but a YAML file.

YAML is not valid Python syntax. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants