Comments (11)
After viewing the boot output on a monitor I can now confirm there is some issue with the comitup service failing to start.
from tinyticker.
Looks like it was a problem with the NetworkManager service running
`sudo systemctl enable NetworkManager.service'
and rebooting solved the issue.
I'm not going to close this because I still have have nothing being outputted to the screen.
from tinyticker.
The tinyticker services weren't in the correct folder
running
cd /lib/systemd/system/
sudo wget https://github.com/loiccoyle/tinyticker/raw/main/systemd/tinyticker-qrcode.service
sudo wget https://github.com/loiccoyle/tinyticker/raw/main/systemd/tinyticker-web.service
sudo wget https://github.com/loiccoyle/tinyticker/raw/main/systemd/tinyticker.service
sudo systemctl enable tinyticker-qrcode.service
sudo systemctl enable tinyticker-web.service
sudo systemctl enable tinyticker.service
resolved this, however the services were failing to start so they had to be modified as per the PR i've made here #35
There now seems to be an issue with yfinance not being able to pull the data correctly, updating to the latest version with pip install yfinance==0.2.33
pip install yfinance
does not install the most recent version as it prioritizes the version cached in the image.
this did not resolve the issue but is likely required as it includes a number of fixes resolving issues regarding yahoo finance changes on their backend.
I'm recieving
15:15:33 - tinyticker.ticker - DEBUG: Ticker stock GME 16x15m 900 response outdated, skipping.
in the tinyticker logs and seemingly nothing is appearing on the display as a result.
changing skip_outdated: bool = True,
to skip_outdated: bool = False,
in ticker.py allows data to printed to the screen at least but I'm guessing it's not the most recent data.
from tinyticker.
Sorry for not addressing this earlier, I will try to figure it out this week.
changing skip_outdated: bool = True, to skip_outdated: bool = False, in ticker.py allows data to printed to the screen at least but I'm guessing it's not the most recent data.
Were you testing during open hours of the appropriate stock exchange?
EDIT: and thanks for taking the time to debug :)
from tinyticker.
No worries at all, I appreciate the response, would still love to get this working and contribute to the project myself as it's by far the most user friendly rpi zero stock ticker.
I was testing with TSLA on the NASDAQ at about 4pm GMT so all my testing should have been within open hours. Interestingly with no change on my part it stopped displaying a chart and started printing code to the screen as shown in the picture below.
This stumped me at the time so I've not looked back into it since I'll see if I can gather some more info for you tomorrow.
from tinyticker.
hmm it looks like it is displaying a partial crash log, would be good to see the full log.
On my end, I spent some time to update the tinyticker image hoping it would solve your issues, but I'm having issues getting anything to display at all on my rpi, even with the waveshare examples... so it is taking me longer than I expected to address this. Will keep trying and keep you posted.
from tinyticker.
Ok I got it working again on my end. I updated the image on the drive, https://drive.google.com/drive/folders/1U-PGzkOtSynN6FGDq2MsXF9kXGdkzd0D?usp=share_link can you try it?
from tinyticker.
Got it working but it required running
cd /lib/systemd/system/
sudo wget https://github.com/loiccoyle/tinyticker/raw/main/systemd/tinyticker-qrcode.service
sudo wget https://github.com/loiccoyle/tinyticker/raw/main/systemd/tinyticker-web.service
sudo wget https://github.com/loiccoyle/tinyticker/raw/main/systemd/tinyticker.service
sudo systemctl enable tinyticker-qrcode.service
sudo systemctl enable tinyticker-web.service
sudo systemctl enable tinyticker.service
and adding User=tinyticker
to the service files and reloading them as mentioned previously, all of the other issues seem to be resolved however!
I need to reset comitup and package up this pi as it was supposed to be a christmas gift for someone but tomorrow I'll take a look at the pi-gen repo and see if I can figure out why the service files aren't ending up in the image.
I appreciate the help.
from tinyticker.
Oh I should probably mention that I did also try to enable the service files as the tinyticker user but still ran into the same issue as before, the only thing that's worked is editing the service files and enabling them as root
from tinyticker.
and adding User=tinyticker to the service files and reloading them as mentioned previously, all of the other issues seem to be resolved however!
I'm glad the other issues were solved.
tomorrow I'll take a look at the pi-gen repo and see if I can figure out why the service files aren't ending up in the image.
The files are ending up in the image, they are configured as user services and are placed in the /home/tinyticker/.config/systemd/user/
directory.
I think I solved the issue, see loiccoyle/pi-gen@c11bb69 from what I can tell it was caused by the service file not being able to connect the STDOUT
of the process to the log file during the ExecStartPre
command which was used to create the log dir.
So instead I move the log directory creation to the image building step which is cleaner anyway. I am building the image one last time and will do a final test.
from tinyticker.
As far as I can tell it is fixed now. I'll close this, feel free to reopen it if this issue comes up again :)
from tinyticker.
Related Issues (19)
- New features & ideas HOT 6
- no tests
- create RPi images HOT 1
- update command HOT 2
- [Feature] change hostname
- add `epd2in13_V4.py`
- add `epd2in13g.py` HOT 2
- add `epd2in13d.py` HOT 1
- missing `lut` arg HOT 1
- [Feature] Make the `skip_outdated` toggleable
- outdated data infinite loop
- For stocks, nothing shows up if I set the interval to anything below 1d. HOT 3
- Add average price and calculate profit HOT 2
- any chance to support more display like 2.7 or even more? HOT 18
- Add support for 7.5 inch 800x480 (V2 version) HOT 4
- Option to include pre-market and after hours data HOT 3
- Incorrect current price
- Ticker Data is backwards HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyticker.