-
Notifications
You must be signed in to change notification settings - Fork 73
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
ERROR (parse_birthday_day_month) #52
Comments
I got the same error here in Brazil. For some reason the dictionary returns days like 'segunda, terça, quarta....' and facebook returns the days in a complete form like 'segunda-feira, terça-feira, quarta-feira...'. Then I wrote a workaround in fb2cal.py to fix this: `
` You can adapt this code for the finnish language. |
You can change your language to English here and the code will work fine: |
Yes, changing the Facebook language to English solves the problem. |
Unfortunately due to the way the script works (scraper) it relies on matching the day names from the Facebook page. I think an override system would end up being nicer with a fall back to babel names as backup. Changing your Facebook language to English is a quick fix though. Added a note about that to readme. |
Hi. Encountering the same issue. I'm French and made sure to switch the FB locale to English (UK or US) and still hit the exact same issue no matter what I try. The script stops with an error for a friend with a birthday on July 7th. |
@JeremyPgt Try following the troubleshooting steps in the readme and emailing me the log. |
@mobeigi Thanks a lot for your response. Sending you the log. |
Hello, I just want to say the script is updated now to use a completely new method for data retrieval. This issue should not happen again. I'm not sure if you ever solved the problem so just letting you know. |
Heya!
I live in Finland and our language doesn't really work well with any code or system unfortunately.
I got error message stating the following:
fb2cal ERROR (parse_birthday_day_month) Failed to parse birthday day/month. Parse failed with tooltip_content: "Firstname Lastname (torstai)", locale: "fi_FI". Day name "torstai" is not in the offset dict {'maanantaina': 1, 'tiistaina': 2, 'keskiviikkona': 3, 'torstaina': 4, 'perjantaina': 5, 'lauantaina': 6, 'sunnuntaina': 7}
Basically the ending "na" could be left out and I'd be happy.
Is there any way I can force certain locale like en_GB for the output file because it'd be OK for me to have those birthdays in English. Or do you have any other suggestions?
The text was updated successfully, but these errors were encountered: