INDI LibCamera Driver

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver

Change lines containing github.com/... to github.com/... I get error when trying to execute without https://.
1 year 10 months ago #88153

Please Log in or Create an account to join the conversation.

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

try to add libcamera-apps
as well, they come by default for RpiOS, probably not for StellarMate
1 year 10 months ago #88156

Please Log in or Create an account to join the conversation.

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

Ok, So regarding crashes that is where fun (and our work) starts :)

My crashes as well, but a bit differently, now install QTCreator, and follow steps from tutorial, to enable debugging.
Last edit: 1 year 10 months ago by Outta.
1 year 10 months ago #88158

Please Log in or Create an account to join the conversation.

INDI LibCamera Driver - Page 3 - INDI Forum - Results from #24
  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

Comment out
528 cameraManager.reset();
to prevent those first crashes. It still does not work for my camera but i can debug now and find out what exactly is the issue.
1 year 10 months ago #88161

Please Log in or Create an account to join the conversation.

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver

I uncomment 168 Line m_StillApp->StopCamera(); because closing unstoped camera caused error. Now problem is here:

[2022-11-15T15:53:34.673 CET DEBG ][ org.kde.kstars.indi] - INDI Server: "2022-11-15T14:53:34: Driver indi_libcamera_ccd: [4:01:12.658068023] [54041] \u001B[1;35mFATAL \u001B[1;37mIPAManager \u001B[1;34mipa_manager.cpp:109 \u001B[0mMultiple IPAManager objects are not allowed"
1 year 10 months ago #88162

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic INDI LibCamera Driver

Yes this is the issue. We need a way to detect the cameras, but if this is done and the object is NOT released, then we get this issue. If the object is released from memory (the line you commented), we get a crash. You can comment the whole detection code, and just connect directly to whatever camera is detected by libcamera and then it should work.

We lose the ability to provide a list of cameras to select from, but at least you can check the rest of the functionality. Maybe we need to file a bug report with either libcamera-apps or libcamera.
1 year 10 months ago #88163

Please Log in or Create an account to join the conversation.


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

Time to create page: 0.681 seconds