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
Bug reports for release v1.7.1 #67
Comments
Starting off with the currently known bugs:
|
I installed the new version using the update function and besides the known dpkg error during the installation the process went fine. After editing the settings file I had the already reported issue with a blank screen, as I filled the strings of the old settings file. Anyway, now it works. Running the main script with the correct settings.py however results in two interesting things:
Anyway, good work as usual, especially with the recurring events! :) |
Sorry for the late reply @Ribitsch . You're getting a strange error which is related to the driver files. In short, before refreshing the display, the RPi waits for a response, but it didn't receive it from the E-Paper display. As I'm using the same display but it didn't happen to me, my best guess would be an issue with the wiring. Just double-check (re-insert) the ribbon cables and the connection of the driver board to the Raspberry Pi and the issue should not happen again. |
Hi @zAm1987 , thanks for testing the latest version :). I'm glad to hear the update now works as expected. In regards to the recurring-event problem, as long as it doesn't crash, it's fine. If you notice anything missing from the events, just let me know. In regards to the 'incorrect' rotation of the image, I'll add an option to flip the image right or left. I think the new 7.5" needs a left-flip while the previous 7.5" uses the right-flip. |
Issue is already solved! Thanks, it was a mistake on my side ;-) |
It seems that something is incorrect in your settings file @Ribitsch . Please move your old settings file from Inky-Calendar/settings and create a new one using the web-ui. That should fix everything. See here for more details about this: screen blank after update |
That’s not the solution, I completely re-installed the inky calendar on a new clean image and it’s still not working. |
I can confirm, that something with the hourly update does not work as expected. I just took a look at my display and saw that it is still the same picture as the first one after the Installation. As the first cycle went fine, i dont think it is related to the settings file... |
@zAm1987 @Ribitsch Thanks for the bug-report. I've just now managed to find and test a bugfix which should take care of this problem. You can use your current settings file as-is. Just update using the installer, paste your old settings file in the correct location and it should be done. Please let me know if it works. Thanks in advance. |
@aceisace I used the update-function of the installer, but after updating running the main script via python3 inkycal.py does not work. The output is the following: File "inkycal.py", line 12, in <module>
from configuration import *
File "/home/pi/Inky-Calendar/modules/configuration.py", line 10, in <module>
from PIL import Image, ImageDraw, ImageFont, ImageColor
File "/home/pi/.local/lib/python3.7/site-packages/PIL/Image.py", line 41, in <module>
from ._binary import i8, i32le
File "/home/pi/.local/lib/python3.7/site-packages/PIL/_binary.py", line 16, in <module>
from ._util import py3
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 857, in get_code
File "<frozen importlib._bootstrap_external>", line 525, in _compile_bytecode
ValueError: bad marshal data (unknown type code) Any idea what's happening there? |
@zAm1987 . It seems something is wrong with the imaging library used by the software. My hunch would be that something went wrong while trying to install/set-up Pillow. |
@aceisace |
Sorry to hear it can't be resolved by uninstalling pillow @zAm1987 . You can start off with a fresh raspbian image or you could try uninstalling and re-installing using the installer. The installer also has an option to uninstall in case something doesn't work at all. Maybe you can try that before using the new image. |
@aceisace As a possible fix I downloaded the files you supplied in the other thread "auto-expansion of bottom section" and tried to run the script again. Now the "empy section" error is gone, but another one concerning the font-size came up. So with or without the additional supplied files, I am not able to run the main script (without bottom rss) right now :-/ |
@zAm1987,
thank you very much for the error report. I‘ll fix in on Monday when I‘m back. For now, could you please paste the Traceback in another comment so I know the exact cause for the fontsize error? Thanks in advance.
|
Cleanup of previous images...Done
Initialising weather... Done
Weather module: Connectivity check passed, Generating image...Done
Traceback (most recent call last):
File "/home/pi/Inky-Calendar/modules/inkycal.py",
line 29, in <module> middle_section_module = importlib.import_module(middle_section)
File "/usr/lib/python3.7/importlib/__init__.py",
line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>",
line 1006, in _gcd_import File "<frozen importlib._bootstrap>",
line 983, in _find_and_load File "<frozen importlib._bootstrap>",
line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>",
line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>",
line 728, in exec_module File "<frozen importlib._bootstrap>",
line 219, in _call_with_frames_removed
File "/home/pi/Inky-Calendar/modules/inkycal_agenda.py", line 21,
in <module> font = ImageFont.truetype(NotoSans+'Medium.ttf', agenda_font_size)
NameError: name 'agenda_font_size' is not defined |
@zAm1987 If you wait until Tuesday, I'll push my local changes here which include:
Apologies for the delay. |
@zAm1987 @Ribitsch @Atrejoe @surak |
Bug reports
Here you have an option to chat about the Inky-Calendar software (v1.7.1) with the author (me) as well as other users from the community.
This issue is mainly intented to help identify bugs/errors/problems in the software. Once something has been reported, I'll try to take care of it as soon as possible.
P.S: Please remember to be nice :)
The text was updated successfully, but these errors were encountered: