Closed BenniBlindflug closed 3 years ago
Could be this bug: https://github.com/ranaroussi/yfinance/issues/764
Could you check your yfinance version? it should be 0.1.63
@BenniBlindflug Hi, and thanks for your interest in Inkycal! Nice to hear you've been a long-term user of Inkycal :)
In regards to the error you are getting, it seems to be related to the settings file itself, i.e. the format. The hint in your traceback is line 46
. Could you please copy and paste line 46 of your settings file in a comment here?
line 46: "ical_files": null,
@BenniBlindflug Hmm, this line doesn't say much, it's pretty sure a syntax error. Could you paste your settings.json file here after removing sensitive data? Thanks in advance.
Hi, here is the settings.json
file. The file was created from the website, with sensitive data removed. The URLs were fitted after creating the file. Many thanks for taking care!
{
"model": "epd_7_in_5_v3",
"update_interval": 60,
"orientation": 0,
"info_section": false,
"info_section_height": null,
"calibration_hours": [
0,
12,
18
],
"modules": [
{
"position": 1,
"name": "Weather",
"config": {
"size": [
528,
146
],
"api_key": "api_key",
"location": "wohnort, DE",
"round_temperature": true,
"round_windspeed": true,
"forecast_interval": "daily",
"units": "metric",
"hour_format": "24",
"use_beaufort": true,
"padding_x": 10,
"padding_y": 10,
"fontsize": 12,
"language": "de"
}
},
{
"position": 2,
"name": "Calendar",
"config": {
"size": [
528,
440
],
"week_starts_on": "Monday",
"show_events": true,
"ical_urls": "url_calendar 1","url_calendar 2"
"ical_files": null,
"date_format": "D MMM",
"time_format": "HH:mm",
"padding_x": 10,
"padding_y": 10,
"fontsize": 12,
"language": "de"
}
},
{
"position": 3,
"name": "Agenda",
"config": {
"size": [
528,
146
],
"ical_urls": "url_calendar 1","url_calendar 2"
"ical_files": null,
"date_format": "ddd D MMM",
"time_format": "HH:mm",
"padding_x": 10,
"padding_y": 10,
"fontsize": 12,
"language": "de"
}
},
{
"position": 4,
"name": "Feeds",
"config": {
"size": [
528,
146
],
"feed_urls": "https://rss.focus.de/fol/XML/rss_folnews_eilmeldungen.xml",
"shuffle_feeds": true,
"padding_x": 10,
"padding_y": 10,
"fontsize": 12,
"language": "de"
}
}
]
}
hi @BenniBlindflug
"ical_urls": "url_calendar 1","url_calendar 2"
this line (and also line 63 you have the same) is not valid.
Does your actual file look similar to this?
"key": "value1", "value2"
is not valid json syntax.
if you want to give the key a comma seperated list, it should like like this.
"key": "value1, value2",
Ok, many thanks to all for your assistance! I have the solution. It was a couple of issues. At first the URL entries were wrong (see above) and the display type was wrong to.
I use the inkycal for years, until August. I get the error "31 not in list". So I try to update the pi and with the installer.py an update. That doesn't work. So I try a new installation "raspi OS" and "Inkycal". The settings.json is in /boot. The inkcal.log is empty. Raspi is reacheable via SSH an has a Wifi connection. It is a raspi zero W with a 8MB SD. So, I have no idea what went wrong.
If I run the
/home/pi/inky_run.py
, I get an error (see last line)Edit by aceisace -> code block instead of plain text