aceinnolab / Inkycal

Create awesome e-paper dashboards within minutes! Modularity? Check! Python3? Check? Works on Raspberry Pi Zero W? Check! Support for own modules? Check!
https://aceinnolab.github.io/Inkycal/
GNU General Public License v3.0
1.16k stars 125 forks source link

Debugging help #48

Closed ericwass closed 4 years ago

ericwass commented 5 years ago

Describe the bug No longer able to launch InkyCalendar. Process crashes fetching events from calendars

To Reproduce Steps to reproduce the behavior: python3.5 /home/pi/Inky-Calendar/Calendar/E-Paper.py

Expected behavior Inky-Calendar should launch and load events.

Screenshots

Fetching events from your calendar

Traceback (most recent call last):
  File "/home/pi/Inky-Calendar/Calendar/E-Paper.py", line 527, in <module>
    main()
  File "/home/pi/Inky-Calendar/Calendar/E-Paper.py", line 345, in main
    decode = str(urlopen(icalendars).read().decode())
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request

Desktop (please complete the following information): Raspbian GNU/Linux 9 (stretch)

Additional context For some reason Inky-Calendar reset to default "settings.py". I went through the Web-UI and re-created the same settings I've always had. But it's now throwing errors.

aceisace commented 5 years ago

@ericwass Hi, thanks for the report. To help you out with, the error code (error 400) seems to be related to an invalid iCalendar URL. Please check if the URL is valid.

Alternatively, you can paste a copy of your settings.py file without any sensitive data (replacing it with dummy data). In that case, I can check the systax as well.

ericwass commented 5 years ago

Well, the iCalendar validator keeps throwing a "Maximum file size exceeded" error and I don't know why. I'm generating these URLs straight from the Google Calendar website using "Secret address in iCal format". I've also regenerated them a couple of times, just to double check. If I paste my settings.py file and replace data with dummy data how will you test it?

On Thu, Nov 7, 2019 at 4:39 AM Ace notifications@github.com wrote:

@ericwass https://github.com/ericwass Hi, thanks for the report. To help you out with, the error code (error 400) seems to be related to an invalid iCalendar URL. Please check if the URL is valid https://icalendar.org/validator.html.

Alternatively, you can paste a copy of your settings.py file without any sensitive data (replacing it with dummy data). In that case, I can check the systax as well.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKK6GQWDL3ESBG2XGCDQSQD7XA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMIYDA#issuecomment-551062540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKPUMT6IC2PBT4ND7BLQSQD7XANCNFSM4JJ7FPPA .

aceisace commented 5 years ago

@ericwass If the iCal validator is throwing the max file size exceeded, it means that the iCalendar contains too many events (probably a lot of events from the past as well). If that is the case, then the error caused by the Inky-Calendar software would be due to 2 reasons:

In both cases, the fix is relatively simple; freeing up some space from your iCalendar by deleting outdated events.

You don't need to post the settings file now. Since there was a tiny bug in the settings web-UI, I was worried if the generated settings file had a syntax error. But since the iCal URL is fine and working, this possibility is out of question.

ericwass commented 5 years ago

Thanks for troubleshooting this with me. I guess that makes sense but, like I said, it all happened out of the blue. I haven't added a huge backlog of events or anything and I've tried using both calendars and then each calendar separately (one has way more events than the other) and I get these errors every time.

I'm also wondering about your theory that the process is timing out because of slow internet and / or fetching events. The Pi is literally 4 inches from the router and the router is giving me consistently 240Mbps across the room on my iPhone. I'm embedding a link to a screen recording I did of the process so you can see how quickly it throws the error.

Launch_Inky-Calendar from Eric Wasserman on Vimeo.

aceisace commented 5 years ago

@ericwass Hi Eric, if the possibility with the slow internet is ruled out, then the only thing that comes to mind is the large number of events. To confirm this, could you try downloading your own Calendars (on your computer or laptop) and check it's filesize? I'll dig deeper into this problem on the weekend to ensure it's working correctly.

ericwass commented 5 years ago

Just exported them as .ics files from Google and the first one is 1.2mb and the second is 956k. That doesn't seem very big to me but is it?

On Thu, Nov 7, 2019 at 12:31 PM Ace notifications@github.com wrote:

@ericwass https://github.com/ericwass Hi Eric, if the possibility with the slow internet is ruled out, then the only thing that comes to mind is the large number of events. To confirm this, could you try downloading your own Calendars (on your computer or laptop) and check it's filesize? I'll dig deeper into this problem on the weekend to ensure it's working correctly.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKOCZDJWLRKPLNTJKP3QSR3JHA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDNWX5A#issuecomment-551250932, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKP6JSFBLK2RZLVZSR3QSR3JHANCNFSM4JJ7FPPA .

aceisace commented 5 years ago

@ericwass That's strange. With this size, fetching the iCalendar shouldn't take that long. I'll dig deeper into this issue in the next few days.

aceisace commented 4 years ago

@ericwass I've been keeping an eye on my Inky-Calendar in regards to errors while handling events, but so far, there were no errors at all. Try deleting all setting files in the Inky-Calendar/Calendar folder. Then, regenerate a new settings file from the web-ui and copy that file to Inky-Calendar/Calendar. After that, please reboot the RPI to apply the changes and it should start using the new settings file.

ericwass commented 4 years ago

Thanks a lot for looking into this. I did what you suggested but am still getting errors. I'm so confused as to what's happening.

Traceback (most recent call last):
  File "/home/pi/Inky-Calendar/Calendar/E-Paper.py", line 527, in <module>
    main()
  File "/home/pi/Inky-Calendar/Calendar/E-Paper.py", line 345, in main
    decode = str(urlopen(icalendars).read().decode())
  File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in
http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
aceisace commented 4 years ago

@ericwass From the error log, this is what I can interpret: The problem is caused by the URL of the iCalendar, which is causing a Error 400. This in turn is caused by the server, but it is unclear where the exact issue is. Regardless, the server does not respond and this causes timeouts.

If you don't mind and your iCalendar does not have any sensitive information, can you post the current settings.py file to my email address (at the bottom of the README?) and not in this issue?

aceisace commented 4 years ago

@ericwass Hi Eric. Do you think we can close this issue since the problem was fixed? Thanks in advance.

ericwass commented 4 years ago

Actually it's still not working for the calendars I need it to work on. You offered to have me send you settings file but, even though I trust you, there's definitely a lot of personal/sensitive stuff on those calendars. I'm not sure what to do.

aceisace commented 4 years ago

@ericwass You do have a point. Then it's best to leave this issue open. I will soon finish the new release (in a few days) so maybe then, you can test if the iCalendar can be parsed correctly.

ericwass commented 4 years ago

So, not long after our last interaction Inky Calendar stopped displaying anything at all. I would see the Waveshare display refresh now and then but no image would ultimately resolve. I tried killing and then relaunching Inky Calendar, rebooting the Raspberry Pi, etc. Nothing worked. So tonight I uninstalled Inky Calendar and then did a fresh install. But now I'm getting an error on launch. Can you decipher?

Traceback (most recent call last): File "/home/pi/Inky-Calendar/Calendar/E-Paper.py", line 29, in from ics import Calendar File "/usr/local/lib/python3.5/dist-packages/ics/init.py", line 3, in from .alarm import AudioAlarm, DisplayAlarm File "/usr/local/lib/python3.5/dist-packages/ics/alarm/init.py", line 1, in from ics.alarm.audio import AudioAlarm File "/usr/local/lib/python3.5/dist-packages/ics/alarm/audio.py", line 31 self._sound: Optional[ContentLine] = None

aceisace commented 4 years ago

@ericwass Hi Erik, I'm sorry to hear you had to go through all this. Due to too many flaws and bugs in the current (public) release, I did a full re-write of the software which is nearly complete. Unfortunately, the bugs in the current release were not taken care of. I apologise for that.

On the other hand, the next release (v1.7 beta) is available here: v1.7 (BETA) release testing It has lots of new features, stability improvements, is faster and more reliable than the current release.

To answer your question with, it seems that the problem is related to an incompatability between the ics library versions. The installer installed the latest version of ics, the library used for parsing events, which is still too buggy. In the BETA release, this was fixed.

ericwass commented 4 years ago

Thanks, Ace. I took a quick look at that beta link. Do I understand right that it's a full install of Raspbian Stretch as well as the 1.7 beta version of Inky Cal? This would be a total overwrite of my existing RPi setup, correct?

On Thu, Dec 12, 2019 at 1:30 PM Ace notifications@github.com wrote:

@ericwass https://github.com/ericwass Hi Erik, I'm sorry to hear you had to go through all this. Due to too many flaws and bugs in the current (public) release, I did a full re-write of the software which is nearly complete. Unfortunately, the bugs in the current release were not taken care of. I apologise for that.

On the other hand, the next release (v1.7 beta) is available here: v1.7 (BETA) release testing https://github.com/aceisace/Inky-Calendar/issues/51 It has lots of new features, stability improvements, is faster and more reliable than the current release.

To answer your question with, it seems that the problem is related to an incompatability between the ics library versions. The installer installed the latest version of ics, the library used for parsing events, which is still too buggy. In the BETA release, this was fixed.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKJSHNK4IYYCCOTZSQTQYKUQBA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGYDFZI#issuecomment-565195493, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKLMP65OKSO362J3CT3QYKUQBANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

Yes, you are right, @ericwass . At the moment, only the full image is the 'best' way of setting up the new software. I am working on the installer but there are some bugs that need my attention before that.

If you think you can do some trial-and-error, you can actually try the new version without the OS. If you still have some time now, I'll help you set it up.

For starters, please uninstall any previous version of the Inky-Calendar software or waveshare E-Paper software. Next, type the following command in the terminal: git clone -b dev https://github.com/aceisace/Inky-Calendar This will download the software from the next release. It does take some time to download the 120 Megabytes, so please keep that in mind. Next, install the requirements for the software. pip3 install -r /home/pi/Inky-Calendar/requirements.txt Again, this might take some time.

aceisace commented 4 years ago

Next, create 2 symlinks (kind of like shortcuts on Windows, but not exactly) of the settings and configuration file: ln -s /home/pi/Inky-Calendar/settings/settings.py /home/pi/Inky-Calendar/modules/ ln -s /home/pi/Inky-Calendar/settings/configuration.py /home/pi/Inky-Calendar/modules/

aceisace commented 4 years ago

Next, add your settings in the settings file: nano /home/pi/Inky-Calendar/settings/settings.py The settings file already contains some info about filling in the details.

aceisace commented 4 years ago

Lastly, run the Inky-Calendar software with: python3 /home/pi/Inky-Calendar/modules/inkycal.py

The software should now be up and running :)

ericwass commented 4 years ago

Ok. Thanks for all this. I will give it a go. The only step I'm concerned about is removing the Waveshare files. Is there a simple way to do that?

On Thu, Dec 12, 2019 at 2:23 PM Ace notifications@github.com wrote:

Lastly, run the Inky-Calendar software with: python3 /home/pi/Inky-Calendar/modules/inkycal.py

The software should now be up and running :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKN6KG4RTGZPWPI72ZDQYK2UVA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGYHUTQ#issuecomment-565213774, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKL2NVI7QMK2ATYSWXTQYK2UVANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

How did you install the waveshare files? Did you follow any instructions from a website? If you could provide the link, I can 're-track' the changes and find commands to 'un-do' them.

ericwass commented 4 years ago

So kind of you. I don't want to make you do a bunch of extra work. But, if you're interested, I believe this is where I found the files/instructions: https://www.waveshare.com/wiki/Pioneer600#Libraries_Installation_for_RPi

On Thu, Dec 12, 2019 at 2:29 PM Ace notifications@github.com wrote:

How did you install the waveshare files? Did you follow any instructions from a website? If you could provide the link, I can 're-track' the changes and find commands to 'un-do' them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKK5CT7C6ZQTZNKVLH3QYK3NPA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGYIFRA#issuecomment-565215940, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKN5JVEE5FZG7HLHGN3QYK3NPANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

You're welcome :) Thanks for providing the link. The only collision I could see was this command: sudo apt-get install python-imaging It installs PIL (Python Imaging library), but the Inky-Calendar uses the Pillow library (a fork of PIL). Unfortunately, both cannot co-exist at once. You can uninstall that package with: sudo apt-get remove python-imaging && sudo apt-get clean && sudo apt-get autoremove -y That should do the trick.

ericwass commented 4 years ago

Got to step 2 and it's throwing an error:

pi@raspberrypi:~ $ pip3 install -r /Inky-Calendar/requirements.txt

Could not open requirements file: [Errno 2] No such file or directory: '/Inky-Calendar/requirements.txt'

On Thu, Dec 12, 2019 at 2:18 PM Ace notifications@github.com wrote:

Yes, you are right, @ericwass https://github.com/ericwass . At the moment, only the full image is the 'best' way of setting up the new software. I am working on the installer but there are some bugs that need my attention before that.

If you think you can do some trial-and-error, you can actually try the new version without the OS. If you still have some time now, I'll help you set it up.

For starters, please uninstall any previous version of the Inky-Calendar software or waveshare E-Paper software. Next, type the following command in the terminal: git clone -b dev https://github.com/aceisace/Inky-Calendar This will download the software from the next release. It does take some time to download the 120 Megabytes, so please keep that in mind. Next, install the requirements for the software. pip3 install -r /Inky-Calendar/requirements.txt Again, this might take some time.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKL5NAQ46Y4AC7C3AA3QYK2D3A5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGYHJKI#issuecomment-565212329, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKJW3VZ4FJKU3D4X3OTQYK2D3ANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

@ericwass Sorry, my bad, it was a typo and is supposed to be: pip3 install -r /home/pi/Inky-Calendar/requirements.txt

ericwass commented 4 years ago

Seems to be working now. I'll let you know when I get through it all. Thank you

On Fri, Dec 13, 2019 at 4:27 PM Ace notifications@github.com wrote:

@ericwass https://github.com/ericwass Sorry, my bad, it was a typo and is supposed to be: pip3 install -r /home/pi/Inky-Calendar/requirements.txt

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKPXILGAKWAR4G3J2STQYQR7JA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG3UNDQ#issuecomment-565659278, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKP64RZNX2SICXSFEXLQYQR7JANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

Sure :). You're welcome

ericwass commented 4 years ago

Working except for weather. API key is correct. This error mean anything to you?

Initialising weather... Done

Cleanup of previous images...Done

Current Date: 13 Dec 2019

Current Time: 16:48

-----------Main programm started now----------

Calibration.. not required. Continuing...

Weather module: Connectivity check passed, Generating image...__OWM-ERROR!__

Reason: The searched item was not found.

Reason: Error: the specified time is not included in the weather coverage range

Calendar module: Generating image...Done

Initialising E-Paper Display...Done

Optimising Image for E-Paper displays...Done

Creating image buffer and sending it to E-Paper display...Rotated image by 270 degrees...Done

On Fri, Dec 13, 2019 at 4:33 PM Ace notifications@github.com wrote:

Sure :). You're welcome

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKMCL3F7EQA745YAZBTQYQSUZA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG3UTKI#issuecomment-565660073, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKLXR4EV2PPC7VT26FDQYQSUZANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

Glad to hear you managed to set it up, @ericwass . Have you done any modifications to the weather module? Maybe something related to the time of forecasts?

If not, try to run the weather-module by itself with: python3 /home/pi/Inky-Calendar/modules/inkycal_weather.py

ericwass commented 4 years ago

Haven't touched the weather module or any other. How do you change the time of the forecasts? Here's what happened when I ran the weather module by itself;

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/inkycal_weather.py

Initialising weather... Done

Weather module: Connectivity check passed, Generating image...__OWM-ERROR!__

Reason: The searched item was not found.

Reason: Error: the specified time is not included in the weather coverage range

On Fri, Dec 13, 2019 at 5:10 PM Ace notifications@github.com wrote:

Glad to hear you managed to set it up, @ericwass https://github.com/ericwass . Have you done any modifications to the weather module? Maybe something related to the time of forecasts?

If not, try to run the weather-module by itself with: python3 /home/pi/Inky-Calendar/modules/inkycal_weather.py

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKNCNH2UMEJSIBGVE2DQYQXBTA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG3V35Q#issuecomment-565665270, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKJAOIH6QIBKASFTNNLQYQXBTANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

Hi, @ericwass . Sorry for the late reply. It's a bit strange that you are getting this error. Can you try re-starting the Rpi and re-test the weather module?

ericwass commented 4 years ago

Hi Ace, I restarted and retried. Here's what I got:

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/inkycal_weather.py

Initialising weather... Done

Weather module: Connectivity check passed, Generating image...__OWM-ERROR!__

Reason: The searched item was not found.

Reason: Error: the specified time is not included in the weather coverage range

On Sun, Dec 15, 2019 at 4:17 PM Ace notifications@github.com wrote:

Hi, @ericwass https://github.com/ericwass . Sorry for the late reply. It's a bit strange that you are getting this error. Can you try re-starting the Rpi and re-test the weather module?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKOTO5XHUX3KK2S2OITQY3CKLA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEG5GDJY#issuecomment-565862823, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKLMSYB77LCIXEH2PQLQY3CKLANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

@ericwass Thanks for testing the weather module again. It seems as though this problem requires further investigation since it is only happening on your end at the moment.

Please unzip the attached folder, copy the file to the Raspeberry Pi inside the modules folder within the Inky-Calendar folder and run it with [F5]. Then, once it crashed, please paste the full error via a comment. Thanks in advance. weather_test.zip

ericwass commented 4 years ago

Thanks, as always, for seeing this through. Here's what happened:

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/weather_test.py

Initialising weather... Done

Weather module: Connectivity check passed, Generating image...now: 16 Dec 19 18:38, forecast1: 16 Dec 19 21:38, forecast2: 17 Dec 19 00:38, forecast3: 17 Dec 19 03:38,forecast4: 17 Dec 19 06:38

Traceback (most recent call last):

File "/home/pi/Inky-Calendar/modules/weather_test.py", line 194, in

forecast_fc1 = forecast.get_weather_at(fc1.datetime) File "/home/pi/.local/lib/python3.5/site-packages/pyowm/weatherapi25/forecaster.py", line 444, in get_weather_at timeformatutils.to_UNIXtime(timeobject)) File "/home/pi/.local/lib/python3.5/site-packages/pyowm/utils/weatherutils.py", line 112, in find_closest_weather 'not included in the weather coverage range') pyowm.exceptions.api_response_error.NotFoundError: The searched item was not found. Reason: Error: the specified time is not included in the weather coverage range *pi@raspberrypi*:*~ $* On Mon, Dec 16, 2019 at 4:39 PM Ace wrote: > @ericwass > Thanks for testing the weather module again. It seems as though this > problem requires further investigation since it is only happening on your > end at the moment. > > Please unzip the attached folder, copy the file to the Raspeberry Pi > inside the modules folder within the Inky-Calendar folder and run it with > [F5]. Then, once it crashed, please paste the full error via a comment. > Thanks in advance. > weather_test.zip > > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > , > or unsubscribe > > . >
aceisace commented 4 years ago

@ericwass Hi Eric, I'm sorry for the late reply. I previously had no clue what was causing this error. I think this might be related to the timezone you are using.

May I ask you which timezone is causing this problem? Thanks in advance.

ericwass commented 4 years ago

HI Ace, Sorry for the late reply. I was out of town. I'm in California, US. So Pacific Time zone. Thanks, Eric

On Sat, Jan 18, 2020 at 7:33 AM Ace notifications@github.com wrote:

@ericwass https://github.com/ericwass Hi Eric, I'm sorry for the late reply. I previously had no clue what was causing this error. I think this might be related to the timezone you are using.

May I ask you which timezone is causing this problem? Thanks in advance.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKKKMVZ2JEQNXNDTLWTQ6MOLFA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJJ2ZCY#issuecomment-575909003, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKPDRYMXRBUN22WJUDTQ6MOLFANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

@ericwass No problem. Thanks for informing me about the timezone causing these problems. I'll come up with a fix soon.

aceisace commented 4 years ago

@ericwass I'll be closing this issue as the bugfix/es ave been implemented in the new software update (v1.7.2). If you feel a need to re-open this issue, please feel free to do so. Thanks in advance.

ericwass commented 4 years ago

Hi, I finally got a moment to update Inky-Calendar and test it out. I went ahead and did a full update of Rasbian as well as Inky. I renamed the old Inky-Calendar folder before I started. Installation took a little while and eventually generated a couple of errors (pasted below). I did a test run and noticed that while it was saying "calibrating ePaper" the display wasn't actually flashing as it used to. I left for a while and came back to see some errors had been thrown (pasted below) and the display is stll stuck on December 2019 as it has been for 2 months.

INSTALLATION ERROR LOG:

Collecting python-dateutil (from ics==0.4->-r requirements.txt (line 3)) Using cached https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl Collecting six>1.5 (from ics==0.4->-r requirements.txt (line 3)) Exception: Traceback (most recent call last): File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 594, in urlopen chunked=chunked) File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 391, in _make_request six.raise_from(e, None) File "", line 2, in raise_from File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 387, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.5/http/client.py", line 1198, in getresponse response.begin() File "/usr/lib/python3.5/http/client.py", line 297, in begin version, status, reason = self._read_status() File "/usr/lib/python3.5/http/client.py", line 266, in _read_status raise RemoteDisconnected("Remote end closed connection without" http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file require_hashes File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link self.link = finder.find_requirement(self, upgrade) File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement all_candidates = self.find_all_candidates(req.name) File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates for page in self._get_pages(url_locations, project_name): File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages page = self._get_page(location) File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page return HTMLPage.get_page(link, session=self.session) File "/usr/lib/python3/dist-packages/pip/index.py", line 792, in get_page "Cache-Control": "max-age=600", File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get return self.request('GET', url, *kwargs) File "/usr/lib/python3/dist-packages/pip/download.py", line 386, in request return super(PipSession, self).request(method, url, args, kwargs) File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request resp = self.send(prep, send_kwargs) File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send r = adapter.send(request, kwargs) File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send resp = super(CacheControlAdapter, self).send(request, kw) File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send timeout=timeout File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment total -= 1 TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'

RUN ERROR LOG:

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/inkycal.py

Cleanup of previous images...Done

Initialising weather... Done

Calendar module: Generating image...Done

RSS module: Connectivity check passed. Generating image...Done

Current Date: 18 Feb 2020

Current Time: 12:26

-----------Main programm started now----------

Calibration.. required. Performing calibration now.

----------Started calibration of E-Paper display----------

Calibrating... black... colour... white...

Cycle 1 of 3 complete

Calibrating... black... colour... white...

Cycle 2 of 3 complete

Calibrating... black... colour... white...

Cycle 3 of 3 complete

[Errno 2] No such file or directory: '/home/pi/Inky-Calendar/images/inkycal_weather.png'

Calendar module: Generating image...Done

RSS module: Connectivity check passed. Generating image...Done

Initialising E-Paper...Done

Sending image data and refreshing display...Done

Sending E-Paper to deep sleep...Done

34 Minutes left until next refresh

Cleanup of previous images...Done

Current Date: 18 Feb 2020

Current Time: 13:11

-----------Main programm started now----------

Calibration.. not required. Continuing...

[Errno 2] No such file or directory: '/home/pi/Inky-Calendar/images/inkycal_weather.png'

Calendar module: Generating image...Done

RSS module: Connectivity check passed. Generating image...Done

Initialising E-Paper...Done

Sending image data and refreshing display...Done

Sending E-Paper to deep sleep...Done

49 Minutes left until next refresh

Cleanup of previous images...Done

client_loop: send disconnect: Broken pipe

On Sun, Feb 16, 2020 at 2:00 PM Ace notifications@github.com wrote:

@ericwass https://github.com/ericwass Have you received the news about the new software update? Please let me know if this specific issue persists on the latest release. If it doesn't, please don't forget to close this issue. Thanks for understanding.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aceisace/Inky-Calendar/issues/48?email_source=notifications&email_token=AL3FWKPM7SXRSEBLLRYI5I3RDGZQTA5CNFSM4JJ7FPPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL4TYBI#issuecomment-586759173, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL3FWKMCEXFKVC3JDH4QDS3RDGZQTANCNFSM4JJ7FPPA .

aceisace commented 4 years ago

@ericwass Deleted old email message and replacing it with a correctly formatted one: Hi, I finally got a moment to update Inky-Calendar and test it out. I went ahead and did a full update of Rasbian as well as Inky. I renamed the old Inky-Calendar folder before I started. Installation took a little while and eventually generated a couple of errors (pasted below). I did a test run and noticed that while it was saying "calibrating ePaper" the display wasn't actually flashing as it used to. I left for a while and came back to see some errors had been thrown (pasted below) and the display is stll stuck on December 2019 as it has been for 2 months.

INSTALLATION ERROR LOG:

Collecting python-dateutil (from ics==0.4->-r requirements.txt (line 3))
  Using cached
https://files.pythonhosted.org/packages/d4/70/d60450c3dd48ef87586924207ae8907090de0b306af2bce5d134d78615cb/python_dateutil-2.8.1-py2.py3-none-any.whl
Collecting six>1.5 (from ics==0.4->-r requirements.txt (line 3))
Exception:
Traceback (most recent call last):
  File
"/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py",
line 594, in urlopen
    chunked=chunked)
  File
"/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py",
line 391, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File
"/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py",
line 387, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.5/http/client.py", line 1198, in getresponse
    response.begin()
  File "/usr/lib/python3.5/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.5/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without
response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in
main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353,
in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in
prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in
_prepare_file
    require_hashes
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278,
in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in
find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in
find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in
_get_pages
    page = self._get_page(location)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 792, in get_page
    "Cache-Control": "max-age=600",
  File
"/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py",
line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 386, in
request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File
"/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py",
line 488, in request
    resp = self.send(prep, **send_kwargs)
  File
"/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py",
line 609, in send
    r = adapter.send(request, **kwargs)
  File
"/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py",
line 47, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File
"/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py",
line 423, in send
    timeout=timeout
  File
"/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py",
line 643, in urlopen
    _stacktrace=sys.exc_info()[2])
  File
"/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py",
line 315, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'

RUN ERROR LOG:

*pi@raspberrypi*:*~ $* python3 /home/pi/Inky-Calendar/modules/inkycal.py
Cleanup of previous images...Done
Initialising weather... Done
Calendar module: Generating image...Done
RSS module: Connectivity check passed. Generating image...Done
Current Date: 18 Feb 2020
Current Time: 12:26
-----------Main programm started now----------
Calibration.. required. Performing calibration now.
----------Started calibration of E-Paper display----------
Calibrating... black... colour... white...
Cycle 1 of 3 complete
Calibrating... black... colour... white...
Cycle 2 of 3 complete
Calibrating... black... colour... white...
Cycle 3 of 3 complete
[Errno 2] No such file or directory:
'/home/pi/Inky-Calendar/images/inkycal_weather.png'
Calendar module: Generating image...Done
RSS module: Connectivity check passed. Generating image...Done
Initialising E-Paper...Done
Sending image data and refreshing display...Done
Sending E-Paper to deep sleep...Done
34 Minutes left until next refresh
Cleanup of previous images...Done
Current Date: 18 Feb 2020
Current Time: 13:11
-----------Main programm started now----------
Calibration.. not required. Continuing...
[Errno 2] No such file or directory:
'/home/pi/Inky-Calendar/images/inkycal_weather.png'
Calendar module: Generating image...Done
RSS module: Connectivity check passed. Generating image...Done
Initialising E-Paper...Done
Sending image data and refreshing display...Done
Sending E-Paper to deep sleep...Done
49 Minutes left until next refresh
Cleanup of previous images...Done
client_loop: send disconnect: Broken pipe
aceisace commented 4 years ago

@ericwass From the traceback, it seems there are actually two kind of errors you are getting: 1) Your network connection seems to be pretty slow as it is causing several timeout responses. I suggest you move your rpi closer to your router. Then, run the steps from this page. 2) Something is wrong with the weather module. Can you check your:

Once done, please let me know of the outcome. Thanks in advance.

ericwass commented 4 years ago

Thanks for your reply. I will input my own values into the configuration file. I left it at default just to make sure things were working correctly. As far as the network goes, the rpi is literally 3 inches away from the router and I'm getting 226mbps downstream on my iPad which is across the room. So I'm afraid it's something else.

ericwass commented 4 years ago

Now I'm getting a calendar error. I've copied and pasted it directly from Google into the Settings-File Generator (I "X"ed out the private info but can send to you directly):

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/inkycal.py

Traceback (most recent call last):

File "/home/pi/Inky-Calendar/modules/inkycal.py", line 12, in

from configuration import *

File "/home/pi/Inky-Calendar/modules/configuration.py", line 14, in

from settings import * File "/home/pi/Inky-Calendar/modules/settings.py", line 1 ical_urls = [ https://calendar.google.com/calendar/ical/XXXXXXXXX%40gmail.com/private-XXXXXXXXXXXXXXXXXXXXXX/basic.ics ] ^ On Wed, Feb 19, 2020 at 12:17 PM Eric Wasserman wrote: > Thanks for your reply. I will input my own values into the configuration > file. I left it at default just to make sure things were working correctly. > As far as the network goes, the rpi is literally 3 inches away from the > router and I'm getting 226mbps downstream on my iPad which is across the > room. So I'm afraid it's something else. > > On Wed, Feb 19, 2020 at 12:11 PM Ace wrote: > >> @ericwass From the traceback, it seems >> there are actually two kind of errors you are getting: >> >> 1. Your network connection seems to be pretty slow as it is causing >> several timeout responses. I suggest you move your rpi closer to your >> router. Then, run the steps from this page >> >> . >> 2. Something is wrong with the weather module. Can you check your: >> >> >> - API-key (use your own if you aren't) >> - location >> - timezone >> >> Once done, please let me know of the outcome. Thanks in advance. >> >> — >> You are receiving this because you were mentioned. >> Reply to this email directly, view it on GitHub >> , >> or unsubscribe >> >> . >> >
aceisace commented 4 years ago

@ericwass Just formatting your comment for easier readability: Now I'm getting a calendar error. I've copied and pasted it directly from Google into the Settings-File Generator (I "X"ed out the private info but can send to you directly):

pi@raspberrypi*:*~ $* python3 /home/pi/Inky-Calendar/modules/inkycal.py
Traceback (most recent call last):
  File "/home/pi/Inky-Calendar/modules/inkycal.py", line 12, in <module>
    from configuration import *
  File "/home/pi/Inky-Calendar/modules/configuration.py", line 14, in
<module>
    from settings import *
  File "/home/pi/Inky-Calendar/modules/settings.py", line 1
    ical_urls = [https://calendar.google.com/calendar/ical/XXXXXXXXX%40gmail.com/privateXXXXXXXXXXXXXXXXXXXXXX/basic.ics]
aceisace commented 4 years ago

@ericwass I think you mentioned this before about the wifi router. But considering the error messages, it all points to timeouts. Did you try resetting your router? What is your bandwidth? Did you run the speedtest-client?

Also, run the installer to first uninstall the software, then install it again. Choose the web-ui option to add your details. Once done, please re-run the software to check if this issue persists.

ericwass commented 4 years ago

Hi, First of all, I'm sorry that I keep pasting poorly formatted log files. Since we're doing this by email (and I can't find the thread on GitHub) I don't know how to format it properly. Anyway I uninstalled and then reinstalled the software and recreated the settings file using the web UI using three different Google calendar links. The issue persists. Also, I installed speedtest cli on the RPi and am seeing that the speeds are much slower on the RPi than on my iPad/iPhone/Laptop running speedtest in the same room: Ping of 56.943ms and DL of 17.58 Mbit on the RPi as opposed to Ping of 14ms and DL of 225Mbps on the iPad/iPhone/Laptop in the same room. Very strange. Not sure what's happening.

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/inkycal.py
Traceback (most recent call last):
  File "/home/pi/Inky-Calendar/modules/inkycal.py", line 12, in <module>
    from configuration import *
  File "/home/pi/Inky-Calendar/modules/configuration.py", line 14, in <module>
    from settings import *
  File "/home/pi/Inky-Calendar/modules/settings.py", line 1
    ical_urls = [https://calendar.google.com/calendar/ical/tdpc8ktofh0q3j86dh7nn6lec4%40group.calendar.google.com/private-4140d1bdbe1e8e4a0dbab14ed7c7515b/basic.ics]
                      ^
SyntaxError: invalid syntax
ericwass commented 4 years ago

By the way, I just noticed I didn't hide private info so I've reset the private calendar link on Google so it won't work now anyway.

On Wed, Feb 19, 2020 at 3:54 PM Eric Wasserman ericwass@gmail.com wrote:

Hi, First of all, I'm sorry that I keep pasting poorly formatted log files. Since we're doing this by email (and I can't find the thread on GitHub) I don't know how to format it properly. Anyway I uninstalled and then reinstalled the software and recreated the settings file using the web UI using three different Google calendar links. The issue persists. Also, I installed speedtest cli on the RPi and am seeing that the speeds are much slower on the RPi than on my iPad/iPhone/Laptop running speedtest in the same room: Ping of 56.943ms and DL of 17.58 Mbit on the RPi as opposed to Ping of 14ms and DL of 225Mbps on the iPad/iPhone/Laptop in the same room. Very strange. Not sure what's happening.

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/inkycal.py

Traceback (most recent call last):

File "/home/pi/Inky-Calendar/modules/inkycal.py", line 12, in

from configuration import *

File "/home/pi/Inky-Calendar/modules/configuration.py", line 14, in

from settings import * File "/home/pi/Inky-Calendar/modules/settings.py", line 1 ical_urls = [ https://calendar.google.com/calendar/ical/tdpc8ktofh0q3j86dh7nn6lec4%40group.calendar.google.com/private-4140d1bdbe1e8e4a0dbab14ed7c7515b/basic.ics ] ^ SyntaxError: invalid syntax
aceisace commented 4 years ago

@ericwass OK, it seems I have found the issue. It seems that your settings file is not formatted correctly. In the new release, on the web-ui, you have to input your URLs like this: 'URL1','URL2', but you forgot these (' ') signs. As a result, python thinks that your icalendar are not calendars, but rather functions or variables. To fix this, open the settings file: nano /home/pi/Inky-Calendar/settings/settings.py and change this: ical_urls= [https://calendar.google.com/calendar/ical/tdpc8ktofh0q3j86dh7nn6lec4%40group.calendar.google.com/private-4140d1bdbe1e8e4a0dbab14ed7c7515b/basic.ics] to : ical_urls = ["https://calendar.google.com/calendar/ical/tdpc8ktofh0q3j86dh7nn6lec4%40group.calendar.google.com/private-4140d1bdbe1e8e4a0dbab14ed7c7515b/basic.ics"] Then try running the software with: python3 /home/pi/Inky-Calendar/modules/inkycal.py

ericwass commented 4 years ago

Thanks, as always, for continuing to help me with this. I'm sorry it's taking so long to get it right. I blame you for creating such a great software tool that I love.

I fixed the calendar feed (as well as the RSS feed) and that seemed to clear up some errors. However, I'm getting different ones now. On top of that, even though it says the display is refreshing it is definitely not. I actually haven't seen the display change at all in two months. I'm not sure what's going on. I haven't changed anything on the RPi other than update your software and the Raspian OS (as part of the Inky Cal update process). Image attached...

pi@raspberrypi:~ $ python3 /home/pi/Inky-Calendar/modules/inkycal.py
Cleanup of previous images...Done
Initialising weather... Done
Weather module: Connectivity check passed, Generating image...Done
Calendar module: Generating image...Failed!
Error in Calendar module!
Reason:  HTTP Error 404: Not Found
RSS module: Connectivity check passed. Generating image...Done
Current Date: 20 Feb 2020 
Current Time: 10:01
-----------Main programm started now----------
Calibration.. not required. Continuing...
Weather module: Connectivity check passed, Generating image...Done
Calendar module: Generating image...Failed!
Error in Calendar module!
Reason:  HTTP Error 404: Not Found
[Errno 2] No such file or directory: '/home/pi/Inky-Calendar/images/inkycal_calendar_col.png'
RSS module: Connectivity check passed. Generating image...Done
Initialising E-Paper...Done
Sending image data and refreshing display...Done
Sending E-Paper to deep sleep...Done
59 Minutes left until next refresh
Cleanup of previous images...Done

IMG_0122