kevinGan / dslrdashboard

Automatically exported from code.google.com/p/dslrdashboard
0 stars 0 forks source link

Connection to Camera, Lv and even AE/AF is Working, but "Unfortunately, DslrDashboard has stopped." if Photo is Taken. #245

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start the program, connect the camera using OpenWRT, use (or not) the Lv, no 
problem.
2. AF/AE works fine at this point.
3. If I take the photo, the camera shutter actually works. But the photo never 
transfers to the phone. Even in the camera SD card there's nothing. Then the 
message "Unfortunately, DslrDashboard has stopped." appears.

What is the expected output? What do you see instead?
In theory I'd expect the taken photo transferred into the mobile phone and 
ready for review. Also a copy should remain in the camera SD card.

What version of the product are you using? On what operating system?
Version 0.30.33 from Play Store
Phone model: ZTE N880E with Android 4.0.4

Please provide any additional information below.

After this "crash" I can actually go back to the DDB app but the Lv and AE/AF 
and the shutter won't work again even if I can re-connect the camera. A 
"Liveview prohibition" message box will appear instead. At this point I have to 
turn off the power from the camera and turn on again to re-connect.

Logs (I used keyword "dslr" to extract the logs from a very detailed one) 
during such an event:

04-07 16:20:38.899 D/ExposureIndicatorDisplay(1735): Created new class 
com.dslr.dashboard.helper.ExposureIndicatorDisplay
04-07 16:20:38.919 D/ExposureIndicatorDisplay(1735): Created new class 
com.dslr.dashboard.helper.ExposureIndicatorDisplay
04-07 16:20:39.369 I/DslrHelper(1735): Exposure 65586
04-07 16:20:42.963 I/DslrHelper(1735): Exposure 65566
04-07 16:20:43.163 I/DslrHelper(1735): Exposure 65566
04-07 16:20:43.984 I/DslrHelper(1735): Exposure 65576
04-07 16:20:45.906 I/DslrHelper(1735): Exposure 65586
04-07 16:20:50.580 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41d8b7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=1 mCurrentFocus = Window{41b129b8 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:20:56.856 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41b129b8 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41d8b7e0  paused=false}
04-07 16:20:56.916 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41b129b8 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41b129b8 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:20:58.898 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41b129b8 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41b129b8 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:20:59.819 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41d9aab8 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=1 mCurrentFocus = Window{41b129b8 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:21:02.091 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41b129b8 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41d9aab8  paused=false}
04-07 16:21:03.202 I/DslrHelper(1735): Exposure 65636
04-07 16:21:12.241 I/DslrHelper(1735): Exposure 65616
04-07 16:21:13.703 I/DslrHelper(1735): Exposure 65636
04-07 16:21:17.376 D/PtpDeviceBase(1735): File name: 
/mnt/sdcard/DCIM/DSLR/dslr0008.JPG
04-07 16:21:17.887 E/AndroidRuntime(1735):  at 
com.dslr.dashboard.lib.ptp.command.PtpPartialObjectProcessor.doFinalProcessing(P
tpPartialObjectProcessor.java:123)
04-07 16:21:17.887 E/AndroidRuntime(1735):  at 
com.dslr.dashboard.lib.ptp.command.PtpCommand.doFinalProcessing(PtpCommand.java:
573)
04-07 16:21:17.887 E/AndroidRuntime(1735):  at 
com.dslr.dashboard.lib.ptp.command.PtpCommand.weFinished(PtpCommand.java:562)
04-07 16:21:17.887 E/AndroidRuntime(1735):  at 
com.dslr.dashboard.lib.ptp.communicator.PtpNetworkCommunicatorNew.executeCommand
(PtpNetworkCommunicatorNew.java:451)
04-07 16:21:17.887 E/AndroidRuntime(1735):  at 
com.dslr.dashboard.lib.ptp.communicator.PtpCommunicatorBase.run(PtpCommunicatorB
ase.java:95)
04-07 16:21:17.947 W/ActivityManager(307):   Force finishing activity 
com.dslr.dashboard/.MainActivity
04-07 16:21:17.957 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41b129b8 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=true} mode=0 mCurrentFocus = Window{41b129b8 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=true}
04-07 16:21:18.017 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41e7da38  paused=false} mode=1 mCurrentFocus = Window{41b129b8 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=true}
04-07 16:21:32.992 I/ActivityManager(307): Process com.dslr.dashboard (pid 
1735) has died.
04-07 16:21:32.992 W/ActivityManager(307): Scheduling restart of crashed 
service com.dslr.dashboard/.lib.service.PtpService in 5000ms
04-07 16:21:38.006 I/ActivityManager(307): Start proc com.dslr.dashboard for 
service com.dslr.dashboard/.lib.service.PtpService: pid=2208 uid=10015 
gids={1015, 3003}
04-07 16:21:43.362 I/ActivityManager(307): START {flg=0x1000c000 
cmp=com.dslr.dashboard/.MainActivity bnds=[113,352][480,465]} from pid -1
04-07 16:21:43.822 D/MainActivity(2208): Loading dslrdashboard library
04-07 16:21:44.092 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41aae7f8 StatusBarExpanded 
paused=false}
04-07 16:21:44.202 I/ActivityManager(307): Displayed 
com.dslr.dashboard/.MainActivity: +705ms
04-07 16:21:44.213 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=0 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:21:44.293 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=0 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:21:44.293 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:21:44.543 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:21:48.056 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41b12bd0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=1 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:21:49.227 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41b12bd0  paused=false}
04-07 16:21:49.237 D/PtpNetworkCommunicatorNew(2208): Msg: DslrDashboardServer 
major: 1 minor: 0
04-07 16:21:49.297 E/ProfilesHelper(2208): loadProfiles: 
java.io.FileNotFoundException: 
/data/data/com.dslr.dashboard/files/custombracketing: open failed: ENOENT (No 
such file or directory)
04-07 16:21:49.307 E/ProfilesHelper(2208): loadProfiles: 
java.io.FileNotFoundException: 
/data/data/com.dslr.dashboard/files/focusstacking: open failed: ENOENT (No such 
file or directory)
04-07 16:21:51.079 D/ExposureIndicatorDisplay(2208): Created new class 
com.dslr.dashboard.helper.ExposureIndicatorDisplay
04-07 16:21:51.099 D/ExposureIndicatorDisplay(2208): Created new class 
com.dslr.dashboard.helper.ExposureIndicatorDisplay
04-07 16:21:51.600 I/DslrHelper(2208): Exposure 65636
04-07 16:21:51.850 I/DslrHelper(2208): Exposure 65636
04-07 16:21:54.903 I/DslrHelper(2208): Exposure 65616
04-07 16:21:55.894 I/DslrHelper(2208): Exposure 65596
04-07 16:21:56.915 I/DslrHelper(2208): Exposure 65616
04-07 16:21:58.036 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=false} mode=3 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=false}
04-07 16:21:58.036 W/SurfaceTexture(113): 
[com.dslr.dashboard/com.dslr.dashboard.MainActivity] cancelBuffer: 
SurfaceTexture has been abandoned!
04-07 16:22:14.602 D/ExposureIndicatorDisplay(2208): Created new class 
com.dslr.dashboard.helper.ExposureIndicatorDisplay
04-07 16:22:14.612 D/ExposureIndicatorDisplay(2208): Created new class 
com.dslr.dashboard.helper.ExposureIndicatorDisplay
04-07 16:22:14.782 I/DslrHelper(2208): Exposure 65616
04-07 16:22:15.193 I/DslrHelper(2208): Exposure 65596
04-07 16:22:16.234 I/DslrHelper(2208): Exposure 65616
04-07 16:22:18.216 I/DslrHelper(2208): Exposure 65636
04-07 16:22:19.227 I/DslrHelper(2208): Exposure 65616
04-07 16:22:24.322 I/DslrHelper(2208): Exposure 65636
04-07 16:22:25.333 I/DslrHelper(2208): Exposure 65616
04-07 16:22:27.395 I/DslrHelper(2208): Exposure 65636
04-07 16:22:29.256 I/DslrHelper(2208): Exposure 65616
04-07 16:22:31.088 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=Window{41bfb7e0 com.dslr.dashboard/com.dslr.dashboard.MainActivity 
paused=true} mode=0 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=true}
04-07 16:22:31.158 W/WindowManager(307): updateFocusedWindowLocked 
newFocus=null mode=3 mCurrentFocus = Window{41bfb7e0 
com.dslr.dashboard/com.dslr.dashboard.MainActivity paused=true}

Original issue reported on code.google.com by angu...@gmail.com on 7 Apr 2014 at 9:24

GoogleCodeExporter commented 8 years ago
What camera did you use?
AF/AE works fine at this point  <= what do you mean with this?
Do you use the 'camera capture button' or the 'application capture button'?

With the 'application capture button' you have the option to capture to camera 
SD card or to the Android device.
With the 'camera capture button' you have the option to capture to SD card, 
Android device or both depending on the 'Recording media' property and the 
camera used

Original comment by hub...@gmail.com on 7 Apr 2014 at 1:14

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi, thanks for the reply.

I'm connecting to a Nikon D800 camera (firmware version A1.01 B1.03 if this 
helps).

All the clicks I mentioned refer to the in-application functions.

For example:
If I click (in the app) Lv, on the phone screen I can review the frame in real 
time.
If I click (in the app) AF, the command will be transferred to the camera and 
it will focus and feedback with a proper metering (shutter/aperture) 
combination.

When I click (in the app) the capture button, still, the command is transferred 
to the camera because then I can hear the (physical) shutter working. The issue 
is only that no photo file (JPEG nor RAW) is saved finally. Not on the camera 
itself and not on the mobile phone either. And this is also the point when the 
"DslrDashboard has stopped." message jumps out.

Original comment by angu...@gmail.com on 8 Apr 2014 at 1:35

GoogleCodeExporter commented 8 years ago
Is the capture button red colored? Can you try and long press it to change the 
capture destination?
Can you please try the new cross platform qDslrDashboard ( 
http://dslrdashboard.info ) to see if there works as expected?

Original comment by hub...@gmail.com on 8 Apr 2014 at 4:42

GoogleCodeExporter commented 8 years ago
Yes the capture button (and the AF button) were red colored. If I long press 
the capture button it will turn to white color. I don't know the difference. 
But if I click the (app) capture button when it's white, the photo will be 
taken and saved to the camera SD card. And it works furthermore if I take the 
next photo and so on.

Now the problem is, if I review the photos from the app, I can see the 
filenames in the app. But if I try to download the photos to the mobile phone, 
the app will stop again. It's the same "Unfortunately, DslrDashboard has 
stopped." message box.

Does this mean the problem is really the transfer of photo files via wireless 
network?

I don't have possibility to test the cross platform because I have only Mac Os, 
iOS and this one Android phone. I'll try to test later.

Original comment by angu...@gmail.com on 8 Apr 2014 at 10:11

GoogleCodeExporter commented 8 years ago
The cross platform works on Android to.

Original comment by hub...@gmail.com on 13 Apr 2014 at 2:57

GoogleCodeExporter commented 8 years ago
Hi I tried the "cross platform" version of the app and all function is normal 
now.

I don't know what exactly is the difference but this case can be considered 
closed at this moment.

Thanks for the great app and support! Cheers!

Original comment by angu...@gmail.com on 8 May 2014 at 12:33