Closed zack6849 closed 3 months ago
Looks like this may have been fixed in https://github.com/mainsail-crew/crowsnest/pull/256?
Yes it should have been fixed, but you have to tell me, if it's fixed for you. This is already released for 13 hours and your post is 8 hours old. So please update and tell me if it's fixed.
Removing libcamera fixed the issue for me
Next time don't uninstall just all packages that you can find, especially if it was working last update, then the solution is never to uninstall dependencies. The problem that we found was about, using no CSI camera.
As you just purged all you libcamera packages I recommend to reinstall your system I won't help you to get all the packages that you need. Here a list of the installed once on my Pi4:
libcamera-apps-lite/oldstable,now 1.2.1-1 arm64 [installed]
libcamera-dev/oldstable,now 0~git20230720+bde9b04f-1 arm64 [installed]
libcamera0/oldstable,now 0~git20230720+bde9b04f-1 arm64 [installed,automatic]
Yes, the update fixed it, I removed libcamera as I was not using it to my knowledge and it seemed the easiest way to prevent that code branch from executing without me modifying the code, I needed to re-install these on mainsail OS, I verified which packages were removed by checking the /var/log/apt/history.log
Start-Date: 2024-04-02 16:03:20
Commandline: apt remove libcamera*
Requested-By: pi (1000)
Remove: libcamera-dev:arm64 (0~git20230720+bde9b04f-1), python3-picamera2:arm64 (0.3.12-2), libcamera-apps-lite:arm64 (1.2.1-1), libcamera0:arm64 (0~git20230720+bde9b04f-1), python3-libcamera:arm64 (0~git20230720+bde9b04f-1)
End-Date: 2024-04-02 16:03:24
$ sudo apt install libcamera-dev python3-picamera2 libcamera-apps-lite libcamera0 python3-libcamera
Oh I forgot about the python3 packages. They aren't really needed but it makes sense to have them.
I removed libcamera as I was not using it to my knowledge
That's correct as long as you are not using a CSI camera.
it seemed the easiest way to prevent that code branch from executing without me modifying the code
The easiest way to prevent it, would be a rollback to a previous working version:
cd ~/crowsnest
git reset --hard v4.1.6
That command resets it to v4.1.6
. That can be changed to every tag available on your current branch.
What happened
I updated crowsnest to v4.1.7-1-g424954d and it started to fail to load, I had not changed anything in my config
What did you expect to happen
The software starts
How to reproduce
Unsure.
Additional information
Removing libcamera fixed the issue for me (
$ sudo apt remove libcamera*
)