fredrikbaberg / octoprint-ssd1306 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jhoos/octoprint-ssd1306
This project forked from jhoos/octoprint-ssd1306
Hello,
Could you indicate on which Raspberry Pi pins it is necessary to connect the screen
Just installed the plugin without problems.
After the restart, the screen shows "Initialized/ B:22_ To:23_"
Started a new print, but the screen did not refreshed, just stucked there.
In log I see the followings:
2024-01-18 23:35:10,016 - octoprint.printer.standard - ERROR - Exception while pushing current data to callback <octoprint_ssd1306oleddisplay.Ssd1306_oled_displayPlugin object at 0x71a63658> Traceback (most recent call last): File "/home/xxxxxxxxx/oprint/lib/python3.9/site-packages/octoprint/printer/standard.py", line 251, in _sendCurrentDataCallbacks callback.on_printer_send_current_data(data_copy) File "/home/xxxxxxxxx/oprint/lib/python3.9/site-packages/octoprint_ssd1306oleddisplay/__init__.py", line 81, in on_printer_send_current_data format_seconds(data['progress']['printTimeLeft']), File "/home/xxxxxxxxx/oprint/lib/python3.9/site-packages/octoprint_ssd1306oleddisplay/helpers.py", line 17, in format_seconds h = int(seconds / 3600) TypeError: unsupported operand type(s) for /: 'NoneType' and 'int' 2024-01-18 23:35:10,614 - octoprint.plugins.tracking - INFO - Sent tracking event print_started, payload: {'origin': 'local', 'file': 'cd3e6b49437a10b606482e8d91bcf69421ead14e'}
Also when i tried to install some libraries, as suggested I also received the following error:
`xxxxxxxx@octoprint:~/oprint $ sudo apt install python3-dev python-smbus i2c-tools python3-pil python3-pip python3-setuptools python3-rpi.gpio
[sudo] password for xxxxxxxxx:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-smbus is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python-smbus' has no installation candidate
xxxxxxxxxx@octoprint:~/oprint $`
Environment:
Raspberry Pi 3B+
Octoprint version: 1.9.3.
Any suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.