answered
2018-04-02 09:18:51 +0200
Same problem. Installed everything just like the official says, but still get a black screen on the camera. Interestingly the front camera works sometime, not always. So the only photo I could take is selfie ....
when I connect it to my computer, debug shows this:
[nemo@Sailfish ~]$ jolla-camera
[D] unknown:0 - Using Wayland-EGL
[D] unknown:0 - Defaulting to webview scaling factor of 1.0
[W] unknown:0 - CameraBin error: "Could not initialize supporting library."
(jolla-camera:500): Tracker-WARNING **: Locale '0' is not set, defaulting to C locale
(jolla-camera:500): Tracker-WARNING **: tracker-backend.vala:211: Falling back to bus backend, the direct backend failed to initialize: Locale change detected (DB:en_US.utf8, User/App:C)
[D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
[D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
[W] unknown:202 - file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:202: TypeError: Cannot read property 'backIndicatorDown' of null
[W] unknown:197 - file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:197: TypeError: Cannot read property 'backIndicatorDown' of null
[W] unknown:255 - file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:255: TypeError: Cannot read property 'forwardIndicatorDown' of null
[W] unknown:250 - file:///usr/lib/qt5/qml/Sailfish/Silica/DialogHeader.qml:250: TypeError: Cannot read property 'forwardIndicatorDown' of null
I think the problem should be here:
[W] unknown:0 - CameraBin error: "Could not initialize supporting library."
[D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
[D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
works fine here without magic tricks.
Moo-Crumpus ( 2017-10-13 11:34:00 +0200 )editThere are 3 links that being very informative. But none of them worked on my phone, which shows the same problem. It seems to be an on going bug for jolla OS.
https://together.jolla.com/question/145322/camera-stopped-working/
https://together.jolla.com/question/156510/bug-camera-app-not-opening-after-2109-update/
https://together.jolla.com/question/151883/jolla-c-main-camera-shows-no-live-picture-and-stays-black/
https://together.jolla.com/question/148245/camera-not-working/?answer=152898#post-id-152898
Actually, what seems to be common among those bugs are:
[W] unknown:0 - CameraBin error: "Could not initialize supporting library."
[D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
[D] unknown:0 - "Unexpected reply signature: got \"\", expected \"a{sv}\""
Superyuan ( 2018-04-02 17:09:59 +0200 )editLet me answer my own question. It is a hardware problem, and I have solved by changing the camera exactly like other in this thread. I bought one camera on eBay, and did the swap myself. Now it is running perfectly like new.
Superyuan ( 2018-10-14 20:14:10 +0200 )edit