×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Local download works, Client download does not

  • Posts: 22
  • Thank you received: 1
I can capture exposures to the local (RPI3) store just fine, I can do multiple exposures with varying shutterspeeds and it all works great without delay. However, when I try to set it to "Client" instead of "Local" it gets stuck on the dreaded "Downloading" status in Ekos and then I get nothing. To recover I typically have to turn off everything and restart the inidserver.

It does seem to create the /tmp file referenced in the debug log on the local side (in /tmp on the RPI3), but nothing appears to happen on the client side (Ekos VM in VirtualBox). Not sure how to go about troubleshooting it.

INFO 33.918567 sec : Session log file /home/jon/.indi/logs/2016-10-25/indi_gphoto_ccd/indi_gphoto_ccd_05:04:32.log
DEBUG 103.428520 sec : Starting exposure (exptime: 1 secs, mirror lock: 0)
DEBUG 103.428682 sec : Mutex locked
DEBUG 103.428760 sec : Setting radio/menu widget iso: 15 (3200)
DEBUG 103.431713 sec : Setting new configuration OK.
DEBUG 103.431779 sec : Setting radio/menu widget capturetarget: 0 (Internal RAM)
DEBUG 103.434582 sec : Setting new configuration OK.
DEBUG 103.434640 sec : Using camera predefined exposure ranges.
DEBUG 103.434701 sec : Finding optimal exposure setting for 1 seconds...
DEBUG 103.434762 sec : Best match: 1 seconds Index: 36
DEBUG 103.434820 sec : Setting radio/menu widget shutterspeed2: 36 (1)
DEBUG 103.559174 sec : Setting new configuration OK.
DEBUG 103.559625 sec : Using predefined exposure time: 1 seconds
DEBUG 103.559882 sec : Exposure started
INFO 103.560105 sec : Starting 1 sec exposure
DEBUG 104.561223 sec : Reading exposure
DEBUG 108.558009 sec : Exposure complete
DEBUG 108.558176 sec : gp_file_new_from_fd result: 0
DEBUG 108.563346 sec : Downloading //capt0000.nef
DEBUG 108.616172 sec : Downloading result: 0
DEBUG 108.616290 sec : Downloaded 4928x3264 (preview 160x120)
DEBUG 108.616321 sec : Deleting.
DEBUG 108.620242 sec : Retval: 0
DEBUG 108.620372 sec : Setting radio/menu widget iso: 15 (3200)
DEBUG 108.621905 sec : Setting new configuration OK.
DEBUG 108.621944 sec : Setting radio/menu widget shutterspeed2: 51 (30)
DEBUG 108.636740 sec : Setting new configuration OK.
INFO 108.636819 sec : Exposure done, downloading image...
DEBUG 108.636869 sec : dcraw -i -t 0 -v /tmp/indi_GrkpzA 2> /dev/null
DEBUG 108.643489 sec :

DEBUG 108.643604 sec : Filename: /tmp/indi_GrkpzA

DEBUG 108.643639 sec : Timestamp: Tue Oct 25 01:06:07 2016

DEBUG 108.643745 sec : Camera: Nikon D5100

DEBUG 108.643781 sec : ISO speed: 3200

DEBUG 108.643811 sec : Shutter: 1.0 sec

DEBUG 108.643853 sec : Aperture: f/0.0

DEBUG 108.643884 sec : Focal length: 0.0 mm

DEBUG 108.643915 sec : Embedded ICC profile: no

DEBUG 108.643944 sec : Number of raw images: 1

DEBUG 108.643973 sec : Thumb size: 4928 x 3264

DEBUG 108.644004 sec : Full size: 4992 x 3280

DEBUG 108.644033 sec : Image size: 4948 x 3280

DEBUG 108.644062 sec : Output size: 4948 x 3280

DEBUG 108.644092 sec : Raw colors: 3

DEBUG 108.644122 sec : Filter pattern: RGGBRGGBRGGBRGGB

DEBUG 108.644153 sec : Daylight multipliers: 2.098821 0.925441 1.126505

DEBUG 108.644184 sec : Camera multipliers: 519.000000 256.000000 356.000000 256.000000

DEBUG 108.645101 sec : Reading exposure 4948 x 3280
DEBUG 108.645215 sec : dcraw -c -t 0 -4 -D /tmp/indi_GrkpzA
DEBUG 112.433073 sec : read_dcraw: memsize (32458880) naxis (2) w (4948) h (3280) bpp (16)
7 years 5 months ago #10997

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

Is this the absolute last thing in the log file? the read_dcraw??
7 years 5 months ago #10998

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

  • Posts: 22
  • Thank you received: 1
Yes, definitely. Here's another one where I wait a while then eventually quit

INFO 1544.027271 sec : Session log file /tmp/indi_gphoto_ccd_2016-10-24T22:18:17.log
DEBUG 1589.402676 sec : Starting exposure (exptime: 1 secs, mirror lock: 0)
DEBUG 1589.403126 sec : Mutex locked
DEBUG 1589.403360 sec : Setting radio/menu widget iso: 15 (3200)
DEBUG 1589.406631 sec : Setting new configuration OK.
DEBUG 1589.406863 sec : Setting radio/menu widget capturetarget: 0 (Internal RAM)
DEBUG 1589.410574 sec : Setting new configuration OK.
DEBUG 1589.410820 sec : Using camera predefined exposure ranges.
DEBUG 1589.411097 sec : Finding optimal exposure setting for 1 seconds...
DEBUG 1589.411327 sec : Best match: 1 seconds Index: 36
DEBUG 1589.411634 sec : Setting radio/menu widget shutterspeed2: 36 (1)
DEBUG 1589.524899 sec : Setting new configuration OK.
DEBUG 1589.525317 sec : Using predefined exposure time: 1 seconds
DEBUG 1589.525566 sec : Exposure started
INFO 1589.525830 sec : Starting 1 sec exposure
DEBUG 1590.527239 sec : Reading exposure
DEBUG 1594.104212 sec : Exposure complete
DEBUG 1594.104338 sec : gp_file_new_from_fd result: 0
DEBUG 1594.104371 sec : Downloading //capt0000.nef
DEBUG 1594.158188 sec : Downloading result: 0
DEBUG 1594.158526 sec : Downloaded 4928x3264 (preview 160x120)
DEBUG 1594.158697 sec : Deleting.
DEBUG 1594.162980 sec : Retval: 0
DEBUG 1594.163271 sec : Setting radio/menu widget iso: 15 (3200)
DEBUG 1594.165114 sec : Setting new configuration OK.
DEBUG 1594.165247 sec : Setting radio/menu widget shutterspeed2: 51 (30)
DEBUG 1594.203970 sec : Setting new configuration OK.
INFO 1594.204214 sec : Exposure done, downloading image...
DEBUG 1594.204345 sec : dcraw -i -t 0 -v /tmp/indi_WZyxAc 2> /dev/null
DEBUG 1594.215603 sec :

DEBUG 1594.216006 sec : Filename: /tmp/indi_WZyxAc

DEBUG 1594.216140 sec : Timestamp: Mon Oct 24 18:44:37 2016

DEBUG 1594.216305 sec : Camera: Nikon D5100

DEBUG 1594.216420 sec : ISO speed: 3200

DEBUG 1594.216530 sec : Shutter: 1.0 sec

DEBUG 1594.216647 sec : Aperture: f/0.0

DEBUG 1594.216754 sec : Focal length: 0.0 mm

DEBUG 1594.216863 sec : Embedded ICC profile: no

DEBUG 1594.216971 sec : Number of raw images: 1

DEBUG 1594.217080 sec : Thumb size: 4928 x 3264

DEBUG 1594.217189 sec : Full size: 4992 x 3280

DEBUG 1594.217297 sec : Image size: 4948 x 3280

DEBUG 1594.217405 sec : Output size: 4948 x 3280

DEBUG 1594.217515 sec : Raw colors: 3

DEBUG 1594.217622 sec : Filter pattern: RGGBRGGBRGGBRGGB

DEBUG 1594.218101 sec : Daylight multipliers: 2.098821 0.925441 1.126505

DEBUG 1594.218219 sec : Camera multipliers: 519.000000 256.000000 356.000000 256.000000

DEBUG 1594.218963 sec : Reading exposure 4948 x 3280
DEBUG 1594.219108 sec : dcraw -c -t 0 -4 -D /tmp/indi_WZyxAc
DEBUG 1598.125262 sec : read_dcraw: memsize (32458880) naxis (2) w (4948) h (3280) bpp (16)
INFO 1931.174544 sec : GPhoto CCD is offline.
7 years 5 months ago #10999

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

I just added more debug statements, can you compile it or you need a package?
7 years 5 months ago #11000

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

  • Posts: 22
  • Thank you received: 1
I'll recompile, thanks for the help.
7 years 5 months ago #11002

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

  • Posts: 220
  • Thank you received: 14
Same situation here, mint 18 kde with Canon dslr and also Meade DSI.
Not Downloading image ( is created in /tmp ) .
7 years 5 months ago #11006
Attachments:

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


The INDI GPhoto driver log would be appreciated (given you compiled today's version with the extra debug statements along with libindi). Otherwise, tomorrow's PPA has these changes. I'm almost done installing Ubuntu Mate on RPi3 and will test my Canon there and see what happens.

How to Submit Logs
The following user(s) said Thank You: Teseo
Last edit: 7 years 5 months ago by Jasem Mutlaq.
7 years 5 months ago #11007

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

  • Posts: 22
  • Thank you received: 1
I have latest Ubuntu Mate on RPI3, hopefully can get to recompiling tonight.
7 years 5 months ago #11009

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

  • Posts: 220
  • Thank you received: 14
This is full debug from DSI camera.


P.S.
For canon dslr wait tomorrow with new version.

thx.
Last edit: 7 years 5 months ago by Teseo.
7 years 5 months ago #11010
Attachments:

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

Oh I didn't realize DSI was problematic as well. The log appears OK. There is something going on there and I don't know what it is so far. The "bad" news is that I setup Ubuntu Mate on Raspberry PI 3 today and connected it to home WiFi and hooked my Canon EOS 600D to it. I tried pretty much everything I could think of, and it all _worked_ without a single problem. Even Canon preview over WiFi was pretty fast. Tried Local, Client, both.. preview, batch ... framed , subframed, native vs FITS.. JPEG vs CR2.. everything worked.

The ONLY issue I had with the Ubuntu Mate itself since it wanted to automount the camera, but then I disabled that by deleting a bunch of files as described in the DSLRs FAQ and I was set. To diagnose this, I will need TeamViewer access to anyone who is having this issue so I can further investigate.
The following user(s) said Thank You: Vincent Groenewold
7 years 5 months ago #11013

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

  • Posts: 22
  • Thank you received: 1
No problem providing teamviewer access. I'm on the US East coast, but usually up late, midnight or 1 AM my time would be great.

I'm using Nikon, not Canon, but it's definitely reproducible. I didn't have the automount problem I don't think since I'm not booting into the UI on the RPI3.

I wonder if it's just a simple permission path problem, but my settings looks correct. The indiserver is running as root via sudo on the RPI3 if that makes a difference.

I also tested FITS/NATIVE, RAW/COMPRESSED, Internal Memory/SDRAM Card combinations, but then run into other weird problems that get me into other "stateful" situations where the conditions of the test change, so it's difficult to know what affects what.

Let me know a good time and we'll connect.
7 years 5 months ago #11014

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

  • Posts: 365
  • Thank you received: 32
I'm not up and running to test it again, yet, have to spend a bit of real-life time at the moment. ;) But it sounds like my exact problem indeed (though I didn't see any other info like in the log above, maybe I need to add more debug options for that). The only difference being that I use a Raspberry Pi2. But can't imagine that to be a huge difference.
Last edit: 7 years 5 months ago by Vincent Groenewold.
7 years 5 months ago #11022

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

Time to create page: 1.703 seconds