Git Product home page Git Product logo

Comments (4)

github-actions avatar github-actions commented on September 3, 2024

Hi there and welcome to Inkycal. Thanks for opening this issue. As this is your first issue in this repository, please read through the contributing guidelines

from inkycal.

aceisace avatar aceisace commented on September 3, 2024

Thanks for reporting this issue @kalalaa . It seems there is an issue with the driver file of the 13.3" display. This driver was copied from waveshare directly, but I'll a look into this at the end of today

from inkycal.

aceisace avatar aceisace commented on September 3, 2024

@kalalaa Hi there, apologies for getting back at this rather late. Have you tested this with the latest version of Inkycal? From the looks of it i.e. display updating once, but not after that, this was an issue with the earlier version of InkycalOS-Lite v2.0.4, which was corrected a few days ago.

Please let me know if it works for you. If not, please paste the full traceback as you have before. Thank you in advance

from inkycal.

kalalaa avatar kalalaa commented on September 3, 2024

Hi! The issue is still the same with the latest OS:

inky@inkycal:~ $ cd ~/Inkycal
source venv/bin/activate
git pull
python inky_run.py
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint: 
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint: 
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Already up to date.
30-07-2024 11:48:32 | inkycal.main |  INFO: Inkycal v2.0.4 booting up...
30-07-2024 11:48:32 | inkycal.main |  INFO: Checking if a settings file is present...
30-07-2024 11:48:32 | inkycal.main |  INFO: Found settings.json file in /boot/settings.json
/home/inky/Inkycal/venv/lib/python3.9/site-packages/gpiozero/devices.py:295: PinFactoryFallback: Falling back from lgpio: module 'lgpio' has no attribute 'SET_BIAS_DISABLE'
  warnings.warn(
30-07-2024 11:48:32 | inkycal.custom.openweathermap_wrapper |  INFO: OWM wrapper initialized for API version 2.5, language hu and timezone Europe/Budapest.
30-07-2024 11:48:32 | inkycal.main |  INFO: name : Weather size : 680x100 px
30-07-2024 11:48:32 | inkycal.main |  INFO: name : Calendar size : 680x376 px
30-07-2024 11:48:32 | inkycal.main |  INFO: name : Agenda size : 680x464 px
30-07-2024 11:48:32 | inkycal.main |  INFO: Inkycal initialised successfully!
30-07-2024 11:48:32 | inkycal.main |  INFO: Inkycal version: v2.0.4
30-07-2024 11:48:32 | inkycal.main |  INFO: Selected E-paper display: epd_13_in_3_colour
30-07-2024 11:48:32 | inkycal.main |  INFO: Starting new cycle...
30-07-2024 11:48:32 | inkycal.main |  INFO: Timestamp: 11:48:32 30.07.2024
30-07-2024 11:48:35 | inkycal.modules.ical_parser |  INFO: loaded iCalendars from URLs
30-07-2024 11:48:38 | inkycal.modules.ical_parser |  INFO: loaded iCalendars from URLs
30-07-2024 11:48:38 | inkycal.modules.inkycal_agenda |  INFO: Managed to parse events from urls
30-07-2024 11:48:39 | inkycal.main |  INFO: All images generated successfully!
30-07-2024 11:48:40 | inkycal.main |  INFO: Attempting to render image on display...
Initialising..Updating display......Done
Sending E-Paper to deep sleep...Done
30-07-2024 11:49:08 | inkycal.main |  INFO: No errors since 55 display updates
30-07-2024 11:49:08 | inkycal.main |  INFO: program started 36 seconds ago
2 minutes left until next refresh
30-07-2024 11:51:00 | inkycal.main |  INFO: Starting new cycle...
30-07-2024 11:51:00 | inkycal.main |  INFO: Timestamp: 11:51:00 30.07.2024
30-07-2024 11:51:03 | inkycal.modules.ical_parser |  INFO: loaded iCalendars from URLs
30-07-2024 11:51:06 | inkycal.modules.ical_parser |  INFO: loaded iCalendars from URLs
30-07-2024 11:51:06 | inkycal.modules.inkycal_agenda |  INFO: Managed to parse events from urls
30-07-2024 11:51:06 | inkycal.main |  INFO: All images generated successfully!
30-07-2024 11:51:07 | inkycal.main |  INFO: Attempting to render image on display...
Initialising..Traceback (most recent call last):
  File "/home/inky/Inkycal/inky_run.py", line 43, in <module>
    asyncio.run(run())
  File "/usr/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/home/inky/Inkycal/inky_run.py", line 20, in run
    await inky.run()  # If there were no issues, you can run Inkycal nonstop
  File "/home/inky/Inkycal/inkycal/main.py", line 372, in run
    display.render(im_black, im_colour)
  File "/home/inky/Inkycal/inkycal/display/display.py", line 94, in render
    epaper.init()
  File "/home/inky/Inkycal/inkycal/display/drivers/epd_13_in_3_colour.py", line 110, in init
    self.send_command(0x12)  # SWRESET
  File "/home/inky/Inkycal/inkycal/display/drivers/epd_13_in_3_colour.py", line 69, in send_command
    epdconfig.spi_writebyte([command])
  File "/home/inky/Inkycal/inkycal/display/drivers/epdconfig.py", line 94, in spi_writebyte
    self.SPI.writebytes(data)
OSError: [Errno 9] Bad file descriptor
(venv) inky@inkycal:~/Inkycal $ 

from inkycal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.