Skip to content
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

indi_qhy_ccd searches for wrong qhy sdk #473

Closed
RononDex opened this issue Oct 13, 2021 · 6 comments
Closed

indi_qhy_ccd searches for wrong qhy sdk #473

RononDex opened this issue Oct 13, 2021 · 6 comments
Labels
bug Something isn't working Cannot reproduce Reported issue cannot be reproduced Downstream Issue in OS or distribution packaging

Comments

@RononDex
Copy link

Describe the bug
Since the recent update, indi_qhy_ccd keeps crashing with the following error message:
image

I already uninstalled and reinstalled everything, even built everything from source, problem still persists.

Following files exist:
image

I then tried tricking it by making a symlink libqhyccd.so.20 pointing to libqhyccd.so.
This allowed the driver to start and connect to the camera, but it keeps crashing every few seconds and driver needs to restart.

To Reproduce
Exact steps to reproduce the behavior.

  1. Run indi_qhy_ccd

Expected behavior
indi_qhy_ccd should work as expected, connect to the camera and not crash and use the installed sdk etc.

Screenshots
image

Desktop (please complete the following information):

  • OS: Arch Linux ARM (armv7l)

Log Files
Make sure to enable logging and include log files https://indilib.org/support/logs-submission.html

@RononDex RononDex added the bug Something isn't working label Oct 13, 2021
@xsnrg
Copy link
Collaborator

xsnrg commented Oct 13, 2021

The version of the library was updated to 21, and it looks like your install has 21.9.10, so that is good.
It looks like indi-qhy is still looking for 20 when it should be looking for 21. Make sure your sources are up to date, and try re-compiling indi-qhy.

@RononDex
Copy link
Author

What exactly do you mean by make sure sources are up to date? I already tried deleting the local source folders, cloning them again (for indi, indi-3rdparty and kstars) and recompiling everything, still the issues persists.

Is it possible there is some file I have to delete locally?

@knro
Copy link
Collaborator

knro commented Oct 14, 2021

Check you don't have older libqhy residing in /usr/local/lib. If you do, delete them first.

@knro knro added the Cannot reproduce Reported issue cannot be reproduced label Oct 14, 2021
@RononDex
Copy link
Author

RononDex commented Oct 14, 2021

I was able to get it running now, however, the qhy driver now keeps crashing every few seconds.
Here is a logfile with ccd debug logging enabled:
logfile-ekos.txt

@RononDex
Copy link
Author

If I run indi_qhy_ccd manually, I get the following output / error;:
image

@knro knro added the Downstream Issue in OS or distribution packaging label Nov 24, 2021
@knro
Copy link
Collaborator

knro commented Nov 24, 2021

Ok it's no longer crashes but apparently there is USB error. Try changing cables/ports.

@knro knro closed this as completed Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cannot reproduce Reported issue cannot be reproduced Downstream Issue in OS or distribution packaging
Projects
None yet
Development

No branches or pull requests

3 participants