roam-qgis / Roam

Simple data collection built using QGIS.
http://roam-docs.readthedocs.org/en/latest/
GNU General Public License v2.0
169 stars 61 forks source link

"Nonetype" Issue with camera on Toughpad Mk5 models (for image capture using Roam) #429

Open dubaruzal opened 5 years ago

dubaruzal commented 5 years ago

With Roam loaded on Panasonic Touhgpad FZ-G1 Mk5 model, the following message appears intermittently when accessing the camera to capture an image.

"Nonetype: object has no attribute "mode""

IMG_7318

IMG_7319

NB: I did not get the second message when I was testing, but have included this from another user who said it was appearing for them.

After clearing the message, the camera works fine and the image can be captured. It does not appear all the time, just every now and then. It has occurred on Roam versions 2.5.2 and 2.7.1 (these were the only ones tested).

Feedback from the Toughpad reseller is that the Mk5 has a different camera sensor to the Mk4 model. The Mk5 has a Sony IMX219 and the Mk4 has an IMX175, however the physical camera is the same in both models. Quite possibly the Roam software does not interact correctly with the newer Sony sensor. They have also suggested that as the Mk5 model is the newest version, and that following models will be based on this, the software for Roam will probably need to be updated to suit the change in camera sensor, to work with this and future Toughpad models. The latest Toughbook SDK may be required in this case, which is available from https://pc-dl.panasonic.co.jp/dl/docs/074838?dc%5B%5D=002016&no=1&score=1.0&sri=13414861&trn_org=2